Skip to content

Commit ff3d034

Browse files
fix(deps): update dependency @rsbuild/core to v1.3.18 (#7123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: caohuilin <[email protected]>
1 parent 7ffa4ea commit ff3d034

File tree

15 files changed

+317
-248
lines changed

15 files changed

+317
-248
lines changed

packages/cli/plugin-swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@modern-js/utils": "workspace:*",
42-
"@rsbuild/core": "1.3.16",
42+
"@rsbuild/core": "1.3.18",
4343
"@rsbuild/plugin-webpack-swc": "1.1.0",
4444
"@swc/helpers": "0.5.13"
4545
},

packages/cli/rsbuild-plugin-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"webpack": "^5.98.0"
3232
},
3333
"devDependencies": {
34-
"@rsbuild/core": "1.3.16",
34+
"@rsbuild/core": "1.3.18",
3535
"@rsbuild/webpack": "1.3.0",
3636
"@scripts/build": "workspace:*",
3737
"typescript": "^5.4.2"

packages/cli/uni-builder/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@modern-js/flight-server-transform-plugin": "workspace:*",
4040
"@modern-js/utils": "workspace:*",
4141
"@pmmmwh/react-refresh-webpack-plugin": "0.5.16",
42-
"@rsbuild/core": "1.3.16",
42+
"@rsbuild/core": "1.3.18",
4343
"@rsbuild/plugin-assets-retry": "1.2.1",
4444
"@rsbuild/plugin-babel": "1.0.5",
4545
"@rsbuild/plugin-check-syntax": "1.3.0",

packages/cli/uni-builder/tests/__snapshots__/default.test.ts.snap

Lines changed: 6 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,14 +1244,8 @@ exports[`uni-builder rspack > should generator rspack config correctly 1`] = `
12441244
"version": 6,
12451245
},
12461246
RsbuildHtmlPlugin {
1247-
"getContext": [Function],
1248-
"getEnvironment": [Function],
1247+
"getExtraData": [Function],
12491248
"name": "RsbuildHtmlPlugin",
1250-
"options": {
1251-
"index": {
1252-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
1253-
},
1254-
},
12551249
},
12561250
DefinePlugin {
12571251
"_args": [
@@ -3553,7 +3547,6 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35533547
},
35543548
"viewport": "width=device-width, initial-scale=1.0",
35553549
},
3556-
"minify": [Function],
35573550
"publicPath": "auto",
35583551
"scriptLoading": "defer",
35593552
"showErrors": true,
@@ -3566,14 +3559,8 @@ exports[`uni-builder rspack > should generator rspack config correctly when prod
35663559
"version": 6,
35673560
},
35683561
RsbuildHtmlPlugin {
3569-
"getContext": [Function],
3570-
"getEnvironment": [Function],
3562+
"getExtraData": [Function],
35713563
"name": "RsbuildHtmlPlugin",
3572-
"options": {
3573-
"index": {
3574-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
3575-
},
3576-
},
35773564
},
35783565
DefinePlugin {
35793566
"_args": [
@@ -5966,7 +5953,7 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59665953
},
59675954
"viewport": "width=device-width, initial-scale=1.0",
59685955
},
5969-
"minify": false,
5956+
"minify": "auto",
59705957
"publicPath": "auto",
59715958
"scriptLoading": "defer",
59725959
"showErrors": true,
@@ -5989,7 +5976,6 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59895976
},
59905977
"viewport": "width=device-width, initial-scale=1.0",
59915978
},
5992-
"minify": false,
59935979
"scriptLoading": "defer",
59945980
"template": "",
59955981
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
@@ -5999,14 +5985,8 @@ exports[`uni-builder webpack > should generator webpack config correctly 1`] = `
59995985
"version": 5,
60005986
},
60015987
RsbuildHtmlPlugin {
6002-
"getContext": [Function],
6003-
"getEnvironment": [Function],
5988+
"getExtraData": [Function],
60045989
"name": "RsbuildHtmlPlugin",
6005-
"options": {
6006-
"index": {
6007-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
6008-
},
6009-
},
60105990
},
60115991
DefinePlugin {
60125992
"definitions": {
@@ -7608,26 +7588,7 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
76087588
},
76097589
"viewport": "width=device-width, initial-scale=1.0",
76107590
},
7611-
"minify": {
7612-
"collapseWhitespace": true,
7613-
"keepClosingSlash": true,
7614-
"minifyCSS": true,
7615-
"minifyJS": {
7616-
"format": {
7617-
"ascii_only": true,
7618-
},
7619-
"mangle": {
7620-
"safari10": true,
7621-
},
7622-
},
7623-
"minifyURLs": true,
7624-
"removeComments": false,
7625-
"removeEmptyAttributes": true,
7626-
"removeRedundantAttributes": true,
7627-
"removeScriptTypeAttributes": true,
7628-
"removeStyleLinkTypeAttributes": true,
7629-
"useShortDoctype": true,
7630-
},
7591+
"minify": "auto",
76317592
"publicPath": "auto",
76327593
"scriptLoading": "defer",
76337594
"showErrors": true,
@@ -7650,26 +7611,6 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
76507611
},
76517612
"viewport": "width=device-width, initial-scale=1.0",
76527613
},
7653-
"minify": {
7654-
"collapseWhitespace": true,
7655-
"keepClosingSlash": true,
7656-
"minifyCSS": true,
7657-
"minifyJS": {
7658-
"format": {
7659-
"ascii_only": true,
7660-
},
7661-
"mangle": {
7662-
"safari10": true,
7663-
},
7664-
},
7665-
"minifyURLs": true,
7666-
"removeComments": false,
7667-
"removeEmptyAttributes": true,
7668-
"removeRedundantAttributes": true,
7669-
"removeScriptTypeAttributes": true,
7670-
"removeStyleLinkTypeAttributes": true,
7671-
"useShortDoctype": true,
7672-
},
76737614
"scriptLoading": "defer",
76747615
"template": "",
76757616
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
@@ -7679,14 +7620,8 @@ exports[`uni-builder webpack > should generator webpack config correctly when pr
76797620
"version": 5,
76807621
},
76817622
RsbuildHtmlPlugin {
7682-
"getContext": [Function],
7683-
"getEnvironment": [Function],
7623+
"getExtraData": [Function],
76847624
"name": "RsbuildHtmlPlugin",
7685-
"options": {
7686-
"index": {
7687-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
7688-
},
7689-
},
76907625
},
76917626
DefinePlugin {
76927627
"definitions": {

packages/cli/uni-builder/tests/__snapshots__/environment.test.ts.snap

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,14 +1245,8 @@ exports[`uni-builder environment compat > should generator environment config co
12451245
"version": 6,
12461246
},
12471247
RsbuildHtmlPlugin {
1248-
"getContext": [Function],
1249-
"getEnvironment": [Function],
1248+
"getExtraData": [Function],
12501249
"name": "RsbuildHtmlPlugin",
1251-
"options": {
1252-
"index": {
1253-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
1254-
},
1255-
},
12561250
},
12571251
DefinePlugin {
12581252
"_args": [

packages/cli/uni-builder/tests/__snapshots__/minimize.test.ts.snap

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ exports[`html minify > should not apply html minify in production when disableMi
4141
},
4242
"viewport": "width=device-width, initial-scale=1.0",
4343
},
44-
"minify": false,
44+
"minify": "auto",
4545
"publicPath": "auto",
4646
"scriptLoading": "defer",
4747
"showErrors": true,
@@ -64,7 +64,6 @@ exports[`html minify > should not apply html minify in production when disableMi
6464
},
6565
"viewport": "width=device-width, initial-scale=1.0",
6666
},
67-
"minify": false,
6867
"scriptLoading": "defer",
6968
"template": "",
7069
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
@@ -74,14 +73,8 @@ exports[`html minify > should not apply html minify in production when disableMi
7473
"version": 5,
7574
},
7675
RsbuildHtmlPlugin {
77-
"getContext": [Function],
78-
"getEnvironment": [Function],
76+
"getExtraData": [Function],
7977
"name": "RsbuildHtmlPlugin",
80-
"options": {
81-
"index": {
82-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
83-
},
84-
},
8578
},
8679
DefinePlugin {
8780
"definitions": {
@@ -207,14 +200,8 @@ exports[`html minify > should not apply html minify when htmlPlugin.minify false
207200
"version": 5,
208201
},
209202
RsbuildHtmlPlugin {
210-
"getContext": [Function],
211-
"getEnvironment": [Function],
203+
"getExtraData": [Function],
212204
"name": "RsbuildHtmlPlugin",
213-
"options": {
214-
"index": {
215-
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
216-
},
217-
},
218205
},
219206
DefinePlugin {
220207
"definitions": {

packages/devtools/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@radix-ui/react-tabs": "^1.1.7",
4040
"@radix-ui/react-toast": "^1.2.10",
4141
"@radix-ui/themes": "^3.2.1",
42-
"@rsbuild/core": "1.3.16",
42+
"@rsbuild/core": "1.3.18",
4343
"@scripts/jest-config": "workspace:*",
4444
"@types/jest": "^29",
4545
"@types/lodash": "^4.14.202",

packages/devtools/plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@modern-js/server-core": "workspace:*",
7676
"@modern-js/types": "workspace:*",
7777
"@modern-js/uni-builder": "workspace:*",
78-
"@rsbuild/core": "1.3.16",
78+
"@rsbuild/core": "1.3.18",
7979
"@scripts/build": "workspace:*",
8080
"@swc/helpers": "0.5.13",
8181
"@types/node": "^14",

packages/runtime/plugin-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
"devDependencies": {
235235
"@modern-js/app-tools": "workspace:*",
236236
"@remix-run/web-fetch": "^4.1.3",
237-
"@rsbuild/core": "1.3.16",
237+
"@rsbuild/core": "1.3.18",
238238
"@scripts/build": "workspace:*",
239239
"@scripts/jest-config": "workspace:*",
240240
"@testing-library/react": "^13.4.0",

packages/solutions/app-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"@modern-js/types": "workspace:*",
102102
"@modern-js/uni-builder": "workspace:*",
103103
"@modern-js/utils": "workspace:*",
104-
"@rsbuild/core": "1.3.16",
104+
"@rsbuild/core": "1.3.18",
105105
"@rsbuild/plugin-node-polyfill": "1.3.0",
106106
"@swc/helpers": "0.5.13",
107107
"es-module-lexer": "^1.1.0",

0 commit comments

Comments
 (0)