reactive-localstorage
Advanced tools
Comparing version 1.0.0 to 1.0.1
# Changelog | ||
## [1.0.1] - 2020-07-17 | ||
### Fixed | ||
- failed to dispatch storage event to localStorage and sessionStorage | ||
## [1.0.0] - 2020-07-17 | ||
@@ -4,0 +8,0 @@ ### Added |
@@ -1,1 +0,1 @@ | ||
export declare const version = "1.0.0"; | ||
export declare const version = "1.0.1"; |
@@ -1,2 +0,2 @@ | ||
export const version = '1.0.0'; | ||
export const version = '1.0.1'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2Vudi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsYUFBYSxDQUFBIn0= |
import { LocalStorage } from './localstorage'; | ||
const ENV = typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : undefined); | ||
const ls = new LocalStorage(ENV); | ||
const ls = new LocalStorage(ENV, localStorage); | ||
const ss = new LocalStorage(ENV, sessionStorage); | ||
@@ -17,2 +17,2 @@ if (process.env.NODE_ENV !== 'production') { | ||
export default ls; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFBO0FBRTdDLE1BQU0sR0FBRyxHQUFHLE9BQU8sTUFBTSxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUNuRCxPQUFPLE1BQU0sS0FBSyxXQUFXLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsU0FBU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QixDQUFBO0FBRXZCLE1BQU0sRUFBRSxHQUFHLElBQUksWUFBWSxDQUFDLEdBQUcsRUFBRSxZQUFZLENBQUMsQ0FBQTtBQUM5QyxNQUFNLEVBQUUsR0FBRyxJQUFJLFlBQVksQ0FBQyxHQUFHLEVBQUUsY0FBYyxDQUFDLENBQUE7QUFFaEQsSUFBSSxPQUFPLENBQUMsR0FBRyxDQUFDLFFBQVEsS0FBSyxZQUFZLEVBQUU7SUFDekMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxTQUFTLEVBQUU7UUFDakIsT0FBTyxDQUFDLElBQUksQ0FBQyw4Q0FBOEMsQ0FBQyxDQUFBO0tBQzdEO0lBQ0QsSUFBSSxDQUFDLEVBQUUsQ0FBQyxTQUFTLEVBQUU7UUFDakIsT0FBTyxDQUFDLElBQUksQ0FBQyxnREFBZ0QsQ0FBQyxDQUFBO0tBQy9EO0NBQ0Y7QUFFRCxjQUFjLGdCQUFnQixDQUFBO0FBQzlCLGNBQWMsT0FBTyxDQUFBO0FBRXJCLE9BQU8sRUFDTCxFQUFFLElBQUksWUFBWSxFQUNsQixFQUFFLElBQUksY0FBYyxHQUNyQixDQUFBO0FBRUQsZUFBZSxFQUFFLENBQUEifQ== |
@@ -19,3 +19,5 @@ import { version } from './env'; | ||
this._cache = new Map(); | ||
listen(window, ({ key, newValue, oldValue }) => { | ||
listen(window, ({ key, newValue, oldValue, storageArea }) => { | ||
if (storageArea !== storage) | ||
return; | ||
this.feed(key, newValue, oldValue); | ||
@@ -43,3 +45,3 @@ }); | ||
setItem(key, value) { | ||
return this.set(key, value); | ||
return this.set(key, String(value)); | ||
} | ||
@@ -166,3 +168,5 @@ removeItem(key) { | ||
if (handlers) { | ||
for (const { getItem: fn } of handlers) { | ||
for (const { getItem: fn, injector: { native } } of handlers) { | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -180,3 +184,5 @@ fn.call(this, key, value); | ||
if (handlers) { | ||
for (const { setItem: fn } of handlers) { | ||
for (const { setItem: fn, injector: { native } } of handlers) { | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -193,3 +199,5 @@ fn.call(this, key, value); | ||
if (handlers) { | ||
for (const { removeItem: fn } of handlers) { | ||
for (const { removeItem: fn, injector: { native } } of handlers) { | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -206,3 +214,5 @@ fn.call(this, key); | ||
if (handlers) { | ||
for (const { clear: fn } of handlers) { | ||
for (const { clear: fn, injector: { native } } of handlers) { | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -259,2 +269,2 @@ fn.call(this); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxzdG9yYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2xvY2Fsc3RvcmFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sT0FBTyxDQUFBO0FBRS9CLE1BQU0sV0FBVyxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUMsbUNBQW1DLENBQUMsQ0FBQTtBQUNuRSxNQUFNLFNBQVMsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLGdDQUFnQyxDQUFDLENBQUE7QUFFOUQsTUFBTSxPQUFPLFlBQVk7SUFXdkIsWUFBWSxNQUFlLEVBQUUsT0FBaUI7UUFQcEMsWUFBTyxHQUViLEVBQUUsQ0FBQTtRQUVJLFlBQU8sR0FBRyxDQUFDLENBQUE7UUFDWCxjQUFTLEdBQUcsS0FBSyxDQUFBO1FBR3pCLHVCQUF1QjtRQUN2QixJQUFJLE1BQU0sRUFBRTtZQUNWLElBQUksQ0FBQyxTQUFTLEdBQUcsSUFBSSxDQUFBO1NBQ3RCO2FBQU07WUFDTCxJQUFJLENBQUMsU0FBUyxHQUF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strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '1.0.0'; | ||
exports.version = '1.0.1'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2Vudi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBYSxRQUFBLE9BQU8sR0FBRyxhQUFhLENBQUEifQ== |
@@ -16,3 +16,3 @@ "use strict"; | ||
var ENV = typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : undefined); | ||
var ls = new localstorage_1.LocalStorage(ENV); | ||
var ls = new localstorage_1.LocalStorage(ENV, localStorage); | ||
exports.localStorage = ls; | ||
@@ -32,2 +32,2 @@ var ss = new localstorage_1.LocalStorage(ENV, sessionStorage); | ||
exports.default = ls; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLCtDQUE2QztBQUU3QyxJQUFNLEdBQUcsR0FBRyxPQUFPLE1BQU0sS0FBSyxXQUFXLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FDbkQsT0FBTyxNQUFNLEtBQUssV0FBVyxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FDN0IsQ0FBQTtBQUV2QixJQUFNLEVBQUUsR0FBRyxJQUFJLDJCQUFZLENBQUMsR0FBRyxDQUFDLENBQUE7QUFnQnhCLDBCQUFZO0FBZnBCLElBQU0sRUFBRSxHQUFHLElBQUksMkJBQVksQ0FBQyxHQUFHLEVBQUUsY0FBYyxDQUFDLEN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ksRUFBRTtJQUN6QyxJQUFJLENBQUMsRUFBRSxDQUFDLFNBQVMsRUFBRTtRQUNqQixPQUFPLENBQUMsSUFBSSxDQUFDLDhDQUE4QyxDQUFDLENBQUE7S0FDN0Q7SUFDRCxJQUFJLENBQUMsRUFBRSxDQUFDLFNBQVMsRUFBRTtRQUNqQixPQUFPLENBQUMsSUFBSSxDQUFDLGdEQUFnRCxDQUFDLENBQUE7S0FDL0Q7Q0FDRjtBQUVELGlEQUE4QjtBQUM5Qix3Q0FBcUI7QUFPckIsa0JBQWUsRUFBRSxDQUFBIn0= |
@@ -35,3 +35,5 @@ "use strict"; | ||
listen(window, function (_a) { | ||
var key = _a.key, newValue = _a.newValue, oldValue = _a.oldValue; | ||
var key = _a.key, newValue = _a.newValue, oldValue = _a.oldValue, storageArea = _a.storageArea; | ||
if (storageArea !== storage) | ||
return; | ||
_this.feed(key, newValue, oldValue); | ||
@@ -67,3 +69,3 @@ }); | ||
LocalStorage.prototype.setItem = function (key, value) { | ||
return this.set(key, value); | ||
return this.set(key, String(value)); | ||
}; | ||
@@ -222,3 +224,5 @@ LocalStorage.prototype.removeItem = function (key) { | ||
for (var handlers_1 = __values(handlers), handlers_1_1 = handlers_1.next(); !handlers_1_1.done; handlers_1_1 = handlers_1.next()) { | ||
var fn = handlers_1_1.value.getItem; | ||
var _b = handlers_1_1.value, fn = _b.getItem, native = _b.injector.native; | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -247,3 +251,5 @@ fn.call(this, key, value); | ||
for (var handlers_2 = __values(handlers), handlers_2_1 = handlers_2.next(); !handlers_2_1.done; handlers_2_1 = handlers_2.next()) { | ||
var fn = handlers_2_1.value.setItem; | ||
var _b = handlers_2_1.value, fn = _b.setItem, native = _b.injector.native; | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -271,3 +277,5 @@ fn.call(this, key, value); | ||
for (var handlers_3 = __values(handlers), handlers_3_1 = handlers_3.next(); !handlers_3_1.done; handlers_3_1 = handlers_3.next()) { | ||
var fn = handlers_3_1.value.removeItem; | ||
var _b = handlers_3_1.value, fn = _b.removeItem, native = _b.injector.native; | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -295,3 +303,5 @@ fn.call(this, key); | ||
for (var handlers_4 = __values(handlers), handlers_4_1 = handlers_4.next(); !handlers_4_1.done; handlers_4_1 = handlers_4.next()) { | ||
var fn = handlers_4_1.value.clear; | ||
var _b = handlers_4_1.value, fn = _b.clear, native = _b.injector.native; | ||
if (this !== native) | ||
continue; | ||
if (typeof fn === 'function') { | ||
@@ -356,2 +366,2 @@ fn.call(this); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYWxzdG9yYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2xvY2Fsc3RvcmFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBLDZCQUErQjtBQUUvQixJQUFNLFdBQVcsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFDLG1DQUFtQyxDQUFDLENBQUE7QUFDbkUsSUFBTSxTQUFTLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxnQ0FBZ0MsQ0FBQyxDQUFBO0FBRTlEO0lBV0Usc0JBQVksTUFBZSxFQUFFLE9BQWlCO1FBQTlDLGlCQWFDO1FBcEJTLFlBQU8sR0FFYixFQUFFLENBQUE7UUFFSSxZQUFPLEdBQUcsQ0FBQyxDQUFBO1FBQ1gsY0FBUyxHQUFHLEtBQUssQ0FBQTtRQUd6Qix1QkFBdUI7UUFDdkIsSUFBSSxNQUFNLEVBQUU7WUFDVixJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQTtTQUN0QjthQUFNO1lBQ0wsSUFBSSxDQUFDLFNBQVMsR0FBRyxLQUFLLENBQUE7WUFDdEIs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BQ2xCLFVBQVUsRUFBRSxLQUFLO1lBQ2pCLFFBQVEsRUFBRSxJQUFJO1lBQ2QsS0FBSyxFQUFFLEVBQUU7U0FDVjtRQUNELFVBQU8sR0FBRTtZQUNQLFlBQVksRUFBRSxJQUFJO1lBQ2xCLFVBQVUsRUFBRSxLQUFLO1lBQ2pCLFFBQVEsRUFBRSxJQUFJO1lBQ2QsS0FBSyxFQUFFLGVBQWU7U0FDdkI7UUFDRCxVQUFPLEdBQUU7WUFDUCxZQUFZLEVBQUUsSUFBSTtZQUNsQixVQUFVLEVBQUUsS0FBSztZQUNqQixRQUFRLEVBQUUsSUFBSTtZQUNkLEtBQUssRUFBRSxlQUFlO1NBQ3ZCO1FBQ0QsYUFBVSxHQUFFO1lBQ1YsWUFBWSxFQUFFLElBQUk7WUFDbEIsVUFBVSxFQUFFLEtBQUs7WUFDakIsUUFBUSxFQUFFLElBQUk7WUFDZCxLQUFLLEVBQUUsa0JBQWtCO1NBQzFCO1FBQ0QsUUFBSyxHQUFFO1lBQ0wsWUFBWSxFQUFFLElBQUk7WUFDbEIsVUFBVSxFQUFFLEtBQUs7WUFDakIsUUFBUSxFQUFFLElBQUk7WUFDZCxLQUFLLEVBQUUsYUFBYTtTQUNyQjtZQUNELENBQUE7QUFDSixDQUFDO0FBRUQsU0FBUyxTQUFTLENBQTBCLEdBQU07SUFDaEQsSUFBTSxFQUFFLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUNqQyxPQUFPLEVBQUUsSUFBSyxFQUFVLENBQUMsTUFBTSxJQUFJLEVBQUUsQ0FBQTtBQUN2QyxDQUFDIn0= |
{ | ||
"name": "reactive-localstorage", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A reactive localStorage with no dependency", | ||
@@ -22,3 +22,4 @@ "main": "lib/index.js", | ||
"reactive", | ||
"localstorage" | ||
"localstorage", | ||
"sessionstorage" | ||
], | ||
@@ -25,0 +26,0 @@ "author": "Aihorn Mac", |
@@ -13,3 +13,3 @@ # reactive-localstorage | ||
#### Features | ||
* inject window.localStorage | ||
* inject window.localStorage / window.sessionStorage | ||
* Emit changes from same window | ||
@@ -22,3 +22,3 @@ * Emit external changes | ||
```js | ||
import localStorage from 'reactive-localstorage'; | ||
import localStorage, { localStorage } from 'reactive-localstorage'; | ||
@@ -50,4 +50,18 @@ localStorage.on('change', (key, value) => { | ||
SessionStorage is also supported | ||
```js | ||
import { sessionStorage } from 'reactive-localstorage'; | ||
sessionStorage.on('change', (key, value) => { | ||
console.log(`key ${key} changed to ${value}`); | ||
}); | ||
sessionStorage.setItem('foo', 'bar'); | ||
// print key foo changed to bar | ||
``` | ||
#### Related Projects | ||
- [mobx-localstorage](https://github.com/aihornmac/mobx-localstorage) | ||
- [rx-localstorage](https://github.com/aihornmac/rx-localstorage) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56559
832
65