Skip to content

Commit 779fefd

Browse files
committed
chore: update rspack and update snapshot
1 parent 89d1f0f commit 779fefd

File tree

5 files changed

+89
-472
lines changed

5 files changed

+89
-472
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@biomejs/biome": "^1.8.3",
5757
"@jest/reporters": "29.7.0",
5858
"@jest/test-sequencer": "^29.7.0",
59-
"@rspack/core": "1.4.1",
59+
"@rspack/core": "npm:@rspack-canary/core@1.4.3-canary-98b815e4-20250703091256",
6060
"@rspack/plugin-react-refresh": "1.0.0",
6161
"@types/express": "4.17.21",
6262
"@types/jest": "29.5.12",

pnpm-lock.yaml

Lines changed: 53 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/e2e/__snapshots__/logging.test.js.snap.webpack5

Lines changed: 10 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@ exports[`logging should work and log errors by default (sockjs) 1`] = `
2121
Hey.,
2222
[webpack-dev-server] Errors while compiling. Reload prevented.,
2323
[webpack-dev-server] ERROR
24-
× Error: Error from compilation
25-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
26-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
27-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
28-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
29-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
30-
│ at <rspack>/dist/index.js:<line>:<row>
31-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
24+
× Error from compilation
3225
,
3326
]
3427
`;
@@ -40,14 +33,7 @@ exports[`logging should work and log errors by default (ws) 1`] = `
4033
Hey.,
4134
[webpack-dev-server] Errors while compiling. Reload prevented.,
4235
[webpack-dev-server] ERROR
43-
× Error: Error from compilation
44-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
45-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
46-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
47-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
48-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
49-
│ at <rspack>/dist/index.js:<line>:<row>
50-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
36+
× Error from compilation
5137
,
5238
]
5339
`;
@@ -135,14 +121,7 @@ exports[`logging should work and log only error (sockjs) 1`] = `
135121
Hey.,
136122
[webpack-dev-server] Errors while compiling. Reload prevented.,
137123
[webpack-dev-server] ERROR
138-
× Error: Error from compilation
139-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
140-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
141-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
142-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
143-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
144-
│ at <rspack>/dist/index.js:<line>:<row>
145-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
124+
× Error from compilation
146125
,
147126
]
148127
`;
@@ -152,14 +131,7 @@ exports[`logging should work and log only error (ws) 1`] = `
152131
Hey.,
153132
[webpack-dev-server] Errors while compiling. Reload prevented.,
154133
[webpack-dev-server] ERROR
155-
× Error: Error from compilation
156-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
157-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
158-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
159-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
160-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
161-
│ at <rspack>/dist/index.js:<line>:<row>
162-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
134+
× Error from compilation
163135
,
164136
]
165137
`;
@@ -193,25 +165,11 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = `
193165
Hey.,
194166
[webpack-dev-server] Warnings while compiling.,
195167
[webpack-dev-server] WARNING
196-
⚠ Error: Warning from compilation
197-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
198-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
199-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
200-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
201-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
202-
│ at <rspack>/dist/index.js:<line>:<row>
203-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
168+
⚠ Warning from compilation
204169
,
205170
[webpack-dev-server] Errors while compiling. Reload prevented.,
206171
[webpack-dev-server] ERROR
207-
× Error: Error from compilation
208-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
209-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
210-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
211-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
212-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
213-
│ at <rspack>/dist/index.js:<line>:<row>
214-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
172+
× Error from compilation
215173
,
216174
]
217175
`;
@@ -221,25 +179,11 @@ exports[`logging should work and log warning and errors (ws) 1`] = `
221179
Hey.,
222180
[webpack-dev-server] Warnings while compiling.,
223181
[webpack-dev-server] WARNING
224-
⚠ Error: Warning from compilation
225-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
226-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
227-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
228-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
229-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
230-
│ at <rspack>/dist/index.js:<line>:<row>
231-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
182+
⚠ Warning from compilation
232183
,
233184
[webpack-dev-server] Errors while compiling. Reload prevented.,
234185
[webpack-dev-server] ERROR
235-
× Error: Error from compilation
236-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
237-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
238-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
239-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
240-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
241-
│ at <rspack>/dist/index.js:<line>:<row>
242-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
186+
× Error from compilation
243187
,
244188
]
245189
`;
@@ -251,14 +195,7 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = `
251195
Hey.,
252196
[webpack-dev-server] Warnings while compiling.,
253197
[webpack-dev-server] WARNING
254-
⚠ Error: Warning from compilation
255-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
256-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
257-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
258-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
259-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
260-
│ at <rspack>/dist/index.js:<line>:<row>
261-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
198+
⚠ Warning from compilation
262199
,
263200
]
264201
`;
@@ -270,14 +207,7 @@ exports[`logging should work and log warnings by default (ws) 1`] = `
270207
Hey.,
271208
[webpack-dev-server] Warnings while compiling.,
272209
[webpack-dev-server] WARNING
273-
⚠ Error: Warning from compilation
274-
│ at <root>/tests/e2e/logging.test.js:<line>:<row>
275-
│ at Object.fn (<rspack>/dist/index.js:<line>:<row>)
276-
│ at SyncHook.callAsyncStageRange (<tapable>/index.js:<line>:<row>)
277-
│ at SyncHook.callStageRange (<tapable>/index.js:<line>:<row>)
278-
│ at QueriedHook.call (<tapable>/index.js:<line>:<row>)
279-
│ at <rspack>/dist/index.js:<line>:<row>
280-
│ at last.function (<rspack>/dist/index.js:<line>:<row>)
210+
⚠ Warning from compilation
281211
,
282212
]
283213
`;

0 commit comments

Comments
 (0)