@ztimson/utils 0.25.19 → 0.25.20
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.cjs
CHANGED
|
@@ -547,14 +547,7 @@ ${opts.message || this.desc}`;
|
|
|
547
547
|
if (options.storage instanceof Table) {
|
|
548
548
|
(async () => {
|
|
549
549
|
var _a2;
|
|
550
|
-
return (await ((_a2 = options.storage) == null ? void 0 : _a2.getAll()))
|
|
551
|
-
if (v) {
|
|
552
|
-
try {
|
|
553
|
-
this.add(v);
|
|
554
|
-
} catch {
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
});
|
|
550
|
+
return this.addAll(await ((_a2 = options.storage) == null ? void 0 : _a2.getAll()));
|
|
558
551
|
})();
|
|
559
552
|
} else if (options.storageKey) {
|
|
560
553
|
const stored = (_a = options.storage) == null ? void 0 : _a.getItem(options.storageKey);
|