@itrocks/lazy-loading 0.0.14 → 0.0.16
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/cjs/lazy-loading.js +1 -1
- package/esm/lazy-loading.js +1 -1
- package/package.json +3 -3
package/cjs/lazy-loading.js
CHANGED
|
@@ -157,7 +157,7 @@ function initLazyLoading() {
|
|
|
157
157
|
}
|
|
158
158
|
function resolveDeferredModules() {
|
|
159
159
|
while (deferredModules.length) {
|
|
160
|
-
const [original, module,
|
|
160
|
+
const [original, module, _file] = deferredModules[deferredModules.length - 1];
|
|
161
161
|
if (initModule(module, original) === original) {
|
|
162
162
|
Object.assign(module, original);
|
|
163
163
|
}
|
package/esm/lazy-loading.js
CHANGED
|
@@ -154,7 +154,7 @@ export function initLazyLoading() {
|
|
|
154
154
|
}
|
|
155
155
|
function resolveDeferredModules() {
|
|
156
156
|
while (deferredModules.length) {
|
|
157
|
-
const [original, module,
|
|
157
|
+
const [original, module, _file] = deferredModules[deferredModules.length - 1];
|
|
158
158
|
if (initModule(module, original) === original) {
|
|
159
159
|
Object.assign(module, original);
|
|
160
160
|
}
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"description": "Integrates lazy loading for objects and collections in TypeScript classes",
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "^
|
|
16
|
-
"typescript": "~5.
|
|
15
|
+
"@types/node": "^24.10",
|
|
16
|
+
"typescript": "~5.9"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=18"
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"build:esm": "tsc -p tsconfig.esm.json && node esm/esm"
|
|
55
55
|
},
|
|
56
56
|
"types": "./esm/lazy-loading.d.ts",
|
|
57
|
-
"version": "0.0.
|
|
57
|
+
"version": "0.0.16"
|
|
58
58
|
}
|