chore: update rspack to 1.4.5 (#81216)

<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors

### Improving Documentation

- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

### Adding or Updating Examples

- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md

### Fixing a bug

- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md

### Adding a feature

- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas)
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md


## For Maintainers

- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change

### What?

### Why?

### How?

Closes NEXT-
Fixes #

-->

update Rspack to 1.4.2, in this version we fix bugs when using Rspack
persistent cache in next.js.

Now user can try Rspack persistent cache by follow way:

```js
const config = {
    webpack: (config) => {
        config.experiments.cache = {
            type: 'persistent'
        };
        return config;
    },
};
```
This commit is contained in:
Cong-Cong Pan
2025-07-08 17:57:38 +00:00
committed by GitHub
parent b81f9892b3
commit bdb87a1851
6 changed files with 220 additions and 169 deletions
+1 -1
View File
@@ -116,7 +116,7 @@
"@next/third-parties": "workspace:*",
"@opentelemetry/api": "1.4.1",
"@picocss/pico": "1.5.10",
"@rspack/core": "1.3.12",
"@rspack/core": "1.4.5",
"@rspack/plugin-react-refresh": "1.2.0",
"@slack/web-api": "7.9.1",
"@swc/cli": "0.1.55",
+1 -1
View File
@@ -7,7 +7,7 @@
},
"types": "index.d.ts",
"dependencies": {
"@rspack/core": "1.3.12",
"@rspack/core": "1.4.5",
"@rspack/plugin-react-refresh": "1.2.0",
"react-refresh": "0.12.0"
}
+1 -1
View File
@@ -170,7 +170,7 @@
"@next/swc": "15.4.0-canary.117",
"@opentelemetry/api": "1.6.0",
"@playwright/test": "1.51.1",
"@rspack/core": "1.3.12",
"@rspack/core": "1.4.5",
"@storybook/addon-a11y": "8.6.0",
"@storybook/addon-essentials": "8.6.0",
"@storybook/addon-interactions": "8.6.0",
File diff suppressed because one or more lines are too long
+157 -105
View File
@@ -134,8 +134,8 @@ importers:
specifier: 1.5.10
version: 1.5.10
'@rspack/core':
specifier: 1.3.12
version: 1.3.12(@swc/[email protected])
specifier: 1.4.5
version: 1.4.5(@swc/[email protected])
'@rspack/plugin-react-refresh':
specifier: 1.2.0
version: 1.2.0([email protected])([email protected])
@@ -1052,8 +1052,8 @@ importers:
specifier: 1.51.1
version: 1.51.1
'@rspack/core':
specifier: 1.3.12
version: 1.3.12(@swc/[email protected])
specifier: 1.4.5
version: 1.4.5(@swc/[email protected])
'@storybook/addon-a11y':
specifier: 8.6.0
version: 8.6.0([email protected]([email protected]))
@@ -1074,7 +1074,7 @@ importers:
version: 8.6.0(@storybook/[email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@storybook/react-webpack5':
specifier: 8.6.0
version: 8.6.0(@rspack/core@1.3.12(@swc/[email protected]))(@storybook/[email protected]([email protected]([email protected])))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
version: 8.6.0(@rspack/core@1.4.5(@swc/[email protected]))(@storybook/[email protected]([email protected]([email protected])))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@storybook/test':
specifier: 8.6.0
version: 8.6.0([email protected]([email protected]))
@@ -1296,7 +1296,7 @@ importers:
version: 3.12.0
css-loader:
specifier: 7.1.2
version: 7.1.2(@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
version: 7.1.2(@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
css.escape:
specifier: 1.5.1
version: 1.5.1
@@ -1470,7 +1470,7 @@ importers:
version: 0.13.4
sass-loader:
specifier: 15.0.0
version: 15.0.0(@rspack/core@1.3.12(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
version: 15.0.0(@rspack/core@1.4.5(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
schema-utils2:
specifier: npm:[email protected]
version: [email protected]
@@ -1700,8 +1700,8 @@ importers:
packages/next-rspack:
dependencies:
'@rspack/core':
specifier: 1.3.12
version: 1.3.12(@swc/[email protected])
specifier: 1.4.5
version: 1.4.5(@swc/[email protected])
'@rspack/plugin-react-refresh':
specifier: 1.2.0
version: 1.2.0([email protected])([email protected])
@@ -2920,9 +2920,18 @@ packages:
resolution: {integrity: sha512-NKBGBSIKUG584qrS1tyxVpX/AKJKQw5HgjYEnPLC0QsTw79JrGn+qUr8CXFb955Iy7GUdiiUv1rJ6JBGvaKb6w==}
engines: {node: '>=18'}
'@emnapi/[email protected]':
resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-64WYIf4UYcdLnbKn/umDlNjQDSS8AgZrI/R9+x5ilkUVFxXcA1Ebl+gQLc/6mERA4407Xof0R7wEyEuj091CVw==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}
'@emnapi/[email protected]':
resolution: {integrity: sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA==}
'@emotion/[email protected]':
resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==}
@@ -4371,23 +4380,23 @@ packages:
'@types/react': ^19.1.1
react: 19.2.0-canary-5d87cd22-20250704
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-GGk+EoeSACJikZZyShnLshtq9E2eCrDWbRiB4QAFXCX4oYmGgFfzXlx59vMNwqTKPJWxkEGnPYacJMcr2YYjag==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-CFJSF+XKwTcy0PFZ2l/fSUpR4z247+Uwzp1sXVkdIfJ/ATsnqf0Q01f51qqSEA6MYdQi6FKos9FIcu3dCpQNdg==}
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-fGE1Ro55zIFDp/CxQuRhKQ1pJvG7P0qvRm2N+4i8z++2bgDjcxnCKUqDJ8lLD+JfJQvUJf0tuSsJPgevzueD4g==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-RYzI61fRDrhyhaEOXH3AgIGlHiot0wPFXu7F43cr+ZnTi+VlSYWLdlZ4NBuT9uV6JSmH54/c+tEZm5SXgKR2sQ==}
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-y/YN0c2DKsLETE+4EEbmYWjqF9G6ZwgZoDIPkaQ9p0pQu0V4YxzWfQagFFxR0RigYGuhJKmSU/rtNoHq+qF8jg==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-kzFn3ObUeBp5vaEtN1WMxhTYBuYEErxugu1RzFUERD21X3BZ+b4cWwdFJuBDlsmVjctIg/QSOoZoPXRKAO0foA==}
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-kR3cyHw/Y64SEa7mh4CHXOEQYY32LKLK75kJOmBroLNLO7/W01hMNAvGBYTedS7hWpVuefPk1aFZioy3q2VLdQ==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-dTPsCNum9Bhu3yPOcrPYq0YnM9eCMMMNB1wuiqf1+sFbQlNApF0vfZxooqz3ln0/MpgE0jerVvFsLVGfqvC9Ug==}
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-lg/OWRsh18hsyTCamOOhEX546vbDiA2O4OggTxxH2wTGr156N6DdELGQlYIKfRdU/0StgtQS81Goc0BgDZlx9A==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-PWiYbGcJrKUD6JZiEPihrXhV3bgXdll4bV7rU+opV7tHaun+Z0CdcawjZ82Xnpb8MCPGmqHwa1MPFeUs66zksw==}
'@module-federation/[email protected]4.0':
resolution: {integrity: sha512-POWS6cKBicAAQ3DNY5X7XEUSfOfUsRaBNxbuwEfSGlrkTE9UcWheO06QP2ndHi8tHQuUKcIHi2navhPkJ+k5xg==}
'@module-federation/[email protected]5.0':
resolution: {integrity: sha512-i+3wu2Ljh2TmuUpsnjwZVupOVqV50jP0ndA8PSP4gwMKlgdGeaZ4VH5KkHAXGr2eiYUxYLMrJXz1+eILJqeGDg==}
'@mswjs/[email protected]':
resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==}
@@ -4409,6 +4418,9 @@ packages:
'@napi-rs/[email protected]':
resolution: {integrity: sha512-HAPjR3bnCsdXBsATpDIP5WCrw0JcACwhhrwIAQhiR46n+jm+a2F8kBsfseAuWtSyQ+H3Yebt2k43B5dy+04yMA==}
'@napi-rs/[email protected]':
resolution: {integrity: sha512-9DPkXtvHydrcOsopiYpUgPHpmj0HWZKMUnL2dZqpvC42lsratuBG06V5ipyno0fUek5VlFsNQ+AcFATSrJXgMA==}
'@nicolo-ribaudo/[email protected]':
resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==}
@@ -4867,56 +4879,60 @@ packages:
cpu: [x64]
os: [win32]
'@rspack/binding-darwin-arm64@1.3.12':
resolution: {integrity: sha512-8hKjVTBeWPqkMzFPNWIh72oU9O3vFy3e88wRjMPImDCXBiEYrKqGTTLd/J0SO+efdL3SBD1rX1IvdJpxCv6Yrw==}
'@rspack/binding-darwin-arm64@1.4.5':
resolution: {integrity: sha512-rK8mJ+85cXrGSTZvr5vqI17TDimAUWYjl0T+JEg5MTqRNbpyovbGHbrrsQyIicwaFOS1wWkaLrBolC/+/FLUeg==}
cpu: [arm64]
os: [darwin]
'@rspack/binding-darwin-x64@1.3.12':
resolution: {integrity: sha512-Sj4m+mCUxL7oCpdu7OmWT7fpBM7hywk5CM9RDc3D7StaBZbvNtNftafCrTZzTYKuZrKmemTh5SFzT5Tz7tf6GA==}
'@rspack/binding-darwin-x64@1.4.5':
resolution: {integrity: sha512-6eOhh18VD8x5+SJrs/K6XiDw+FYffzDMsI3Sz78mQW5xvHYzN3HJxIw7oG7UYXqF5I2yORmqvdxV1aAnv8Fc4g==}
cpu: [x64]
os: [darwin]
'@rspack/binding-linux-arm64-gnu@1.3.12':
resolution: {integrity: sha512-7MuOxf3/Mhv4mgFdLTvgnt/J+VouNR65DEhorth+RZm3LEWojgoFEphSAMAvpvAOpYSS68Sw4SqsOZi719ia2w==}
'@rspack/binding-linux-arm64-gnu@1.4.5':
resolution: {integrity: sha512-vnz5OItcPREgz+hVqx14HRf0aJQ7yI/2ZEbeTC+Y1JSCbeYAcu6NXYVXDwTOgCNOp1AdMR+rmItHWiJ7goI//Q==}
cpu: [arm64]
os: [linux]
'@rspack/binding-linux-arm64-musl@1.3.12':
resolution: {integrity: sha512-s6KKj20T9Z1bA8caIjU6EzJbwyDo1URNFgBAlafCT2UC6yX7flstDJJ38CxZacA9A2P24RuQK2/jPSZpWrTUFA==}
'@rspack/binding-linux-arm64-musl@1.4.5':
resolution: {integrity: sha512-E4dUEDpAsQ5jTvt8AXs0VY3vxTzSf07CM5zi797VaFzZzbcZqAoBmlAxYTSyl7/BgAxHSg8AYJS5c8l03vXM4w==}
cpu: [arm64]
os: [linux]
'@rspack/binding-linux-x64-gnu@1.3.12':
resolution: {integrity: sha512-0w/sRREYbRgHgWvs2uMEJSLfvzbZkPHUg6CMcYQGNVK6axYRot6jPyKetyFYA9pR5fB5rsXegpnFaZaVrRIK2g==}
'@rspack/binding-linux-x64-gnu@1.4.5':
resolution: {integrity: sha512-XQxibZY+joqRfoJQwT1sfN68pRExOvJniWBUJfov6ShG/DFSVbMJ2UTwv5pbruIXA/lLnk7KblPdF8pO0WWQvw==}
cpu: [x64]
os: [linux]
'@rspack/binding-linux-x64-musl@1.3.12':
resolution: {integrity: sha512-jEdxkPymkRxbijDRsBGdhopcbGXiXDg59lXqIRkVklqbDmZ/O6DHm7gImmlx5q9FoWbz0gqJuOKBz4JqWxjWVA==}
'@rspack/binding-linux-x64-musl@1.4.5':
resolution: {integrity: sha512-bOZmkCZamOz/+D3AA3uHII3rLIx4WtPk+KbDe3nfIVHhgxUK1nmv0vHtKzDA5iplucJ4ha/Rx9TEFyRwnBJH0A==}
cpu: [x64]
os: [linux]
'@rspack/binding-w[email protected]':
resolution: {integrity: sha512-ZRvUCb3TDLClAqcTsl/o9UdJf0B5CgzAxgdbnYJbldyuyMeTUB4jp20OfG55M3C2Nute2SNhu2bOOp9Se5Ongw==}
'@rspack/binding-w[email protected]':
resolution: {integrity: sha512-LRyln0jg2FblwFQg+0lPVc/bvDeo3A3EVWQtsTtOwjb4cjAG/Zqo5Q0VobaJTKgBOF9eAHTo9IL92SSj433+Eg==}
cpu: [wasm32]
'@rspack/[email protected]':
resolution: {integrity: sha512-JWc15Mof/aC41UQSZLwa6oEsPYaYCApW0152Abhnt27qir2pfqYcT5qWt26OJvFDJoe+KzpIG1H91yJviChYYw==}
cpu: [arm64]
os: [win32]
'@rspack/binding-win32-ia32-msvc@1.3.12':
resolution: {integrity: sha512-1TKPjuXStPJr14f3ZHuv40Xc/87jUXx10pzVtrPnw+f3hckECHrbYU/fvbVzZyuXbsXtkXpYca6ygCDRJAoNeQ==}
'@rspack/binding-win32-ia32-msvc@1.4.5':
resolution: {integrity: sha512-PpyNunP8zC5AQtF3Pww7F41bwoJwmGzdJuv2lk/3l74UhjhT4Ac4/dmEaKiYeOr69PPlCtn7Des9VEFufYAZAQ==}
cpu: [ia32]
os: [win32]
'@rspack/binding-win32-x64-msvc@1.3.12':
resolution: {integrity: sha512-lCR0JfnYKpV+a6r2A2FdxyUKUS4tajePgpPJN5uXDgMGwrDtRqvx+d0BHhwjFudQVJq9VVbRaL89s2MQ6u+xYw==}
'@rspack/binding-win32-x64-msvc@1.4.5':
resolution: {integrity: sha512-elzpVGJW0W9DTkfJ7JyvMyi2Rbot5Q6rVBBKSh0lRWhZE/LnDJ/1WkS/9yER8XPGjO7umP1hD72ML1SoBddXmA==}
cpu: [x64]
os: [win32]
'@rspack/binding@1.3.12':
resolution: {integrity: sha512-4Ic8lV0+LCBfTlH5aIOujIRWZOtgmG223zC4L3o8WY/+ESAgpdnK6lSSMfcYgRanYLAy3HOmFIp20jwskMpbAg==}
'@rspack/binding@1.4.5':
resolution: {integrity: sha512-hO7DrZMMOyzwK7EEYfHMJmWhsNjeYLr39pEnXOWeuCCcwus6e/QNSSf2m/2mSFf0JeINwQqHkA1JvJEZ5JSj6g==}
'@rspack/core@1.3.12':
resolution: {integrity: sha512-mAPmV4LPPRgxpouUrGmAE4kpF1NEWJGyM5coebsjK/zaCMSjw3mkdxiU2b5cO44oIi0Ifv5iGkvwbdrZOvMyFA==}
'@rspack/core@1.4.5':
resolution: {integrity: sha512-4OlxGQ4yPbAOYbVStMotaYrydm8r5VbLByrmQ34LNBYIDSmwaBmHQVMYGIesuGW681pr139XwInKvsoAoW6VTA==}
engines: {node: '>=16.0.0'}
peerDependencies:
'@swc/helpers': '>=0.5.1'
@@ -5378,6 +5394,9 @@ packages:
resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==}
engines: {node: '>=10.13.0'}
'@tybys/[email protected]':
resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
'@types/[email protected]':
resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==}
@@ -18256,11 +18275,27 @@ snapshots:
dependencies:
'@edge-runtime/primitives': 6.0.0
'@emnapi/[email protected]':
dependencies:
'@emnapi/wasi-threads': 1.0.2
tslib: 2.8.1
optional: true
'@emnapi/[email protected]':
dependencies:
tslib: 2.8.1
optional: true
'@emnapi/[email protected]':
dependencies:
tslib: 2.8.1
optional: true
'@emnapi/[email protected]':
dependencies:
tslib: 2.8.1
optional: true
'@emotion/[email protected]':
dependencies:
'@babel/helper-module-imports': 7.25.9
@@ -20005,30 +20040,30 @@ snapshots:
'@types/react': 19.1.1
react: 19.2.0-canary-5d87cd22-20250704
'@module-federation/[email protected]4.0': {}
'@module-federation/[email protected]5.0': {}
'@module-federation/[email protected]4.0':
'@module-federation/[email protected]5.0':
dependencies:
'@module-federation/error-codes': 0.14.0
'@module-federation/sdk': 0.14.0
'@module-federation/error-codes': 0.15.0
'@module-federation/sdk': 0.15.0
'@module-federation/[email protected]4.0':
'@module-federation/[email protected]5.0':
dependencies:
'@module-federation/runtime': 0.14.0
'@module-federation/webpack-bundler-runtime': 0.14.0
'@module-federation/runtime': 0.15.0
'@module-federation/webpack-bundler-runtime': 0.15.0
'@module-federation/[email protected]4.0':
'@module-federation/[email protected]5.0':
dependencies:
'@module-federation/error-codes': 0.14.0
'@module-federation/runtime-core': 0.14.0
'@module-federation/sdk': 0.14.0
'@module-federation/error-codes': 0.15.0
'@module-federation/runtime-core': 0.15.0
'@module-federation/sdk': 0.15.0
'@module-federation/[email protected]4.0': {}
'@module-federation/[email protected]5.0': {}
'@module-federation/[email protected]4.0':
'@module-federation/[email protected]5.0':
dependencies:
'@module-federation/runtime': 0.14.0
'@module-federation/sdk': 0.14.0
'@module-federation/runtime': 0.15.0
'@module-federation/sdk': 0.15.0
'@mswjs/[email protected]': {}
@@ -20054,6 +20089,13 @@ snapshots:
'@napi-rs/[email protected]': {}
'@napi-rs/[email protected]':
dependencies:
'@emnapi/core': 1.4.3
'@emnapi/runtime': 1.4.3
'@tybys/wasm-util': 0.9.0
optional: true
'@nicolo-ribaudo/[email protected]':
dependencies:
eslint-scope: 5.1.1
@@ -20596,51 +20638,56 @@ snapshots:
'@rollup/[email protected]':
optional: true
'@rspack/binding-darwin-arm64@1.3.12':
'@rspack/binding-darwin-arm64@1.4.5':
optional: true
'@rspack/binding-darwin-x64@1.3.12':
'@rspack/binding-darwin-x64@1.4.5':
optional: true
'@rspack/binding-linux-arm64-gnu@1.3.12':
'@rspack/binding-linux-arm64-gnu@1.4.5':
optional: true
'@rspack/binding-linux-arm64-musl@1.3.12':
'@rspack/binding-linux-arm64-musl@1.4.5':
optional: true
'@rspack/binding-linux-x64-gnu@1.3.12':
'@rspack/binding-linux-x64-gnu@1.4.5':
optional: true
'@rspack/binding-linux-x64-musl@1.3.12':
'@rspack/binding-linux-x64-musl@1.4.5':
optional: true
'@rspack/binding-w[email protected]':
optional: true
'@rspack/[email protected]':
optional: true
'@rspack/[email protected]':
optional: true
'@rspack/[email protected]':
optionalDependencies:
'@rspack/binding-darwin-arm64': 1.3.12
'@rspack/binding-darwin-x64': 1.3.12
'@rspack/binding-linux-arm64-gnu': 1.3.12
'@rspack/binding-linux-arm64-musl': 1.3.12
'@rspack/binding-linux-x64-gnu': 1.3.12
'@rspack/binding-linux-x64-musl': 1.3.12
'@rspack/binding-win32-arm64-msvc': 1.3.12
'@rspack/binding-win32-ia32-msvc': 1.3.12
'@rspack/binding-win32-x64-msvc': 1.3.12
'@rspack/[email protected](@swc/[email protected])':
'@rspack/binding-w[email protected]':
dependencies:
'@module-federation/runtime-tools': 0.14.0
'@rspack/binding': 1.3.12
'@napi-rs/wasm-runtime': 0.2.11
optional: true
'@rspack/[email protected]':
optional: true
'@rspack/[email protected]':
optional: true
'@rspack/[email protected]':
optional: true
'@rspack/[email protected]':
optionalDependencies:
'@rspack/binding-darwin-arm64': 1.4.5
'@rspack/binding-darwin-x64': 1.4.5
'@rspack/binding-linux-arm64-gnu': 1.4.5
'@rspack/binding-linux-arm64-musl': 1.4.5
'@rspack/binding-linux-x64-gnu': 1.4.5
'@rspack/binding-linux-x64-musl': 1.4.5
'@rspack/binding-wasm32-wasi': 1.4.5
'@rspack/binding-win32-arm64-msvc': 1.4.5
'@rspack/binding-win32-ia32-msvc': 1.4.5
'@rspack/binding-win32-x64-msvc': 1.4.5
'@rspack/[email protected](@swc/[email protected])':
dependencies:
'@module-federation/runtime-tools': 0.15.0
'@rspack/binding': 1.4.5
'@rspack/lite-tapable': 1.0.1
caniuse-lite: 1.0.30001579
optionalDependencies:
'@swc/helpers': 0.5.15
@@ -20830,7 +20877,7 @@ snapshots:
react: 19.2.0-canary-5d87cd22-20250704
react-dom: 19.2.0-canary-5d87cd22-20250704([email protected])
'@storybook/[email protected](@rspack/core@1.3.12(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])':
'@storybook/[email protected](@rspack/core@1.4.5(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])':
dependencies:
'@storybook/core-webpack': 8.6.0([email protected]([email protected]))
'@types/semver': 7.5.6
@@ -20838,10 +20885,10 @@ snapshots:
case-sensitive-paths-webpack-plugin: 2.4.0
cjs-module-lexer: 1.4.1
constants-browserify: 1.0.0
css-loader: 6.11.0(@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
css-loader: 6.11.0(@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
es-module-lexer: 1.6.0
fork-ts-checker-webpack-plugin: 8.0.0([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
html-webpack-plugin: 5.6.3(@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
html-webpack-plugin: 5.6.3(@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
magic-string: 0.30.17
path-browserify: 1.0.1
process: 0.11.10
@@ -20933,7 +20980,7 @@ snapshots:
react: 19.2.0-canary-5d87cd22-20250704
react-docgen: 7.1.0
react-dom: 19.2.0-canary-5d87cd22-20250704([email protected])
resolve: 1.22.8
resolve: 1.22.10
semver: 7.6.3
storybook: 8.6.0([email protected])
tsconfig-paths: 4.2.0
@@ -20972,9 +21019,9 @@ snapshots:
react-dom: 19.2.0-canary-5d87cd22-20250704([email protected])
storybook: 8.6.0([email protected])
'@storybook/[email protected](@rspack/core@1.3.12(@swc/[email protected]))(@storybook/[email protected]([email protected]([email protected])))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])':
'@storybook/[email protected](@rspack/core@1.4.5(@swc/[email protected]))(@storybook/[email protected]([email protected]([email protected])))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])':
dependencies:
'@storybook/builder-webpack5': 8.6.0(@rspack/core@1.3.12(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])
'@storybook/builder-webpack5': 8.6.0(@rspack/core@1.4.5(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])
'@storybook/preset-react-webpack': 8.6.0(@storybook/[email protected]([email protected]([email protected])))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
'@storybook/react': 8.6.0(@storybook/[email protected]([email protected]([email protected])))([email protected]([email protected]))([email protected])([email protected]([email protected]))([email protected])
react: 19.2.0-canary-5d87cd22-20250704
@@ -21227,6 +21274,11 @@ snapshots:
'@trysound/[email protected]': {}
'@tybys/[email protected]':
dependencies:
tslib: 2.8.1
optional: true
'@types/[email protected]':
dependencies:
'@types/estree': 1.0.7
@@ -23931,7 +23983,7 @@ snapshots:
postcss: 8.4.31
postcss-selector-parser: 6.0.11
[email protected](@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
[email protected](@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
dependencies:
icss-utils: 5.1.0([email protected])
postcss: 8.5.3
@@ -23942,10 +23994,10 @@ snapshots:
postcss-value-parser: 4.2.0
semver: 7.6.3
optionalDependencies:
'@rspack/core': 1.3.12(@swc/[email protected])
'@rspack/core': 1.4.5(@swc/[email protected])
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
[email protected](@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
[email protected](@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
dependencies:
icss-utils: 5.1.0([email protected])
postcss: 8.5.3
@@ -23956,7 +24008,7 @@ snapshots:
postcss-value-parser: 4.2.0
semver: 7.6.3
optionalDependencies:
'@rspack/core': 1.3.12(@swc/[email protected])
'@rspack/core': 1.4.5(@swc/[email protected])
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
[email protected]([email protected]):
@@ -27027,7 +27079,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
[email protected](@rspack/core@1.3.12(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
[email protected](@rspack/core@1.4.5(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
dependencies:
'@types/html-minifier-terser': 6.1.0
html-minifier-terser: 6.1.0
@@ -27035,7 +27087,7 @@ snapshots:
pretty-error: 4.0.0
tapable: 2.2.1
optionalDependencies:
'@rspack/core': 1.3.12(@swc/[email protected])
'@rspack/core': 1.4.5(@swc/[email protected])
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
[email protected]:
@@ -32170,7 +32222,7 @@ snapshots:
'@types/doctrine': 0.0.9
'@types/resolve': 1.20.6
doctrine: 3.0.0
resolve: 1.22.8
resolve: 1.22.10
strip-indent: 4.0.0
transitivePeerDependencies:
- supports-color
@@ -32461,7 +32513,7 @@ snapshots:
[email protected]:
dependencies:
resolve: 1.22.8
resolve: 1.22.10
[email protected]:
dependencies:
@@ -33028,11 +33080,11 @@ snapshots:
[email protected]: {}
[email protected](@rspack/core@1.3.12(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
[email protected](@rspack/core@1.4.5(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
dependencies:
neo-async: 2.6.2
optionalDependencies:
'@rspack/core': 1.3.12(@swc/[email protected])
'@rspack/core': 1.4.5(@swc/[email protected])
sass: 1.77.8
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
@@ -177,31 +177,30 @@ export function runErrorRecoveryHmrTest(nextConfig: {
`)
} else if (process.env.NEXT_RSPACK) {
expect(trimEndMultiline(source)).toMatchInlineSnapshot(`
"./pages/hmr/about2.js
× Module build failed:
├─▶ ×
│ │ x Unexpected token. Did you mean \`{'}'}\` or \`&rbrace;\`?
│ │ ,-[TEST_DIR/pages/hmr/about2.js:7:1]
│ │ 4 | <p>This is the about page.</p>
│ │ 5 | div
│ │ 6 | )
│ │ 7 | }
│ │ : ^
│ │ \`----
│ │
│ │ x Unexpected eof
│ │ ,-[TEST_DIR/pages/hmr/about2.js:7:3]
│ │ 5 | div
│ │ 6 | )
│ │ 7 | }
│ │ \`----
│ │
│
╰─▶ Syntax Error
"./pages/hmr/about2.js
× Module build failed:
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`&rbrace;\`?
│ ,-[7:1]
│ 4 | <p>This is the about page.</p>
│ 5 | div
│ 6 | )
│ 7 | }
│ : ^
│ \`----
│ x Unexpected eof
│ ,-[7:3]
│ 5 | div
│ 6 | )
│ 7 | }
│ \`----
│
│
│ Caused by:
│ Syntax Error
Import trace for requested module:
./pages/hmr/about2.js"
`)
Import trace for requested module:
./pages/hmr/about2.js"
`)
} else {
expect(source).toMatchInlineSnapshot(`
"./pages/hmr/about2.js
@@ -517,25 +516,25 @@ export function runErrorRecoveryHmrTest(nextConfig: {
} else if (process.env.NEXT_RSPACK) {
expect(trimEndMultiline(await getRedboxSource(browser)))
.toMatchInlineSnapshot(`
"./components/parse-error.xyz
× Module parse failed:
╰─▶ × JavaScript parsing error: Expression expected
╭─[3:0]
1 │ This
2 │ is
3 │ }}}
· ─
4 │ invalid
5 │ js
╰────
"./components/parse-error.xyz
× Module parse failed:
╰─▶ × JavaScript parse error: Expression expected
╭─[3:0]
1 │ This
2 │ is
3 │ }}}
· ─
4 │ invalid
5 │ js
╰────
help:
You may need an appropriate loader to handle this file type.
help:
You may need an appropriate loader to handle this file type.
Import trace for requested module:
./components/parse-error.xyz
./pages/hmr/about8.js"
`)
Import trace for requested module:
./components/parse-error.xyz
./pages/hmr/about8.js"
`)
} else {
expect(await getRedboxSource(browser)).toMatchInlineSnapshot(`
"./components/parse-error.xyz
@@ -625,26 +624,26 @@ export function runErrorRecoveryHmrTest(nextConfig: {
} else if (process.env.NEXT_RSPACK) {
expect(trimEndMultiline(next.normalizeTestDirContent(redboxSource)))
.toMatchInlineSnapshot(`
"./components/parse-error.js
× Module build failed:
├─▶ ×
│ │ x Expression expected
│ │ ,-[./components/parse-error.js:3:1]
│ │ 1 | This
│ │ 2 | is
│ │ 3 | }}}
│ │ : ^
│ │ 4 | invalid
│ │ 5 | js
│ │ \`----
│ │
│
╰─▶ Syntax Error
"./components/parse-error.js
× Module build failed:
╰─▶ × Error: x Expression expected
│ ,-[3:1]
│ 1 | This
│ 2 | is
│ 3 | }}}
│ : ^
│ 4 | invalid
│ 5 | js
│ \`----
│
│
│ Caused by:
│ Syntax Error
Import trace for requested module:
./components/parse-error.js
./pages/hmr/about9.js"
`)
Import trace for requested module:
./components/parse-error.js
./pages/hmr/about9.js"
`)
} else {
redboxSource = redboxSource.substring(0, redboxSource.indexOf('`----'))