Skip to content

Commit 81d1161

Browse files
renovate[bot]9aoy
andauthored
chore(deps): update all patch dependencies (#378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gaoyuan.1226 <[email protected]>
1 parent 6bebd57 commit 81d1161

File tree

12 files changed

+364
-459
lines changed

12 files changed

+364
-459
lines changed

examples/react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"react-dom": "^19.1.0"
1414
},
1515
"devDependencies": {
16-
"@rsbuild/core": "1.4.3",
17-
"@rsbuild/plugin-react": "^1.3.3",
16+
"@rsbuild/core": "1.4.6",
17+
"@rsbuild/plugin-react": "^1.3.4",
1818
"@testing-library/dom": "^10.4.0",
1919
"@testing-library/react": "^16.3.0",
2020
"@types/react": "^19.1.8",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"devDependencies": {
3333
"@biomejs/biome": "^2.1.1",
3434
"@changesets/cli": "^2.29.5",
35-
"@rsdoctor/rspack-plugin": "^1.1.7",
35+
"@rsdoctor/rspack-plugin": "^1.1.8",
3636
"@rstest/core": "workspace:*",
3737
"@types/fs-extra": "^11.0.4",
3838
"@types/node": "^22.13.8",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@
5454
"test": "npx rstest run --globals"
5555
},
5656
"dependencies": {
57-
"@rsbuild/core": "1.4.3",
57+
"@rsbuild/core": "1.4.6",
5858
"@types/chai": "^5.2.2",
5959
"@vitest/expect": "^3.2.4",
6060
"@vitest/snapshot": "^3.2.4",
6161
"birpc": "2.4.0",
62-
"chai": "^5.2.0",
62+
"chai": "^5.2.1",
6363
"pathe": "^2.0.3",
6464
"std-env": "^3.9.0",
6565
"tinypool": "^1.1.1"
@@ -68,7 +68,7 @@
6868
"@babel/code-frame": "^7.27.1",
6969
"@jridgewell/trace-mapping": "0.3.29",
7070
"@microsoft/api-extractor": "^7.52.8",
71-
"@rslib/core": "0.10.4",
71+
"@rslib/core": "0.10.5",
7272
"@rstest/tsconfig": "workspace:*",
7373
"@sinonjs/fake-timers": "^14.0.0",
7474
"@types/babel__code-frame": "^7.0.6",

packages/core/tests/core/__snapshots__/rsbuild.test.ts.snap

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
5353
"preferRelative": true,
5454
},
5555
"resourceQuery": {
56-
"not": /raw\\|inline/,
56+
"not": [
57+
/\\^\\\\\\?raw\\$/,
58+
/\\^\\\\\\?inline\\$/,
59+
],
5760
},
5861
"sideEffects": true,
5962
"test": /\\\\\\.css\\$/,
@@ -96,7 +99,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
9699
"resolve": {
97100
"preferRelative": true,
98101
},
99-
"resourceQuery": /inline/,
102+
"resourceQuery": /\\^\\\\\\?inline\\$/,
100103
"sideEffects": true,
101104
"test": /\\\\\\.css\\$/,
102105
"type": "javascript/auto",
@@ -113,7 +116,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
113116
],
114117
},
115118
{
116-
"resourceQuery": /raw/,
119+
"resourceQuery": /\\^\\\\\\?raw\\$/,
117120
"test": /\\\\\\.css\\$/,
118121
"type": "asset/source",
119122
},
@@ -128,7 +131,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
128131
/\\\\\\.\\(\\?:ts\\|tsx\\|jsx\\|mts\\|cts\\)\\$/,
129132
],
130133
"resourceQuery": {
131-
"not": /raw/,
134+
"not": /\\^\\\\\\?raw\\$/,
132135
},
133136
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
134137
"type": "javascript/auto",
@@ -166,7 +169,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
166169
],
167170
},
168171
{
169-
"resourceQuery": /raw/,
172+
"resourceQuery": /\\^\\\\\\?raw\\$/,
170173
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
171174
"type": "asset/source",
172175
},
@@ -219,15 +222,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
219222
"generator": {
220223
"filename": "static/image/[name].[contenthash:8][ext]",
221224
},
222-
"resourceQuery": /\\(__inline=false\\|url\\)/,
225+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
223226
"type": "asset/resource",
224227
},
225228
{
226-
"resourceQuery": /inline/,
229+
"resourceQuery": /\\^\\\\\\?inline\\$/,
227230
"type": "asset/inline",
228231
},
229232
{
230-
"resourceQuery": /raw/,
233+
"resourceQuery": /\\^\\\\\\?raw\\$/,
231234
"type": "asset/source",
232235
},
233236
{
@@ -250,15 +253,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
250253
"generator": {
251254
"filename": "static/svg/[name].[contenthash:8].svg",
252255
},
253-
"resourceQuery": /\\(__inline=false\\|url\\)/,
256+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
254257
"type": "asset/resource",
255258
},
256259
{
257-
"resourceQuery": /inline/,
260+
"resourceQuery": /\\^\\\\\\?inline\\$/,
258261
"type": "asset/inline",
259262
},
260263
{
261-
"resourceQuery": /raw/,
264+
"resourceQuery": /\\^\\\\\\?raw\\$/,
262265
"type": "asset/source",
263266
},
264267
{
@@ -281,15 +284,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
281284
"generator": {
282285
"filename": "static/media/[name].[contenthash:8][ext]",
283286
},
284-
"resourceQuery": /\\(__inline=false\\|url\\)/,
287+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
285288
"type": "asset/resource",
286289
},
287290
{
288-
"resourceQuery": /inline/,
291+
"resourceQuery": /\\^\\\\\\?inline\\$/,
289292
"type": "asset/inline",
290293
},
291294
{
292-
"resourceQuery": /raw/,
295+
"resourceQuery": /\\^\\\\\\?raw\\$/,
293296
"type": "asset/source",
294297
},
295298
{
@@ -312,15 +315,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (jsdom) 1`] =
312315
"generator": {
313316
"filename": "static/font/[name].[contenthash:8][ext]",
314317
},
315-
"resourceQuery": /\\(__inline=false\\|url\\)/,
318+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
316319
"type": "asset/resource",
317320
},
318321
{
319-
"resourceQuery": /inline/,
322+
"resourceQuery": /\\^\\\\\\?inline\\$/,
320323
"type": "asset/inline",
321324
},
322325
{
323-
"resourceQuery": /raw/,
326+
"resourceQuery": /\\^\\\\\\?raw\\$/,
324327
"type": "asset/source",
325328
},
326329
{
@@ -533,7 +536,10 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
533536
"preferRelative": true,
534537
},
535538
"resourceQuery": {
536-
"not": /raw\\|inline/,
539+
"not": [
540+
/\\^\\\\\\?raw\\$/,
541+
/\\^\\\\\\?inline\\$/,
542+
],
537543
},
538544
"sideEffects": true,
539545
"test": /\\\\\\.css\\$/,
@@ -576,7 +582,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
576582
"resolve": {
577583
"preferRelative": true,
578584
},
579-
"resourceQuery": /inline/,
585+
"resourceQuery": /\\^\\\\\\?inline\\$/,
580586
"sideEffects": true,
581587
"test": /\\\\\\.css\\$/,
582588
"type": "javascript/auto",
@@ -593,7 +599,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
593599
],
594600
},
595601
{
596-
"resourceQuery": /raw/,
602+
"resourceQuery": /\\^\\\\\\?raw\\$/,
597603
"test": /\\\\\\.css\\$/,
598604
"type": "asset/source",
599605
},
@@ -608,7 +614,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
608614
/\\\\\\.\\(\\?:ts\\|tsx\\|jsx\\|mts\\|cts\\)\\$/,
609615
],
610616
"resourceQuery": {
611-
"not": /raw/,
617+
"not": /\\^\\\\\\?raw\\$/,
612618
},
613619
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
614620
"type": "javascript/auto",
@@ -646,7 +652,7 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
646652
],
647653
},
648654
{
649-
"resourceQuery": /raw/,
655+
"resourceQuery": /\\^\\\\\\?raw\\$/,
650656
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
651657
"type": "asset/source",
652658
},
@@ -699,15 +705,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
699705
"generator": {
700706
"filename": "static/image/[name].[contenthash:8][ext]",
701707
},
702-
"resourceQuery": /\\(__inline=false\\|url\\)/,
708+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
703709
"type": "asset/resource",
704710
},
705711
{
706-
"resourceQuery": /inline/,
712+
"resourceQuery": /\\^\\\\\\?inline\\$/,
707713
"type": "asset/inline",
708714
},
709715
{
710-
"resourceQuery": /raw/,
716+
"resourceQuery": /\\^\\\\\\?raw\\$/,
711717
"type": "asset/source",
712718
},
713719
{
@@ -730,15 +736,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
730736
"generator": {
731737
"filename": "static/svg/[name].[contenthash:8].svg",
732738
},
733-
"resourceQuery": /\\(__inline=false\\|url\\)/,
739+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
734740
"type": "asset/resource",
735741
},
736742
{
737-
"resourceQuery": /inline/,
743+
"resourceQuery": /\\^\\\\\\?inline\\$/,
738744
"type": "asset/inline",
739745
},
740746
{
741-
"resourceQuery": /raw/,
747+
"resourceQuery": /\\^\\\\\\?raw\\$/,
742748
"type": "asset/source",
743749
},
744750
{
@@ -761,15 +767,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
761767
"generator": {
762768
"filename": "static/media/[name].[contenthash:8][ext]",
763769
},
764-
"resourceQuery": /\\(__inline=false\\|url\\)/,
770+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
765771
"type": "asset/resource",
766772
},
767773
{
768-
"resourceQuery": /inline/,
774+
"resourceQuery": /\\^\\\\\\?inline\\$/,
769775
"type": "asset/inline",
770776
},
771777
{
772-
"resourceQuery": /raw/,
778+
"resourceQuery": /\\^\\\\\\?raw\\$/,
773779
"type": "asset/source",
774780
},
775781
{
@@ -792,15 +798,15 @@ exports[`prepareRsbuild > should generate rspack config correctly (node) 1`] = `
792798
"generator": {
793799
"filename": "static/font/[name].[contenthash:8][ext]",
794800
},
795-
"resourceQuery": /\\(__inline=false\\|url\\)/,
801+
"resourceQuery": /\\^\\\\\\?\\(__inline=false\\|url\\)\\$/,
796802
"type": "asset/resource",
797803
},
798804
{
799-
"resourceQuery": /inline/,
805+
"resourceQuery": /\\^\\\\\\?inline\\$/,
800806
"type": "asset/inline",
801807
},
802808
{
803-
"resourceQuery": /raw/,
809+
"resourceQuery": /\\^\\\\\\?raw\\$/,
804810
"type": "asset/source",
805811
},
806812
{
@@ -967,7 +973,7 @@ exports[`prepareRsbuild > should generate swc config correctly with user customi
967973
/node_modules\\[\\\\\\\\/\\]query-string\\[\\\\\\\\/\\]/,
968974
],
969975
"resourceQuery": {
970-
"not": /raw/,
976+
"not": /\\^\\\\\\?raw\\$/,
971977
},
972978
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
973979
"type": "javascript/auto",
@@ -1006,7 +1012,7 @@ exports[`prepareRsbuild > should generate swc config correctly with user customi
10061012
],
10071013
},
10081014
{
1009-
"resourceQuery": /raw/,
1015+
"resourceQuery": /\\^\\\\\\?raw\\$/,
10101016
"test": /\\\\\\.\\(\\?:js\\|jsx\\|mjs\\|cjs\\|ts\\|tsx\\|mts\\|cts\\)\\$/,
10111017
"type": "asset/source",
10121018
},

0 commit comments

Comments
 (0)