@modern-js/runtime 2.60.5-alpha.1 → 2.60.5-alpha.2

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.
@@ -86,7 +86,7 @@ const routerPlugin = (userConfig = {}) => {
86
86
  const requestContext = (0, import_node.createRequestContext)((_context_ssrContext = context.ssrContext) === null || _context_ssrContext === void 0 ? void 0 : _context_ssrContext.loaderContext);
87
87
  requestContext.set(import_node.reporterCtx, reporter);
88
88
  const runner = api.useHookRunners();
89
- await runner.beforeCreateRouts(context);
89
+ await runner.beforeCreateRoutes(context);
90
90
  let routes = createRoutes ? createRoutes() : (0, import_router2.createRoutesFromElements)((0, import_utils.renderRoutes)({
91
91
  routesConfig: finalRouteConfig,
92
92
  ssrMode,
@@ -65,7 +65,7 @@ var routerPlugin = function() {
65
65
  runner = api.useHookRunners();
66
66
  return [
67
67
  4,
68
- runner.beforeCreateRouts(context)
68
+ runner.beforeCreateRoutes(context)
69
69
  ];
70
70
  case 1:
71
71
  _state.sent();
@@ -52,7 +52,7 @@ const routerPlugin = (userConfig = {}) => {
52
52
  const requestContext = createRequestContext((_context_ssrContext = context.ssrContext) === null || _context_ssrContext === void 0 ? void 0 : _context_ssrContext.loaderContext);
53
53
  requestContext.set(reporterCtx, reporter);
54
54
  const runner = api.useHookRunners();
55
- await runner.beforeCreateRouts(context);
55
+ await runner.beforeCreateRoutes(context);
56
56
  let routes = createRoutes ? createRoutes() : createRoutesFromElements(renderRoutes({
57
57
  routesConfig: finalRouteConfig,
58
58
  ssrMode,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.60.5-alpha.1",
18
+ "version": "2.60.5-alpha.2",
19
19
  "engines": {
20
20
  "node": ">=14.17.6"
21
21
  },
@@ -201,8 +201,8 @@
201
201
  "styled-components": "^5.3.1",
202
202
  "@modern-js/plugin-data-loader": "2.60.4",
203
203
  "@modern-js/plugin": "2.60.4",
204
- "@modern-js/runtime-utils": "2.60.4",
205
204
  "@modern-js/types": "2.60.4",
205
+ "@modern-js/runtime-utils": "2.60.4",
206
206
  "@modern-js/utils": "2.60.4"
207
207
  },
208
208
  "peerDependencies": {
@@ -226,10 +226,10 @@
226
226
  "ts-jest": "^29.1.0",
227
227
  "typescript": "^5",
228
228
  "webpack": "^5.95.0",
229
- "@modern-js/app-tools": "2.60.4",
230
229
  "@scripts/build": "2.60.4",
231
- "@modern-js/core": "2.60.4",
232
- "@scripts/jest-config": "2.60.4"
230
+ "@modern-js/app-tools": "2.60.4",
231
+ "@scripts/jest-config": "2.60.4",
232
+ "@modern-js/core": "2.60.4"
233
233
  },
234
234
  "sideEffects": false,
235
235
  "publishConfig": {