@bleedingdev/modern-js-runtime 3.2.0-ultramodern.15 → 3.2.0-ultramodern.17
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.
|
@@ -262,7 +262,11 @@ function createRouteStaticData(opts: {
|
|
|
262
262
|
modernRouteAction?: unknown;
|
|
263
263
|
modernRouteLoader?: unknown;
|
|
264
264
|
}) {
|
|
265
|
-
const staticData:
|
|
265
|
+
const staticData: {
|
|
266
|
+
modernRouteId?: string;
|
|
267
|
+
modernRouteAction?: unknown;
|
|
268
|
+
modernRouteLoader?: unknown;
|
|
269
|
+
} = {};
|
|
266
270
|
|
|
267
271
|
if (opts.modernRouteId) {
|
|
268
272
|
staticData.modernRouteId = opts.modernRouteId;
|
|
@@ -276,7 +280,7 @@ function createRouteStaticData(opts: {
|
|
|
276
280
|
staticData.modernRouteAction = opts.modernRouteAction;
|
|
277
281
|
}
|
|
278
282
|
|
|
279
|
-
return
|
|
283
|
+
return staticData;
|
|
280
284
|
}
|
|
281
285
|
|
|
282
286
|
function modernLoaderToTanstack<TLoader extends (args: any) => any>(
|
|
@@ -223,7 +223,11 @@ function createRouteStaticData(opts: {
|
|
|
223
223
|
modernRouteAction?: unknown;
|
|
224
224
|
modernRouteLoader?: unknown;
|
|
225
225
|
}) {
|
|
226
|
-
const staticData:
|
|
226
|
+
const staticData: {
|
|
227
|
+
modernRouteId?: string;
|
|
228
|
+
modernRouteAction?: unknown;
|
|
229
|
+
modernRouteLoader?: unknown;
|
|
230
|
+
} = {};
|
|
227
231
|
|
|
228
232
|
if (opts.modernRouteId) {
|
|
229
233
|
staticData.modernRouteId = opts.modernRouteId;
|
|
@@ -237,7 +241,7 @@ function createRouteStaticData(opts: {
|
|
|
237
241
|
staticData.modernRouteAction = opts.modernRouteAction;
|
|
238
242
|
}
|
|
239
243
|
|
|
240
|
-
return
|
|
244
|
+
return staticData;
|
|
241
245
|
}
|
|
242
246
|
|
|
243
247
|
function modernLoaderToTanstack<TLoader extends (args: any) => any>(
|
|
@@ -224,7 +224,11 @@ function createRouteStaticData(opts: {
|
|
|
224
224
|
modernRouteAction?: unknown;
|
|
225
225
|
modernRouteLoader?: unknown;
|
|
226
226
|
}) {
|
|
227
|
-
const staticData:
|
|
227
|
+
const staticData: {
|
|
228
|
+
modernRouteId?: string;
|
|
229
|
+
modernRouteAction?: unknown;
|
|
230
|
+
modernRouteLoader?: unknown;
|
|
231
|
+
} = {};
|
|
228
232
|
|
|
229
233
|
if (opts.modernRouteId) {
|
|
230
234
|
staticData.modernRouteId = opts.modernRouteId;
|
|
@@ -238,7 +242,7 @@ function createRouteStaticData(opts: {
|
|
|
238
242
|
staticData.modernRouteAction = opts.modernRouteAction;
|
|
239
243
|
}
|
|
240
244
|
|
|
241
|
-
return
|
|
245
|
+
return staticData;
|
|
242
246
|
}
|
|
243
247
|
|
|
244
248
|
function modernLoaderToTanstack<TLoader extends (args: any) => any>(
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"modern",
|
|
18
18
|
"modern.js"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.2.0-ultramodern.
|
|
20
|
+
"version": "3.2.0-ultramodern.17",
|
|
21
21
|
"engines": {
|
|
22
22
|
"node": ">=20"
|
|
23
23
|
},
|
|
@@ -227,12 +227,12 @@
|
|
|
227
227
|
"isbot": "5.1.40",
|
|
228
228
|
"react-helmet": "^6.1.0",
|
|
229
229
|
"react-is": "^19.2.6",
|
|
230
|
-
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.2.0-ultramodern.
|
|
231
|
-
"@modern-js/
|
|
232
|
-
"@modern-js/
|
|
233
|
-
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.2.0-ultramodern.
|
|
234
|
-
"@modern-js/
|
|
235
|
-
"@modern-js/
|
|
230
|
+
"@modern-js/plugin": "npm:@bleedingdev/modern-js-plugin@3.2.0-ultramodern.17",
|
|
231
|
+
"@modern-js/render": "npm:@bleedingdev/modern-js-render@3.2.0-ultramodern.17",
|
|
232
|
+
"@modern-js/plugin-data-loader": "npm:@bleedingdev/modern-js-plugin-data-loader@3.2.0-ultramodern.17",
|
|
233
|
+
"@modern-js/runtime-utils": "npm:@bleedingdev/modern-js-runtime-utils@3.2.0-ultramodern.17",
|
|
234
|
+
"@modern-js/types": "npm:@bleedingdev/modern-js-types@3.2.0-ultramodern.17",
|
|
235
|
+
"@modern-js/utils": "npm:@bleedingdev/modern-js-utils@3.2.0-ultramodern.17"
|
|
236
236
|
},
|
|
237
237
|
"peerDependencies": {
|
|
238
238
|
"react": "^19.2.6",
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"@typescript/native-preview": "7.0.0-dev.20260516.1",
|
|
252
252
|
"react": "^19.2.6",
|
|
253
253
|
"react-dom": "^19.2.6",
|
|
254
|
-
"@modern-js/app-tools": "npm:@bleedingdev/modern-js-app-tools@3.2.0-ultramodern.
|
|
254
|
+
"@modern-js/app-tools": "npm:@bleedingdev/modern-js-app-tools@3.2.0-ultramodern.17",
|
|
255
255
|
"@scripts/rstest-config": "2.66.0"
|
|
256
256
|
},
|
|
257
257
|
"sideEffects": false,
|