@modern-js/builder 3.1.4 → 3.2.0

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.
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- parseConfig: ()=>parseConfig,
28
- createRspackBuilder: ()=>createRspackBuilder
27
+ createRspackBuilder: ()=>createRspackBuilder,
28
+ parseConfig: ()=>parseConfig
29
29
  });
30
30
  const core_namespaceObject = require("@rsbuild/core");
31
31
  const rscConfig_js_namespaceObject = require("./plugins/rscConfig.js");
package/dist/cjs/index.js CHANGED
@@ -24,13 +24,13 @@ var __webpack_require__ = {};
24
24
  var __webpack_exports__ = {};
25
25
  __webpack_require__.r(__webpack_exports__);
26
26
  __webpack_require__.d(__webpack_exports__, {
27
- RUNTIME_CHUNK_REGEX: ()=>utils_js_namespaceObject.RUNTIME_CHUNK_REGEX,
28
- logger: ()=>core_namespaceObject.logger,
29
27
  RUNTIME_CHUNK_NAME: ()=>utils_js_namespaceObject.RUNTIME_CHUNK_NAME,
30
- castArray: ()=>utils_js_namespaceObject.castArray,
28
+ RUNTIME_CHUNK_REGEX: ()=>utils_js_namespaceObject.RUNTIME_CHUNK_REGEX,
31
29
  SERVICE_WORKER_ENVIRONMENT_NAME: ()=>utils_js_namespaceObject.SERVICE_WORKER_ENVIRONMENT_NAME,
32
- isHtmlDisabled: ()=>utils_js_namespaceObject.isHtmlDisabled,
30
+ castArray: ()=>utils_js_namespaceObject.castArray,
33
31
  createBuilder: ()=>external_createBuilder_js_namespaceObject.createRspackBuilder,
32
+ isHtmlDisabled: ()=>utils_js_namespaceObject.isHtmlDisabled,
33
+ logger: ()=>core_namespaceObject.logger,
34
34
  parseRspackConfig: ()=>external_createBuilder_js_namespaceObject.parseConfig
35
35
  });
36
36
  const external_createBuilder_js_namespaceObject = require("./createBuilder.js");
@@ -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
- pluginEmitRouteFile: ()=>pluginEmitRouteFile,
37
- isFileExists: ()=>isFileExists
36
+ isFileExists: ()=>isFileExists,
37
+ pluginEmitRouteFile: ()=>pluginEmitRouteFile
38
38
  });
39
39
  const external_node_fs_namespaceObject = require("node:fs");
40
40
  var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
@@ -33,13 +33,13 @@ var __webpack_require__ = {};
33
33
  var __webpack_exports__ = {};
34
34
  __webpack_require__.r(__webpack_exports__);
35
35
  __webpack_require__.d(__webpack_exports__, {
36
- RUNTIME_CHUNK_REGEX: ()=>RUNTIME_CHUNK_REGEX,
37
36
  NODE_MODULES_REGEX: ()=>NODE_MODULES_REGEX,
38
- isHtmlDisabled: ()=>isHtmlDisabled,
39
37
  RUNTIME_CHUNK_NAME: ()=>RUNTIME_CHUNK_NAME,
40
- castArray: ()=>castArray,
38
+ RUNTIME_CHUNK_REGEX: ()=>RUNTIME_CHUNK_REGEX,
41
39
  SERVICE_WORKER_ENVIRONMENT_NAME: ()=>SERVICE_WORKER_ENVIRONMENT_NAME,
42
- getBrowserslistWithDefault: ()=>getBrowserslistWithDefault
40
+ castArray: ()=>castArray,
41
+ getBrowserslistWithDefault: ()=>getBrowserslistWithDefault,
42
+ isHtmlDisabled: ()=>isHtmlDisabled
43
43
  });
44
44
  const external_browserslist_namespaceObject = require("browserslist");
45
45
  var external_browserslist_default = /*#__PURE__*/ __webpack_require__.n(external_browserslist_namespaceObject);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/builder",
3
- "version": "3.1.4",
3
+ "version": "3.2.0",
4
4
  "description": "A builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,28 +26,28 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@rsbuild/core": "2.0.0-rc.0",
29
+ "@rsbuild/core": "2.0.0",
30
30
  "@rsbuild/plugin-assets-retry": "1.5.1",
31
31
  "@rsbuild/plugin-check-syntax": "1.6.1",
32
32
  "@rsbuild/plugin-css-minimizer": "1.1.1",
33
33
  "@rsbuild/plugin-less": "1.6.0",
34
- "@rsbuild/plugin-react": "1.4.4",
34
+ "@rsbuild/plugin-react": "2.0.0",
35
35
  "@rsbuild/plugin-rem": "1.0.5",
36
36
  "@rsbuild/plugin-sass": "1.5.0",
37
37
  "@rsbuild/plugin-source-build": "1.0.4",
38
- "@rsbuild/plugin-svgr": "1.3.0",
38
+ "@rsbuild/plugin-svgr": "2.0.0",
39
39
  "@rsbuild/plugin-type-check": "1.3.3",
40
40
  "@rsbuild/plugin-typed-css-modules": "1.2.1",
41
- "@swc/core": "1.15.11",
42
- "rsbuild-plugin-rsc": "0.0.1-beta.0",
41
+ "@swc/core": "1.15.33",
42
+ "rsbuild-plugin-rsc": "0.0.3",
43
43
  "@swc/helpers": "^0.5.17",
44
44
  "autoprefixer": "10.4.27",
45
45
  "browserslist": "4.28.2",
46
46
  "core-js": "^3.48.0",
47
47
  "cssnano": "6.1.2",
48
48
  "html-minifier-terser": "^7.2.0",
49
- "lodash": "^4.17.23",
50
- "postcss": "^8.5.9",
49
+ "lodash": "^4.18.1",
50
+ "postcss": "^8.5.14",
51
51
  "postcss-custom-properties": "13.3.12",
52
52
  "postcss-flexbugs-fixes": "5.0.2",
53
53
  "postcss-font-variant": "5.0.0",
@@ -57,18 +57,18 @@
57
57
  "postcss-page-break": "3.0.4",
58
58
  "rspack-manifest-plugin": "5.2.1",
59
59
  "ts-deepmerge": "7.0.3",
60
- "@modern-js/utils": "3.1.4"
60
+ "@modern-js/utils": "3.2.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@rslib/core": "0.21.0",
63
+ "@rslib/core": "0.21.4",
64
64
  "@types/html-minifier-terser": "^7.0.2",
65
65
  "@types/lodash": "^4.17.24",
66
- "react": "^19.2.4",
67
- "terser": "^5.46.1",
66
+ "react": "^19.2.6",
67
+ "terser": "^5.46.2",
68
68
  "typescript": "^5.3.0",
69
69
  "@modern-js/rslib": "2.68.10",
70
- "@scripts/rstest-config": "2.66.0",
71
- "@modern-js/types": "3.1.4"
70
+ "@modern-js/types": "3.2.0",
71
+ "@scripts/rstest-config": "2.66.0"
72
72
  },
73
73
  "publishConfig": {
74
74
  "access": "public",