electron-json-storage
electron-json-storage copied to clipboard
Bug in method getAll
Method getAll return is not valid keys if key includes dot. Example:
storage.setSync('x-access-token.sig', { a: 1 }); // or async
storage.getAll((err, data) => {
// data should be: { 'x-access-token.sig': { a: 1 } };
// but received: { sig: { a: 1 } }
});
Methods getSync & get works correctly.