@ztimson/utils 0.25.19 → 0.25.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -543,14 +543,7 @@ class Cache {
|
|
|
543
543
|
if (options.storage instanceof Table) {
|
|
544
544
|
(async () => {
|
|
545
545
|
var _a2;
|
|
546
|
-
return (await ((_a2 = options.storage) == null ? void 0 : _a2.getAll()))
|
|
547
|
-
if (v) {
|
|
548
|
-
try {
|
|
549
|
-
this.add(v);
|
|
550
|
-
} catch {
|
|
551
|
-
}
|
|
552
|
-
}
|
|
553
|
-
});
|
|
546
|
+
return this.addAll(await ((_a2 = options.storage) == null ? void 0 : _a2.getAll()), false);
|
|
554
547
|
})();
|
|
555
548
|
} else if (options.storageKey) {
|
|
556
549
|
const stored = (_a = options.storage) == null ? void 0 : _a.getItem(options.storageKey);
|