@modern-js/runtime-utils 2.45.0 → 2.46.1
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.
|
@@ -69,7 +69,7 @@ class Storage {
|
|
|
69
69
|
var _this_keys, _this;
|
|
70
70
|
const keys = await ((_this_keys = (_this = this).keys) === null || _this_keys === void 0 ? void 0 : _this_keys.call(_this));
|
|
71
71
|
await Promise.all((keys === null || keys === void 0 ? void 0 : keys.map(async (key) => {
|
|
72
|
-
return this.delete(key);
|
|
72
|
+
return this.container.delete(key);
|
|
73
73
|
})) || []);
|
|
74
74
|
}
|
|
75
75
|
forEach(fallbackFn) {
|
|
@@ -46,7 +46,7 @@ class Storage {
|
|
|
46
46
|
var _this_keys, _this;
|
|
47
47
|
const keys = await ((_this_keys = (_this = this).keys) === null || _this_keys === void 0 ? void 0 : _this_keys.call(_this));
|
|
48
48
|
await Promise.all((keys === null || keys === void 0 ? void 0 : keys.map(async (key) => {
|
|
49
|
-
return this.delete(key);
|
|
49
|
+
return this.container.delete(key);
|
|
50
50
|
})) || []);
|
|
51
51
|
}
|
|
52
52
|
forEach(fallbackFn) {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.46.1",
|
|
19
19
|
"_comment": "Provide ESM and CJS exports, ESM is used by runtime package, for treeshaking",
|
|
20
20
|
"exports": {
|
|
21
21
|
"./router": {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"react-router-dom": "6.17.0",
|
|
107
107
|
"@remix-run/router": "1.10.0",
|
|
108
108
|
"@swc/helpers": "0.5.3",
|
|
109
|
-
"@modern-js/utils": "2.
|
|
109
|
+
"@modern-js/utils": "2.46.1"
|
|
110
110
|
},
|
|
111
111
|
"peerDependencies": {
|
|
112
112
|
"react": ">=17.0.0",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
"jest": "^29",
|
|
130
130
|
"typescript": "^5",
|
|
131
131
|
"@types/serialize-javascript": "^5.0.1",
|
|
132
|
-
"@
|
|
133
|
-
"@scripts/
|
|
134
|
-
"@
|
|
132
|
+
"@scripts/build": "2.46.1",
|
|
133
|
+
"@scripts/jest-config": "2.46.1",
|
|
134
|
+
"@modern-js/types": "2.46.1"
|
|
135
135
|
},
|
|
136
136
|
"sideEffects": false,
|
|
137
137
|
"scripts": {
|