@modern-js/plugin-ssg 3.1.5 → 3.2.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.
package/dist/cjs/index.js CHANGED
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
- ssgPlugin: ()=>ssgPlugin,
37
- default: ()=>src
36
+ default: ()=>src,
37
+ ssgPlugin: ()=>ssgPlugin
38
38
  });
39
39
  const external_path_namespaceObject = require("path");
40
40
  var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
- replaceRoute: ()=>replaceRoute,
37
- exist: ()=>exist
36
+ exist: ()=>exist,
37
+ replaceRoute: ()=>replaceRoute
38
38
  });
39
39
  const external_normalize_path_namespaceObject = require("normalize-path");
40
40
  var external_normalize_path_default = /*#__PURE__*/ __webpack_require__.n(external_normalize_path_namespaceObject);
@@ -34,17 +34,17 @@ var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
36
  chunkArray: ()=>chunkArray,
37
+ flattenRoutes: ()=>flattenRoutes,
38
+ formatOutput: ()=>formatOutput,
39
+ formatPath: ()=>formatPath,
40
+ getOutput: ()=>getOutput,
41
+ getUrlPrefix: ()=>getUrlPrefix,
42
+ isDynamicUrl: ()=>isDynamicUrl,
43
+ openRouteSSR: ()=>openRouteSSR,
37
44
  readJSONSpec: ()=>readJSONSpec,
38
45
  replaceWithAlias: ()=>replaceWithAlias,
39
- writeJSONSpec: ()=>writeJSONSpec,
40
- openRouteSSR: ()=>openRouteSSR,
41
- getOutput: ()=>getOutput,
42
46
  standardOptions: ()=>standardOptions,
43
- isDynamicUrl: ()=>isDynamicUrl,
44
- formatOutput: ()=>formatOutput,
45
- getUrlPrefix: ()=>getUrlPrefix,
46
- flattenRoutes: ()=>flattenRoutes,
47
- formatPath: ()=>formatPath
47
+ writeJSONSpec: ()=>writeJSONSpec
48
48
  });
49
49
  const external_path_namespaceObject = require("path");
50
50
  var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.1.5",
18
+ "version": "3.2.1",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "typesVersions": {
@@ -47,8 +47,8 @@
47
47
  "@swc/helpers": "^0.5.17",
48
48
  "node-mocks-http": "^1.17.2",
49
49
  "normalize-path": "3.0.0",
50
- "@modern-js/prod-server": "3.1.5",
51
- "@modern-js/utils": "3.1.5"
50
+ "@modern-js/prod-server": "3.2.1",
51
+ "@modern-js/utils": "3.2.1"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react-router-dom": ">=7.13.1"
@@ -59,16 +59,16 @@
59
59
  }
60
60
  },
61
61
  "devDependencies": {
62
- "@rslib/core": "0.21.2",
62
+ "@rslib/core": "0.21.5",
63
63
  "@types/node": "^20",
64
- "react": "^19.2.4",
65
- "react-dom": "^19.2.4",
64
+ "react": "^19.2.6",
65
+ "react-dom": "^19.2.6",
66
66
  "react-router-dom": "^7.13.1",
67
67
  "typescript": "^5",
68
- "@modern-js/app-tools": "3.1.5",
68
+ "@modern-js/app-tools": "3.2.1",
69
69
  "@modern-js/rslib": "2.68.10",
70
- "@modern-js/types": "3.1.5",
71
- "@scripts/rstest-config": "2.66.0"
70
+ "@scripts/rstest-config": "2.66.0",
71
+ "@modern-js/types": "3.2.1"
72
72
  },
73
73
  "sideEffects": false,
74
74
  "publishConfig": {