@modern-js/utils 2.58.4-alpha.0 → 2.58.4-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.
@@ -36,7 +36,6 @@ __reExport(cli_exports, require("./runtimeExports"), module.exports);
36
36
  __reExport(cli_exports, require("./watch"), module.exports);
37
37
  __reExport(cli_exports, require("./config"), module.exports);
38
38
  __reExport(cli_exports, require("./action"), module.exports);
39
- __reExport(cli_exports, require("./route"), module.exports);
40
39
  __reExport(cli_exports, require("./version"), module.exports);
41
40
  // Annotate the CommonJS export names for ESM import in node:
42
41
  0 && (module.exports = {
@@ -61,6 +60,5 @@ __reExport(cli_exports, require("./version"), module.exports);
61
60
  ...require("./watch"),
62
61
  ...require("./config"),
63
62
  ...require("./action"),
64
- ...require("./route"),
65
63
  ...require("./version")
66
64
  });
@@ -0,0 +1 @@
1
+ "use strict";
@@ -16,13 +16,13 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var route_exports = {};
20
- __export(route_exports, {
19
+ var route_server_exports = {};
20
+ __export(route_server_exports, {
21
21
  filterRoutesForServer: () => filterRoutesForServer,
22
22
  filterRoutesLoader: () => filterRoutesLoader,
23
23
  markRoutes: () => markRoutes
24
24
  });
25
- module.exports = __toCommonJS(route_exports);
25
+ module.exports = __toCommonJS(route_server_exports);
26
26
  var import_compiled = require("../compiled");
27
27
  const { cloneDeep } = import_compiled.lodash;
28
28
  function filterRoutesForServer(routes) {
@@ -19,5 +19,4 @@ export * from "./runtimeExports";
19
19
  export * from "./watch";
20
20
  export * from "./config";
21
21
  export * from "./action";
22
- export * from "./route";
23
22
  export * from "./version";
File without changes
@@ -19,5 +19,4 @@ export * from "./runtimeExports";
19
19
  export * from "./watch";
20
20
  export * from "./config";
21
21
  export * from "./action";
22
- export * from "./route";
23
22
  export * from "./version";
File without changes
@@ -19,5 +19,4 @@ export * from './runtimeExports';
19
19
  export * from './watch';
20
20
  export * from './config';
21
21
  export * from './action';
22
- export * from './route';
23
22
  export * from './version';
File without changes
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.58.4-alpha.0",
18
+ "version": "2.58.4-alpha.2",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -54,6 +54,11 @@
54
54
  "import": "./dist/esm/universal/pluginDagSort.js",
55
55
  "default": "./dist/cjs/universal/pluginDagSort.js"
56
56
  },
57
+ "./universal/route": {
58
+ "types": "./dist/types/universal/route.server.d.ts",
59
+ "import": "./dist/esm/universal/route.js",
60
+ "default": "./dist/cjs/universal/route.server.js"
61
+ },
57
62
  "./commander": "./dist/compiled/commander/index.js",
58
63
  "./ora": "./dist/compiled/ora/index.js",
59
64
  "./glob": "./dist/compiled/glob/index.js",
@@ -97,6 +102,9 @@
97
102
  "universal/plugin-dag-sort": [
98
103
  "./dist/types/universal/pluginDagSort.d.ts"
99
104
  ],
105
+ "universal/route": [
106
+ "./dist/types/universal/route.server.d.ts"
107
+ ],
100
108
  "execa": [
101
109
  "./dist/compiled/execa/index.d.ts"
102
110
  ],
@@ -162,9 +170,9 @@
162
170
  "jest": "^29",
163
171
  "typescript": "^5",
164
172
  "webpack": "^5.93.0",
165
- "@scripts/build": "2.58.3",
173
+ "@modern-js/types": "2.58.3",
166
174
  "@scripts/jest-config": "2.58.3",
167
- "@modern-js/types": "2.58.3"
175
+ "@scripts/build": "2.58.3"
168
176
  },
169
177
  "sideEffects": false,
170
178
  "scripts": {