mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
chore: update rspack 1.6.5 (#86853)
update @next/rspack-core version to 1.0.2 and update the snapshot other changes: - packages/next/src/build/webpack-config.ts Adjusted configuration to account for differences in default node config between Rspack and Webpack. - packages/next/src/shared/lib/format-webpack-messages.ts Added a fallback to moduleIdentifier in cases where Rspack does not correctly populate moduleName.
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@
|
||||
"@next/third-parties": "workspace:*",
|
||||
"@opentelemetry/api": "1.4.1",
|
||||
"@picocss/pico": "1.5.10",
|
||||
"@rspack/core": "1.6.0",
|
||||
"@rspack/core": "1.6.7",
|
||||
"@slack/web-api": "7.9.1",
|
||||
"@swc/cli": "0.1.55",
|
||||
"@swc/core": "1.11.24",
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
},
|
||||
"types": "index.d.ts",
|
||||
"dependencies": {
|
||||
"@next/rspack-core": "1.0.1"
|
||||
"@next/rspack-core": "1.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
"@next/swc": "16.1.0-canary.30",
|
||||
"@opentelemetry/api": "1.6.0",
|
||||
"@playwright/test": "1.51.1",
|
||||
"@rspack/core": "1.6.0",
|
||||
"@rspack/core": "1.6.7",
|
||||
"@storybook/addon-a11y": "8.6.0",
|
||||
"@storybook/addon-essentials": "8.6.0",
|
||||
"@storybook/addon-interactions": "8.6.0",
|
||||
|
||||
@@ -2263,6 +2263,15 @@ export default async function getBaseWebpackConfig(
|
||||
if (isRspack) {
|
||||
// The layers experiment is now stable in Rspack
|
||||
delete webpack5Config.experiments!.layers
|
||||
|
||||
if (!webpack5Config.node) {
|
||||
webpack5Config.node = {}
|
||||
}
|
||||
// NOTE: Rspack's defaults differ from webpack.
|
||||
if (isClient || isEdgeServer) {
|
||||
webpack5Config.node.__dirname = 'mock'
|
||||
webpack5Config.node.__filename = 'mock'
|
||||
}
|
||||
}
|
||||
|
||||
webpack5Config.module!.parser = {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -59,6 +59,18 @@ function formatMessage(
|
||||
body = body.slice(0, breakingChangeIndex)
|
||||
}
|
||||
|
||||
// TODO: Rspack currently doesn't populate moduleName correctly in some cases,
|
||||
// fall back to moduleIdentifier as a workaround
|
||||
if (
|
||||
process.env.NEXT_RSPACK &&
|
||||
!message.moduleName &&
|
||||
!message.file &&
|
||||
message.moduleIdentifier
|
||||
) {
|
||||
const parts = message.moduleIdentifier.split('!')
|
||||
message.moduleName = parts[parts.length - 1]
|
||||
}
|
||||
|
||||
message =
|
||||
(message.moduleName ? stripAnsi(message.moduleName) + '\n' : '') +
|
||||
(message.file ? stripAnsi(message.file) + '\n' : '') +
|
||||
|
||||
Generated
+162
-189
@@ -136,8 +136,8 @@ importers:
|
||||
specifier: 1.5.10
|
||||
version: 1.5.10
|
||||
'@rspack/core':
|
||||
specifier: 1.6.0
|
||||
version: 1.6.0(@swc/[email protected])
|
||||
specifier: 1.6.7
|
||||
version: 1.6.7(@swc/[email protected])
|
||||
'@slack/web-api':
|
||||
specifier: 7.9.1
|
||||
version: 7.9.1
|
||||
@@ -1228,8 +1228,8 @@ importers:
|
||||
specifier: 1.51.1
|
||||
version: 1.51.1
|
||||
'@rspack/core':
|
||||
specifier: 1.6.0
|
||||
version: 1.6.0(@swc/[email protected])
|
||||
specifier: 1.6.7
|
||||
version: 1.6.7(@swc/[email protected])
|
||||
'@storybook/addon-a11y':
|
||||
specifier: 8.6.0
|
||||
version: 8.6.0([email protected]([email protected]))
|
||||
@@ -1250,7 +1250,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/[email protected].0(@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/[email protected].7(@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]))
|
||||
@@ -1475,7 +1475,7 @@ importers:
|
||||
version: 3.12.0
|
||||
css-loader:
|
||||
specifier: 7.1.2
|
||||
version: 7.1.2(@rspack/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
version: 7.1.2(@rspack/[email protected].7(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
css.escape:
|
||||
specifier: 1.5.1
|
||||
version: 1.5.1
|
||||
@@ -1655,7 +1655,7 @@ importers:
|
||||
version: 2.5.0
|
||||
sass-loader:
|
||||
specifier: 16.0.5
|
||||
version: 16.0.5(@rspack/[email protected].0(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
version: 16.0.5(@rspack/[email protected].7(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
schema-utils2:
|
||||
specifier: npm:[email protected]
|
||||
version: [email protected]
|
||||
@@ -1888,8 +1888,8 @@ importers:
|
||||
packages/next-rspack:
|
||||
dependencies:
|
||||
'@next/rspack-core':
|
||||
specifier: 1.0.1
|
||||
version: 1.0.1(@swc/[email protected])
|
||||
specifier: 1.0.2
|
||||
version: 1.0.2(@swc/[email protected])
|
||||
|
||||
packages/next-swc:
|
||||
devDependencies:
|
||||
@@ -4194,23 +4194,23 @@ packages:
|
||||
resolution: {integrity: sha512-d//GE8/Yh7aC3e7p+kZG8JqqEAwwDUmAfvH1quogtbk+ksS6E0RR6toKKESPYYZVre0meqkJb27zb+dhqE9Sgw==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-mGbPAAApgjmQUl4J7WAt20aV04a26TyS21GDEpOGXFEQG5FqmZnSJ6FqB8K19HgTKioBT1+fF/Ctl5bGGao/EA==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-MLJUCQ05KnoVl8xd6xs9a5g2/8U+eWmVxg7xiBMeR0+7OjdWUbHwcwgVFatRIwSZvFgKHfWEiI7wsU1q1XbTRQ==}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-LtDnccPxjR8Xqa3daRYr1cH/6vUzK3mQSzgvnfsUm1fXte5syX4ftWw3Eu55VdqNY3yREFRn77AXdu9PfPEZRw==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-5Hd1Y5qp5lU/aTiK66lidMlM/4ji2gr3EXAtJdreJzkY+bKcI5+21GRcliZ4RAkICmvdxQU5PHPL71XmNc7Lsw==}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-SgG9NWTYGNYcHSd5MepO3AXf6DNXriIo4sKKM4mu4RqfYhHyP+yNjnF/gvYJl52VD61g0nADmzLWzBqxOqk2tg==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-fnP+ZOZTFeBGiTAnxve+axGmiYn2D60h86nUISXjXClK3LUY1krUfPgf6MaD4YDJ4i51OGXZWPekeMe16pkd8Q==}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-97jlOx4RAnAHMBTfgU5FBK6+V/pfT6GNX0YjSf8G+uJ3lFy74Y6kg/BevEkChTGw5waCLAkw/pw4LmntYcNN7g==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-+caXwaQqwTNh+CQqyb4mZmXq7iEemRDrTZQGD+zyeH454JAYnJ3s/3oDFizdH6245pk+NiqDyOOkHzzFQorKhQ==}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-t2vHSJ1a9zjg7LLJoEghcytNLzeFCqOat5TbXTav5dgU0xXw82Cf0EfLrxiJL6uUpgbtyvUdqqa2DVAvMPjiiA==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-x6hARETb8iqHVhEsQBysuWpznNZViUh84qV2yE7AD+g7uIzHKiYdoWqj10posbo5XKf/147qgWDzKZoKoEP2dw==}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
resolution: {integrity: sha512-06R/NDY6Uh5RBIaBOFwYWzJCf1dIiQd/DFHToBVhejUT3ZFG7GzHEPIIsAGqMzne/JSmVsvjlXiJu7UthQ6rFA==}
|
||||
'@module-federation/[email protected].6':
|
||||
resolution: {integrity: sha512-7zIp3LrcWbhGuFDTUMLJ2FJvcwjlddqhWGxi/MW3ur1a+HaO8v5tF2nl+vElKmbG1DFLU/52l3PElVcWf/YcsQ==}
|
||||
|
||||
'@mswjs/[email protected]':
|
||||
resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==}
|
||||
@@ -4250,71 +4250,71 @@ packages:
|
||||
'@next/[email protected]':
|
||||
resolution: {integrity: sha512-kI4gMhJlikhegVcOZS7xM/4rV1sYhgxVcFEXp2p52h4ZHuwVOoN9+Mvz50Knp5At+trsbTcbYgqnS2X4gfi11Q==}
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-ZLEy3shsHk8FpJDeoU4gN3a7eVaOagA7AW2BXSVefBAO4hR6j3Kt/T732FUmf9G5328C2vsbMAWskHRHPbhTig==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-ayoNrm5Z9xYIHdYfhUSvzPzNXRunMXx5B6Bonch9pJBfyC/3tUlcqVlI5+1HS+H4euWtPMeGqe8bARjQ71J/ug==}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-6jXb1doalByUbdCDr1LNi3zk+RUtghQ91yBU4DEJ/FKdAyefv+80oUAz7szAKHgJDq4T9USZRBS6W5qhllbplg==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-UXbxuzw6iltgr9NmOOPnzVKF3xGNmygKnFngh1sblLHirOe5j/2MxFQhhK6Mhq+OLOhO3JwySvrORszjNQu6KQ==}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-siAzVe3Z+fmcJcg2dysias9fFBXr8fChQ2uPjXH6sHBkjUKQg4TK5c0Akqd0r7ctBJLEpnV0fScXYhkTrnp94w==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-NH70VXNAY3qd2if906zML3/CqX1sLVaALwfsDkEpfU3/RobJDoCHsYMdks3K217gW8yim6jh71RosGXn/OnAmA==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-7tS4r20oDWjbMu1gLzrpuGtlCGGg8lhZuFgkKpSRoE0Fko/TZnO1qSPTyXu/uPNA2ge5Mw0k+sCIYdrSzVwynA==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-Ea+Fn9I9KtssxCr7hlan/X8LkOBA1bDS/G+28gcNIuM8lfUUJQi84AzJ8m2I/5cAVWD+hncCMtoDa4gb81SOTw==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-oHx+ETUMqqQ8y8go3KwpEdBr0MVS4mrqpi0i1c0r9bAVG79xssbTDF+ky4VBeFAyRwamXMmxrEOtq7wCZgukcA==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-4KPRmJjuqIZjwl3YuwU6PSygaGOhLiS7j6M21WwnsRxbDESperr0IDztmLHz9fRXosdCG0a2H58BPY0NSOoBcA==}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-XeEjwVf1C/k1KS/CXpnE3cyqywxPiruWwDHvtAl0ZSY38AouageT7FY3cgFAbcfmyr44NW9JGQmHADSIKVBI8A==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-af43QsBhRZ7kX/KjA9b5mrSLFMpRSuF7E2i9eBxrFkFpI2H4UCR0lSLcFmpkCnA/u2Q8a8KHhye88zDwUP8saQ==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-enNGf9vE6IUVX6Q8QEA2hH5RgCPAXV3vutfRPRtwN+CHalQKBBefKUqqLJU6XDl7nFHHq+rMTeL6/qa87y7wuQ==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-ZuORUowizCrzoESLyUBGTzJjXyCixtdsTKp7EOLr2oLh2umzksm/e9Cm+iuy8qjkO+TFR1ny5L4YYCUOsYa+Kg==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-71mBFBaTkNk/AzBsQXf9cDYFD9wWTNlL6voL7pQfLRTFfyY2N6Xzt+E18DMquFXbklLO7bqzhexxkL8E8qqBjg==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-Bv0DS+jUwL5fQxcC3DiE6MbfssDF//kJ5rOnNey8EcLReqpz+WPuJKTqRvyUtvx77Sg3o7yADS3UsSTrHKn6iQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-ThWWbJi+YgqqHI4PiNhG1A/EIUbkZgsTlHAY83ih7LqUozesPh0ck8zdma4sh6yNFdX23v64WeOBj8jwdGJJbw==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-wjLXX7XaCvd+ISRZHVOEa9FvXDX8KV0HPyNJuapUO150ho7kXt0ZfY9vGm/0UCO7X4hCgnGzsnBZOzYdgT/RqQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-eea32wRgJmPBNY9XEC7h2SjhBViGuRvk35vwWPxcVIHoeXxpdLBCqa76j1CVfvUez/UwV09qU5Vej17mwD6rlw==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-OQ0Uv9ZbMB8BZFJP2n7dLIc4kjfr76J1JPCtPNB3/BvE2xpAIEcYmkwSP0GrVL/H+1xLMqLwblqt7xyc65hfuw==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-TbjdJI9NFH9FmqxT++koSLfRPC+VbPJnrXEZWlftQG93l0tvs2AimoCq47yBgai3XCxyUFOj+WgUN7ShU4+j6A==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-U98H/QvLcZcNA1Dcxb5OS2I3Ze0za/2/AA0ywmbOqCe6Nue/CYKNEfa+F1jJVLxiV0/K3+6SF7BjbGh62BUWow==}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-JntbZxZkXCLi36f5BHp+PCTzqwMUsdzlr/kcw/IVZ1tZ67OAco7Corv8yYKZumUuNMguxwndHH0pKlTZ667l+Q==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-wvR7LLNHsDK3t3RcfWTgzIzYNLLmGQf3y271CAzZvbvjK2oCu1D0Dl5RAtcVgNCZPUVd3aa2ceirNRqQrqRrXg==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-GPLPMHHDb/cK9ppmNzUi//L5WSV4PPUyfVo+oXITIutdh+nMFFN09WDnc7O6Fv6ZlHY2j6CM06t2vzyCB+gAXA==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-lnY6l2xCDnLw25mE05dSIZ+dXjqsrAUPoCFe9vKgxg6gu7YFD84uzaHOTalJNl8Vmah1oHE+L/zNlRqzKkDUbA==}
|
||||
|
||||
'@next/[email protected].1':
|
||||
resolution: {integrity: sha512-08np3obem5g/ptYxybbD6ovZaNFrpA+6LL9OzwLNKX/zU5+rgg3CZR09xda9oIgtplTDCbZdB8nZffDoqpwQsw==}
|
||||
'@next/[email protected].2':
|
||||
resolution: {integrity: sha512-jt6LtuSYB2XP7ndVAabYQ/oTdE7Yqw5coof6FQkpjqwojZcTxWdTQIuZu7eKQQaVuDhtSefU2IE+VZrwJOVpcw==}
|
||||
|
||||
'@next/[email protected]':
|
||||
resolution: {integrity: sha512-IZwtxCEpI91HVU/rAUOOobWSZv4P2DeTtNaCdHqLcTJU4wdNXgAySvKa/qJCgR5m6KI8UsKDXtO2B31jcaw1Yw==}
|
||||
@@ -5666,60 +5666,60 @@ packages:
|
||||
resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
|
||||
engines: {node: '>= 8.0.0'}
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-IrigOWnGvQgugsTZgf3dB5uko+y+lkNLYg/8w0DiobxkWhpLO97RAeR1w0ofIPXYVu3UWVf7dgHj3PjTqjC9Tw==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-QiIAP8JTAtht0j8/xZZEQTJRB9e+KrOm9c7JJm73CewVg55rDWRrwopiVfBNlTu1coem1ztUHJYdQhg2uXfqww==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-UYz+Y1XqbHGnkUOsaZRuwiuQaQaQ5rEPSboBPlIVDtblwmB71yxo3ET0nSoUhz8L/WXqQoARiraTCxUP6bvSIg==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-DpQRxxTXkMMNPmBXeJBaAB8HmWKxH2IfvHv7vU+kBhJ3xdPtXU4/xBv1W3biluoNRG11gc1WLIgjzeGgaLCxmw==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-Jr7aaxrtwOnh7ge7tZP+Mjpo6uNltvQisL25WcjpP+8PnPT0C9jziKDJso7KxeOINXnQ2yRn2h65+HBNb7FQig==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-211/XoBiooGGgUo/NxNpsrzGUXtH1d7g/4+UTtjYtfc8QHwu7ZMHcsqg0wss53fXzn/yyxd0DZ56vBHq52BiFw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-hl17reUhkjgkcLao6ZvNiSRQFGFykqUpIj1//v/XtVd/2XAZ0Kt7jv9UUeaR+2zY8piH+tgCkwgefmjmajMeFg==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-0WnqAWz3WPDsXGvOOA++or7cHpoidVsH3FlqNaAfRu6ni6n7ig/s0/jKUB+C5FtXOgmGjAGkZHfFgNHsvZ0FWw==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-xdlb+ToerFU/YggndCfIrZI/S/C80CP9ZFw6lhnEFSTJDAG88KptxstsoKUh8YzyPTD45CYaOjYNtUtiv0nScg==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-iMrE0Q4IuYpkE0MjpaOVaUDYbQFiCRI9D3EPoXzlXJj4kJSdNheODpHTBVRlWt8Xp7UAoWuIFXCvKFKcSMm3aQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-IkXEW/FBPPz4EJJTLNZvA+94aLaW2HgUMYu7zCIw5YMc9JJ/UXexY1zjX/A7yidsCiZCRy/ZrB+veFJ5FkZv7w==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-e7gKFxpdEQwYGk7lTC/hukTgNtaoAstBXehnZNk4k3kuU6+86WDrkn18Cd949iNqfIPtIG/wIsFNGbkHsH69hQ==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-XGwX35XXnoTYVUGwDBsKNOkkk/yUsT/RF59u9BwT3QBM5eSXk767xVw/ZeiiyJf5YfI/52HDW2E4QZyvlYyv7g==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-yx88EFdE9RP3hh7VhjjW6uc6wGU0KcpOcZp8T8E/a+X8L98fX0aVrtM1IDbndhmdluIMqGbfJNap2+QqOCY9Mw==}
|
||||
cpu: [wasm32]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-HOA/U7YC6EB74CpIrT2GrvPgd+TLr0anNuOp/8omw9hH1jjsP5cjUMgWeAGmWyXWxwoS8rRJ0xhRA+UIe3cL3g==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-vgxVYpFK8P5ulSXQQA+EbX78R/SUU+WIf0JIY+LoUoP89gZOsise/lKAJMAybzpeTJ1t0ndLchFznDYnzq+l4Q==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-ThczdltBOFcq+IrTflCE+8q0GvKoISt6pTupkuGnI1/bCnqhCxPP6kx8Z06fdJUFMhvBtpZa0gDJvhh3JBZrKA==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-bV5RTW0Va0UQKJm9HWLt7fWNBPaBBBxCJOA2pJT3nGGm6CCXKnZSyEiVbFUk4jI/uiwBfqenlLkzaGoMRbeDhA==}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-Bhyvsh1m6kIpr1vqZlcdUDUTh0bheRe9SF+f6jw0kPDPbh8FfrRbshPKmRHpRZAUHt20NqgUKR2z2BaKb0IJvQ==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-8xlbuJQtYktlBjZupOHlO8FeZqSIhsV3ih7xBSiOYar6LI6uQzA7XiO3I5kaPSDirBMMMKv1Z4rKCxWx10a3TQ==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-RqlCjvWg/LkJjHpsbI48ebo2SYpIBJsV1eh9SEMfXo1batAPvB5grhAbLX0MRUOtzuQOnZMCDGdr2v7l2L8Siw==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-7ICabuBN3gHc6PPN52+m1kruz3ogiJjg1C0gSWdLRk18m/4jlcM2aAy6wfXjgODJdB0Yh2ro/lIpBbj+AYWUGA==}
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
resolution: {integrity: sha512-u2GDSToEhmgIsy0QbOPA81i9tu87J2HgSsRA3HHZfWIR8Vt8KdlAriQnG8CatDnvFSY/UQEumVf5Z1HUAQwxCg==}
|
||||
'@rspack/[email protected].7':
|
||||
resolution: {integrity: sha512-tkd4nSzTf+pDa9OAE4INi/JEa93HNszjWy5C9+trf4ZCXLLHsHxHQFbzoreuz4Vv2PlCWajgvAdiPMV1vGIkuw==}
|
||||
engines: {node: '>=18.12.0'}
|
||||
peerDependencies:
|
||||
'@swc/helpers': '>=0.5.1'
|
||||
@@ -5727,9 +5727,8 @@ packages:
|
||||
'@swc/helpers':
|
||||
optional: true
|
||||
|
||||
'@rspack/lite-tapable@1.0.1':
|
||||
resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==}
|
||||
engines: {node: '>=16.0.0'}
|
||||
'@rspack/lite-tapable@1.1.0':
|
||||
resolution: {integrity: sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==}
|
||||
|
||||
'@rtsao/[email protected]':
|
||||
resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}
|
||||
@@ -21237,30 +21236,30 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@module-federation/[email protected].2': {}
|
||||
'@module-federation/[email protected].6': {}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
'@module-federation/[email protected].6':
|
||||
dependencies:
|
||||
'@module-federation/error-codes': 0.21.2
|
||||
'@module-federation/sdk': 0.21.2
|
||||
'@module-federation/error-codes': 0.21.6
|
||||
'@module-federation/sdk': 0.21.6
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
'@module-federation/[email protected].6':
|
||||
dependencies:
|
||||
'@module-federation/runtime': 0.21.2
|
||||
'@module-federation/webpack-bundler-runtime': 0.21.2
|
||||
'@module-federation/runtime': 0.21.6
|
||||
'@module-federation/webpack-bundler-runtime': 0.21.6
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
'@module-federation/[email protected].6':
|
||||
dependencies:
|
||||
'@module-federation/error-codes': 0.21.2
|
||||
'@module-federation/runtime-core': 0.21.2
|
||||
'@module-federation/sdk': 0.21.2
|
||||
'@module-federation/error-codes': 0.21.6
|
||||
'@module-federation/runtime-core': 0.21.6
|
||||
'@module-federation/sdk': 0.21.6
|
||||
|
||||
'@module-federation/[email protected].2': {}
|
||||
'@module-federation/[email protected].6': {}
|
||||
|
||||
'@module-federation/[email protected].2':
|
||||
'@module-federation/[email protected].6':
|
||||
dependencies:
|
||||
'@module-federation/runtime': 0.21.2
|
||||
'@module-federation/sdk': 0.21.2
|
||||
'@module-federation/runtime': 0.21.6
|
||||
'@module-federation/sdk': 0.21.6
|
||||
|
||||
'@mswjs/[email protected]': {}
|
||||
|
||||
@@ -21314,61 +21313,61 @@ snapshots:
|
||||
dependencies:
|
||||
fast-glob: 3.3.1
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optional: true
|
||||
|
||||
'@next/[email protected].1':
|
||||
'@next/[email protected].2':
|
||||
optionalDependencies:
|
||||
'@next/rspack-binding-android-arm-eabi': 1.0.1
|
||||
'@next/rspack-binding-android-arm64': 1.0.1
|
||||
'@next/rspack-binding-darwin-arm64': 1.0.1
|
||||
'@next/rspack-binding-darwin-x64': 1.0.1
|
||||
'@next/rspack-binding-linux-arm-gnueabihf': 1.0.1
|
||||
'@next/rspack-binding-linux-arm64-gnu': 1.0.1
|
||||
'@next/rspack-binding-linux-arm64-musl': 1.0.1
|
||||
'@next/rspack-binding-linux-x64-gnu': 1.0.1
|
||||
'@next/rspack-binding-linux-x64-musl': 1.0.1
|
||||
'@next/rspack-binding-win32-arm64-msvc': 1.0.1
|
||||
'@next/rspack-binding-win32-ia32-msvc': 1.0.1
|
||||
'@next/rspack-binding-win32-x64-msvc': 1.0.1
|
||||
'@next/rspack-binding-android-arm-eabi': 1.0.2
|
||||
'@next/rspack-binding-android-arm64': 1.0.2
|
||||
'@next/rspack-binding-darwin-arm64': 1.0.2
|
||||
'@next/rspack-binding-darwin-x64': 1.0.2
|
||||
'@next/rspack-binding-linux-arm-gnueabihf': 1.0.2
|
||||
'@next/rspack-binding-linux-arm64-gnu': 1.0.2
|
||||
'@next/rspack-binding-linux-arm64-musl': 1.0.2
|
||||
'@next/rspack-binding-linux-x64-gnu': 1.0.2
|
||||
'@next/rspack-binding-linux-x64-musl': 1.0.2
|
||||
'@next/rspack-binding-win32-arm64-msvc': 1.0.2
|
||||
'@next/rspack-binding-win32-ia32-msvc': 1.0.2
|
||||
'@next/rspack-binding-win32-x64-msvc': 1.0.2
|
||||
|
||||
'@next/[email protected].1(@swc/[email protected])':
|
||||
'@next/[email protected].2(@swc/[email protected])':
|
||||
dependencies:
|
||||
'@next/rspack-binding': 1.0.1
|
||||
'@rspack/core': 1.6.0(@swc/[email protected])
|
||||
'@next/rspack-binding': 1.0.2
|
||||
'@rspack/core': 1.6.7(@swc/[email protected])
|
||||
transitivePeerDependencies:
|
||||
- '@swc/helpers'
|
||||
|
||||
@@ -21575,7 +21574,7 @@ snapshots:
|
||||
'@npmcli/name-from-folder': 4.0.0
|
||||
'@npmcli/package-json': 7.0.2
|
||||
glob: 13.0.0
|
||||
minimatch: 10.0.3
|
||||
minimatch: 10.1.1
|
||||
|
||||
'@npmcli/[email protected]':
|
||||
dependencies:
|
||||
@@ -22770,60 +22769,60 @@ snapshots:
|
||||
estree-walker: 2.0.2
|
||||
picomatch: 2.3.1
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
dependencies:
|
||||
'@napi-rs/wasm-runtime': 1.0.7
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optional: true
|
||||
|
||||
'@rspack/[email protected].0':
|
||||
'@rspack/[email protected].7':
|
||||
optionalDependencies:
|
||||
'@rspack/binding-darwin-arm64': 1.6.0
|
||||
'@rspack/binding-darwin-x64': 1.6.0
|
||||
'@rspack/binding-linux-arm64-gnu': 1.6.0
|
||||
'@rspack/binding-linux-arm64-musl': 1.6.0
|
||||
'@rspack/binding-linux-x64-gnu': 1.6.0
|
||||
'@rspack/binding-linux-x64-musl': 1.6.0
|
||||
'@rspack/binding-wasm32-wasi': 1.6.0
|
||||
'@rspack/binding-win32-arm64-msvc': 1.6.0
|
||||
'@rspack/binding-win32-ia32-msvc': 1.6.0
|
||||
'@rspack/binding-win32-x64-msvc': 1.6.0
|
||||
'@rspack/binding-darwin-arm64': 1.6.7
|
||||
'@rspack/binding-darwin-x64': 1.6.7
|
||||
'@rspack/binding-linux-arm64-gnu': 1.6.7
|
||||
'@rspack/binding-linux-arm64-musl': 1.6.7
|
||||
'@rspack/binding-linux-x64-gnu': 1.6.7
|
||||
'@rspack/binding-linux-x64-musl': 1.6.7
|
||||
'@rspack/binding-wasm32-wasi': 1.6.7
|
||||
'@rspack/binding-win32-arm64-msvc': 1.6.7
|
||||
'@rspack/binding-win32-ia32-msvc': 1.6.7
|
||||
'@rspack/binding-win32-x64-msvc': 1.6.7
|
||||
|
||||
'@rspack/[email protected].0(@swc/[email protected])':
|
||||
'@rspack/[email protected].7(@swc/[email protected])':
|
||||
dependencies:
|
||||
'@module-federation/runtime-tools': 0.21.2
|
||||
'@rspack/binding': 1.6.0
|
||||
'@rspack/lite-tapable': 1.0.1
|
||||
'@module-federation/runtime-tools': 0.21.6
|
||||
'@rspack/binding': 1.6.7
|
||||
'@rspack/lite-tapable': 1.1.0
|
||||
optionalDependencies:
|
||||
'@swc/helpers': 0.5.15
|
||||
|
||||
'@rspack/lite-tapable@1.0.1': {}
|
||||
'@rspack/lite-tapable@1.1.0': {}
|
||||
|
||||
'@rtsao/[email protected]': {}
|
||||
|
||||
@@ -23082,7 +23081,7 @@ snapshots:
|
||||
react: 19.3.0-canary-b45bb335-20251211
|
||||
react-dom: 19.3.0-canary-b45bb335-20251211([email protected])
|
||||
|
||||
'@storybook/[email protected](@rspack/[email protected].0(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])':
|
||||
'@storybook/[email protected](@rspack/[email protected].7(@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
|
||||
@@ -23090,10 +23089,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/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
css-loader: 6.11.0(@rspack/[email protected].7(@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/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
html-webpack-plugin: 5.6.3(@rspack/[email protected].7(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected]))
|
||||
magic-string: 0.30.19
|
||||
path-browserify: 1.0.1
|
||||
process: 0.11.10
|
||||
@@ -23224,9 +23223,9 @@ snapshots:
|
||||
react-dom: 19.3.0-canary-b45bb335-20251211([email protected])
|
||||
storybook: 8.6.0([email protected])
|
||||
|
||||
'@storybook/[email protected](@rspack/[email protected].0(@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/[email protected].7(@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/[email protected].0(@swc/[email protected]))(@swc/[email protected](@swc/[email protected]))([email protected])([email protected]([email protected]))([email protected])
|
||||
'@storybook/builder-webpack5': 8.6.0(@rspack/[email protected].7(@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.3.0-canary-b45bb335-20251211
|
||||
@@ -26278,7 +26277,7 @@ snapshots:
|
||||
postcss: 8.4.31
|
||||
postcss-selector-parser: 6.1.2
|
||||
|
||||
[email protected](@rspack/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
|
||||
[email protected](@rspack/[email protected].7(@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
|
||||
@@ -26289,10 +26288,10 @@ snapshots:
|
||||
postcss-value-parser: 4.2.0
|
||||
semver: 7.6.3
|
||||
optionalDependencies:
|
||||
'@rspack/core': 1.6.0(@swc/[email protected])
|
||||
'@rspack/core': 1.6.7(@swc/[email protected])
|
||||
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
|
||||
|
||||
[email protected](@rspack/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
|
||||
[email protected](@rspack/[email protected].7(@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
|
||||
@@ -26303,7 +26302,7 @@ snapshots:
|
||||
postcss-value-parser: 4.2.0
|
||||
semver: 7.6.3
|
||||
optionalDependencies:
|
||||
'@rspack/core': 1.6.0(@swc/[email protected])
|
||||
'@rspack/core': 1.6.7(@swc/[email protected])
|
||||
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
|
||||
|
||||
[email protected]([email protected]):
|
||||
@@ -27593,8 +27592,8 @@ snapshots:
|
||||
'@next/eslint-plugin-next': 16.1.0-canary.16
|
||||
eslint: 9.37.0([email protected])
|
||||
eslint-import-resolver-node: 0.3.9
|
||||
eslint-import-resolver-typescript: 3.10.1([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected]))
|
||||
eslint-plugin-import: 2.32.0([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))
|
||||
eslint-import-resolver-typescript: 3.10.1([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))
|
||||
eslint-plugin-import: 2.32.0([email protected])([email protected]([email protected]))
|
||||
eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))
|
||||
eslint-plugin-react: 7.37.0([email protected]([email protected]))
|
||||
eslint-plugin-react-hooks: 7.0.0([email protected]([email protected]))
|
||||
@@ -27621,22 +27620,6 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])):
|
||||
dependencies:
|
||||
'@nolyfill/is-core-module': 1.0.39
|
||||
debug: 4.4.0
|
||||
eslint: 9.37.0([email protected])
|
||||
get-tsconfig: 4.12.0
|
||||
is-bun-module: 2.0.0
|
||||
stable-hash: 0.0.5
|
||||
tinyglobby: 0.2.15
|
||||
unrs-resolver: 1.11.1
|
||||
optionalDependencies:
|
||||
eslint-plugin-import: 2.32.0([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))
|
||||
eslint-plugin-import-x: 4.3.1([email protected]([email protected]))([email protected])
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
[email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected])):
|
||||
dependencies:
|
||||
'@nolyfill/is-core-module': 1.0.39
|
||||
@@ -27694,16 +27677,6 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
[email protected]([email protected])([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected])):
|
||||
dependencies:
|
||||
debug: 3.2.7
|
||||
optionalDependencies:
|
||||
eslint: 9.37.0([email protected])
|
||||
eslint-import-resolver-node: 0.3.9
|
||||
eslint-import-resolver-typescript: 3.10.1([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected]))
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
[email protected]([email protected]([email protected])):
|
||||
dependencies:
|
||||
eslint: 9.37.0([email protected])
|
||||
@@ -27784,7 +27757,7 @@ snapshots:
|
||||
- eslint-import-resolver-webpack
|
||||
- supports-color
|
||||
|
||||
[email protected]([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected])):
|
||||
[email protected]([email protected])([email protected]([email protected])):
|
||||
dependencies:
|
||||
'@rtsao/scc': 1.1.0
|
||||
array-includes: 3.1.9
|
||||
@@ -27795,7 +27768,7 @@ snapshots:
|
||||
doctrine: 2.1.0
|
||||
eslint: 9.37.0([email protected])
|
||||
eslint-import-resolver-node: 0.3.9
|
||||
eslint-module-utils: 2.12.1([email protected])([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))
|
||||
eslint-module-utils: 2.12.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected])))([email protected]([email protected]))
|
||||
hasown: 2.0.2
|
||||
is-core-module: 2.16.1
|
||||
is-glob: 4.0.3
|
||||
@@ -29659,7 +29632,7 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected](@rspack/[email protected].0(@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
|
||||
[email protected](@rspack/[email protected].7(@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
|
||||
@@ -29667,7 +29640,7 @@ snapshots:
|
||||
pretty-error: 4.0.0
|
||||
tapable: 2.2.1
|
||||
optionalDependencies:
|
||||
'@rspack/core': 1.6.0(@swc/[email protected])
|
||||
'@rspack/core': 1.6.7(@swc/[email protected])
|
||||
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
|
||||
|
||||
[email protected]:
|
||||
@@ -36340,11 +36313,11 @@ snapshots:
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
[email protected](@rspack/[email protected].0(@swc/[email protected]))([email protected])([email protected](@swc/[email protected](@swc/[email protected]))([email protected])):
|
||||
[email protected](@rspack/[email protected].7(@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.6.0(@swc/[email protected])
|
||||
'@rspack/core': 1.6.7(@swc/[email protected])
|
||||
sass: 1.77.8
|
||||
webpack: 5.98.0(@swc/[email protected](@swc/[email protected]))([email protected])
|
||||
|
||||
|
||||
@@ -294,11 +294,10 @@ describe('ReactRefreshLogBox app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
|
||||
│ ,-[7:1]
|
||||
│ 4 | <p>lol</p>
|
||||
@@ -495,11 +494,10 @@ describe('ReactRefreshLogBox app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × SyntaxError",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.module.css
|
||||
× Module build failed:
|
||||
╰─▶ × SyntaxError
|
||||
│
|
||||
│ (1:1) <FIXME-project-root>/index.module.css Unknown word
|
||||
@@ -559,11 +557,10 @@ describe('ReactRefreshLogBox app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × CssSyntaxError",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.module.css
|
||||
× Module build failed:
|
||||
╰─▶ × CssSyntaxError
|
||||
│
|
||||
│ (1:1) Selector "button" is not pure (pure selectors must contain at least one local class or id)
|
||||
@@ -1056,6 +1053,21 @@ describe('ReactRefreshLogBox app', () => {
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": "test",
|
||||
"environmentLabel": null,
|
||||
"label": "Runtime Error",
|
||||
"source": "index.js (3:11) @ __rspack_default_export
|
||||
> 3 | throw new Error('test')
|
||||
| ^",
|
||||
"stack": [
|
||||
"__rspack_default_export index.js (3:11)",
|
||||
"Page app/page.js (4:10)",
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
@@ -1504,13 +1516,12 @@ describe('ReactRefreshLogBox app', () => {
|
||||
}
|
||||
`)
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " ╰─▶ × Error: RspackResolver(NotFound("./boom.css"))",
|
||||
"description": "Failed to compile",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "× Module build failed:
|
||||
╰─▶ × Error: RspackResolver(NotFound("./boom.css"))",
|
||||
"source": "╰─▶ × Error: RspackResolver(NotFound("./boom.css"))",
|
||||
"stack": [],
|
||||
}
|
||||
`)
|
||||
|
||||
@@ -47,11 +47,10 @@ describe('ReactRefreshLogBox app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x "getStaticProps" is not supported in app/. Read more: https://nextjs.org/docs/app/building-your-application/data-fetching",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./app/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x "getStaticProps" is not supported in app/. Read more: https://nextjs.org/docs/app/building-your-application/data-fetching
|
||||
│ |
|
||||
│
|
||||
|
||||
@@ -56,11 +56,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '>', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '>', got '<eof>'
|
||||
│ ,----
|
||||
│ 1 | export default () => <div/
|
||||
@@ -150,11 +149,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./app/server/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[2:1]
|
||||
│ 1 | export default function Page() {
|
||||
@@ -235,11 +233,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./app/client/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[2:1]
|
||||
│ 1 | export default function Page() {
|
||||
@@ -671,11 +668,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[10:1]
|
||||
│ 7 | throw Error('no ' + i)
|
||||
@@ -732,11 +728,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[10:1]
|
||||
│ 7 | throw Error('no ' + i)
|
||||
@@ -925,11 +920,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got 'return'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got 'return'
|
||||
│ ,-[5:1]
|
||||
│ 2 |
|
||||
@@ -1009,11 +1003,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got 'throw'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got 'throw'
|
||||
│ ,-[5:1]
|
||||
│ 2 |
|
||||
@@ -1136,11 +1129,10 @@ describe('Error recovery app', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./app/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,----
|
||||
│ 1 | {{{
|
||||
|
||||
@@ -119,11 +119,10 @@ describe('ReactRefreshLogBox _app _document', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expression expected",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./pages/_app.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expression expected
|
||||
│ ,-[2:1]
|
||||
│ 1 | function MyApp({ Component, pageProps }) {
|
||||
@@ -239,11 +238,10 @@ describe('ReactRefreshLogBox _app _document', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Unexpected token \`{\`. Expected identifier, string literal, numeric literal or [ for the computed key",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./pages/_document.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unexpected token \`{\`. Expected identifier, string literal, numeric literal or [ for the computed key
|
||||
│ ,-[3:1]
|
||||
│ 1 | import Document, { Html, Head, Main, NextScript } from 'next/document'
|
||||
|
||||
@@ -455,11 +455,10 @@ describe('ReactRefreshLogBox', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
|
||||
│ ,-[7:1]
|
||||
│ 4 | <p>lol</p>
|
||||
@@ -709,11 +708,10 @@ describe('ReactRefreshLogBox', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × SyntaxError",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.module.css
|
||||
× Module build failed:
|
||||
╰─▶ × SyntaxError
|
||||
│
|
||||
│ (1:1) <FIXME-project-root>/index.module.css Unknown word
|
||||
@@ -771,11 +769,10 @@ describe('ReactRefreshLogBox', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × CssSyntaxError",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.module.css
|
||||
× Module build failed:
|
||||
╰─▶ × CssSyntaxError
|
||||
│
|
||||
│ (1:1) Selector "button" is not pure (pure selectors must contain at least one local class or id)
|
||||
|
||||
@@ -6,7 +6,7 @@ import { outdent } from 'outdent'
|
||||
import path from 'path'
|
||||
|
||||
describe('ReactRefreshRegression', () => {
|
||||
const { isTurbopack, next } = nextTestSetup({
|
||||
const { isTurbopack, isRspack, next } = nextTestSetup({
|
||||
files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')),
|
||||
skipStart: true,
|
||||
dependencies: {
|
||||
@@ -295,6 +295,20 @@ describe('ReactRefreshRegression', () => {
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": "boom",
|
||||
"environmentLabel": null,
|
||||
"label": "Runtime Error",
|
||||
"source": "pages/index.js (1:36) @ __rspack_default_export
|
||||
> 1 | export default function () { throw new Error('boom'); }
|
||||
| ^",
|
||||
"stack": [
|
||||
"__rspack_default_export pages/index.js (1:36)",
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
|
||||
@@ -58,11 +58,10 @@ describe('pages/ error recovery', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '>', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '>', got '<eof>'
|
||||
│ ,----
|
||||
│ 1 | export default () => <div/
|
||||
@@ -403,11 +402,10 @@ describe('pages/ error recovery', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got 'return'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got 'return'
|
||||
│ ,-[5:1]
|
||||
│ 2 |
|
||||
@@ -488,11 +486,10 @@ describe('pages/ error recovery', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got 'throw'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got 'throw'
|
||||
│ ,-[5:1]
|
||||
│ 2 |
|
||||
@@ -823,11 +820,10 @@ describe('pages/ error recovery', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[7:1]
|
||||
│ 4 | i++
|
||||
@@ -889,11 +885,10 @@ describe('pages/ error recovery', () => {
|
||||
} else if (isRspack) {
|
||||
await expect({ browser, next }).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '}', got '<eof>'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./index.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '}', got '<eof>'
|
||||
│ ,-[7:1]
|
||||
│ 4 | i++
|
||||
|
||||
@@ -81,7 +81,6 @@ describe('Error Overlay for server components compiler errors in pages', () => {
|
||||
)
|
||||
).toMatchInlineSnapshot(`
|
||||
"./components/Comp.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that needs "next/headers". That only works in a Server Component which is not supported in the pages/ directory. Read more: https://nextjs.org/docs/app/building-your-application/rendering/server-components
|
||||
│ |
|
||||
│
|
||||
@@ -165,7 +164,6 @@ describe('Error Overlay for server components compiler errors in pages', () => {
|
||||
)
|
||||
).toMatchInlineSnapshot(`
|
||||
"./components/Comp.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that needs "server-only". That only works in a Server Component which is not supported in the pages/ directory. Read more: https://nextjs.org/docs/app/building-your-application/rendering/server-components
|
||||
│ |
|
||||
│
|
||||
@@ -251,7 +249,6 @@ describe('Error Overlay for server components compiler errors in pages', () => {
|
||||
)
|
||||
).toMatchInlineSnapshot(`
|
||||
"./components/Comp.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that needs "after". That only works in a Server Component which is not supported in the pages/ directory. Read more: https://nextjs.org/docs/app/building-your-application/rendering/server-components
|
||||
│ |
|
||||
│
|
||||
@@ -346,7 +343,6 @@ describe('Error Overlay for server components compiler errors in pages', () => {
|
||||
)
|
||||
).toMatchInlineSnapshot(`
|
||||
"./components/Comp.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that needs "next/root-params". That only works in a Server Component which is not supported in the pages/ directory. Read more: https://nextjs.org/docs/app/building-your-application/rendering/server-components
|
||||
│ |
|
||||
│
|
||||
|
||||
@@ -2,7 +2,7 @@ import { nextTestSetup } from 'e2e-utils'
|
||||
import stripAnsi from 'strip-ansi'
|
||||
|
||||
describe('build-error-logs', () => {
|
||||
const { next, isTurbopack } = nextTestSetup({
|
||||
const { next, isTurbopack, isRspack } = nextTestSetup({
|
||||
files: __dirname,
|
||||
})
|
||||
|
||||
@@ -18,6 +18,8 @@ describe('build-error-logs', () => {
|
||||
|
||||
if (isTurbopack) {
|
||||
expect(moduleNotFoundLogs).toHaveLength(1)
|
||||
} else if (isRspack) {
|
||||
expect([2, 3]).toContain(moduleNotFoundLogs.length)
|
||||
} else {
|
||||
// FIXME: next with webpack still logs the same error too many times
|
||||
expect(moduleNotFoundLogs).toHaveLength(3)
|
||||
|
||||
+1
-2
@@ -151,11 +151,10 @@ describe('Cache Components Dev Errors', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Route segment config "revalidate" is not compatible with \`nextConfig.cacheComponents\`. Please remove it.",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Route segment config "revalidate" is not compatible with \`nextConfig.cacheComponents\`. Please remove it.
|
||||
│ ,-[1:1]
|
||||
│ 1 | export const revalidate = 10
|
||||
|
||||
+1
-2
@@ -37,11 +37,10 @@ describe('app-dir - server-component-next-dynamic-ssr-false', () => {
|
||||
`)
|
||||
} else if (process.env.NEXT_RSPACK) {
|
||||
expect(redbox.description).toMatchInlineSnapshot(
|
||||
`" × Module build failed:"`
|
||||
`" ╰─▶ × Error: x \`ssr: false\` is not allowed with \`next/dynamic\` in Server Components. Please move it into a Client Component."`
|
||||
)
|
||||
expect(redbox.source).toMatchInlineSnapshot(`
|
||||
"./app/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x \`ssr: false\` is not allowed with \`next/dynamic\` in Server Components. Please move it into a Client Component.
|
||||
│ ,-[3:1]
|
||||
│ 1 | import dynamic from 'next/dynamic'
|
||||
|
||||
@@ -192,11 +192,10 @@ describe('react-dom/server in React Server environment', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "<FIXME-nextjs-internal-source>
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.
|
||||
│ | Learn more: https://nextjs.org/docs/app/building-your-application/rendering
|
||||
│ ,-[1:1]
|
||||
@@ -341,9 +340,8 @@ describe('react-dom/server in React Server environment', () => {
|
||||
} else if (isRspack) {
|
||||
expect(redbox).toMatchInlineSnapshot(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.",
|
||||
"source": "./app/exports/app-code/react-dom-server-node-implicit/page.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.
|
||||
│ | Learn more: https://nextjs.org/docs/app/building-your-application/rendering
|
||||
│ ,-[1:1]
|
||||
|
||||
@@ -175,30 +175,29 @@ export function runErrorRecoveryHmrTest(nextConfig: {
|
||||
`)
|
||||
} else if (process.env.NEXT_RSPACK) {
|
||||
expect(trimEndMultiline(source)).toMatchInlineSnapshot(`
|
||||
"./pages/hmr/about2.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
|
||||
│ ,-[7:1]
|
||||
│ 4 | <p>This is the about page.</p>
|
||||
│ 5 | div
|
||||
│ 6 | )
|
||||
│ 7 | }
|
||||
│ : ^
|
||||
│ \`----
|
||||
│ x Expected '</', got '<eof>'
|
||||
│ ,-[7:3]
|
||||
│ 5 | div
|
||||
│ 6 | )
|
||||
│ 7 | }
|
||||
│ \`----
|
||||
│
|
||||
│
|
||||
│ Caused by:
|
||||
│ Syntax Error
|
||||
"./pages/hmr/about2.js
|
||||
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
|
||||
│ ,-[7:1]
|
||||
│ 4 | <p>This is the about page.</p>
|
||||
│ 5 | div
|
||||
│ 6 | )
|
||||
│ 7 | }
|
||||
│ : ^
|
||||
│ \`----
|
||||
│ x Expected '</', got '<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
|
||||
@@ -537,26 +536,25 @@ export function runErrorRecoveryHmrTest(nextConfig: {
|
||||
} else if (process.env.NEXT_RSPACK) {
|
||||
expect(trimEndMultiline(next.normalizeTestDirContent(redboxSource)))
|
||||
.toMatchInlineSnapshot(`
|
||||
"./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
|
||||
"./components/parse-error.js
|
||||
╰─▶ × 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,
|
||||
|
||||
@@ -170,7 +170,6 @@ describe('mcp-server get_errors tool', () => {
|
||||
|
||||
\`\`\`
|
||||
./app/build-error/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`?
|
||||
│ ,-[4:1]
|
||||
│ 1 | export default function BuildErrorPage() {
|
||||
|
||||
@@ -37,7 +37,11 @@ describe('middleware - development errors', () => {
|
||||
// TODO(veil): Sourcemap to original name i.e. "default"
|
||||
'\n at __TURBOPACK__default__export__ (middleware.js:3:15)' +
|
||||
'\n 1 |'
|
||||
: '\n⨯ Error: boom' +
|
||||
: isRspack
|
||||
? '\n⨯ Error: boom' +
|
||||
'\n at __rspack_default_export (middleware.js:3:15)' +
|
||||
'\n 1 |'
|
||||
: '\n⨯ Error: boom' +
|
||||
'\n at default (middleware.js:3:15)' +
|
||||
'\n 1 |'
|
||||
)
|
||||
@@ -71,11 +75,11 @@ describe('middleware - development errors', () => {
|
||||
"description": "boom",
|
||||
"environmentLabel": null,
|
||||
"label": "Runtime Error",
|
||||
"source": "middleware.js (3:15) @ default
|
||||
"source": "middleware.js (3:15) @ __rspack_default_export
|
||||
> 3 | throw new Error('boom')
|
||||
| ^",
|
||||
"stack": [
|
||||
"default middleware.js (3:15)",
|
||||
"__rspack_default_export middleware.js (3:15)",
|
||||
],
|
||||
}
|
||||
`)
|
||||
@@ -134,7 +138,12 @@ describe('middleware - development errors', () => {
|
||||
// TODO(veil): Sourcemap to original name i.e. "default"
|
||||
'\n at __TURBOPACK__default__export__ (middleware.js:7:9)' +
|
||||
"\n 2 | import { NextResponse } from 'next/server'"
|
||||
: '\n⨯ unhandledRejection: Error: async boom!' +
|
||||
: isRspack
|
||||
? '\n⨯ unhandledRejection: Error: async boom!' +
|
||||
'\n at throwError (middleware.js:4:15)' +
|
||||
'\n at __rspack_default_export (middleware.js:7:9)' +
|
||||
"\n 2 | import { NextResponse } from 'next/server'"
|
||||
: '\n⨯ unhandledRejection: Error: async boom!' +
|
||||
'\n at throwError (middleware.js:4:15)' +
|
||||
'\n at default (middleware.js:7:9)' +
|
||||
"\n 2 | import { NextResponse } from 'next/server'"
|
||||
@@ -234,12 +243,12 @@ describe('middleware - development errors', () => {
|
||||
"description": "test is not defined",
|
||||
"environmentLabel": null,
|
||||
"label": "Runtime ReferenceError",
|
||||
"source": "middleware.js (4:9) @ default
|
||||
"source": "middleware.js (4:9) @ __rspack_default_export
|
||||
> 4 | eval('test')
|
||||
| ^",
|
||||
"stack": [
|
||||
"<FIXME-file-protocol>",
|
||||
"default middleware.js (4:9)",
|
||||
"__rspack_default_export middleware.js (4:9)",
|
||||
],
|
||||
}
|
||||
`)
|
||||
@@ -297,7 +306,13 @@ describe('middleware - development errors', () => {
|
||||
? '\n⨯ Error: booooom!' +
|
||||
// TODO(veil): Should be sourcemapped
|
||||
'\n at module evaluation (middleware.js:3:13)'
|
||||
: '\n⨯ Error: booooom!' +
|
||||
: isRspack
|
||||
? '\n⨯ Error: booooom!' +
|
||||
`\n at <unknown> (${getDistDir()}/server/edge-runtime-webpack.js:35)` +
|
||||
'\n at eval (middleware.js:3:13)' +
|
||||
`\n at (middleware)/./middleware.js (${getDistDir()}/server/middleware.js:26:1)` +
|
||||
'\n at __webpack_require__ '
|
||||
: '\n⨯ Error: booooom!' +
|
||||
// TODO: Should be anonymous method without a method name
|
||||
'\n at <unknown> (middleware.js:3)' +
|
||||
// TODO: Should be ignore-listed
|
||||
@@ -490,11 +505,10 @@ describe('middleware - development errors', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got '}'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./middleware.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got '}'
|
||||
│ ,----
|
||||
│ 1 | export default function () }
|
||||
@@ -576,11 +590,10 @@ describe('middleware - development errors', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Expected '{', got '}'",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "./middleware.js
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Expected '{', got '}'
|
||||
│ ,----
|
||||
│ 1 | export default function () }
|
||||
|
||||
@@ -244,6 +244,20 @@ describe('Client Navigation rendering', () => {
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": "This is an expected error",
|
||||
"environmentLabel": null,
|
||||
"label": "Runtime Error",
|
||||
"source": "pages/error-inside-page.js (2:9) @ __rspack_default_export
|
||||
> 2 | throw new Error('This is an expected error')
|
||||
| ^",
|
||||
"stack": [
|
||||
"__rspack_default_export pages/error-inside-page.js (2:9)",
|
||||
],
|
||||
}
|
||||
`)
|
||||
} else {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
|
||||
@@ -1102,7 +1102,7 @@ describe('Cache Components Errors', () => {
|
||||
],
|
||||
},
|
||||
{
|
||||
"description": "(0 , <webpack-module-id>.cookies)(...).get is not a function",
|
||||
"description": "(0 , next_headers__rspack_import_1.cookies)(...).get is not a function",
|
||||
"environmentLabel": "Prerender",
|
||||
"label": "Runtime TypeError",
|
||||
"source": "app/sync-cookies/page.tsx (18:36) @ CookiesReadingComponent
|
||||
@@ -1284,7 +1284,7 @@ describe('Cache Components Errors', () => {
|
||||
],
|
||||
},
|
||||
{
|
||||
"description": "(0 , <webpack-module-id>.cookies)(...).get is not a function",
|
||||
"description": "(0 , next_headers__rspack_import_1.cookies)(...).get is not a function",
|
||||
"environmentLabel": "Server",
|
||||
"label": "Runtime TypeError",
|
||||
"source": "app/sync-cookies-runtime/page.tsx (24:36) @ CookiesReadingComponent
|
||||
@@ -1438,7 +1438,7 @@ describe('Cache Components Errors', () => {
|
||||
],
|
||||
},
|
||||
{
|
||||
"description": "(0 , <webpack-module-id>.headers)(...).get is not a function",
|
||||
"description": "(0 , next_headers__rspack_import_1.headers)(...).get is not a function",
|
||||
"environmentLabel": "Prerender",
|
||||
"label": "Runtime TypeError",
|
||||
"source": "app/sync-headers/page.tsx (18:40) @ HeadersReadingComponent
|
||||
@@ -1620,7 +1620,7 @@ describe('Cache Components Errors', () => {
|
||||
],
|
||||
},
|
||||
{
|
||||
"description": "(0 , <webpack-module-id>.headers)(...).get is not a function",
|
||||
"description": "(0 , next_headers__rspack_import_1.headers)(...).get is not a function",
|
||||
"environmentLabel": "Server",
|
||||
"label": "Runtime TypeError",
|
||||
"source": "app/sync-headers-runtime/page.tsx (24:40) @ HeadersReadingComponent
|
||||
|
||||
@@ -40,7 +40,6 @@ describe('app-dir - error-on-next-codemod-comment', () => {
|
||||
} else if (process.env.NEXT_RSPACK) {
|
||||
expect(await getRedboxSource(browser)).toMatchInlineSnapshot(`
|
||||
"./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x You have an unresolved @next/codemod comment "remove jsx of next line" that needs review.
|
||||
│ | After review, either remove the comment if you made the necessary changes or replace "@next-codemod-error" with "@next-codemod-ignore" to bypass the build error if no action at this line can be taken.
|
||||
│
|
||||
|
||||
@@ -52,8 +52,7 @@ describe('CSS Import from node_modules', () => {
|
||||
`)
|
||||
} else if (isRspack) {
|
||||
expect(errorSource).toMatchInlineSnapshot(`
|
||||
"./node_modules/.pnpm/next@file+..+next-repo-9363c99f3d71d8f039ab2f44b0982247ca3f251f6a3cb48f6f97e14bd6290b68_3cf165911481a65b93532bfb8e2c9025/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[8].oneOf[14].use[1]!./node_modules/.pnpm/next@file+..+next-repo-9363c99f3d71d8f039ab2f44b0982247ca3f251f6a3cb48f6f97e14bd6290b68_3cf165911481a65b93532bfb8e2c9025/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[8].oneOf[14].use[2]!./node_modules/.pnpm/next@file+..+next-repo-9363c99f3d71d8f039ab2f44b0982247ca3f251f6a3cb48f6f97e14bd6290b68_3cf165911481a65b93532bfb8e2c9025/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[8].oneOf[14].use[3]!./node_modules/.pnpm/next@file+..+next-repo-9363c99f3d71d8f039ab2f44b0982247ca3f251f6a3cb48f6f97e14bd6290b68_3cf165911481a65b93532bfb8e2c9025/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[8].oneOf[14].use[4]!./styles/global.scss
|
||||
× Module build failed:
|
||||
"./node_modules/.pnpm/next@file+..+next-repo-8fa5cfcca6029b56fbac0f566cc3851341e4c064ae33fb2a225547c1fab39f23+packa_apujtevk23v6mt6lxsvypt6azu/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[9].oneOf[14].use[1]!./node_modules/.pnpm/next@file+..+next-repo-8fa5cfcca6029b56fbac0f566cc3851341e4c064ae33fb2a225547c1fab39f23+packa_apujtevk23v6mt6lxsvypt6azu/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[9].oneOf[14].use[2]!./node_modules/.pnpm/next@file+..+next-repo-8fa5cfcca6029b56fbac0f566cc3851341e4c064ae33fb2a225547c1fab39f23+packa_apujtevk23v6mt6lxsvypt6azu/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[9].oneOf[14].use[3]!./node_modules/.pnpm/next@file+..+next-repo-8fa5cfcca6029b56fbac0f566cc3851341e4c064ae33fb2a225547c1fab39f23+packa_apujtevk23v6mt6lxsvypt6azu/node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[9].oneOf[14].use[4]!./styles/global.scss
|
||||
╰─▶ × Error: RspackResolver(NotFound("nprogress/nprogress.css"))"
|
||||
`)
|
||||
} else {
|
||||
|
||||
@@ -35,11 +35,10 @@ describe('use-cache-segment-configs', () => {
|
||||
} else if (isRspack) {
|
||||
await expect(browser).toDisplayRedbox(`
|
||||
{
|
||||
"description": " × Module build failed:",
|
||||
"description": " ╰─▶ × Error: x Route segment config "runtime" is not compatible with \`nextConfig.experimental.useCache\`. Please remove it.",
|
||||
"environmentLabel": null,
|
||||
"label": "Build Error",
|
||||
"source": "<FIXME-nextjs-internal-source>
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Route segment config "runtime" is not compatible with \`nextConfig.experimental.useCache\`. Please remove it.
|
||||
│ ,-[1:1]
|
||||
│ 1 | export const runtime = 'edge'
|
||||
@@ -98,7 +97,6 @@ describe('use-cache-segment-configs', () => {
|
||||
expect(buildOutput).toMatchInlineSnapshot(`
|
||||
"
|
||||
// TODO(veil): Fix broken import trace for Webpack loader resource.
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Route segment config "runtime" is not compatible with \`nextConfig.experimental.useCache\`. Please remove it.
|
||||
│ ,-[1:1]
|
||||
│ 1 | export const runtime = 'edge'
|
||||
|
||||
@@ -50,7 +50,6 @@ describe('use-cache-unknown-cache-kind', () => {
|
||||
expect(buildOutput).toMatchInlineSnapshot(`
|
||||
"
|
||||
./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unknown cache kind "custom". Please configure a cache handler for this kind in the \`cacheHandlers\` object in your Next.js config.
|
||||
│
|
||||
│ ,-[1:1]
|
||||
@@ -118,7 +117,7 @@ describe('use-cache-unknown-cache-kind', () => {
|
||||
)
|
||||
} else if (isRspack) {
|
||||
expect(errorDescription).toMatchInlineSnapshot(
|
||||
`" × Module build failed:"`
|
||||
`" ╰─▶ × Error: x Unknown cache kind "custom". Please configure a cache handler for this kind in the \`cacheHandlers\` object in your Next.js config."`
|
||||
)
|
||||
} else {
|
||||
expect(errorDescription).toMatchInlineSnapshot(
|
||||
@@ -141,9 +140,8 @@ describe('use-cache-unknown-cache-kind', () => {
|
||||
} else if (isRspack) {
|
||||
expect(errorSource).toMatchInlineSnapshot(`
|
||||
"./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x Unknown cache kind "custom". Please configure a cache handler for this kind in the \`cacheHandlers\` object in your Next.js config.
|
||||
│ |
|
||||
│
|
||||
│ ,-[1:1]
|
||||
│ 1 | 'use cache: custom'
|
||||
│ : ^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
+1
-3
@@ -53,7 +53,6 @@ describe('use-cache-without-experimental-flag', () => {
|
||||
expect(buildOutput).toMatchInlineSnapshot(`
|
||||
"
|
||||
./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x To use "use cache", please enable the feature flag \`cacheComponents\` in your Next.js config.
|
||||
│ |
|
||||
│ | Read more: https://nextjs.org/docs/canary/app/api-reference/directives/use-cache#usage
|
||||
@@ -114,7 +113,7 @@ describe('use-cache-without-experimental-flag', () => {
|
||||
)
|
||||
} else if (isRspack) {
|
||||
expect(errorDescription).toMatchInlineSnapshot(
|
||||
`" × Module build failed:"`
|
||||
`" ╰─▶ × Error: x To use "use cache", please enable the feature flag \`cacheComponents\` in your Next.js config."`
|
||||
)
|
||||
} else {
|
||||
expect(errorDescription).toMatchInlineSnapshot(
|
||||
@@ -139,7 +138,6 @@ describe('use-cache-without-experimental-flag', () => {
|
||||
} else if (isRspack) {
|
||||
expect(errorSource).toMatchInlineSnapshot(`
|
||||
"./app/page.tsx
|
||||
× Module build failed:
|
||||
╰─▶ × Error: x To use "use cache", please enable the feature flag \`cacheComponents\` in your Next.js config.
|
||||
│ |
|
||||
│ | Read more: https://nextjs.org/docs/canary/app/api-reference/directives/use-cache#usage
|
||||
|
||||
Reference in New Issue
Block a user