diff --git a/package.json b/package.json index 8508d2a7a0a94..963a4225cde78 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/next-rspack/package.json b/packages/next-rspack/package.json index 4982b532b080d..200f3a54d3234 100644 --- a/packages/next-rspack/package.json +++ b/packages/next-rspack/package.json @@ -7,6 +7,6 @@ }, "types": "index.d.ts", "dependencies": { - "@next/rspack-core": "1.0.1" + "@next/rspack-core": "npm:@next-rspack/core@1.0.1-beta.4" } } diff --git a/packages/next/package.json b/packages/next/package.json index 091fbcdd5e984..41da278ebc261 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -170,7 +170,7 @@ "@next/swc": "16.1.0-canary.14", "@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", diff --git a/packages/next/src/compiled/sass-loader/cjs.js b/packages/next/src/compiled/sass-loader/cjs.js index 28e1089a61549..7be8ce1537b62 100644 --- a/packages/next/src/compiled/sass-loader/cjs.js +++ b/packages/next/src/compiled/sass-loader/cjs.js @@ -1 +1 @@ -(function(){"use strict";var __webpack_modules__={341:function(e,t,s){const n=s(685);e.exports=n.default},685:function(e,t,s){Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(s(310));var o=_interopRequireDefault(s(17));var r=_interopRequireDefault(s(115));var a=s(61);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e){const t=this.getOptions(r.default);const s=this.async();let i;try{i=(0,a.getSassImplementation)(this,t.implementation)}catch(e){s(e);return}const c=typeof t.sourceMap==="boolean"?t.sourceMap:this.sourceMap;const l=typeof i.compileStringAsync==="undefined"?"legacy":typeof t.api==="undefined"?"modern":t.api;const p=await(0,a.getSassOptions)(this,t,e,i,c,l);const u=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(u){const e=l==="modern"||l==="modern-compiler";if(!e){const{includePaths:e}=p;p.importer.push((0,a.getWebpackImporter)(this,i,e))}else{p.importers.push((0,a.getModernWebpackImporter)(this,i,[]))}}let d;try{d=(0,a.getCompileFn)(this,i,l)}catch(e){s(e);return}let f;try{f=await d(p)}catch(e){if(e.span&&typeof e.span.url!=="undefined"){this.addDependency(n.default.fileURLToPath(e.span.url))}else if(typeof e.file!=="undefined"){this.addDependency(o.default.normalize(e.file))}s((0,a.errorFactory)(e));return}let m=f.sourceMap?f.sourceMap:f.map?JSON.parse(f.map):null;if(m&&c){m=(0,a.normalizeSourceMap)(m,this.rootContext)}if(typeof f.loadedUrls!=="undefined"){f.loadedUrls.filter((e=>e.protocol==="file:")).forEach((e=>{const t=n.default.fileURLToPath(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}else if(typeof f.stats!=="undefined"&&typeof f.stats.includedFiles!=="undefined"){f.stats.includedFiles.forEach((e=>{const t=o.default.normalize(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}s(null,f.css.toString(),m)}var i=t["default"]=loader},61:function(__unused_webpack_module,exports,__nccwpck_require__){Object.defineProperty(exports,"__esModule",{value:true});exports.errorFactory=errorFactory;exports.getCompileFn=getCompileFn;exports.getModernWebpackImporter=getModernWebpackImporter;exports.getSassImplementation=getSassImplementation;exports.getSassOptions=getSassOptions;exports.getWebpackImporter=getWebpackImporter;exports.getWebpackResolver=getWebpackResolver;exports.normalizeSourceMap=normalizeSourceMap;var _url=_interopRequireDefault(__nccwpck_require__(310));var _path=_interopRequireDefault(__nccwpck_require__(17));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getDefaultSassImplementation(){let sassImplPkg="sass";try{eval("require").resolve("sass-embedded");sassImplPkg="sass-embedded"}catch(ignoreError){try{eval("require").resolve("sass")}catch(_ignoreError){try{eval("require").resolve("node-sass");sassImplPkg="node-sass"}catch(e){sassImplPkg="sass"}}}return __nccwpck_require__(438)}function getSassImplementation(e,t){let s=t;if(!s){s=getDefaultSassImplementation()}if(typeof s==="string"){s=require(s)}const{info:n}=s;if(!n){throw new Error("Unknown Sass implementation.")}const o=n.split("\t");if(o.length<2){throw new Error(`Unknown Sass implementation "${n}".`)}const[r]=o;if(r==="dart-sass"){return s}else if(r==="node-sass"){return s}else if(r==="sass-embedded"){return s}throw new Error(`Unknown Sass implementation "${r}".`)}function isProductionLikeMode(e){return e.mode==="production"||!e.mode}function proxyCustomImporters(e,t){return[].concat(e).map((e=>function proxyImporter(...s){const n={...this,webpackLoaderContext:t};return e.apply(n,s)}))}async function getSassOptions(e,t,s,n,o,r){const a=t.sassOptions?typeof t.sassOptions==="function"?t.sassOptions(e)||{}:t.sassOptions:{};const i={...a,data:t.additionalData?typeof t.additionalData==="function"?await t.additionalData(s,e):`${t.additionalData}\n${s}`:s};if(!i.logger){const s=t.warnRuleAsWarning!==false;const n=e.getLogger("sass-loader");const formatSpan=e=>`Warning on line ${e.start.line}, column ${e.start.column} of ${e.url||"-"}:${e.start.line}:${e.start.column}:\n`;const formatDebugSpan=e=>`[debug:${e.start.line}:${e.start.column}] `;i.logger={debug(e,t){let s="";if(t.span){s=formatDebugSpan(t.span)}s+=e;n.debug(s)},warn(t,o){let r="";if(o.deprecation){r+="Deprecation "}if(o.span){r+=formatSpan(o.span)}r+=t;if(o.span&&o.span.context){r+=`\n\n${o.span.start.line} | ${o.span.context}`}if(o.stack&&o.stack!=="null"){r+=`\n\n${o.stack}`}if(s){const t=new Error(r);t.name="SassWarning";t.stack=null;e.emitWarning(t)}else{n.warn(r)}}}}const c=r==="modern"||r==="modern-compiler";const{resourcePath:l}=e;if(c){i.url=_url.default.pathToFileURL(l);if(!i.style&&isProductionLikeMode(e)){i.style="compressed"}if(o){i.sourceMap=true;i.sourceMapIncludeSources=true}if(typeof i.syntax==="undefined"){const e=_path.default.extname(l);if(e&&e.toLowerCase()===".scss"){i.syntax="scss"}else if(e&&e.toLowerCase()===".sass"){i.syntax="indented"}else if(e&&e.toLowerCase()===".css"){i.syntax="css"}}i.loadPaths=[].concat((i.loadPaths?i.loadPaths.slice():[]).map((e=>_path.default.isAbsolute(e)?e:_path.default.join(process.cwd(),e)))).concat(process.env.SASS_PATH?process.env.SASS_PATH.split(process.platform==="win32"?";":":"):[]);i.importers=i.importers?Array.isArray(i.importers)?i.importers.slice():[i.importers]:[]}else{i.file=l;if(!i.outputStyle&&isProductionLikeMode(e)){i.outputStyle="compressed"}if(o){i.sourceMap=true;i.outFile=_path.default.join(e.rootContext,"style.css.map");i.sourceMapContents=true;i.omitSourceMapUrl=true;i.sourceMapEmbed=false}const s=_path.default.extname(l);if(s&&s.toLowerCase()===".sass"&&typeof i.indentedSyntax==="undefined"){i.indentedSyntax=true}else{i.indentedSyntax=Boolean(i.indentedSyntax)}i.importer=i.importer?proxyCustomImporters(Array.isArray(i.importer)?i.importer.slice():[i.importer],e):[];if(t.webpackImporter===false&&i.importer.length===0){i.importer=undefined}i.includePaths=[].concat(process.cwd()).concat((i.includePaths?i.includePaths.slice():[]).map((e=>_path.default.isAbsolute(e)?e:_path.default.join(process.cwd(),e)))).concat(process.env.SASS_PATH?process.env.SASS_PATH.split(process.platform==="win32"?";":":"):[]);if(typeof i.charset==="undefined"){i.charset=true}}return i}const MODULE_REQUEST_REGEX=/^[^?]*~/;const IS_MODULE_IMPORT=/^~([^/]+|[^/]+\/|@[^/]+[/][^/]+|@[^/]+\/?|@[^/]+[/][^/]+\/)$/;const IS_PKG_SCHEME=/^pkg:/i;function getPossibleRequests(e,t=false,s=false){let n=e;if(t){if(MODULE_REQUEST_REGEX.test(e)){n=n.replace(MODULE_REQUEST_REGEX,"")}if(IS_PKG_SCHEME.test(e)){n=`${n.slice(4)}`;return[...new Set([n,e])]}if(IS_MODULE_IMPORT.test(e)||IS_PKG_SCHEME.test(e)){n=n[n.length-1]==="/"?n:`${n}/`;return[...new Set([n,e])]}}const o=_path.default.extname(n).toLowerCase();if(o===".css"){return s?[]:[e]}const r=_path.default.dirname(n);const a=r==="."?"":`${r}/`;const i=_path.default.basename(n);const c=_path.default.basename(n,o);return[...new Set([].concat(s?[`${a}_${c}.import${o}`,`${a}${c}.import${o}`]:[]).concat([`${a}_${i}`,`${a}${i}`]).concat(t?[e]:[]))]}function promiseResolve(e){return(t,s)=>new Promise(((n,o)=>{e(t,s,((e,t)=>{if(e){o(e)}else{n(t)}}))}))}async function startResolving(e){if(e.length===0){return Promise.reject()}const[{possibleRequests:t}]=e;if(t.length===0){return Promise.reject()}const[{resolve:s,context:n}]=e;try{return await s(n,t[0])}catch(s){const[,...n]=t;if(n.length===0){const[,...t]=e;return startResolving(t)}e[0].possibleRequests=n;return startResolving(e)}}const IS_SPECIAL_MODULE_IMPORT=/^~[^/]+$/;const IS_NATIVE_WIN32_PATH=/^[a-z]:[/\\]|^\\\\/i;function getWebpackResolver(e,t,s=[]){const n=t&&typeof t.compileStringAsync!=="undefined";const o=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const r=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index.import","_index","index.import","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const a=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style","..."],mainFields:["sass","style","main","..."],mainFiles:["_index","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const i=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style","..."],mainFields:["sass","style","main","..."],mainFiles:["_index.import","_index","index.import","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));return(e,t,c)=>{if(!n&&!_path.default.isAbsolute(e)){return Promise.reject()}const l=t;const p=l.slice(0,5).toLowerCase()==="file:";if(p){try{t=_url.default.fileURLToPath(l)}catch(e){t=t.slice(7)}}let u=[];const d=!IS_SPECIAL_MODULE_IMPORT.test(t)&&!IS_PKG_SCHEME.test(t)&&!p&&!l.startsWith("/")&&!IS_NATIVE_WIN32_PATH.test(l);if(s.length>0&&d){const a=getPossibleRequests(t,false,c);if(!n){u=u.concat({resolve:c?r:o,context:_path.default.dirname(e),possibleRequests:a})}u=u.concat(s.map((e=>({resolve:c?r:o,context:e,possibleRequests:a}))))}const f=getPossibleRequests(t,true,c);u=u.concat({resolve:c?i:a,context:_path.default.dirname(e),possibleRequests:f});return startResolving(u)}}const MATCH_CSS=/\.css$/i;function getModernWebpackImporter(e,t,s){const n=getWebpackResolver(e.getResolve,t,s);return{async canonicalize(t,s){const{fromImport:o}=s;const r=s.containingUrl?_url.default.fileURLToPath(s.containingUrl.toString()):e.resourcePath;let a;try{a=await n(r,t,o)}catch(e){return null}e.addDependency(_path.default.normalize(a));return _url.default.pathToFileURL(a)},async load(t){const s=_path.default.extname(t.pathname);let n;if(s&&s.toLowerCase()===".scss"){n="scss"}else if(s&&s.toLowerCase()===".sass"){n="indented"}else if(s&&s.toLowerCase()===".css"){n="css"}else{n="scss"}try{const s=await new Promise(((s,n)=>{const o=_url.default.fileURLToPath(t);e.fs.readFile(o,"utf8",((e,t)=>{if(e){n(e);return}s(t)}))}));return{contents:s,syntax:n,sourceMapUrl:t}}catch(e){return null}}}}function getWebpackImporter(e,t,s){const n=getWebpackResolver(e.getResolve,t,s);return function importer(t,s,o){const{fromImport:r}=this;n(s,t,typeof r==="undefined"?true:r).then((t=>{e.addDependency(_path.default.normalize(t));o({file:t.replace(MATCH_CSS,"")})})).catch((()=>{o({file:t})}))}}let nodeSassJobQueue=null;const sassModernCompilers=new WeakMap;function getCompileFn(e,t,s){if(typeof t.compileStringAsync!=="undefined"){if(s==="modern"){return e=>{const{data:s,...n}=e;return t.compileStringAsync(s,n)}}if(s==="modern-compiler"){return async s=>{const n=e._compiler;const{data:o,...r}=s;if(n){if(!sassModernCompilers.has(n)){const e=await t.initAsyncCompiler();if(!sassModernCompilers.has(n)){sassModernCompilers.set(n,e);n.hooks.shutdown.tap("sass-loader",(()=>{e.dispose()}))}else{e.dispose()}}return sassModernCompilers.get(n).compileStringAsync(o,r)}return t.compileStringAsync(o,r)}}return e=>new Promise(((s,n)=>{t.render(e,((e,t)=>{if(e){n(e);return}s(t)}))}))}if(s==="modern"||s==="modern-compiler"){throw new Error("Modern API is not supported for 'node-sass'")}if(nodeSassJobQueue===null){const e=Number(process.env.UV_THREADPOOL_SIZE||4);const s=__nccwpck_require__(175);nodeSassJobQueue=s.queue(t.render.bind(t),e-1)}return e=>new Promise(((t,s)=>{nodeSassJobQueue.push.bind(nodeSassJobQueue)(e,((e,n)=>{if(e){s(e);return}t(n)}))}))}const ABSOLUTE_SCHEME=/^[A-Za-z0-9+\-.]+:/;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(IS_NATIVE_WIN32_PATH.test(e)){return"path-absolute"}return ABSOLUTE_SCHEME.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){const s=e;if(typeof s.file!=="undefined"){delete s.file}s.sourceRoot="";s.sources=s.sources.map((e=>{const s=getURLType(e);if(s==="absolute"&&/^file:/i.test(e)){return _url.default.fileURLToPath(e)}else if(s==="path-relative"){return _path.default.resolve(t,_path.default.normalize(e))}return e}));return s}function errorFactory(e){let t;if(e.formatted){t=e.formatted.replace(/^(.+)?Error: /,"")}else{t=(e.message||e.toString()).replace(/^(.+)?Error: /,"")}const s=new Error(t,{cause:e});s.name=e.name;s.stack=null;return s}},175:function(e){e.exports=require("next/dist/compiled/neo-async")},17:function(e){e.exports=require("path")},438:function(e){e.exports=require("sass")},310:function(e){e.exports=require("url")},115:function(e){e.exports=JSON.parse('{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var s=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e](s,s.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(341);module.exports=__webpack_exports__})(); \ No newline at end of file +(function(){"use strict";var __webpack_modules__={784:function(e,t,s){const n=s(115);e.exports=n.default},115:function(e,t,s){Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(s(310));var o=_interopRequireDefault(s(17));var r=_interopRequireDefault(s(176));var a=s(572);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function loader(e){const t=this.getOptions(r.default);const s=this.async();let i;try{i=(0,a.getSassImplementation)(this,t.implementation)}catch(e){s(e);return}const c=typeof t.sourceMap==="boolean"?t.sourceMap:this.sourceMap;const l=typeof i.compileStringAsync==="undefined"?"legacy":typeof t.api==="undefined"?"modern":t.api;const p=await(0,a.getSassOptions)(this,t,e,i,c,l);const u=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(u){const e=l==="modern"||l==="modern-compiler";if(!e){const{includePaths:e}=p;p.importer.push((0,a.getWebpackImporter)(this,i,e))}else{p.importers.push((0,a.getModernWebpackImporter)(this,i,[]))}}let d;try{d=(0,a.getCompileFn)(this,i,l)}catch(e){s(e);return}let f;try{f=await d(p)}catch(e){if(e.span&&typeof e.span.url!=="undefined"){this.addDependency(n.default.fileURLToPath(e.span.url))}else if(typeof e.file!=="undefined"){this.addDependency(o.default.normalize(e.file))}s((0,a.errorFactory)(e));return}let m=f.sourceMap?f.sourceMap:f.map?JSON.parse(f.map):null;if(m&&c){m=(0,a.normalizeSourceMap)(m,this.rootContext)}if(typeof f.loadedUrls!=="undefined"){f.loadedUrls.filter((e=>e.protocol==="file:")).forEach((e=>{const t=n.default.fileURLToPath(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}else if(typeof f.stats!=="undefined"&&typeof f.stats.includedFiles!=="undefined"){f.stats.includedFiles.forEach((e=>{const t=o.default.normalize(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}s(null,f.css.toString(),m)}var i=t["default"]=loader},572:function(__unused_webpack_module,exports,__nccwpck_require__){Object.defineProperty(exports,"__esModule",{value:true});exports.errorFactory=errorFactory;exports.getCompileFn=getCompileFn;exports.getModernWebpackImporter=getModernWebpackImporter;exports.getSassImplementation=getSassImplementation;exports.getSassOptions=getSassOptions;exports.getWebpackImporter=getWebpackImporter;exports.getWebpackResolver=getWebpackResolver;exports.normalizeSourceMap=normalizeSourceMap;var _url=_interopRequireDefault(__nccwpck_require__(310));var _path=_interopRequireDefault(__nccwpck_require__(17));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getDefaultSassImplementation(){let sassImplPkg="sass";try{eval("require").resolve("sass-embedded");sassImplPkg="sass-embedded"}catch(ignoreError){try{eval("require").resolve("sass")}catch(_ignoreError){try{eval("require").resolve("node-sass");sassImplPkg="node-sass"}catch(e){sassImplPkg="sass"}}}return __nccwpck_require__(438)}function getSassImplementation(e,t){let s=t;if(!s){s=getDefaultSassImplementation()}if(typeof s==="string"){s=require(s)}const{info:n}=s;if(!n){throw new Error("Unknown Sass implementation.")}const o=n.split("\t");if(o.length<2){throw new Error(`Unknown Sass implementation "${n}".`)}const[r]=o;if(r==="dart-sass"){return s}else if(r==="node-sass"){return s}else if(r==="sass-embedded"){return s}throw new Error(`Unknown Sass implementation "${r}".`)}function isProductionLikeMode(e){return e.mode==="production"||!e.mode}function proxyCustomImporters(e,t){return[].concat(e).map((e=>function proxyImporter(...s){const n={...this,webpackLoaderContext:t};return e.apply(n,s)}))}async function getSassOptions(e,t,s,n,o,r){const a=t.sassOptions?typeof t.sassOptions==="function"?t.sassOptions(e)||{}:t.sassOptions:{};const i={...a,data:t.additionalData?typeof t.additionalData==="function"?await t.additionalData(s,e):`${t.additionalData}\n${s}`:s};if(!i.logger){const s=t.warnRuleAsWarning!==false;const n=e.getLogger("sass-loader");const formatSpan=e=>`Warning on line ${e.start.line}, column ${e.start.column} of ${e.url||"-"}:${e.start.line}:${e.start.column}:\n`;const formatDebugSpan=e=>`[debug:${e.start.line}:${e.start.column}] `;i.logger={debug(e,t){let s="";if(t.span){s=formatDebugSpan(t.span)}s+=e;n.debug(s)},warn(t,o){let r="";if(o.deprecation){r+="Deprecation "}if(o.span){r+=formatSpan(o.span)}r+=t;if(o.span&&o.span.context){r+=`\n\n${o.span.start.line} | ${o.span.context}`}if(o.stack&&o.stack!=="null"){r+=`\n\n${o.stack}`}if(s){const t=new Error(r);t.name="SassWarning";t.stack=null;e.emitWarning(t)}else{n.warn(r)}}}}const c=r==="modern"||r==="modern-compiler";const{resourcePath:l}=e;if(c){i.url=_url.default.pathToFileURL(l);if(!i.style&&isProductionLikeMode(e)){i.style="compressed"}if(o){i.sourceMap=true;i.sourceMapIncludeSources=true}if(typeof i.syntax==="undefined"){const e=_path.default.extname(l);if(e&&e.toLowerCase()===".scss"){i.syntax="scss"}else if(e&&e.toLowerCase()===".sass"){i.syntax="indented"}else if(e&&e.toLowerCase()===".css"){i.syntax="css"}}i.loadPaths=[].concat((i.loadPaths?i.loadPaths.slice():[]).map((e=>_path.default.isAbsolute(e)?e:_path.default.join(process.cwd(),e)))).concat(process.env.SASS_PATH?process.env.SASS_PATH.split(process.platform==="win32"?";":":"):[]);i.importers=i.importers?Array.isArray(i.importers)?i.importers.slice():[i.importers]:[]}else{i.file=l;if(!i.outputStyle&&isProductionLikeMode(e)){i.outputStyle="compressed"}if(o){i.sourceMap=true;i.outFile=_path.default.join(e.rootContext,"style.css.map");i.sourceMapContents=true;i.omitSourceMapUrl=true;i.sourceMapEmbed=false}const s=_path.default.extname(l);if(s&&s.toLowerCase()===".sass"&&typeof i.indentedSyntax==="undefined"){i.indentedSyntax=true}else{i.indentedSyntax=Boolean(i.indentedSyntax)}i.importer=i.importer?proxyCustomImporters(Array.isArray(i.importer)?i.importer.slice():[i.importer],e):[];if(t.webpackImporter===false&&i.importer.length===0){i.importer=undefined}i.includePaths=[].concat(process.cwd()).concat((i.includePaths?i.includePaths.slice():[]).map((e=>_path.default.isAbsolute(e)?e:_path.default.join(process.cwd(),e)))).concat(process.env.SASS_PATH?process.env.SASS_PATH.split(process.platform==="win32"?";":":"):[]);if(typeof i.charset==="undefined"){i.charset=true}}return i}const MODULE_REQUEST_REGEX=/^[^?]*~/;const IS_MODULE_IMPORT=/^~([^/]+|[^/]+\/|@[^/]+[/][^/]+|@[^/]+\/?|@[^/]+[/][^/]+\/)$/;const IS_PKG_SCHEME=/^pkg:/i;function getPossibleRequests(e,t=false,s=false){let n=e;if(t){if(MODULE_REQUEST_REGEX.test(e)){n=n.replace(MODULE_REQUEST_REGEX,"")}if(IS_PKG_SCHEME.test(e)){n=`${n.slice(4)}`;return[...new Set([n,e])]}if(IS_MODULE_IMPORT.test(e)||IS_PKG_SCHEME.test(e)){n=n[n.length-1]==="/"?n:`${n}/`;return[...new Set([n,e])]}}const o=_path.default.extname(n).toLowerCase();if(o===".css"){return s?[]:[e]}const r=_path.default.dirname(n);const a=r==="."?"":`${r}/`;const i=_path.default.basename(n);const c=_path.default.basename(n,o);return[...new Set([].concat(s?[`${a}_${c}.import${o}`,`${a}${c}.import${o}`]:[]).concat([`${a}_${i}`,`${a}${i}`]).concat(t?[e]:[]))]}function promiseResolve(e){return(t,s)=>new Promise(((n,o)=>{e(t,s,((e,t)=>{if(e){o(e)}else{n(t)}}))}))}async function startResolving(e){if(e.length===0){return Promise.reject()}const[{possibleRequests:t}]=e;if(t.length===0){return Promise.reject()}const[{resolve:s,context:n}]=e;try{return await s(n,t[0])}catch(s){const[,...n]=t;if(n.length===0){const[,...t]=e;return startResolving(t)}e[0].possibleRequests=n;return startResolving(e)}}const IS_SPECIAL_MODULE_IMPORT=/^~[^/]+$/;const IS_NATIVE_WIN32_PATH=/^[a-z]:[/\\]|^\\\\/i;function getWebpackResolver(e,t,s=[]){const n=t&&typeof t.compileStringAsync!=="undefined";const o=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const r=promiseResolve(e({alias:[],aliasFields:[],conditionNames:[],descriptionFiles:[],extensions:[".sass",".scss",".css"],exportsFields:[],mainFields:[],mainFiles:["_index.import","_index","index.import","index"],modules:[],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const a=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style","..."],mainFields:["sass","style","main","..."],mainFiles:["_index","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));const i=promiseResolve(e({dependencyType:"sass",conditionNames:["sass","style","..."],mainFields:["sass","style","main","..."],mainFiles:["_index.import","_index","index.import","index","..."],extensions:[".sass",".scss",".css"],restrictions:[/\.((sa|sc|c)ss)$/i],preferRelative:true}));return(e,t,c)=>{if(!n&&!_path.default.isAbsolute(e)){return Promise.reject()}const l=t;const p=l.slice(0,5).toLowerCase()==="file:";if(p){try{t=_url.default.fileURLToPath(l)}catch(e){t=t.slice(7)}}let u=[];const d=!IS_SPECIAL_MODULE_IMPORT.test(t)&&!IS_PKG_SCHEME.test(t)&&!p&&!l.startsWith("/")&&!IS_NATIVE_WIN32_PATH.test(l);if(s.length>0&&d){const a=getPossibleRequests(t,false,c);if(!n){u=u.concat({resolve:c?r:o,context:_path.default.dirname(e),possibleRequests:a})}u=u.concat(s.map((e=>({resolve:c?r:o,context:e,possibleRequests:a}))))}const f=getPossibleRequests(t,true,c);u=u.concat({resolve:c?i:a,context:_path.default.dirname(e),possibleRequests:f});return startResolving(u)}}const MATCH_CSS=/\.css$/i;function getModernWebpackImporter(e,t,s){const n=getWebpackResolver(e.getResolve,t,s);return{async canonicalize(t,s){const{fromImport:o}=s;const r=s.containingUrl?_url.default.fileURLToPath(s.containingUrl.toString()):e.resourcePath;let a;try{a=await n(r,t,o)}catch(e){return null}e.addDependency(_path.default.normalize(a));return _url.default.pathToFileURL(a)},async load(t){const s=_path.default.extname(t.pathname);let n;if(s&&s.toLowerCase()===".scss"){n="scss"}else if(s&&s.toLowerCase()===".sass"){n="indented"}else if(s&&s.toLowerCase()===".css"){n="css"}else{n="scss"}try{const s=await new Promise(((s,n)=>{const o=_url.default.fileURLToPath(t);e.fs.readFile(o,"utf8",((e,t)=>{if(e){n(e);return}s(t)}))}));return{contents:s,syntax:n,sourceMapUrl:t}}catch(e){return null}}}}function getWebpackImporter(e,t,s){const n=getWebpackResolver(e.getResolve,t,s);return function importer(t,s,o){const{fromImport:r}=this;n(s,t,typeof r==="undefined"?true:r).then((t=>{e.addDependency(_path.default.normalize(t));o({file:t.replace(MATCH_CSS,"")})})).catch((()=>{o({file:t})}))}}let nodeSassJobQueue=null;const sassModernCompilers=new WeakMap;function getCompileFn(e,t,s){if(typeof t.compileStringAsync!=="undefined"){if(s==="modern"){return e=>{const{data:s,...n}=e;return t.compileStringAsync(s,n)}}if(s==="modern-compiler"){return async s=>{const n=e._compiler;const{data:o,...r}=s;if(n){if(!sassModernCompilers.has(n)){const e=await t.initAsyncCompiler();if(!sassModernCompilers.has(n)){sassModernCompilers.set(n,e);n.hooks.shutdown.tap("sass-loader",(()=>{e.dispose()}))}else{e.dispose()}}return sassModernCompilers.get(n).compileStringAsync(o,r)}return t.compileStringAsync(o,r)}}return e=>new Promise(((s,n)=>{t.render(e,((e,t)=>{if(e){n(e);return}s(t)}))}))}if(s==="modern"||s==="modern-compiler"){throw new Error("Modern API is not supported for 'node-sass'")}if(nodeSassJobQueue===null){const e=Number(process.env.UV_THREADPOOL_SIZE||4);const s=__nccwpck_require__(175);nodeSassJobQueue=s.queue(t.render.bind(t),e-1)}return e=>new Promise(((t,s)=>{nodeSassJobQueue.push.bind(nodeSassJobQueue)(e,((e,n)=>{if(e){s(e);return}t(n)}))}))}const ABSOLUTE_SCHEME=/^[A-Za-z0-9+\-.]+:/;function getURLType(e){if(e[0]==="/"){if(e[1]==="/"){return"scheme-relative"}return"path-absolute"}if(IS_NATIVE_WIN32_PATH.test(e)){return"path-absolute"}return ABSOLUTE_SCHEME.test(e)?"absolute":"path-relative"}function normalizeSourceMap(e,t){const s=e;if(typeof s.file!=="undefined"){delete s.file}s.sourceRoot="";s.sources=s.sources.map((e=>{const s=getURLType(e);if(s==="absolute"&&/^file:/i.test(e)){return _url.default.fileURLToPath(e)}else if(s==="path-relative"){return _path.default.resolve(t,_path.default.normalize(e))}return e}));return s}function errorFactory(e){let t;if(e.formatted){t=e.formatted.replace(/^(.+)?Error: /,"")}else{t=(e.message||e.toString()).replace(/^(.+)?Error: /,"")}const s=new Error(t,{cause:e});s.name=e.name;s.stack=null;return s}},175:function(e){e.exports=require("next/dist/compiled/neo-async")},17:function(e){e.exports=require("path")},438:function(e){e.exports=require("sass")},310:function(e){e.exports=require("url")},176:function(e){e.exports=JSON.parse('{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}')}};var __webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var s=__webpack_module_cache__[e]={exports:{}};var n=true;try{__webpack_modules__[e](s,s.exports,__nccwpck_require__);n=false}finally{if(n)delete __webpack_module_cache__[e]}return s.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var __webpack_exports__=__nccwpck_require__(784);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/packages/next/src/shared/lib/format-webpack-messages.ts b/packages/next/src/shared/lib/format-webpack-messages.ts index a1b27a8d29499..aae9ed10574bb 100644 --- a/packages/next/src/shared/lib/format-webpack-messages.ts +++ b/packages/next/src/shared/lib/format-webpack-messages.ts @@ -59,6 +59,13 @@ 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 (!message.moduleName && !message.file) { + const parts = message.moduleIdentifier.split('!') + message.moduleName = parts[parts.length - 1] + } + message = (message.moduleName ? stripAnsi(message.moduleName) + '\n' : '') + (message.file ? stripAnsi(message.file) + '\n' : '') + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0de49280dff7..a8c59e7759e72 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -136,8 +136,8 @@ importers: specifier: 1.5.10 version: 1.5.10 '@rspack/core': - specifier: 1.6.0 - version: 1.6.0(@swc/helpers@0.5.15) + specifier: 1.6.7 + version: 1.6.7(@swc/helpers@0.5.15) '@slack/web-api': specifier: 7.9.1 version: 7.9.1 @@ -745,7 +745,7 @@ importers: version: 9.37.0(jiti@2.5.1) eslint-config-next: specifier: canary - version: link:../../packages/eslint-config-next + version: 16.1.0-canary.16(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2) tailwindcss: specifier: 4.1.13 version: 4.1.13 @@ -1225,8 +1225,8 @@ importers: specifier: 1.51.1 version: 1.51.1 '@rspack/core': - specifier: 1.6.0 - version: 1.6.0(@swc/helpers@0.5.15) + specifier: 1.6.7 + version: 1.6.7(@swc/helpers@0.5.15) '@storybook/addon-a11y': specifier: 8.6.0 version: 8.6.0(storybook@8.6.0(prettier@3.6.2)) @@ -1247,7 +1247,7 @@ importers: version: 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) '@storybook/react-webpack5': specifier: 8.6.0 - version: 8.6.0(@rspack/core@1.6.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) + version: 8.6.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) '@storybook/test': specifier: 8.6.0 version: 8.6.0(storybook@8.6.0(prettier@3.6.2)) @@ -1472,7 +1472,7 @@ importers: version: 3.12.0 css-loader: specifier: 7.1.2 - version: 7.1.2(@rspack/core@1.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) + version: 7.1.2(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) css.escape: specifier: 1.5.1 version: 1.5.1 @@ -1652,7 +1652,7 @@ importers: version: 2.5.0 sass-loader: specifier: 16.0.5 - version: 16.0.5(@rspack/core@1.6.0(@swc/helpers@0.5.15))(sass@1.77.8)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) + version: 16.0.5(@rspack/core@1.6.7(@swc/helpers@0.5.15))(sass@1.77.8)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) schema-utils2: specifier: npm:schema-utils@2.7.1 version: schema-utils@2.7.1 @@ -1885,8 +1885,8 @@ importers: packages/next-rspack: dependencies: '@next/rspack-core': - specifier: 1.0.1 - version: 1.0.1(@swc/helpers@0.5.15) + specifier: npm:@next-rspack/core@1.0.1-beta.4 + version: '@next-rspack/core@1.0.1-beta.4(@swc/helpers@0.5.15)' packages/next-swc: devDependencies: @@ -2089,12 +2089,14 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@ast-grep/cli-linux-x64-gnu@0.31.0': resolution: {integrity: sha512-LqJpwTrEfOrV1+zMkBvYNmDTcMVAt4xZI5aIOVw4bau78jYTnu7gbwZnofx67ZdLKInnxlE2+oKKLVO/seNbgw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@ast-grep/cli-win32-arm64-msvc@0.31.0': resolution: {integrity: sha512-rQWWEvpOMp11VoCyJIJgyB8xc/QbOXnJ+8bqHmOKdpK2gfwHevgQbwlPEMGDCah1rYyzt/2X8MSw0DtcRIrzvw==} @@ -3664,78 +3666,92 @@ packages: resolution: {integrity: sha512-I4RxkXU90cpufazhGPyVujYwfIm9Nk1QDEmiIsaPwdnm013F7RIceaCc87kAH+oUB1ezqEvC6ga4m7MSlqsJvQ==} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-arm@1.2.3': resolution: {integrity: sha512-x1uE93lyP6wEwGvgAIV0gP6zmaL/a0tGzJs/BIDDG0zeBhMnuUPm7ptxGhUbcGs4okDJrk4nxgrmxpib9g6HpA==} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-ppc64@1.2.3': resolution: {integrity: sha512-Y2T7IsQvJLMCBM+pmPbM3bKT/yYJvVtLJGfCs4Sp95SjvnFIjynbjzsa7dY1fRJX45FTSfDksbTp6AGWudiyCg==} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-s390x@1.2.3': resolution: {integrity: sha512-RgWrs/gVU7f+K7P+KeHFaBAJlNkD1nIZuVXdQv6S+fNA6syCcoboNjsV2Pou7zNlVdNQoQUpQTk8SWDHUA3y/w==} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-libvips-linux-x64@1.2.3': resolution: {integrity: sha512-3JU7LmR85K6bBiRzSUc/Ff9JBVIFVvq6bomKE0e63UXGeRw2HPVEjoJke1Yx+iU4rL7/7kUjES4dZ/81Qjhyxg==} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-libvips-linuxmusl-arm64@1.2.3': resolution: {integrity: sha512-F9q83RZ8yaCwENw1GieztSfj5msz7GGykG/BA+MOUefvER69K/ubgFHNeSyUu64amHIYKGDs4sRCMzXVj8sEyw==} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-libvips-linuxmusl-x64@1.2.3': resolution: {integrity: sha512-U5PUY5jbc45ANM6tSJpsgqmBF/VsL6LnxJmIf11kB7J5DctHgqm0SkuXzVWtIY90GnJxKnC/JT251TDnk1fu/g==} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-linux-arm64@0.34.4': resolution: {integrity: sha512-YXU1F/mN/Wu786tl72CyJjP/Ngl8mGHN1hST4BGl+hiW5jhCnV2uRVTNOcaYPs73NeT/H8Upm3y9582JVuZHrQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [glibc] '@img/sharp-linux-arm@0.34.4': resolution: {integrity: sha512-Xyam4mlqM0KkTHYVSuc6wXRmM7LGN0P12li03jAnZ3EJWZqj83+hi8Y9UxZUbxsgsK1qOEwg7O0Bc0LjqQVtxA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm] os: [linux] + libc: [glibc] '@img/sharp-linux-ppc64@0.34.4': resolution: {integrity: sha512-F4PDtF4Cy8L8hXA2p3TO6s4aDt93v+LKmpcYFLAVdkkD3hSxZzee0rh6/+94FpAynsuMpLX5h+LRsSG3rIciUQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [ppc64] os: [linux] + libc: [glibc] '@img/sharp-linux-s390x@0.34.4': resolution: {integrity: sha512-qVrZKE9Bsnzy+myf7lFKvng6bQzhNUAYcVORq2P7bDlvmF6u2sCmK2KyEQEBdYk+u3T01pVsPrkj943T1aJAsw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [s390x] os: [linux] + libc: [glibc] '@img/sharp-linux-x64@0.34.4': resolution: {integrity: sha512-ZfGtcp2xS51iG79c6Vhw9CWqQC8l2Ot8dygxoDoIQPTat/Ov3qAa8qpxSrtAEAJW+UjTXc4yxCjNfxm4h6Xm2A==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [glibc] '@img/sharp-linuxmusl-arm64@0.34.4': resolution: {integrity: sha512-8hDVvW9eu4yHWnjaOOR8kHVrew1iIX+MUgwxSuH2XyYeNRtLUe4VNioSqbNkB7ZYQJj9rUTT4PyRscyk2PXFKA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] + libc: [musl] '@img/sharp-linuxmusl-x64@0.34.4': resolution: {integrity: sha512-lU0aA5L8QTlfKjpDCEFOZsTYGn3AEiO6db8W5aQDxj0nQkVrZWmN3ZP9sYKWJdtq3PWPhUNlqehWyXpYDcI9Sg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] + libc: [musl] '@img/sharp-wasm32@0.34.4': resolution: {integrity: sha512-33QL6ZO/qpRyG7woB/HUALz28WnTMI2W1jgX3Nu2bypqLIKx/QKMILLJzJjI+SIbvXdG9fUnmrxR7vbi1sTBeA==} @@ -4330,23 +4346,23 @@ packages: resolution: {integrity: sha512-d//GE8/Yh7aC3e7p+kZG8JqqEAwwDUmAfvH1quogtbk+ksS6E0RR6toKKESPYYZVre0meqkJb27zb+dhqE9Sgw==} engines: {node: '>=18'} - '@module-federation/error-codes@0.21.2': - resolution: {integrity: sha512-mGbPAAApgjmQUl4J7WAt20aV04a26TyS21GDEpOGXFEQG5FqmZnSJ6FqB8K19HgTKioBT1+fF/Ctl5bGGao/EA==} + '@module-federation/error-codes@0.21.6': + resolution: {integrity: sha512-MLJUCQ05KnoVl8xd6xs9a5g2/8U+eWmVxg7xiBMeR0+7OjdWUbHwcwgVFatRIwSZvFgKHfWEiI7wsU1q1XbTRQ==} - '@module-federation/runtime-core@0.21.2': - resolution: {integrity: sha512-LtDnccPxjR8Xqa3daRYr1cH/6vUzK3mQSzgvnfsUm1fXte5syX4ftWw3Eu55VdqNY3yREFRn77AXdu9PfPEZRw==} + '@module-federation/runtime-core@0.21.6': + resolution: {integrity: sha512-5Hd1Y5qp5lU/aTiK66lidMlM/4ji2gr3EXAtJdreJzkY+bKcI5+21GRcliZ4RAkICmvdxQU5PHPL71XmNc7Lsw==} - '@module-federation/runtime-tools@0.21.2': - resolution: {integrity: sha512-SgG9NWTYGNYcHSd5MepO3AXf6DNXriIo4sKKM4mu4RqfYhHyP+yNjnF/gvYJl52VD61g0nADmzLWzBqxOqk2tg==} + '@module-federation/runtime-tools@0.21.6': + resolution: {integrity: sha512-fnP+ZOZTFeBGiTAnxve+axGmiYn2D60h86nUISXjXClK3LUY1krUfPgf6MaD4YDJ4i51OGXZWPekeMe16pkd8Q==} - '@module-federation/runtime@0.21.2': - resolution: {integrity: sha512-97jlOx4RAnAHMBTfgU5FBK6+V/pfT6GNX0YjSf8G+uJ3lFy74Y6kg/BevEkChTGw5waCLAkw/pw4LmntYcNN7g==} + '@module-federation/runtime@0.21.6': + resolution: {integrity: sha512-+caXwaQqwTNh+CQqyb4mZmXq7iEemRDrTZQGD+zyeH454JAYnJ3s/3oDFizdH6245pk+NiqDyOOkHzzFQorKhQ==} - '@module-federation/sdk@0.21.2': - resolution: {integrity: sha512-t2vHSJ1a9zjg7LLJoEghcytNLzeFCqOat5TbXTav5dgU0xXw82Cf0EfLrxiJL6uUpgbtyvUdqqa2DVAvMPjiiA==} + '@module-federation/sdk@0.21.6': + resolution: {integrity: sha512-x6hARETb8iqHVhEsQBysuWpznNZViUh84qV2yE7AD+g7uIzHKiYdoWqj10posbo5XKf/147qgWDzKZoKoEP2dw==} - '@module-federation/webpack-bundler-runtime@0.21.2': - resolution: {integrity: sha512-06R/NDY6Uh5RBIaBOFwYWzJCf1dIiQd/DFHToBVhejUT3ZFG7GzHEPIIsAGqMzne/JSmVsvjlXiJu7UthQ6rFA==} + '@module-federation/webpack-bundler-runtime@0.21.6': + resolution: {integrity: sha512-7zIp3LrcWbhGuFDTUMLJ2FJvcwjlddqhWGxi/MW3ur1a+HaO8v5tF2nl+vElKmbG1DFLU/52l3PElVcWf/YcsQ==} '@mswjs/cookies@1.1.0': resolution: {integrity: sha512-0ZcCVQxifZmhwNBoQIrystCb+2sWBY2Zw8lpfJBPCHGCA/HWqehITeCRVIv4VMy8MPlaHo2w2pTHFV2pFfqKPw==} @@ -4374,77 +4390,84 @@ packages: '@napi-rs/wasm-runtime@1.0.7': resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} - '@next/env@15.5.7': - resolution: {integrity: sha512-4h6Y2NyEkIEN7Z8YxkA27pq6zTkS09bUSYC0xjd0NpwFxjnIKeZEeH591o5WECSmjpUhLn3H2QLJcDye3Uzcvg==} - - '@next/env@16.0.7': - resolution: {integrity: sha512-gpaNgUh5nftFKRkRQGnVi5dpcYSKGcZZkQffZ172OrG/XkrnS7UBTQ648YY+8ME92cC4IojpI2LqTC8sTDhAaw==} - - '@next/rspack-binding-android-arm-eabi@1.0.1': - resolution: {integrity: sha512-ZLEy3shsHk8FpJDeoU4gN3a7eVaOagA7AW2BXSVefBAO4hR6j3Kt/T732FUmf9G5328C2vsbMAWskHRHPbhTig==} + '@next-rspack/binding-android-arm-eabi@1.0.1-beta.4': + resolution: {integrity: sha512-YhhDrwf0Jof/XJCT6QJI9Pt8kZTPzJXpDN8W1IBLfiRMhcIblCH8Riu3OirYlk3B5Z8Mlhy5u1z476dn+1yZLA==} cpu: [arm] os: [android] - '@next/rspack-binding-android-arm64@1.0.1': - resolution: {integrity: sha512-6jXb1doalByUbdCDr1LNi3zk+RUtghQ91yBU4DEJ/FKdAyefv+80oUAz7szAKHgJDq4T9USZRBS6W5qhllbplg==} + '@next-rspack/binding-android-arm64@1.0.1-beta.4': + resolution: {integrity: sha512-6NRs9ft2DYiN6YHXiuCTkx3meve2Z7Xg8qs3ilk9eflw9y8OLbnrUAVFt2+cbLlc0Rh1VaQ4dd0qbYSaPK6HCw==} cpu: [arm64] os: [android] - '@next/rspack-binding-darwin-arm64@1.0.1': - resolution: {integrity: sha512-siAzVe3Z+fmcJcg2dysias9fFBXr8fChQ2uPjXH6sHBkjUKQg4TK5c0Akqd0r7ctBJLEpnV0fScXYhkTrnp94w==} + '@next-rspack/binding-darwin-arm64@1.0.1-beta.4': + resolution: {integrity: sha512-21GHW68AYlTPsgQiRy9zpvCoqVSvNpA+bf2qxxocRoaxyxcQzyi46QaazT3WyMXxKhY0sDu8LEMELvIDILK1Ug==} cpu: [arm64] os: [darwin] - '@next/rspack-binding-darwin-x64@1.0.1': - resolution: {integrity: sha512-7tS4r20oDWjbMu1gLzrpuGtlCGGg8lhZuFgkKpSRoE0Fko/TZnO1qSPTyXu/uPNA2ge5Mw0k+sCIYdrSzVwynA==} + '@next-rspack/binding-darwin-x64@1.0.1-beta.4': + resolution: {integrity: sha512-IfWC+0JC2EMuWr+fkRJqAf49/+Xqq2fkpONMHj2W6crs8O4Uh3n2b/y8W4TsgekQ2h8M3W0AKt17BoEof3wL/A==} cpu: [x64] os: [darwin] - '@next/rspack-binding-linux-arm-gnueabihf@1.0.1': - resolution: {integrity: sha512-oHx+ETUMqqQ8y8go3KwpEdBr0MVS4mrqpi0i1c0r9bAVG79xssbTDF+ky4VBeFAyRwamXMmxrEOtq7wCZgukcA==} + '@next-rspack/binding-linux-arm-gnueabihf@1.0.1-beta.4': + resolution: {integrity: sha512-Uv6AHN8sXqPaYfxr0VXlvntaLHDe5EiRSwn36Xd/w3beKyQw9DttHraU0PGZ1oV2mJazVv5idgH08Ixg7b+Y5g==} cpu: [arm] os: [linux] - '@next/rspack-binding-linux-arm64-gnu@1.0.1': - resolution: {integrity: sha512-XeEjwVf1C/k1KS/CXpnE3cyqywxPiruWwDHvtAl0ZSY38AouageT7FY3cgFAbcfmyr44NW9JGQmHADSIKVBI8A==} + '@next-rspack/binding-linux-arm64-gnu@1.0.1-beta.4': + resolution: {integrity: sha512-NogJpH4gAq3WZjv74y4ZQ9EDGJ4tLTD05yAVkD1wIxH52TIwrs2ICFxulaFgEi9nSEL0GOcF4qjNWMHa2K3v9g==} cpu: [arm64] os: [linux] + libc: [glibc] - '@next/rspack-binding-linux-arm64-musl@1.0.1': - resolution: {integrity: sha512-enNGf9vE6IUVX6Q8QEA2hH5RgCPAXV3vutfRPRtwN+CHalQKBBefKUqqLJU6XDl7nFHHq+rMTeL6/qa87y7wuQ==} + '@next-rspack/binding-linux-arm64-musl@1.0.1-beta.4': + resolution: {integrity: sha512-uoaVDpWVERgUgOvA+CFTRTNcjySwh030HZyXSaHIGLVyqwCjH1U49bD6Tv4t5Fubg7X/R3IXc2OssjGiTopIpw==} cpu: [arm64] os: [linux] + libc: [musl] - '@next/rspack-binding-linux-x64-gnu@1.0.1': - resolution: {integrity: sha512-71mBFBaTkNk/AzBsQXf9cDYFD9wWTNlL6voL7pQfLRTFfyY2N6Xzt+E18DMquFXbklLO7bqzhexxkL8E8qqBjg==} + '@next-rspack/binding-linux-x64-gnu@1.0.1-beta.4': + resolution: {integrity: sha512-CXmOT/hoFaRL81qlY6O6b6+PJ3LdT52c1MBqJYHa3+u9LMR8tPVOJBSJsHQrB8Qe5holaorCCJQ8SFFX1yVM5A==} cpu: [x64] os: [linux] + libc: [glibc] - '@next/rspack-binding-linux-x64-musl@1.0.1': - resolution: {integrity: sha512-ThWWbJi+YgqqHI4PiNhG1A/EIUbkZgsTlHAY83ih7LqUozesPh0ck8zdma4sh6yNFdX23v64WeOBj8jwdGJJbw==} + '@next-rspack/binding-linux-x64-musl@1.0.1-beta.4': + resolution: {integrity: sha512-KFhd5E7SU9ecClArqrTE5OahBl/d3/kmHVuoCHcq5rxOaCqEdxaU39fvg3aEiC6weUpTE1hytlGCJ+1PLnhEWw==} cpu: [x64] os: [linux] + libc: [musl] - '@next/rspack-binding-win32-arm64-msvc@1.0.1': - resolution: {integrity: sha512-eea32wRgJmPBNY9XEC7h2SjhBViGuRvk35vwWPxcVIHoeXxpdLBCqa76j1CVfvUez/UwV09qU5Vej17mwD6rlw==} + '@next-rspack/binding-win32-arm64-msvc@1.0.1-beta.4': + resolution: {integrity: sha512-AYv7OCtTlEZUnFVzdQ4vSDvV/U7+CayJt2B+np89PhnUFO/glHDKCQXcIo60kqKmQlTlRC/Yy6gGfmY1qXWsWw==} cpu: [arm64] os: [win32] - '@next/rspack-binding-win32-ia32-msvc@1.0.1': - resolution: {integrity: sha512-TbjdJI9NFH9FmqxT++koSLfRPC+VbPJnrXEZWlftQG93l0tvs2AimoCq47yBgai3XCxyUFOj+WgUN7ShU4+j6A==} + '@next-rspack/binding-win32-ia32-msvc@1.0.1-beta.4': + resolution: {integrity: sha512-EqKA95KD1EYAJ5uGuOCfXueaVvx1uBJy0/DehovXdbnhfO/4MN7qEEVzP0oNAAUW2efOUam3hqnincoGmeGeeA==} cpu: [ia32] os: [win32] - '@next/rspack-binding-win32-x64-msvc@1.0.1': - resolution: {integrity: sha512-JntbZxZkXCLi36f5BHp+PCTzqwMUsdzlr/kcw/IVZ1tZ67OAco7Corv8yYKZumUuNMguxwndHH0pKlTZ667l+Q==} + '@next-rspack/binding-win32-x64-msvc@1.0.1-beta.4': + resolution: {integrity: sha512-GHgXK2IuTdTdnCHeNgYt3hSRX6uRCabH/QZSAjUS0bu5y9+jdLSq3QF2OHFwYLIwh1rs/x8y4xgx8mVJVRQavg==} cpu: [x64] os: [win32] - '@next/rspack-binding@1.0.1': - resolution: {integrity: sha512-GPLPMHHDb/cK9ppmNzUi//L5WSV4PPUyfVo+oXITIutdh+nMFFN09WDnc7O6Fv6ZlHY2j6CM06t2vzyCB+gAXA==} + '@next-rspack/binding@1.0.1-beta.4': + resolution: {integrity: sha512-ETmySEyIgFfguic2x+o7L0WXzRD92qcMmnFtnsW4NUoMipAV+XdAyTX1IfcCYNoiMMfUlRgJUU+jB7n0k+VNVQ==} - '@next/rspack-core@1.0.1': - resolution: {integrity: sha512-08np3obem5g/ptYxybbD6ovZaNFrpA+6LL9OzwLNKX/zU5+rgg3CZR09xda9oIgtplTDCbZdB8nZffDoqpwQsw==} + '@next-rspack/core@1.0.1-beta.4': + resolution: {integrity: sha512-FFXn+NkzkyfVwGJAqYfJA8eoAUISEXjUQ2x32TtrC/ocpZIjkQvv01JOYICM3jeitLcv81LM9Vj84HRvVdPtZA==} + + '@next/env@15.5.7': + resolution: {integrity: sha512-4h6Y2NyEkIEN7Z8YxkA27pq6zTkS09bUSYC0xjd0NpwFxjnIKeZEeH591o5WECSmjpUhLn3H2QLJcDye3Uzcvg==} + + '@next/env@16.0.7': + resolution: {integrity: sha512-gpaNgUh5nftFKRkRQGnVi5dpcYSKGcZZkQffZ172OrG/XkrnS7UBTQ648YY+8ME92cC4IojpI2LqTC8sTDhAaw==} + + '@next/eslint-plugin-next@16.1.0-canary.16': + resolution: {integrity: sha512-kI4gMhJlikhegVcOZS7xM/4rV1sYhgxVcFEXp2p52h4ZHuwVOoN9+Mvz50Knp5At+trsbTcbYgqnS2X4gfi11Q==} '@next/swc-darwin-arm64@15.5.7': resolution: {integrity: sha512-IZwtxCEpI91HVU/rAUOOobWSZv4P2DeTtNaCdHqLcTJU4wdNXgAySvKa/qJCgR5m6KI8UsKDXtO2B31jcaw1Yw==} @@ -4475,48 +4498,56 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@next/swc-linux-arm64-gnu@16.0.7': resolution: {integrity: sha512-mloD5WcPIeIeeZqAIP5c2kdaTa6StwP4/2EGy1mUw8HiexSHGK/jcM7lFuS3u3i2zn+xH9+wXJs6njO7VrAqww==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@next/swc-linux-arm64-musl@15.5.7': resolution: {integrity: sha512-nfymt+SE5cvtTrG9u1wdoxBr9bVB7mtKTcj0ltRn6gkP/2Nu1zM5ei8rwP9qKQP0Y//umK+TtkKgNtfboBxRrw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@next/swc-linux-arm64-musl@16.0.7': resolution: {integrity: sha512-+ksWNrZrthisXuo9gd1XnjHRowCbMtl/YgMpbRvFeDEqEBd523YHPWpBuDjomod88U8Xliw5DHhekBC3EOOd9g==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@next/swc-linux-x64-gnu@15.5.7': resolution: {integrity: sha512-hvXcZvCaaEbCZcVzcY7E1uXN9xWZfFvkNHwbe/n4OkRhFWrs1J1QV+4U1BN06tXLdaS4DazEGXwgqnu/VMcmqw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@next/swc-linux-x64-gnu@16.0.7': resolution: {integrity: sha512-4WtJU5cRDxpEE44Ana2Xro1284hnyVpBb62lIpU5k85D8xXxatT+rXxBgPkc7C1XwkZMWpK5rXLXTh9PFipWsA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@next/swc-linux-x64-musl@15.5.7': resolution: {integrity: sha512-4IUO539b8FmF0odY6/SqANJdgwn1xs1GkPO5doZugwZ3ETF6JUdckk7RGmsfSf7ws8Qb2YB5It33mvNL/0acqA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@next/swc-linux-x64-musl@16.0.7': resolution: {integrity: sha512-HYlhqIP6kBPXalW2dbMTSuB4+8fe+j9juyxwfMwCe9kQPPeiyFn7NMjNfoFOfJ2eXkeQsoUGXg+O2SE3m4Qg2w==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@next/swc-win32-arm64-msvc@15.5.7': resolution: {integrity: sha512-CpJVTkYI3ZajQkC5vajM7/ApKJUOlm6uP4BknM3XKvJ7VXAvCqSjSLmM0LKdYzn6nBJVSjdclx8nYJSa3xlTgQ==} @@ -5543,60 +5574,64 @@ packages: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} - '@rspack/binding-darwin-arm64@1.6.0': - resolution: {integrity: sha512-IrigOWnGvQgugsTZgf3dB5uko+y+lkNLYg/8w0DiobxkWhpLO97RAeR1w0ofIPXYVu3UWVf7dgHj3PjTqjC9Tw==} + '@rspack/binding-darwin-arm64@1.6.7': + resolution: {integrity: sha512-QiIAP8JTAtht0j8/xZZEQTJRB9e+KrOm9c7JJm73CewVg55rDWRrwopiVfBNlTu1coem1ztUHJYdQhg2uXfqww==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.6.0': - resolution: {integrity: sha512-UYz+Y1XqbHGnkUOsaZRuwiuQaQaQ5rEPSboBPlIVDtblwmB71yxo3ET0nSoUhz8L/WXqQoARiraTCxUP6bvSIg==} + '@rspack/binding-darwin-x64@1.6.7': + resolution: {integrity: sha512-DpQRxxTXkMMNPmBXeJBaAB8HmWKxH2IfvHv7vU+kBhJ3xdPtXU4/xBv1W3biluoNRG11gc1WLIgjzeGgaLCxmw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.6.0': - resolution: {integrity: sha512-Jr7aaxrtwOnh7ge7tZP+Mjpo6uNltvQisL25WcjpP+8PnPT0C9jziKDJso7KxeOINXnQ2yRn2h65+HBNb7FQig==} + '@rspack/binding-linux-arm64-gnu@1.6.7': + resolution: {integrity: sha512-211/XoBiooGGgUo/NxNpsrzGUXtH1d7g/4+UTtjYtfc8QHwu7ZMHcsqg0wss53fXzn/yyxd0DZ56vBHq52BiFw==} cpu: [arm64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-arm64-musl@1.6.0': - resolution: {integrity: sha512-hl17reUhkjgkcLao6ZvNiSRQFGFykqUpIj1//v/XtVd/2XAZ0Kt7jv9UUeaR+2zY8piH+tgCkwgefmjmajMeFg==} + '@rspack/binding-linux-arm64-musl@1.6.7': + resolution: {integrity: sha512-0WnqAWz3WPDsXGvOOA++or7cHpoidVsH3FlqNaAfRu6ni6n7ig/s0/jKUB+C5FtXOgmGjAGkZHfFgNHsvZ0FWw==} cpu: [arm64] os: [linux] + libc: [musl] - '@rspack/binding-linux-x64-gnu@1.6.0': - resolution: {integrity: sha512-xdlb+ToerFU/YggndCfIrZI/S/C80CP9ZFw6lhnEFSTJDAG88KptxstsoKUh8YzyPTD45CYaOjYNtUtiv0nScg==} + '@rspack/binding-linux-x64-gnu@1.6.7': + resolution: {integrity: sha512-iMrE0Q4IuYpkE0MjpaOVaUDYbQFiCRI9D3EPoXzlXJj4kJSdNheODpHTBVRlWt8Xp7UAoWuIFXCvKFKcSMm3aQ==} cpu: [x64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-x64-musl@1.6.0': - resolution: {integrity: sha512-IkXEW/FBPPz4EJJTLNZvA+94aLaW2HgUMYu7zCIw5YMc9JJ/UXexY1zjX/A7yidsCiZCRy/ZrB+veFJ5FkZv7w==} + '@rspack/binding-linux-x64-musl@1.6.7': + resolution: {integrity: sha512-e7gKFxpdEQwYGk7lTC/hukTgNtaoAstBXehnZNk4k3kuU6+86WDrkn18Cd949iNqfIPtIG/wIsFNGbkHsH69hQ==} cpu: [x64] os: [linux] + libc: [musl] - '@rspack/binding-wasm32-wasi@1.6.0': - resolution: {integrity: sha512-XGwX35XXnoTYVUGwDBsKNOkkk/yUsT/RF59u9BwT3QBM5eSXk767xVw/ZeiiyJf5YfI/52HDW2E4QZyvlYyv7g==} + '@rspack/binding-wasm32-wasi@1.6.7': + resolution: {integrity: sha512-yx88EFdE9RP3hh7VhjjW6uc6wGU0KcpOcZp8T8E/a+X8L98fX0aVrtM1IDbndhmdluIMqGbfJNap2+QqOCY9Mw==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.6.0': - resolution: {integrity: sha512-HOA/U7YC6EB74CpIrT2GrvPgd+TLr0anNuOp/8omw9hH1jjsP5cjUMgWeAGmWyXWxwoS8rRJ0xhRA+UIe3cL3g==} + '@rspack/binding-win32-arm64-msvc@1.6.7': + resolution: {integrity: sha512-vgxVYpFK8P5ulSXQQA+EbX78R/SUU+WIf0JIY+LoUoP89gZOsise/lKAJMAybzpeTJ1t0ndLchFznDYnzq+l4Q==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.6.0': - resolution: {integrity: sha512-ThczdltBOFcq+IrTflCE+8q0GvKoISt6pTupkuGnI1/bCnqhCxPP6kx8Z06fdJUFMhvBtpZa0gDJvhh3JBZrKA==} + '@rspack/binding-win32-ia32-msvc@1.6.7': + resolution: {integrity: sha512-bV5RTW0Va0UQKJm9HWLt7fWNBPaBBBxCJOA2pJT3nGGm6CCXKnZSyEiVbFUk4jI/uiwBfqenlLkzaGoMRbeDhA==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.6.0': - resolution: {integrity: sha512-Bhyvsh1m6kIpr1vqZlcdUDUTh0bheRe9SF+f6jw0kPDPbh8FfrRbshPKmRHpRZAUHt20NqgUKR2z2BaKb0IJvQ==} + '@rspack/binding-win32-x64-msvc@1.6.7': + resolution: {integrity: sha512-8xlbuJQtYktlBjZupOHlO8FeZqSIhsV3ih7xBSiOYar6LI6uQzA7XiO3I5kaPSDirBMMMKv1Z4rKCxWx10a3TQ==} cpu: [x64] os: [win32] - '@rspack/binding@1.6.0': - resolution: {integrity: sha512-RqlCjvWg/LkJjHpsbI48ebo2SYpIBJsV1eh9SEMfXo1batAPvB5grhAbLX0MRUOtzuQOnZMCDGdr2v7l2L8Siw==} + '@rspack/binding@1.6.7': + resolution: {integrity: sha512-7ICabuBN3gHc6PPN52+m1kruz3ogiJjg1C0gSWdLRk18m/4jlcM2aAy6wfXjgODJdB0Yh2ro/lIpBbj+AYWUGA==} - '@rspack/core@1.6.0': - resolution: {integrity: sha512-u2GDSToEhmgIsy0QbOPA81i9tu87J2HgSsRA3HHZfWIR8Vt8KdlAriQnG8CatDnvFSY/UQEumVf5Z1HUAQwxCg==} + '@rspack/core@1.6.7': + resolution: {integrity: sha512-tkd4nSzTf+pDa9OAE4INi/JEa93HNszjWy5C9+trf4ZCXLLHsHxHQFbzoreuz4Vv2PlCWajgvAdiPMV1vGIkuw==} engines: {node: '>=18.12.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -5604,9 +5639,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/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -5935,24 +5969,28 @@ packages: engines: {node: '>=10'} cpu: [arm64] os: [linux] + libc: [glibc] '@swc/core-linux-arm64-musl@1.11.24': resolution: {integrity: sha512-ypXLIdszRo0re7PNNaXN0+2lD454G8l9LPK/rbfRXnhLWDBPURxzKlLlU/YGd2zP98wPcVooMmegRSNOKfvErw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] + libc: [musl] '@swc/core-linux-x64-gnu@1.11.24': resolution: {integrity: sha512-IM7d+STVZD48zxcgo69L0yYptfhaaE9cMZ+9OoMxirNafhKKXwoZuufol1+alEFKc+Wbwp+aUPe/DeWC/Lh3dg==} engines: {node: '>=10'} cpu: [x64] os: [linux] + libc: [glibc] '@swc/core-linux-x64-musl@1.11.24': resolution: {integrity: sha512-DZByJaMVzSfjQKKQn3cqSeqwy6lpMaQDQQ4HPlch9FWtDx/dLcpdIhxssqZXcR2rhaQVIaRQsCqwV6orSDGAGw==} engines: {node: '>=10'} cpu: [x64] os: [linux] + libc: [musl] '@swc/core-win32-arm64-msvc@1.11.24': resolution: {integrity: sha512-Q64Ytn23y9aVDKN5iryFi8mRgyHw3/kyjTjT4qFCa8AEb5sGUuSj//AUZ6c0J7hQKMHlg9do5Etvoe61V98/JQ==} @@ -6048,24 +6086,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-arm64-musl@4.1.13': resolution: {integrity: sha512-hZQrmtLdhyqzXHB7mkXfq0IYbxegaqTmfa1p9MBj72WPoDD3oNOh1Lnxf6xZLY9C3OV6qiCYkO1i/LrzEdW2mg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@tailwindcss/oxide-linux-x64-gnu@4.1.13': resolution: {integrity: sha512-uaZTYWxSXyMWDJZNY1Ul7XkJTCBRFZ5Fo6wtjrgBKzZLoJNrG+WderJwAjPzuNZOnmdrVg260DKwXCFtJ/hWRQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@tailwindcss/oxide-linux-x64-musl@4.1.13': resolution: {integrity: sha512-oXiPj5mi4Hdn50v5RdnuuIms0PVPI/EG4fxAfFiIKQh5TgQgX7oSuDWntHW7WNIi/yVLAiS+CRGW4RkoGSSgVQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@tailwindcss/oxide-wasm32-wasi@4.1.13': resolution: {integrity: sha512-+LC2nNtPovtrDwBc/nqnIKYh/W2+R69FA0hgoeOn64BdCX522u19ryLh3Vf3F8W49XBcMIxSe665kwy21FkhvA==} @@ -6716,41 +6758,49 @@ packages: resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==} cpu: [arm64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-arm64-musl@1.11.1': resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==} cpu: [arm64] os: [linux] + libc: [musl] '@unrs/resolver-binding-linux-ppc64-gnu@1.11.1': resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==} cpu: [ppc64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-riscv64-gnu@1.11.1': resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==} cpu: [riscv64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-riscv64-musl@1.11.1': resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==} cpu: [riscv64] os: [linux] + libc: [musl] '@unrs/resolver-binding-linux-s390x-gnu@1.11.1': resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==} cpu: [s390x] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-x64-gnu@1.11.1': resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==} cpu: [x64] os: [linux] + libc: [glibc] '@unrs/resolver-binding-linux-x64-musl@1.11.1': resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==} cpu: [x64] os: [linux] + libc: [musl] '@unrs/resolver-binding-wasm32-wasi@1.11.1': resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==} @@ -9553,6 +9603,15 @@ packages: engines: {node: '>=6.0'} hasBin: true + eslint-config-next@16.1.0-canary.16: + resolution: {integrity: sha512-qA+eBQL2bfO7VPYQtngaYe6qtOhcdI83yjtOps/JI067XSV3sWxuy2H7tOPhkQqMZ38T5qnO/MpZ8BE5KhTT+w==} + peerDependencies: + eslint: '>=9.0.0' + typescript: '>=3.3.1' + peerDependenciesMeta: + typescript: + optional: true + eslint-formatter-codeframe@7.32.1: resolution: {integrity: sha512-DK/3Q3+zVKq/7PdSYiCxPrsDF8H/TRMK5n8Hziwr4IMkMy+XiKSwbpj25AdajS63I/B61Snetq4uVvX9fOLyAg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -12287,24 +12346,28 @@ packages: engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [glibc] lightningcss-linux-arm64-musl@1.30.1: resolution: {integrity: sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] + libc: [musl] lightningcss-linux-x64-gnu@1.30.1: resolution: {integrity: sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [glibc] lightningcss-linux-x64-musl@1.30.1: resolution: {integrity: sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] + libc: [musl] lightningcss-win32-arm64-msvc@1.30.1: resolution: {integrity: sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==} @@ -21236,30 +21299,30 @@ snapshots: transitivePeerDependencies: - supports-color - '@module-federation/error-codes@0.21.2': {} + '@module-federation/error-codes@0.21.6': {} - '@module-federation/runtime-core@0.21.2': + '@module-federation/runtime-core@0.21.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/runtime-tools@0.21.2': + '@module-federation/runtime-tools@0.21.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/runtime@0.21.2': + '@module-federation/runtime@0.21.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/sdk@0.21.2': {} + '@module-federation/sdk@0.21.6': {} - '@module-federation/webpack-bundler-runtime@0.21.2': + '@module-federation/webpack-bundler-runtime@0.21.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/cookies@1.1.0': {} @@ -21299,68 +21362,72 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@next/env@15.5.7': {} - - '@next/env@16.0.7': {} - - '@next/rspack-binding-android-arm-eabi@1.0.1': + '@next-rspack/binding-android-arm-eabi@1.0.1-beta.4': optional: true - '@next/rspack-binding-android-arm64@1.0.1': + '@next-rspack/binding-android-arm64@1.0.1-beta.4': optional: true - '@next/rspack-binding-darwin-arm64@1.0.1': + '@next-rspack/binding-darwin-arm64@1.0.1-beta.4': optional: true - '@next/rspack-binding-darwin-x64@1.0.1': + '@next-rspack/binding-darwin-x64@1.0.1-beta.4': optional: true - '@next/rspack-binding-linux-arm-gnueabihf@1.0.1': + '@next-rspack/binding-linux-arm-gnueabihf@1.0.1-beta.4': optional: true - '@next/rspack-binding-linux-arm64-gnu@1.0.1': + '@next-rspack/binding-linux-arm64-gnu@1.0.1-beta.4': optional: true - '@next/rspack-binding-linux-arm64-musl@1.0.1': + '@next-rspack/binding-linux-arm64-musl@1.0.1-beta.4': optional: true - '@next/rspack-binding-linux-x64-gnu@1.0.1': + '@next-rspack/binding-linux-x64-gnu@1.0.1-beta.4': optional: true - '@next/rspack-binding-linux-x64-musl@1.0.1': + '@next-rspack/binding-linux-x64-musl@1.0.1-beta.4': optional: true - '@next/rspack-binding-win32-arm64-msvc@1.0.1': + '@next-rspack/binding-win32-arm64-msvc@1.0.1-beta.4': optional: true - '@next/rspack-binding-win32-ia32-msvc@1.0.1': + '@next-rspack/binding-win32-ia32-msvc@1.0.1-beta.4': optional: true - '@next/rspack-binding-win32-x64-msvc@1.0.1': + '@next-rspack/binding-win32-x64-msvc@1.0.1-beta.4': optional: true - '@next/rspack-binding@1.0.1': + '@next-rspack/binding@1.0.1-beta.4': 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-core@1.0.1(@swc/helpers@0.5.15)': - dependencies: - '@next/rspack-binding': 1.0.1 - '@rspack/core': 1.6.0(@swc/helpers@0.5.15) + '@next-rspack/binding-android-arm-eabi': 1.0.1-beta.4 + '@next-rspack/binding-android-arm64': 1.0.1-beta.4 + '@next-rspack/binding-darwin-arm64': 1.0.1-beta.4 + '@next-rspack/binding-darwin-x64': 1.0.1-beta.4 + '@next-rspack/binding-linux-arm-gnueabihf': 1.0.1-beta.4 + '@next-rspack/binding-linux-arm64-gnu': 1.0.1-beta.4 + '@next-rspack/binding-linux-arm64-musl': 1.0.1-beta.4 + '@next-rspack/binding-linux-x64-gnu': 1.0.1-beta.4 + '@next-rspack/binding-linux-x64-musl': 1.0.1-beta.4 + '@next-rspack/binding-win32-arm64-msvc': 1.0.1-beta.4 + '@next-rspack/binding-win32-ia32-msvc': 1.0.1-beta.4 + '@next-rspack/binding-win32-x64-msvc': 1.0.1-beta.4 + + '@next-rspack/core@1.0.1-beta.4(@swc/helpers@0.5.15)': + dependencies: + '@next/rspack-binding': '@next-rspack/binding@1.0.1-beta.4' + '@rspack/core': 1.6.7(@swc/helpers@0.5.15) transitivePeerDependencies: - '@swc/helpers' + '@next/env@15.5.7': {} + + '@next/env@16.0.7': {} + + '@next/eslint-plugin-next@16.1.0-canary.16': + dependencies: + fast-glob: 3.3.1 + '@next/swc-darwin-arm64@15.5.7': optional: true @@ -22504,60 +22571,60 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.1 - '@rspack/binding-darwin-arm64@1.6.0': + '@rspack/binding-darwin-arm64@1.6.7': optional: true - '@rspack/binding-darwin-x64@1.6.0': + '@rspack/binding-darwin-x64@1.6.7': optional: true - '@rspack/binding-linux-arm64-gnu@1.6.0': + '@rspack/binding-linux-arm64-gnu@1.6.7': optional: true - '@rspack/binding-linux-arm64-musl@1.6.0': + '@rspack/binding-linux-arm64-musl@1.6.7': optional: true - '@rspack/binding-linux-x64-gnu@1.6.0': + '@rspack/binding-linux-x64-gnu@1.6.7': optional: true - '@rspack/binding-linux-x64-musl@1.6.0': + '@rspack/binding-linux-x64-musl@1.6.7': optional: true - '@rspack/binding-wasm32-wasi@1.6.0': + '@rspack/binding-wasm32-wasi@1.6.7': dependencies: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-win32-arm64-msvc@1.6.0': + '@rspack/binding-win32-arm64-msvc@1.6.7': optional: true - '@rspack/binding-win32-ia32-msvc@1.6.0': + '@rspack/binding-win32-ia32-msvc@1.6.7': optional: true - '@rspack/binding-win32-x64-msvc@1.6.0': + '@rspack/binding-win32-x64-msvc@1.6.7': optional: true - '@rspack/binding@1.6.0': + '@rspack/binding@1.6.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/core@1.6.0(@swc/helpers@0.5.15)': - dependencies: - '@module-federation/runtime-tools': 0.21.2 - '@rspack/binding': 1.6.0 - '@rspack/lite-tapable': 1.0.1 + '@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/core@1.6.7(@swc/helpers@0.5.15)': + dependencies: + '@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/scc@1.1.0': {} @@ -22782,7 +22849,7 @@ snapshots: react: 19.3.0-canary-378973b3-20251205 react-dom: 19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205) - '@storybook/builder-webpack5@8.6.0(@rspack/core@1.6.0(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': + '@storybook/builder-webpack5@8.6.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': dependencies: '@storybook/core-webpack': 8.6.0(storybook@8.6.0(prettier@3.6.2)) '@types/semver': 7.5.6 @@ -22790,10 +22857,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.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) + css-loader: 6.11.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) es-module-lexer: 1.6.0 fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.9.2)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) - html-webpack-plugin: 5.6.3(@rspack/core@1.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) + html-webpack-plugin: 5.6.3(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)) magic-string: 0.30.19 path-browserify: 1.0.1 process: 0.11.10 @@ -22924,9 +22991,9 @@ snapshots: react-dom: 19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205) storybook: 8.6.0(prettier@3.6.2) - '@storybook/react-webpack5@8.6.0(@rspack/core@1.6.0(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': + '@storybook/react-webpack5@8.6.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': dependencies: - '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.6.0(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) + '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) '@storybook/preset-react-webpack': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(react-dom@19.3.0-canary-378973b3-20251205(react@19.3.0-canary-378973b3-20251205))(react@19.3.0-canary-378973b3-20251205)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) react: 19.3.0-canary-378973b3-20251205 @@ -25952,7 +26019,7 @@ snapshots: postcss: 8.4.31 postcss-selector-parser: 6.1.2 - css-loader@6.11.0(@rspack/core@1.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): + css-loader@6.11.0(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): dependencies: icss-utils: 5.1.0(postcss@8.5.3) postcss: 8.5.3 @@ -25963,10 +26030,10 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.6.0(@swc/helpers@0.5.15) + '@rspack/core': 1.6.7(@swc/helpers@0.5.15) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9) - css-loader@7.1.2(@rspack/core@1.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): + css-loader@7.1.2(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): dependencies: icss-utils: 5.1.0(postcss@8.5.3) postcss: 8.5.3 @@ -25977,7 +26044,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.6.0(@swc/helpers@0.5.15) + '@rspack/core': 1.6.7(@swc/helpers@0.5.15) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9) css-prefers-color-scheme@6.0.3(postcss@8.4.31): @@ -27263,6 +27330,26 @@ snapshots: optionalDependencies: source-map: 0.6.1 + eslint-config-next@16.1.0-canary.16(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2): + dependencies: + '@next/eslint-plugin-next': 16.1.0-canary.16 + eslint: 9.37.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)) + eslint-plugin-import: 2.32.0(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)) + eslint-plugin-jsx-a11y: 6.10.2(eslint@9.37.0(jiti@2.5.1)) + eslint-plugin-react: 7.37.0(eslint@9.37.0(jiti@2.5.1)) + eslint-plugin-react-hooks: 7.0.0(eslint@9.37.0(jiti@2.5.1)) + globals: 16.4.0 + typescript-eslint: 8.46.0(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2) + optionalDependencies: + typescript: 5.9.2 + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-webpack + - eslint-plugin-import-x + - supports-color + eslint-formatter-codeframe@7.32.1: dependencies: '@babel/code-frame': 7.12.11 @@ -27276,6 +27363,22 @@ snapshots: transitivePeerDependencies: - supports-color + eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)): + dependencies: + '@nolyfill/is-core-module': 1.0.39 + debug: 4.4.0 + eslint: 9.37.0(jiti@2.5.1) + 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(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)) + eslint-plugin-import-x: 4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2) + transitivePeerDependencies: + - supports-color + eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0)(eslint@9.37.0(jiti@2.5.1)): dependencies: '@nolyfill/is-core-module': 1.0.39 @@ -27333,6 +27436,16 @@ snapshots: transitivePeerDependencies: - supports-color + eslint-module-utils@2.12.1(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)): + dependencies: + debug: 3.2.7 + optionalDependencies: + eslint: 9.37.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)) + transitivePeerDependencies: + - supports-color + eslint-plugin-eslint-plugin@5.2.1(eslint@9.37.0(jiti@2.5.1)): dependencies: eslint: 9.37.0(jiti@2.5.1) @@ -27413,6 +27526,33 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-plugin-import@2.32.0(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)): + dependencies: + '@rtsao/scc': 1.1.0 + array-includes: 3.1.9 + array.prototype.findlastindex: 1.2.6 + array.prototype.flat: 1.3.3 + array.prototype.flatmap: 1.3.3 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 9.37.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.1(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1(eslint-plugin-import-x@4.3.1(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.32.0(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)))(eslint@9.37.0(jiti@2.5.1)) + hasown: 2.0.2 + is-core-module: 2.16.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.1 + semver: 6.3.1 + string.prototype.trimend: 1.0.9 + tsconfig-paths: 3.15.0 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + eslint-plugin-jest@27.6.3(eslint@9.37.0(jiti@2.5.1))(jest@29.7.0(@types/node@20.17.6(patch_hash=rvl3vkomen3tospgr67bzubfyu))(babel-plugin-macros@3.1.0))(typescript@5.9.2): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@9.37.0(jiti@2.5.1))(typescript@5.9.2) @@ -29227,7 +29367,7 @@ snapshots: html-void-elements@3.0.0: {} - html-webpack-plugin@5.6.3(@rspack/core@1.6.0(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): + html-webpack-plugin@5.6.3(@rspack/core@1.6.7(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -29235,7 +29375,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - '@rspack/core': 1.6.0(@swc/helpers@0.5.15) + '@rspack/core': 1.6.7(@swc/helpers@0.5.15) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9) htmlparser2@3.10.1: @@ -35785,11 +35925,11 @@ snapshots: safer-buffer@2.1.2: {} - sass-loader@16.0.5(@rspack/core@1.6.0(@swc/helpers@0.5.15))(sass@1.77.8)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): + sass-loader@16.0.5(@rspack/core@1.6.7(@swc/helpers@0.5.15))(sass@1.77.8)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9)): dependencies: neo-async: 2.6.2 optionalDependencies: - '@rspack/core': 1.6.0(@swc/helpers@0.5.15) + '@rspack/core': 1.6.7(@swc/helpers@0.5.15) sass: 1.77.8 webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.25.9) diff --git a/rspack/Cargo.lock b/rspack/Cargo.lock index 624eda385e57a..2959206b12a35 100644 --- a/rspack/Cargo.lock +++ b/rspack/Cargo.lock @@ -90,9 +90,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.99" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" dependencies = [ "backtrace", ] @@ -421,11 +421,11 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.9" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" dependencies = [ - "serde", + "serde_core", ] [[package]] @@ -514,7 +514,7 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", ] [[package]] @@ -553,19 +553,13 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "clean-path" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaa6b4b263a5d737e9bf6b7c09b72c41a5480aec4d7219af827f6564e950b6a5" - [[package]] name = "cobs" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" dependencies = [ - "thiserror 2.0.12", + "thiserror 2.0.17", ] [[package]] @@ -1127,9 +1121,9 @@ checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "embedded-io" @@ -1151,9 +1145,9 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] name = "endian-type" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" +checksum = "869b0adbda23651a9c5c0c3d270aac9fcb52e8622a8f2b17e57802d7791962f2" [[package]] name = "equivalent" @@ -1179,9 +1173,9 @@ checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fancy-regex" -version = "0.14.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" +checksum = "998b056554fbe42e03ae0e152895cd1a7e1002aec800fdc6635d20270260c46f" dependencies = [ "bit-set", "regex-automata", @@ -1190,9 +1184,9 @@ dependencies = [ [[package]] name = "fast-glob" -version = "0.4.5" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ea3f6bbcf4dbe2076b372186fc7aeecd5f6f84754582e56ee7db262b15a6f0" +checksum = "3d26eec0ae9682c457cb0f85de67ad417b716ae852736a5d94c2ad6e92a997c9" dependencies = [ "arrayvec", ] @@ -1214,6 +1208,17 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" +dependencies = [ + "crc32fast", + "libz-rs-sys", + "miniz_oxide", +] + [[package]] name = "float-cmp" version = "0.10.0" @@ -1392,10 +1397,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -1441,11 +1444,11 @@ dependencies = [ [[package]] name = "halfbrown" -version = "0.2.5" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8588661a8607108a5ca69cab034063441a0413a0b041c13618a7dd348021ef6f" +checksum = "0c7ed2f2edad8a14c8186b847909a41fbb9c3eafa44f88bd891114ed5019da09" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.16.0", "serde", ] @@ -1512,6 +1515,12 @@ version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +[[package]] +name = "hermit-abi" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" + [[package]] name = "hex" version = "0.4.3" @@ -1791,17 +1800,6 @@ version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06432fb54d3be7964ecd3649233cddf80db2832f47fec34c01f65b3d9d774983" -[[package]] -name = "io-uring" -version = "0.7.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b" -dependencies = [ - "bitflags 2.9.1", - "cfg-if", - "libc", -] - [[package]] name = "ipnet" version = "2.10.1" @@ -1820,6 +1818,17 @@ dependencies = [ "syn 2.0.95", ] +[[package]] +name = "is-terminal" +version = "0.4.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" +dependencies = [ + "hermit-abi 0.5.2", + "libc", + "windows-sys 0.60.2", +] + [[package]] name = "is_ci" version = "1.2.0" @@ -1953,6 +1962,15 @@ version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" +[[package]] +name = "libz-rs-sys" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b484ba8d4f775eeca644c452a56650e544bf7e617f1d170fe7298122ead5222" +dependencies = [ + "zlib-rs", +] + [[package]] name = "lightningcss" version = "1.0.0-alpha.68" @@ -2117,29 +2135,28 @@ dependencies = [ [[package]] name = "miette" -version = "7.5.0" +version = "7.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a955165f87b37fd1862df2a59547ac542c77ef6d17c666f619d1ad22dd89484" +checksum = "5f98efec8807c63c752b5bd61f862c165c115b0a35685bdcfd9238c7aeb592b7" dependencies = [ "backtrace", "backtrace-ext", "cfg-if", "miette-derive", "owo-colors", - "supports-color", + "supports-color 3.0.2", "supports-hyperlinks", "supports-unicode", "terminal_size", "textwrap", - "thiserror 1.0.69", "unicode-width 0.1.14", ] [[package]] name = "miette-derive" -version = "7.5.0" +version = "7.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf45bf44ab49be92fd1227a3be6fc6f617f1a337c06af54981048574d8783147" +checksum = "db5b29714e950dbb20d5e6f74f9dcec4edbcc1067bb7f8ed198c097b8c1a818b" dependencies = [ "proc-macro2", "quote", @@ -2179,11 +2196,12 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.2" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] @@ -2352,9 +2370,9 @@ dependencies = [ [[package]] name = "notify" -version = "8.1.0" +version = "8.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3163f59cd3fa0e9ef8c32f242966a7b9994fd7378366099593e0e73077cd8c97" +checksum = "4d3d07927151ff8575b7087f245456e549fea62edf0ec4e565a5ee50c8402bc3" dependencies = [ "bitflags 2.9.1", "fsevent-sys", @@ -2415,7 +2433,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi", + "hermit-abi 0.3.9", "libc", ] @@ -2475,6 +2493,10 @@ name = "owo-colors" version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb37767f6569cd834a413442455e0f066d0d522de8630436e2a1761d9726ba56" +dependencies = [ + "supports-color 2.1.0", + "supports-color 3.0.2", +] [[package]] name = "par-core" @@ -2575,12 +2597,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17359afc20d7ab31fdb42bb844c8b3bb1dabd7dcf7e68428492da7f16966fcef" -[[package]] -name = "path-slash" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" - [[package]] name = "pathdiff" version = "0.2.3" @@ -2672,22 +2688,20 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pnp" -version = "0.12.1" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3167cbab15e437e9c7db8a4cf613eb4a77583d4327a8964d50fedd6cf364bd" +checksum = "2acd0b1e3a154e7c4610b9ab31491c32e9f47db2adc0c12047301f3bacc71597" dependencies = [ "byteorder", - "clean-path", "concurrent_lru", "fancy-regex", - "miniz_oxide", - "path-slash", + "flate2", "pathdiff", "radix_trie", "rustc-hash", "serde", "serde_json", - "thiserror 2.0.12", + "thiserror 2.0.17", ] [[package]] @@ -2886,9 +2900,9 @@ checksum = "ce082a9940a7ace2ad4a8b7d0b1eac6aa378895f18be598230c5f2284ac05426" [[package]] name = "radix_trie" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c069c179fcdc6a2fe24d8d18305cf085fdbd4f922c041943e203685d6a1c58fd" +checksum = "3b4431027dcd37fc2a73ef740b5f233aa805897935b8bce0195e41bbf9a3289a" dependencies = [ "endian-type", "nibble_vec", @@ -2935,9 +2949,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ "either", "rayon-core", @@ -2945,9 +2959,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -2998,9 +3012,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", @@ -3010,9 +3024,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3134,18 +3148,18 @@ dependencies = [ [[package]] name = "rspack_allocator" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abebc6a0c0fd53c9a1945516a08af664532dd55f7617afe1ea2c6170a0bbf479" +checksum = "5b30c7dcbcb6767532529babeaff2a07b9687d780c36085afb57e2dd3ae1d582" dependencies = [ "mimalloc-rspack", ] [[package]] name = "rspack_binding_api" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2cc53e0a8426062ed162dce7072e72b9ddde786c8dc2e8b9b92fa6e327ce0d" +checksum = "66b8f2a56517908790df450328b3fef12383000de2cda963aefb8ec6d6f43691" dependencies = [ "anyhow", "async-trait", @@ -3247,27 +3261,27 @@ dependencies = [ [[package]] name = "rspack_binding_build" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa7a945f25e9ebe8f214268bee79f2ddd5a8389e8b86e763c7e483db3e35988" +checksum = "6de3aa92218d16fc2e8dfc883631e89dd8a707093ab483ebbb58fb163fc54f63" dependencies = [ "napi-build", ] [[package]] name = "rspack_binding_builder" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37297b145d3ffb04613c23c9f46119d19ee989efae8c2e6980722e5fe1bc82c6" +checksum = "c4f7cac5145a8d56842477d03602418068d0bf1642df500cc58b124530183e4c" dependencies = [ "rspack_binding_api", ] [[package]] name = "rspack_binding_builder_macros" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e511b182c76b17a26c94714e22cd38bfae46734dff34f4310b8d29906edc520e" +checksum = "decb4fc8ef7eaa0d92d30c8c6bf305281006c2320b07314060d7731661e8f7dc" dependencies = [ "proc-macro2", "quote", @@ -3277,9 +3291,9 @@ dependencies = [ [[package]] name = "rspack_browserslist" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aa35a0585888fcc115f819ff61f48cd19a6203ae931361b785c90744ade1d57" +checksum = "1bdb91c4f4cbe7c804e39728d9b325efa070da16ccedab698e339033769d98b1" dependencies = [ "browserslist-rs", "lightningcss", @@ -3288,9 +3302,9 @@ dependencies = [ [[package]] name = "rspack_cacheable" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e702f1cf841e04bc5d802219acd323ff488ba8033729fb4d8e5e061ec791ebd" +checksum = "032ccfc795754e952142b7b1c614f44b5b3a5c296c52e9b54c81954274c2d9ad" dependencies = [ "camino", "dashmap 6.1.0", @@ -3313,9 +3327,9 @@ dependencies = [ [[package]] name = "rspack_collections" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528cf3e2abba0f4f8f21ff429bf4b0670465703a17d20f19b210a62edd79569f" +checksum = "267cd95fd3fdd4f2f72b296d216eb58eb7afde40dfb54a4657fbab90bd8675f8" dependencies = [ "dashmap 6.1.0", "hashlink", @@ -3328,9 +3342,9 @@ dependencies = [ [[package]] name = "rspack_core" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5019a7c55e4e7ec74325e45e254ad37947af46f9ea556aa5300797024f8ab10" +checksum = "97651ba9bb1472a52b2d283b740834098e887db26c543f33da20542dba91466d" dependencies = [ "anymap3", "async-recursion", @@ -3404,9 +3418,9 @@ dependencies = [ [[package]] name = "rspack_error" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64af49a8b75f143e3e7b63c22574f3e98564e38a0952ea1666be52c92ea5256" +checksum = "10624132a787d8d964d59cb178c2074a1d5228f0ffa12ce5a4e2d0d10e2a9a05" dependencies = [ "anyhow", "miette", @@ -3423,9 +3437,9 @@ dependencies = [ [[package]] name = "rspack_fs" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4569ce4e870e1a72bafac27a152efec618f5b04cd02c64656bddc93a42c28984" +checksum = "323e15593eb525c5b51c994252e3ad5868c314f8e454c47798ad2aadf4233067" dependencies = [ "async-trait", "cfg-if", @@ -3439,9 +3453,9 @@ dependencies = [ [[package]] name = "rspack_futures" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7311cca54deb487a8cc60f490485a90ae7084458d7d3e677ebf64cfe51368d6f" +checksum = "771a573e1b545dddaa80faa57537ad7b5631bc33b31033b21997acaf681dfdf6" dependencies = [ "rspack_tasks", "tokio", @@ -3449,9 +3463,9 @@ dependencies = [ [[package]] name = "rspack_hash" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ad7f60185042d502c1dd1c30327a19b21f698d38a9a95ba6dd1ea1ead08c621" +checksum = "721e28a5cfe5b4cbaa729a7ba5380e13d78b3a91086fc99bb09d096b544cfbb8" dependencies = [ "md4", "rspack_cacheable", @@ -3462,9 +3476,9 @@ dependencies = [ [[package]] name = "rspack_hook" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257d47ae95f03b74ff37a0119a78e228fb011961fae03e35d19003277da8cd76" +checksum = "d2ed2425be49282565c0c199c07c32f584de154cac503ec51a8db3e33881c1e9" dependencies = [ "async-trait", "rspack_error", @@ -3475,9 +3489,9 @@ dependencies = [ [[package]] name = "rspack_ids" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd2490fe72bcc77d3ac3f063c8e8e008def449acbc9ba003c02335bee86314d6" +checksum = "3b0dae4bf21b0978bf389d393f420fd18fb550f4c429771cccb8ade781fc822b" dependencies = [ "itertools 0.14.0", "rayon", @@ -3493,9 +3507,9 @@ dependencies = [ [[package]] name = "rspack_javascript_compiler" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96acf85bd39ae0ecf70a748bd05d5aaf107ed7b9638c5f73452b0f019f3f0ccd" +checksum = "d1a847157b0d22609f2ae245aad55f88c9f7690d16156327ee04374db5e520f1" dependencies = [ "anyhow", "base64", @@ -3519,9 +3533,9 @@ dependencies = [ [[package]] name = "rspack_loader_lightningcss" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb97dd4ece5c00c40eb78e50f53122117d1d28079ac1143528eeae8d03a5b377" +checksum = "6d8da7f159c3a27af2133329d164d27397559ac2866d557c06c4f575a8de6310" dependencies = [ "async-trait", "derive_more", @@ -3541,9 +3555,9 @@ dependencies = [ [[package]] name = "rspack_loader_preact_refresh" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d745c50532cde7dedc78f43035f5b67c77872b28176f1ec35feff29eb4cc1ec2" +checksum = "75cf5496b9df9dc6373aa39099398b44ba825b392f1592226bfbbb3c82b7bd9e" dependencies = [ "async-trait", "rspack_cacheable", @@ -3556,9 +3570,9 @@ dependencies = [ [[package]] name = "rspack_loader_react_refresh" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbd179b79e3ece72fd8c24d882eeec476d950c70a65e9eca66d43d91185a102c" +checksum = "74dea59a9abeb8e9c9ce4190f318608a4967e330df65a2ac81df92f87a9ef2e7" dependencies = [ "async-trait", "rspack_cacheable", @@ -3571,9 +3585,9 @@ dependencies = [ [[package]] name = "rspack_loader_runner" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a73b8086020579261da9ef287b67912a2eef176aeb1b499db5dfb47f8784f9a2" +checksum = "55cf7c2f62b0aef0fff52ad92a1904c92f63939ca399b65fc7056a526bd294d5" dependencies = [ "anymap3", "async-trait", @@ -3596,9 +3610,9 @@ dependencies = [ [[package]] name = "rspack_loader_swc" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cbc1c9d7a6495a2fb422f354acca954404ec5e682f555c94432f69168b7c2dd" +checksum = "229364b4bfbd152e78c33412a7ef6b0b17ad3eb3e5ef432bf583ae8f9603cdc7" dependencies = [ "async-trait", "either", @@ -3626,9 +3640,9 @@ dependencies = [ [[package]] name = "rspack_loader_testing" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e1a3089a3be47834d0e0214e72316df11f556ce601cd2f53340ffcafc87a438" +checksum = "8fe7b8bcda347c5bcc4a4880862f07b39a4c87908a3298ddb5abe5df3111dbbf" dependencies = [ "async-trait", "rspack_cacheable", @@ -3640,9 +3654,9 @@ dependencies = [ [[package]] name = "rspack_location" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da8932b05c945c8c3c2bf41d764259e0b457dddc295690a7b58a6ddfba4932f" +checksum = "2054198772857368a09700d3d586f23b6d3a1226e3aba850205dc34267fd14e3" dependencies = [ "itoa", "rspack_cacheable", @@ -3651,9 +3665,9 @@ dependencies = [ [[package]] name = "rspack_macros" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e063e4c67526530eed0aa96355b09392edd8d0aee571c9fe66434c20e9554a44" +checksum = "07c8c58fbc51a1cd389ef8ac95ee8a5d6dcc53d237da3abeeb20ea5a2849513a" dependencies = [ "proc-macro2", "quote", @@ -3662,9 +3676,9 @@ dependencies = [ [[package]] name = "rspack_napi" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33bdb88c75d6e4db4fdd95b0ca9364c95c4bb8e815c49f86c655533578b52598" +checksum = "b8d5114ea773187b94e59e8b4816e2f5d4d3ad85375096f0badace1cc6c33c3f" dependencies = [ "napi", "oneshot", @@ -3675,9 +3689,9 @@ dependencies = [ [[package]] name = "rspack_napi_macros" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a7fda41abed4e38c449e36c1da2eccff0401e33604f857248e74f55fb244b40" +checksum = "f85eb673056b3ff6da64ddee811d56498119e05648323899945e1eeb632c786f" dependencies = [ "proc-macro2", "quote", @@ -3686,9 +3700,9 @@ dependencies = [ [[package]] name = "rspack_paths" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab337dcae5ade075bf672b17877972dccee13bb05eafc25e785e4b5f37603dd9" +checksum = "2bbd92f597ce346a7f77bee53fb43c9075588d3522f8cb85014211c7d7909704" dependencies = [ "camino", "dashmap 6.1.0", @@ -3700,9 +3714,9 @@ dependencies = [ [[package]] name = "rspack_plugin_asset" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ec5a1613df0dc0ec61bca7609654a4d73fa7fa713cdce478de98f636499be4" +checksum = "57ce17fd620bd300d025cee94b7f038be6b9ead12cbf0bdb785c0899e4b59461" dependencies = [ "async-trait", "mime_guess", @@ -3720,9 +3734,9 @@ dependencies = [ [[package]] name = "rspack_plugin_banner" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec3c688be44e879377e34605f483b5d1445cd3b99f27111d4fed125537be749" +checksum = "bb3f01c0683324e939c051995ef3aa6ea9d91bbbd96209af7dd6a085819b06b0" dependencies = [ "cow-utils", "futures", @@ -3736,9 +3750,9 @@ dependencies = [ [[package]] name = "rspack_plugin_circular_dependencies" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a6f71033c88f5f4d4112483e1170e59dc07e60d8916aefeeece281ce7fa122" +checksum = "ad1793c3d05fb5756683cf8402b3d446b0f20aea5ecb2465c8a97b5c9303be6d" dependencies = [ "cow-utils", "derive_more", @@ -3755,9 +3769,9 @@ dependencies = [ [[package]] name = "rspack_plugin_copy" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32e00a01f3ae19ecacc8b6c109b3349049e1cc1e927ce2e1d8a758f604ca822c" +checksum = "ccf0c7a315012bc0d3c2cc86ba8c1985f21312b40844b763f675e6ff38592dc2" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -3777,9 +3791,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b562e5168da12b9b926e87ada26eb51ed472289272130aca13e584899e19c2" +checksum = "93aea44fe61f6eaa54ebcabf2bda1613f6a4accde8100a8c9fb355a8700e2226" dependencies = [ "async-trait", "atomic_refcell", @@ -3807,9 +3821,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css_chunking" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bfed997e3624a2958463a7170bb114006e7aa08f2dc3f248038cc7f1fea76d0" +checksum = "7c0ff34477ca4c3e220317b60ea93944ed6bce53aae47cb8bad90a8ffc062a01" dependencies = [ "indexmap", "rspack_collections", @@ -3824,9 +3838,9 @@ dependencies = [ [[package]] name = "rspack_plugin_devtool" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "095c77bf0469c1c6c737e518591b2cc4dc242eddaf2557054764966233c054b7" +checksum = "7e5d7012ac9884b4911b4fadc27dc54a94b16682cf781fcb29fed7241c45a148" dependencies = [ "cow-utils", "dashmap 6.1.0", @@ -3842,19 +3856,21 @@ dependencies = [ "rspack_futures", "rspack_hash", "rspack_hook", + "rspack_paths", "rspack_plugin_javascript", "rspack_util", "rustc-hash", "simd-json", "sugar_path", + "thread_local", "tracing", ] [[package]] name = "rspack_plugin_dll" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1bdfd66d56b404627a93123c22cf8868374f6af1c28baf6d747478b00931fee" +checksum = "8b7ccfdf61e0c33da841eaf3ce438603bd04727451b6d9994d94e1e94b3434ec" dependencies = [ "async-trait", "rspack_cacheable", @@ -3874,9 +3890,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dynamic_entry" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f2739f0678ebe7fddb61beaaf832ab89f2ffe799725da91e23fabb8584f25bb" +checksum = "291420f42cdecea4033abc3faa952685c524553d53765c99b05cb85b8f85b4cf" dependencies = [ "derive_more", "futures", @@ -3889,9 +3905,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ensure_chunk_conditions" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aba6f7649f8a004e224aa297ba8b6de18dc892705a88db8a6abc148d9d4e1fd5" +checksum = "ac2dafa7df8838108ebd568629a5b71172fedc7bcebe130f85f1d65cf91b6fac" dependencies = [ "rspack_core", "rspack_error", @@ -3902,9 +3918,9 @@ dependencies = [ [[package]] name = "rspack_plugin_entry" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "501663cc40bff0c44a2fb9a8197a1e687bd746018010fe365bfb7a80858b6594" +checksum = "8a9f0acd10df626137161259ecdb70bbc870e08daca6c8b35d97c46483f35f4c" dependencies = [ "rspack_core", "rspack_error", @@ -3914,11 +3930,12 @@ dependencies = [ [[package]] name = "rspack_plugin_esm_library" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "142c6383dfba6a21a1501eb83c909643aaf4c37ab25e7a744b9ef99c55b57215" +checksum = "fe0fda39a44d7bbd7f266df47b3ad5147106be0994efdd5eae0f0ade82a50ebd" dependencies = [ "async-trait", + "atomic_refcell", "rayon", "regex", "rspack_cacheable", @@ -3930,6 +3947,7 @@ dependencies = [ "rspack_hook", "rspack_javascript_compiler", "rspack_plugin_javascript", + "rspack_plugin_runtime", "rspack_util", "serde", "serde_json", @@ -3941,9 +3959,9 @@ dependencies = [ [[package]] name = "rspack_plugin_externals" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce4b657cf1d9d8940bade71e432a9ad61853f6e41f1be20424a1f1312ed4de2" +checksum = "74e79de52c0014dc96a805ca1a1855cc0c072f7097f925e04d3b60966a21a4be" dependencies = [ "regex", "rspack_core", @@ -3956,12 +3974,13 @@ dependencies = [ [[package]] name = "rspack_plugin_extract_css" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694f638b742f29d8711ceb6f6a50ab7f8d8c5e9732fe817b9135a3d9813fc841" +checksum = "1b7ad44d876be3b0bca155494cbe740c627f7f07991c29b56724db7e8700b5e5" dependencies = [ "async-trait", "cow-utils", + "itertools 0.14.0", "regex", "rspack_cacheable", "rspack_collections", @@ -3983,12 +4002,11 @@ dependencies = [ [[package]] name = "rspack_plugin_hmr" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e601b00d21754fac511b3d98625cd7981121088701c4dba7814551abe21f3e2" +checksum = "d954cf5be9e7cf5148bef3a3832dcfd6d8a90df92d5d27f28fb8ca79dc57db54" dependencies = [ "async-trait", - "cow-utils", "rspack_cacheable", "rspack_collections", "rspack_core", @@ -4006,9 +4024,9 @@ dependencies = [ [[package]] name = "rspack_plugin_html" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a960cb43a21f4475a19e36b00a84a8d5266badc5a6ee0982c2a160f4e290032b" +checksum = "18b38286baf8c6f600808ef920d157dd544b3eec08298544971072f282ccfdc1" dependencies = [ "anyhow", "atomic_refcell", @@ -4036,9 +4054,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ignore" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2a5ac83e8ae6fe27655470b6515f945f4fd709a3a2e43181d7a8ce4f0003ab9" +checksum = "86dd4a8f502a8676b3b8983166cdb9d977f99db14947e828c247c22df5d85552" dependencies = [ "derive_more", "futures", @@ -4051,9 +4069,9 @@ dependencies = [ [[package]] name = "rspack_plugin_javascript" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ea2858c22c95f5b2791dc657ad5dbe90c8e234769ce310650d800c76693ec65" +checksum = "592afd548faf7b66a55945f90357d21816d4795a1fce204da03b87531ffc1d84" dependencies = [ "anymap3", "async-trait", @@ -4062,7 +4080,6 @@ dependencies = [ "either", "fast-glob", "indexmap", - "indoc", "itertools 0.14.0", "linked_hash_set", "num-bigint", @@ -4096,9 +4113,9 @@ dependencies = [ [[package]] name = "rspack_plugin_json" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cde19af084e0a14e8456376957d07b10769fe0896411266da6b19bfdded8ac5" +checksum = "4d9a1f6ddcbfd34d7171420d3f86c0ccec13c755a1c3a7d81e8168eecf0107dd" dependencies = [ "async-trait", "cow-utils", @@ -4112,9 +4129,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lazy_compilation" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4b352eb596aa8c8ff6fbf4c6c09296926b0054d7e7d7923df73c3b0804a2f0e" +checksum = "c1ca269023f8b0f802fde3f6371dd277ea48318002e2b78558d950ee5c65648c" dependencies = [ "async-trait", "rspack_cacheable", @@ -4134,9 +4151,9 @@ dependencies = [ [[package]] name = "rspack_plugin_library" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ba96d66ba1ce3b4910252e789195e9a07cd51edbd360120d7d10c5733fbfc99" +checksum = "c63b2eb71ecb8f96d5a80a67840c806e8250c86e3af32dbc16c93cd199012e2e" dependencies = [ "futures", "regex", @@ -4155,9 +4172,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lightning_css_minimizer" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cba123cfc19a2273c441c9b4673000faf3673d5ce1ced37ae1539501d54f406" +checksum = "9dbadcade4d0db78dd702c98d12d04b555e702e67043659cfb9b21186e1082b6" dependencies = [ "lightningcss", "parcel_sourcemap", @@ -4169,14 +4186,15 @@ dependencies = [ "rspack_hash", "rspack_hook", "rspack_util", + "thread_local", "tracing", ] [[package]] name = "rspack_plugin_limit_chunk_count" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c21a7d10d991fb7f6b751952f5b54115100e12261a5994bf5b2ca71f72ea127" +checksum = "574bd3962f32b3066f65e65787214ff7ba300f98fd6e3b874dd9a525103fd3d3" dependencies = [ "rspack_collections", "rspack_core", @@ -4187,9 +4205,9 @@ dependencies = [ [[package]] name = "rspack_plugin_merge_duplicate_chunks" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfed9506d2790da00dfbc9c38e1c606e8bb3831d3dfc8cd247376e50c134f01b" +checksum = "ac3f2814c3d17626e63349a23d25713c77243e7cded0a0f90cf9cf6347f0a017" dependencies = [ "rayon", "rspack_collections", @@ -4202,9 +4220,9 @@ dependencies = [ [[package]] name = "rspack_plugin_mf" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b26f07609d171d6218400defc2d0160d3886135da3d83adb222b0c2916df3e4" +checksum = "3f7d8d95f7e9d4b9900653789870c2ee6d250f148b292e9f0451d4be77dc5626" dependencies = [ "async-trait", "camino", @@ -4232,9 +4250,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_info_header" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db474526b5f3cf0240d27f137ab51a4483513b60a71a5873588420e749106a7c" +checksum = "076709534986e74496305b83612ad6fff6bd49f448efa71e377384e55f4200fc" dependencies = [ "regex", "rspack_cacheable", @@ -4250,9 +4268,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_replacement" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c66c2cb43b971da7304be3243643432c327c52a5954361755ac1fbaa924051" +checksum = "982e71808ba57dcbcc6f13e33f33159912ae65070b7b54bbb971cfa726ee19e2" dependencies = [ "derive_more", "futures", @@ -4267,9 +4285,9 @@ dependencies = [ [[package]] name = "rspack_plugin_no_emit_on_errors" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb1990fdb0c5ef3a7493a769f20af308f48b6c17adc87c0f787825a48797d98" +checksum = "943791f5253e745676c5235672610c8bf8eac5617027bdd62428302687bb7e9f" dependencies = [ "rspack_core", "rspack_error", @@ -4279,9 +4297,9 @@ dependencies = [ [[package]] name = "rspack_plugin_progress" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d92fbb52f4b84cac4204a41faf1c5594cfff313d3addd49c3b25ab2fa12209e" +checksum = "8fa695a00b320ad2ab0a3aa853c185f9ebea99cb3257eb4b469ae570a5aef01c" dependencies = [ "futures", "indicatif", @@ -4295,9 +4313,9 @@ dependencies = [ [[package]] name = "rspack_plugin_real_content_hash" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be65971b9aec441d487b132e5968d17db6cdfea39728fde09ca3719c83fdf3c" +checksum = "d34400ac7962f2fbb4b9d09fa88a71f97b567649ea7bcaabbf9f95fda2977424" dependencies = [ "aho-corasick", "atomic_refcell", @@ -4318,9 +4336,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_duplicate_modules" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e269f0377bb52d07a17def617b2e92fa1a883603878b49f4410df1b9acef572" +checksum = "510b4f853ca1833e59e22c52f03aff64dd20f6e97ec3d61512947c07e31d13e8" dependencies = [ "rspack_collections", "rspack_core", @@ -4332,9 +4350,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_empty_chunks" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "943d48688a704f9da234f33a37093186d76bba8a8a33bb889957b79010cbe490" +checksum = "e8f2959dae1b2596c16817e8562ace2d4065006ec823fa70021d6c72e01f5628" dependencies = [ "rspack_collections", "rspack_core", @@ -4345,9 +4363,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rsdoctor" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c526abe236c274df230922b7a7c04106f83c7283466ad20d3d2a0b364c6acc87" +checksum = "3a52b9f8b79f9fd6e9235a23e4fb034758aa9f581b6b79876fa344b60189acde" dependencies = [ "atomic_refcell", "futures", @@ -4361,30 +4379,36 @@ dependencies = [ "rspack_plugin_devtool", "rspack_util", "rustc-hash", + "thread_local", "tokio", "tracing", ] [[package]] name = "rspack_plugin_rslib" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cba5c15fb06ef9b2e90afb93de8f0c3b1a38498edf911daf7d36e468462d94" +checksum = "8e7c8008a7bb5934a574a8a686fabd2efae9d897ff8c22ae54dbfe22cf66f98b" dependencies = [ + "async-trait", + "rspack_cacheable", "rspack_core", "rspack_error", + "rspack_fs", + "rspack_hash", "rspack_hook", + "rspack_plugin_asset", "rspack_plugin_javascript", - "rspack_plugin_library", + "serde_json", "swc_core", "tracing", ] [[package]] name = "rspack_plugin_rstest" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc3f7b9756d492adeb3c346e8fe18308eb989434d2a5cf151a57aa77e7ec58da" +checksum = "d27840026683cb71959d67cc1dc2c27b2f86a5cacb26074536b948fcdd83ce19" dependencies = [ "camino", "regex", @@ -4400,13 +4424,12 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33e69b28febc261615f351070dd39104cbd22443650b87e08929f077f7307bf" +checksum = "b8af5da646f334e02bcb5802d8bf3b6b3fe73b8699eaf8c14a349c9c8268b3e5" dependencies = [ "async-trait", "atomic_refcell", - "cow-utils", "derive_more", "futures", "indexmap", @@ -4427,9 +4450,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime_chunk" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc254eb570d7b68625fae9fd5c8ecd9a29d9445d7e420514ff4300fb46f09ae" +checksum = "d7623f43f877e32a99be8d5d1502cf133d49464720b6c776899ea16736a4b2c4" dependencies = [ "futures", "rspack_core", @@ -4440,9 +4463,9 @@ dependencies = [ [[package]] name = "rspack_plugin_schemes" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8ca9f1600e1782468e7edc19d35064c5bed0b4df2178158b6157d5c20b94403" +checksum = "6a4885dfed5f162cfa137f418d6645cdedcfe34930824590928a699424fa5e8b" dependencies = [ "anyhow", "async-trait", @@ -4467,9 +4490,9 @@ dependencies = [ [[package]] name = "rspack_plugin_size_limits" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12c0db23b86e82c480887fd27cb029b8bb854f3bd68059148829fe2c1ee85b18" +checksum = "ec05ee8161c24a9d5c9ffc02287b71a9bb51895211f3964cf106781a7f80e4b0" dependencies = [ "derive_more", "futures", @@ -4483,9 +4506,9 @@ dependencies = [ [[package]] name = "rspack_plugin_split_chunks" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21d0dc5fbb528b8be27c5ffae7989722cdc03ffa19fcb6c4f32359be706501f5" +checksum = "23c0dd021b900131e23d804b86e95ec0175fbb73b430766110b750f9590a435b" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -4507,15 +4530,16 @@ dependencies = [ [[package]] name = "rspack_plugin_sri" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3e90b99acb2504331e38c614a81b76b7e8ae0c3ac1e899a4666d8e4cc55002a" +checksum = "92943841f80dab9cf6901748073107b67b3c00927b14c9ad0d9a0ceb0c19b996" dependencies = [ "async-trait", "cow-utils", "derive_more", "futures", "indexmap", + "once_cell", "pathdiff", "rayon", "regex", @@ -4536,14 +4560,15 @@ dependencies = [ "sha2", "tokio", "tracing", + "url", "urlencoding", ] [[package]] name = "rspack_plugin_swc_js_minimizer" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e63c5abce44b64f0c10b44be2a18e2ecb7cf1e041edcc08d93a6fb414fda95d" +checksum = "d199cedbb80a85e8df7c12301ea08c924310eff86db24548182e3e993b4e54f6" dependencies = [ "cow-utils", "once_cell", @@ -4560,14 +4585,15 @@ dependencies = [ "swc_config", "swc_core", "swc_ecma_minifier", + "thread_local", "tracing", ] [[package]] name = "rspack_plugin_warn_sensitive_module" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdc417e8431797bd1072c7146d29505e270a4052100634c15cb447ba1f1271a5" +checksum = "cc20075eeccb6ecb6a8dd9f6e6ac6a4f5697473a9ab0746a1c439b358b120e15" dependencies = [ "cow-utils", "rspack_collections", @@ -4580,9 +4606,9 @@ dependencies = [ [[package]] name = "rspack_plugin_wasm" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3417585d5395420d99c57e979cff828d7f69c19c975944a1b07d14a15a239fe4" +checksum = "36bdad263fb9c9a0958e1c4924f996f4b8690b691cfd1b57322e4090dc39e2cc" dependencies = [ "async-trait", "cow-utils", @@ -4605,9 +4631,9 @@ dependencies = [ [[package]] name = "rspack_plugin_web_worker_template" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ab45f61ac7127df7f45d0b2433544f48902430555cdc3663ba4c6f84c1695ea" +checksum = "e6a082dfc43bb9878ee668d942d4e93fb1cc88a7253e8b21b45cd14ecfd70682" dependencies = [ "rspack_core", "rspack_plugin_runtime", @@ -4615,9 +4641,9 @@ dependencies = [ [[package]] name = "rspack_plugin_worker" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a48a745358070b7664e6128753fdaa5b5b7f932d17ae8121b101e73e51bdb830" +checksum = "ab7c801b9a82516648896f3153fb72617635e902bea6ce4734483d716ed7cb9c" dependencies = [ "rspack_core", "rspack_error", @@ -4627,9 +4653,9 @@ dependencies = [ [[package]] name = "rspack_regex" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27bf183b1a736bfd3600f4baa917975574cf82a66c8505b661b9cace24b1df67" +checksum = "65bdd6abfbb32e531452bef7698b5bff22411bd409f435c9910fb26a768e85b7" dependencies = [ "cow-utils", "napi", @@ -4642,9 +4668,9 @@ dependencies = [ [[package]] name = "rspack_resolver" -version = "0.6.4" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a76f6f4e9c5d27222f2f7f5c71c0475059207fc7042313c5b8f5c70b264850" +checksum = "8608208a0fda740545c1e7a6727fe94fbb407142259b122d328e3165beddc07d" dependencies = [ "async-trait", "cfg-if", @@ -4657,19 +4683,19 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror 1.0.69", + "simd-json", + "thiserror 2.0.17", "tokio", "tracing", ] [[package]] name = "rspack_sources" -version = "0.4.13" +version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de9084a384c14e99622aa43966ec9e8609130dc4b5513d26961f3d381dfafbf" +checksum = "18e2dedc4568248407819e5fd55843b4dc9e3fe657d8794a1bdfcc1211db0d46" dependencies = [ "dyn-clone", - "itertools 0.13.0", "memchr", "rustc-hash", "serde", @@ -4680,9 +4706,9 @@ dependencies = [ [[package]] name = "rspack_storage" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce4b8dab64cf01c823393459d3fafc785196806c4cb135f2c908b8a3f3952a1" +checksum = "15764c2f4b4fb850cb55a5ef8d7d8b189a4ef2c99907791e60504594bd193bb7" dependencies = [ "async-trait", "cow-utils", @@ -4699,9 +4725,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_import" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8abe818339f810dffb9ac05fe23e119b49cca73391a56c0507afee11c2dab26" +checksum = "6b2a93065b255cf0906de1cc171418658a56906bbbeee98ec003b4616a67c2ba" dependencies = [ "cow-utils", "heck", @@ -4712,9 +4738,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_ts_collector" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d8548550eaa214b563b49bc976ec13d4cffb03b2c5fe478aef494cfd7565de" +checksum = "db1468788748a699aa52ffccd67c837546a3f847b88ef43f074d85f437a528dd" dependencies = [ "rustc-hash", "swc_core", @@ -4722,18 +4748,18 @@ dependencies = [ [[package]] name = "rspack_tasks" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f816e55f1f5254f5c97740c2290d922500d6b6823af97b16c8c71ac8cd6cf8e" +checksum = "7c9067d1ff5dae3c1212af93203f912c850e11510ef2dd2f09d5c6cf9836a537" dependencies = [ "tokio", ] [[package]] name = "rspack_tracing" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc6b4af7c761daf03ef58090dfed10be7aeefc53a822147c3486083c91508c19" +checksum = "8606ec712d72f75c7cade5de1736bff6d400867144f3c868670b531228b2ce10" dependencies = [ "rspack_tracing_perfetto", "tracing-subscriber", @@ -4741,9 +4767,9 @@ dependencies = [ [[package]] name = "rspack_tracing_perfetto" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9939b53c0a5ef6deaee2dc2807d36878b78d565719825e9a2de591374c65f26" +checksum = "4df271ac294a10dddc6b41a789c388c3fdad5ae753ce1be8a432e1a7753f0c11" dependencies = [ "bytes", "micromegas-perfetto", @@ -4754,9 +4780,9 @@ dependencies = [ [[package]] name = "rspack_util" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "205a370fa1c526ec95a53896a1c2cd734f2023101ca7db7f0214fd7febe4647a" +checksum = "ce9b652d6219fada74d89c658058f47a17af938e7559370f3157d520ec0d2a52" dependencies = [ "anyhow", "base64-simd 0.8.0", @@ -4787,9 +4813,9 @@ dependencies = [ [[package]] name = "rspack_watcher" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5215a360483fb9bc32a1660fcbe763cc0d4fab0cc7a834f858b4e1921ab51898" +checksum = "7faba322591ab30743bf5d1951d83c53788e2542b4d31f4f0bdaefca78ce530d" dependencies = [ "cow-utils", "dashmap 6.1.0", @@ -4804,9 +4830,9 @@ dependencies = [ [[package]] name = "rspack_workspace" -version = "0.6.0" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a550e924ae6bd3d336d5ee2d7392b248fdd7616d06a918ef87aa50be3ba2873" +checksum = "293a53db34a31ac0050e1b73891055e8eff83d52d4dc311e8e5b4bbabd474c60" [[package]] name = "rustc-demangle" @@ -5015,13 +5041,18 @@ dependencies = [ "outref 0.1.0", ] +[[package]] +name = "simd-adler32" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" + [[package]] name = "simd-json" -version = "0.14.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2bcf6c6e164e81bc7a5d49fc6988b3d515d9e8c07457d7b74ffb9324b9cd40" +checksum = "4255126f310d2ba20048db6321c81ab376f6a6735608bf11f0785c41f01f64e3" dependencies = [ - "getrandom 0.2.15", "halfbrown", "ref-cast", "serde", @@ -5174,6 +5205,16 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8230d5b8a65a6d4d4a7e5ee8dbdd9312ba447a8b8329689a390a0945d69b57ce" +[[package]] +name = "supports-color" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6398cde53adc3c4557306a96ce67b302968513830a77a95b2b17305d9719a89" +dependencies = [ + "is-terminal", + "is_ci", +] + [[package]] name = "supports-color" version = "3.0.2" @@ -6409,11 +6450,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.17", ] [[package]] @@ -6429,9 +6470,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", @@ -6440,12 +6481,11 @@ dependencies = [ [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", - "once_cell", ] [[package]] @@ -6514,7 +6554,6 @@ checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ "parking_lot", "pin-project-lite", - "slab", "tokio-macros", "tracing", ] @@ -6720,9 +6759,9 @@ checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "value-trait" -version = "0.10.1" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9170e001f458781e92711d2ad666110f153e4e50bfd5cbd02db6547625714187" +checksum = "8e80f0c733af0720a501b3905d22e2f97662d8eacfe082a75ed7ffb5ab08cb59" dependencies = [ "float-cmp", "halfbrown", @@ -6817,7 +6856,7 @@ dependencies = [ "log", "rustix 1.0.8", "system-interface", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", "wasmtime", "wiggle", @@ -7018,7 +7057,7 @@ dependencies = [ "pulley-interpreter", "smallvec", "target-lexicon", - "thiserror 2.0.12", + "thiserror 2.0.17", "wasmparser 0.235.0", "wasmtime-environ", "wasmtime-internal-math", @@ -7137,7 +7176,7 @@ dependencies = [ "anyhow", "async-trait", "bitflags 2.9.1", - "thiserror 2.0.12", + "thiserror 2.0.17", "tracing", "wasmtime", "wiggle-macro", @@ -7213,7 +7252,7 @@ dependencies = [ "regalloc2", "smallvec", "target-lexicon", - "thiserror 2.0.12", + "thiserror 2.0.17", "wasmparser 0.235.0", "wasmtime-environ", "wasmtime-internal-cranelift", @@ -7558,3 +7597,9 @@ dependencies = [ "quote", "syn 2.0.95", ] + +[[package]] +name = "zlib-rs" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36134c44663532e6519d7a6dfdbbe06f6f8192bde8ae9ed076e9b213f0e31df7" diff --git a/rspack/crates/binding/Cargo.toml b/rspack/crates/binding/Cargo.toml index 8c88c06a48f0c..d6038f6f5f015 100644 --- a/rspack/crates/binding/Cargo.toml +++ b/rspack/crates/binding/Cargo.toml @@ -7,17 +7,17 @@ edition = "2024" crate-type = ["cdylib"] [dependencies] -rspack_binding_builder = { version = "=0.6.0" } -rspack_binding_builder_macros = { version = "=0.6.0" } +rspack_binding_builder = { version = "=0.6.7" } +rspack_binding_builder_macros = { version = "=0.6.7" } -rspack_core = { version = "=0.6.0" } -rspack_error = { version = "=0.6.0" } -rspack_hook = { version = "=0.6.0" } -rspack_plugin_externals = { version = "=0.6.0" } -rspack_sources = { version = "=0.4.13" } +rspack_core = { version = "=0.6.7" } +rspack_error = { version = "=0.6.7" } +rspack_hook = { version = "=0.6.7" } +rspack_plugin_externals = { version = "=0.6.7" } +rspack_sources = { version = "=0.4.17" } regex = { version = "1.11.1" } -rspack_regex = { version = "=0.6.0" } +rspack_regex = { version = "=0.6.7" } rustc-hash = { version = "2.1.1" } napi = { version = "=3.2.2" } @@ -30,10 +30,10 @@ next-taskless = { version = "0.0.1", path = "../../../crates/next-taskless" } # Enable SWC plugin feature for targets that support it # Skip: wasm32-wasip1-threads, i686-pc-windows-msvc, aarch64-pc-windows-msvc, armv7-linux-androideabi, armv7-unknown-linux-gnueabihf [target.'cfg(not(any(target_arch = "wasm32", target_arch = "arm", all(target_os = "windows", target_arch = "x86"), all(target_os = "windows", target_arch = "aarch64"))))'.dependencies] -rspack_binding_builder = { version = "=0.6.0", features = ["plugin"] } +rspack_binding_builder = { version = "=0.6.7", features = ["plugin"] } [build-dependencies] -rspack_binding_build = { version = "=0.6.0" } +rspack_binding_build = { version = "=0.6.7" } # Workaround for `cross` builds to resolve parent workspace dependencies. # When cross-compiling, the build runs in an isolated container and can't find diff --git a/rspack/crates/binding/package.json b/rspack/crates/binding/package.json index 8038a8f3e946d..6c5095e734586 100644 --- a/rspack/crates/binding/package.json +++ b/rspack/crates/binding/package.json @@ -1,6 +1,6 @@ { "name": "@next/rspack-binding", - "version": "1.0.1", + "version": "1.0.1-beta.4", "homepage": "https://nextjs.org", "bugs": { "url": "https://github.com/vercel/next.js/issues" diff --git a/rspack/package.json b/rspack/package.json index ab9ec7be9bd55..1237c549d84f4 100644 --- a/rspack/package.json +++ b/rspack/package.json @@ -1,6 +1,6 @@ { "name": "@next/rspack-core", - "version": "1.0.1", + "version": "1.0.1-beta.4", "homepage": "https://nextjs.org", "bugs": { "url": "https://github.com/vercel/next.js/issues" @@ -28,7 +28,7 @@ "change-npm-name": "node ./change-npm-name.js" }, "dependencies": { - "@rspack/core": "1.6.0", + "@rspack/core": "1.6.7", "@next/rspack-binding": "workspace:*" } } diff --git a/rspack/pnpm-lock.yaml b/rspack/pnpm-lock.yaml index 95b22b9ac06ff..81b3cde0737f3 100644 --- a/rspack/pnpm-lock.yaml +++ b/rspack/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: workspace:* version: link:crates/binding '@rspack/core': - specifier: 1.6.0 - version: 1.6.0 + specifier: 1.6.7 + version: 1.6.7 crates/binding: devDependencies: @@ -177,23 +177,23 @@ packages: '@types/node': optional: true - '@module-federation/error-codes@0.21.2': - resolution: {integrity: sha512-mGbPAAApgjmQUl4J7WAt20aV04a26TyS21GDEpOGXFEQG5FqmZnSJ6FqB8K19HgTKioBT1+fF/Ctl5bGGao/EA==} + '@module-federation/error-codes@0.21.6': + resolution: {integrity: sha512-MLJUCQ05KnoVl8xd6xs9a5g2/8U+eWmVxg7xiBMeR0+7OjdWUbHwcwgVFatRIwSZvFgKHfWEiI7wsU1q1XbTRQ==} - '@module-federation/runtime-core@0.21.2': - resolution: {integrity: sha512-LtDnccPxjR8Xqa3daRYr1cH/6vUzK3mQSzgvnfsUm1fXte5syX4ftWw3Eu55VdqNY3yREFRn77AXdu9PfPEZRw==} + '@module-federation/runtime-core@0.21.6': + resolution: {integrity: sha512-5Hd1Y5qp5lU/aTiK66lidMlM/4ji2gr3EXAtJdreJzkY+bKcI5+21GRcliZ4RAkICmvdxQU5PHPL71XmNc7Lsw==} - '@module-federation/runtime-tools@0.21.2': - resolution: {integrity: sha512-SgG9NWTYGNYcHSd5MepO3AXf6DNXriIo4sKKM4mu4RqfYhHyP+yNjnF/gvYJl52VD61g0nADmzLWzBqxOqk2tg==} + '@module-federation/runtime-tools@0.21.6': + resolution: {integrity: sha512-fnP+ZOZTFeBGiTAnxve+axGmiYn2D60h86nUISXjXClK3LUY1krUfPgf6MaD4YDJ4i51OGXZWPekeMe16pkd8Q==} - '@module-federation/runtime@0.21.2': - resolution: {integrity: sha512-97jlOx4RAnAHMBTfgU5FBK6+V/pfT6GNX0YjSf8G+uJ3lFy74Y6kg/BevEkChTGw5waCLAkw/pw4LmntYcNN7g==} + '@module-federation/runtime@0.21.6': + resolution: {integrity: sha512-+caXwaQqwTNh+CQqyb4mZmXq7iEemRDrTZQGD+zyeH454JAYnJ3s/3oDFizdH6245pk+NiqDyOOkHzzFQorKhQ==} - '@module-federation/sdk@0.21.2': - resolution: {integrity: sha512-t2vHSJ1a9zjg7LLJoEghcytNLzeFCqOat5TbXTav5dgU0xXw82Cf0EfLrxiJL6uUpgbtyvUdqqa2DVAvMPjiiA==} + '@module-federation/sdk@0.21.6': + resolution: {integrity: sha512-x6hARETb8iqHVhEsQBysuWpznNZViUh84qV2yE7AD+g7uIzHKiYdoWqj10posbo5XKf/147qgWDzKZoKoEP2dw==} - '@module-federation/webpack-bundler-runtime@0.21.2': - resolution: {integrity: sha512-06R/NDY6Uh5RBIaBOFwYWzJCf1dIiQd/DFHToBVhejUT3ZFG7GzHEPIIsAGqMzne/JSmVsvjlXiJu7UthQ6rFA==} + '@module-federation/webpack-bundler-runtime@0.21.6': + resolution: {integrity: sha512-7zIp3LrcWbhGuFDTUMLJ2FJvcwjlddqhWGxi/MW3ur1a+HaO8v5tF2nl+vElKmbG1DFLU/52l3PElVcWf/YcsQ==} '@napi-rs/cli@3.0.1': resolution: {integrity: sha512-rO2aDZRzqs0bCPUpfaExKjK0L999FvT3iQK3f1NfnKa1njlaHqO7XK/mUzxn9pnrTglfyFixU4+S3SzzTaaKNA==} @@ -272,42 +272,49 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@napi-rs/lzma-linux-arm64-musl@1.4.5': resolution: {integrity: sha512-yWjcPDgJ2nIL3KNvi4536dlT/CcCWO0DUyEOlBs/SacG7BeD6IjGh6yYzd3/X1Y3JItCbZoDoLUH8iB1lTXo3w==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@napi-rs/lzma-linux-ppc64-gnu@1.4.5': resolution: {integrity: sha512-0XRhKuIU/9ZjT4WDIG/qnX7Xz7mSQHYZo9Gb3MP2gcvBgr6BA4zywQ9k3gmQaPn9ECE+CZg2V7DV7kT+x2pUMQ==} engines: {node: '>= 10'} cpu: [ppc64] os: [linux] + libc: [glibc] '@napi-rs/lzma-linux-riscv64-gnu@1.4.5': resolution: {integrity: sha512-QrqDIPEUUB23GCpyQj/QFyMlr8SGxxyExeZz9OWFnHfb70kXdTLWrHS/hEI1Ru+lSbQ/6xRqeoGyQ4Aqdg+/RA==} engines: {node: '>= 10'} cpu: [riscv64] os: [linux] + libc: [glibc] '@napi-rs/lzma-linux-s390x-gnu@1.4.5': resolution: {integrity: sha512-k8RVM5aMhW86E9H0QXdquwojew4H3SwPxbRVbl49/COJQWCUjGi79X6mYruMnMPEznZinUiT1jgKbFo2A00NdA==} engines: {node: '>= 10'} cpu: [s390x] os: [linux] + libc: [glibc] '@napi-rs/lzma-linux-x64-gnu@1.4.5': resolution: {integrity: sha512-6rMtBgnIq2Wcl1rQdZsnM+rtCcVCbws1nF8S2NzaUsVaZv8bjrPiAa0lwg4Eqnn1d9lgwqT+cZgm5m+//K08Kw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@napi-rs/lzma-linux-x64-musl@1.4.5': resolution: {integrity: sha512-eiadGBKi7Vd0bCArBUOO/qqRYPHt/VQVvGyYvDFt6C2ZSIjlD+HuOl+2oS1sjf4CFjK4eDIog6EdXnL0NE6iyQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@napi-rs/lzma-wasm32-wasi@1.4.5': resolution: {integrity: sha512-+VyHHlr68dvey6fXc2hehw9gHVFIW3TtGF1XkcbAu65qVXsA9D/T+uuoRVqhE+JCyFHFrO0ixRbZDRK1XJt1sA==} @@ -377,36 +384,42 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@napi-rs/tar-linux-arm64-musl@0.1.5': resolution: {integrity: sha512-5xTxsoPVqovnZ197CqTc+q3psRM4i+ErdiyfDgkG4nP045jh50gp22WKZuE24dc7/iS+IyUrM3+PRbmj2mzR8g==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@napi-rs/tar-linux-ppc64-gnu@0.1.5': resolution: {integrity: sha512-7FF1u8EkDpCEPCgU0/kvuzsO+opB7eIbsGfKRIbOqrDT7c1DYxDetNTtukPvNoT2kvwfxxThgTfcPADPxdOE/w==} engines: {node: '>= 10'} cpu: [ppc64] os: [linux] + libc: [glibc] '@napi-rs/tar-linux-s390x-gnu@0.1.5': resolution: {integrity: sha512-uyIZ7OLCLHtVBpogoJUD0GSAF1IUa3d5c5AVUemTLIwYkVgzdEB+khh3i2+/oKObf79ZKfQ8mYxOryHqfx+ulw==} engines: {node: '>= 10'} cpu: [s390x] os: [linux] + libc: [glibc] '@napi-rs/tar-linux-x64-gnu@0.1.5': resolution: {integrity: sha512-y8pFyVTU6lSYiW2lse6i1Ns9yt9mBkAqPbcJnIjqC7ZqRd61T6g3XZDSrKmsM6ycTfsAqoE5WyyFxBjQN29AOA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@napi-rs/tar-linux-x64-musl@0.1.5': resolution: {integrity: sha512-8phLYc0QX+tqvp34PQHUulZUi4sy/fdg1KgFHiyYExTRRleBB01vM7KSn7Bk9dwH7lannO5D7j4O8OY46Xcr/A==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@napi-rs/tar-wasm32-wasi@0.1.5': resolution: {integrity: sha512-OpVWC/bwY0zb6nbQDg6koxeZGb441gXwPkaYVjaK4O0TJjNpRKbokLAMlGFtcc/sVSPjghFL0+enfnLDt/P7og==} @@ -438,8 +451,8 @@ packages: '@napi-rs/wasm-runtime@0.2.12': resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} - '@napi-rs/wasm-runtime@1.0.7': - resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} + '@napi-rs/wasm-runtime@1.0.3': + resolution: {integrity: sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==} '@napi-rs/wasm-runtime@1.0.7': resolution: {integrity: sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==} @@ -479,24 +492,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@napi-rs/wasm-tools-linux-arm64-musl@0.0.3': resolution: {integrity: sha512-XN+sPgEwFw3P47wDvtcQyOoZNghIL8gaiRjEGzprB+kE9N21GkuMbk3kdjiBBJkjqKF25f4fbOvNAY0jQEAO3A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@napi-rs/wasm-tools-linux-x64-gnu@0.0.3': resolution: {integrity: sha512-mfMvMEqn33YtEjIyLPguZ6yDsNtF5zV7mqc99620YDyj2SLa0aI35TNTc7Dm+/hlgqHRKhdudsWGfYc4dBND2Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@napi-rs/wasm-tools-linux-x64-musl@0.0.3': resolution: {integrity: sha512-KXMsXWGELoN5xgPCoRHbgt5TScSx8BK2GcCHKJ9OPZ2HMfsXbLgS/SNi6vz1CbLMZMLPBY2G6HAk0gzLGyS0mQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@napi-rs/wasm-tools-wasm32-wasi@0.0.3': resolution: {integrity: sha512-v3iMHnAfMteogpbqHTFeLXPeAzL5AhpDJLvZvLXbuRiMsMRL0dn8CbcEnYja2P/Ui6Xlyky6PcaUsepOUTNb7A==} @@ -577,60 +594,64 @@ packages: '@octokit/types@14.1.0': resolution: {integrity: sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==} - '@rspack/binding-darwin-arm64@1.6.0': - resolution: {integrity: sha512-IrigOWnGvQgugsTZgf3dB5uko+y+lkNLYg/8w0DiobxkWhpLO97RAeR1w0ofIPXYVu3UWVf7dgHj3PjTqjC9Tw==} + '@rspack/binding-darwin-arm64@1.6.7': + resolution: {integrity: sha512-QiIAP8JTAtht0j8/xZZEQTJRB9e+KrOm9c7JJm73CewVg55rDWRrwopiVfBNlTu1coem1ztUHJYdQhg2uXfqww==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.6.0': - resolution: {integrity: sha512-UYz+Y1XqbHGnkUOsaZRuwiuQaQaQ5rEPSboBPlIVDtblwmB71yxo3ET0nSoUhz8L/WXqQoARiraTCxUP6bvSIg==} + '@rspack/binding-darwin-x64@1.6.7': + resolution: {integrity: sha512-DpQRxxTXkMMNPmBXeJBaAB8HmWKxH2IfvHv7vU+kBhJ3xdPtXU4/xBv1W3biluoNRG11gc1WLIgjzeGgaLCxmw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.6.0': - resolution: {integrity: sha512-Jr7aaxrtwOnh7ge7tZP+Mjpo6uNltvQisL25WcjpP+8PnPT0C9jziKDJso7KxeOINXnQ2yRn2h65+HBNb7FQig==} + '@rspack/binding-linux-arm64-gnu@1.6.7': + resolution: {integrity: sha512-211/XoBiooGGgUo/NxNpsrzGUXtH1d7g/4+UTtjYtfc8QHwu7ZMHcsqg0wss53fXzn/yyxd0DZ56vBHq52BiFw==} cpu: [arm64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-arm64-musl@1.6.0': - resolution: {integrity: sha512-hl17reUhkjgkcLao6ZvNiSRQFGFykqUpIj1//v/XtVd/2XAZ0Kt7jv9UUeaR+2zY8piH+tgCkwgefmjmajMeFg==} + '@rspack/binding-linux-arm64-musl@1.6.7': + resolution: {integrity: sha512-0WnqAWz3WPDsXGvOOA++or7cHpoidVsH3FlqNaAfRu6ni6n7ig/s0/jKUB+C5FtXOgmGjAGkZHfFgNHsvZ0FWw==} cpu: [arm64] os: [linux] + libc: [musl] - '@rspack/binding-linux-x64-gnu@1.6.0': - resolution: {integrity: sha512-xdlb+ToerFU/YggndCfIrZI/S/C80CP9ZFw6lhnEFSTJDAG88KptxstsoKUh8YzyPTD45CYaOjYNtUtiv0nScg==} + '@rspack/binding-linux-x64-gnu@1.6.7': + resolution: {integrity: sha512-iMrE0Q4IuYpkE0MjpaOVaUDYbQFiCRI9D3EPoXzlXJj4kJSdNheODpHTBVRlWt8Xp7UAoWuIFXCvKFKcSMm3aQ==} cpu: [x64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-x64-musl@1.6.0': - resolution: {integrity: sha512-IkXEW/FBPPz4EJJTLNZvA+94aLaW2HgUMYu7zCIw5YMc9JJ/UXexY1zjX/A7yidsCiZCRy/ZrB+veFJ5FkZv7w==} + '@rspack/binding-linux-x64-musl@1.6.7': + resolution: {integrity: sha512-e7gKFxpdEQwYGk7lTC/hukTgNtaoAstBXehnZNk4k3kuU6+86WDrkn18Cd949iNqfIPtIG/wIsFNGbkHsH69hQ==} cpu: [x64] os: [linux] + libc: [musl] - '@rspack/binding-wasm32-wasi@1.6.0': - resolution: {integrity: sha512-XGwX35XXnoTYVUGwDBsKNOkkk/yUsT/RF59u9BwT3QBM5eSXk767xVw/ZeiiyJf5YfI/52HDW2E4QZyvlYyv7g==} + '@rspack/binding-wasm32-wasi@1.6.7': + resolution: {integrity: sha512-yx88EFdE9RP3hh7VhjjW6uc6wGU0KcpOcZp8T8E/a+X8L98fX0aVrtM1IDbndhmdluIMqGbfJNap2+QqOCY9Mw==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.6.0': - resolution: {integrity: sha512-HOA/U7YC6EB74CpIrT2GrvPgd+TLr0anNuOp/8omw9hH1jjsP5cjUMgWeAGmWyXWxwoS8rRJ0xhRA+UIe3cL3g==} + '@rspack/binding-win32-arm64-msvc@1.6.7': + resolution: {integrity: sha512-vgxVYpFK8P5ulSXQQA+EbX78R/SUU+WIf0JIY+LoUoP89gZOsise/lKAJMAybzpeTJ1t0ndLchFznDYnzq+l4Q==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.6.0': - resolution: {integrity: sha512-ThczdltBOFcq+IrTflCE+8q0GvKoISt6pTupkuGnI1/bCnqhCxPP6kx8Z06fdJUFMhvBtpZa0gDJvhh3JBZrKA==} + '@rspack/binding-win32-ia32-msvc@1.6.7': + resolution: {integrity: sha512-bV5RTW0Va0UQKJm9HWLt7fWNBPaBBBxCJOA2pJT3nGGm6CCXKnZSyEiVbFUk4jI/uiwBfqenlLkzaGoMRbeDhA==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.6.0': - resolution: {integrity: sha512-Bhyvsh1m6kIpr1vqZlcdUDUTh0bheRe9SF+f6jw0kPDPbh8FfrRbshPKmRHpRZAUHt20NqgUKR2z2BaKb0IJvQ==} + '@rspack/binding-win32-x64-msvc@1.6.7': + resolution: {integrity: sha512-8xlbuJQtYktlBjZupOHlO8FeZqSIhsV3ih7xBSiOYar6LI6uQzA7XiO3I5kaPSDirBMMMKv1Z4rKCxWx10a3TQ==} cpu: [x64] os: [win32] - '@rspack/binding@1.6.0': - resolution: {integrity: sha512-RqlCjvWg/LkJjHpsbI48ebo2SYpIBJsV1eh9SEMfXo1batAPvB5grhAbLX0MRUOtzuQOnZMCDGdr2v7l2L8Siw==} + '@rspack/binding@1.6.7': + resolution: {integrity: sha512-7ICabuBN3gHc6PPN52+m1kruz3ogiJjg1C0gSWdLRk18m/4jlcM2aAy6wfXjgODJdB0Yh2ro/lIpBbj+AYWUGA==} - '@rspack/core@1.6.0': - resolution: {integrity: sha512-u2GDSToEhmgIsy0QbOPA81i9tu87J2HgSsRA3HHZfWIR8Vt8KdlAriQnG8CatDnvFSY/UQEumVf5Z1HUAQwxCg==} + '@rspack/core@1.6.7': + resolution: {integrity: sha512-tkd4nSzTf+pDa9OAE4INi/JEa93HNszjWy5C9+trf4ZCXLLHsHxHQFbzoreuz4Vv2PlCWajgvAdiPMV1vGIkuw==} engines: {node: '>=18.12.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -638,9 +659,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==} '@tybys/wasm-util@0.10.0': resolution: {integrity: sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==} @@ -965,30 +985,30 @@ snapshots: optionalDependencies: '@types/node': 24.3.0 - '@module-federation/error-codes@0.21.2': {} + '@module-federation/error-codes@0.21.6': {} - '@module-federation/runtime-core@0.21.2': + '@module-federation/runtime-core@0.21.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/runtime-tools@0.21.2': + '@module-federation/runtime-tools@0.21.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/runtime@0.21.2': + '@module-federation/runtime@0.21.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/sdk@0.21.2': {} + '@module-federation/sdk@0.21.6': {} - '@module-federation/webpack-bundler-runtime@0.21.2': + '@module-federation/webpack-bundler-runtime@0.21.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 '@napi-rs/cli@3.0.1(@emnapi/runtime@1.6.0)(@types/node@24.3.0)': dependencies: @@ -1066,7 +1086,7 @@ snapshots: '@napi-rs/lzma-wasm32-wasi@1.4.5': dependencies: - '@napi-rs/wasm-runtime': 1.0.7 + '@napi-rs/wasm-runtime': 1.0.3 optional: true '@napi-rs/lzma-win32-arm64-msvc@1.4.5': @@ -1174,11 +1194,11 @@ snapshots: '@tybys/wasm-util': 0.10.0 optional: true - '@napi-rs/wasm-runtime@1.0.7': + '@napi-rs/wasm-runtime@1.0.3': dependencies: - '@emnapi/core': 1.5.0 - '@emnapi/runtime': 1.5.0 - '@tybys/wasm-util': 0.10.1 + '@emnapi/core': 1.4.5 + '@emnapi/runtime': 1.4.5 + '@tybys/wasm-util': 0.10.0 optional: true '@napi-rs/wasm-runtime@1.0.7': @@ -1307,58 +1327,58 @@ snapshots: dependencies: '@octokit/openapi-types': 25.1.0 - '@rspack/binding-darwin-arm64@1.6.0': + '@rspack/binding-darwin-arm64@1.6.7': optional: true - '@rspack/binding-darwin-x64@1.6.0': + '@rspack/binding-darwin-x64@1.6.7': optional: true - '@rspack/binding-linux-arm64-gnu@1.6.0': + '@rspack/binding-linux-arm64-gnu@1.6.7': optional: true - '@rspack/binding-linux-arm64-musl@1.6.0': + '@rspack/binding-linux-arm64-musl@1.6.7': optional: true - '@rspack/binding-linux-x64-gnu@1.6.0': + '@rspack/binding-linux-x64-gnu@1.6.7': optional: true - '@rspack/binding-linux-x64-musl@1.6.0': + '@rspack/binding-linux-x64-musl@1.6.7': optional: true - '@rspack/binding-wasm32-wasi@1.6.0': + '@rspack/binding-wasm32-wasi@1.6.7': dependencies: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-win32-arm64-msvc@1.6.0': + '@rspack/binding-win32-arm64-msvc@1.6.7': optional: true - '@rspack/binding-win32-ia32-msvc@1.6.0': + '@rspack/binding-win32-ia32-msvc@1.6.7': optional: true - '@rspack/binding-win32-x64-msvc@1.6.0': + '@rspack/binding-win32-x64-msvc@1.6.7': optional: true - '@rspack/binding@1.6.0': + '@rspack/binding@1.6.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/core@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/core@1.6.7': 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 - '@rspack/lite-tapable@1.0.1': {} + '@rspack/lite-tapable@1.1.0': {} '@tybys/wasm-util@0.10.0': dependencies: diff --git a/rspack/rust-toolchain.toml b/rspack/rust-toolchain.toml index 7968dd60f531a..0291d567bd3e5 100644 --- a/rspack/rust-toolchain.toml +++ b/rspack/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] profile = "default" -channel = "nightly-2025-05-30" +channel = "nightly-2025-11-13" diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index e7e03945032d0..8d1c4cdd969e1 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -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 |

lol

@@ -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) /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) @@ -1062,11 +1059,11 @@ describe('ReactRefreshLogBox app', () => { "description": "test", "environmentLabel": null, "label": "Runtime Error", - "source": "index.js (3:11) @ default + "source": "index.js (3:11) @ __rspack_default_export > 3 | throw new Error('test') | ^", "stack": [ - "default index.js (3:11)", + "__rspack_default_export index.js (3:11)", "Page app/page.js (4:10)", ], } @@ -1504,12 +1501,12 @@ describe('ReactRefreshLogBox app', () => { } `) } else if (isRspack) { - await expect(browser).toDisplayRedbox(` + await expect({ browser, next }).toDisplayRedbox(` { "description": " ╰─▶ × Error: RspackResolver(NotFound("./boom.css"))", "environmentLabel": null, "label": "Build Error", - "source": "× Module build failed: + "source": "/node_modules/.pnpm/next@file+..+next-repo-9c6e97679f5c3553d3ec04ec28ac7e5aca39fe6dbd50a0b00e66ae89d134f775+packa_kefuxcpyzen6dvrrroklci3grq/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!/node_modules/.pnpm/next@file+..+next-repo-9c6e97679f5c3553d3ec04ec28ac7e5aca39fe6dbd50a0b00e66ae89d134f775+packa_kefuxcpyzen6dvrrroklci3grq/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!/app/styles2.css ╰─▶ × Error: RspackResolver(NotFound("./boom.css"))", "stack": [], } diff --git a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts index 6f6b5a5db84fa..29eaf30aeaf83 100644 --- a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts @@ -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 │ | │ diff --git a/test/development/acceptance-app/error-recovery.test.ts b/test/development/acceptance-app/error-recovery.test.ts index e7067dc8cf7aa..0ec7a65b182f3 100644 --- a/test/development/acceptance-app/error-recovery.test.ts +++ b/test/development/acceptance-app/error-recovery.test.ts @@ -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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '>', got '' │ ,---- │ 1 | export default () =>
{ } else if (isRspack) { await expect(browser).toDisplayRedbox(` { - "description": " × Module build failed:", + "description": " ╰─▶ × Error: x Expected '}', got ''", "environmentLabel": null, "label": "Build Error", "source": "./app/server/page.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[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 ''", "environmentLabel": null, "label": "Build Error", "source": "./app/client/page.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[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 ''", "environmentLabel": null, "label": "Build Error", "source": "./app/page.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,---- │ 1 | {{{ diff --git a/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts b/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts index a303a28cc5af4..1f9ae45b4e39a 100644 --- a/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-app-doc.test.ts @@ -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' diff --git a/test/development/acceptance/ReactRefreshLogBox.test.ts b/test/development/acceptance/ReactRefreshLogBox.test.ts index edd4c794a4d6e..3376c3e8908cb 100644 --- a/test/development/acceptance/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox.test.ts @@ -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 |

lol

@@ -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) /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) diff --git a/test/development/acceptance/ReactRefreshRegression.test.ts b/test/development/acceptance/ReactRefreshRegression.test.ts index d9eb408da6f79..d5ba5a9c7564a 100644 --- a/test/development/acceptance/ReactRefreshRegression.test.ts +++ b/test/development/acceptance/ReactRefreshRegression.test.ts @@ -301,11 +301,11 @@ describe('ReactRefreshRegression', () => { "description": "boom", "environmentLabel": null, "label": "Runtime Error", - "source": "pages/index.js (1:36) @ default + "source": "pages/index.js (1:36) @ __rspack_default_export > 1 | export default function () { throw new Error('boom'); } | ^", "stack": [ - "default pages/index.js (1:36)", + "__rspack_default_export pages/index.js (1:36)", ], } `) diff --git a/test/development/acceptance/error-recovery.test.ts b/test/development/acceptance/error-recovery.test.ts index 6eddc8b59ab35..00915a3c930ae 100644 --- a/test/development/acceptance/error-recovery.test.ts +++ b/test/development/acceptance/error-recovery.test.ts @@ -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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '>', got '' │ ,---- │ 1 | export default () =>
{ } 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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[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 ''", "environmentLabel": null, "label": "Build Error", "source": "./index.js - × Module build failed: ╰─▶ × Error: x Expected '}', got '' │ ,-[7:1] │ 4 | i++ diff --git a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts index fd9b2066201de..4a071524b9ea3 100644 --- a/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts +++ b/test/development/acceptance/server-component-compiler-errors-in-pages.test.ts @@ -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 │ | │ diff --git a/test/development/app-dir/build-error-logs/build-error-logs.test.ts b/test/development/app-dir/build-error-logs/build-error-logs.test.ts index 8a2f65ff40668..ec154bfea95a5 100644 --- a/test/development/app-dir/build-error-logs/build-error-logs.test.ts +++ b/test/development/app-dir/build-error-logs/build-error-logs.test.ts @@ -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(moduleNotFoundLogs).toHaveLength(2) } else { // FIXME: next with webpack still logs the same error too many times expect(moduleNotFoundLogs).toHaveLength(3) diff --git a/test/development/app-dir/cache-components-dev-errors/cache-components-dev-errors.test.ts b/test/development/app-dir/cache-components-dev-errors/cache-components-dev-errors.test.ts index 7d5228a116b56..f9080b8675a0e 100644 --- a/test/development/app-dir/cache-components-dev-errors/cache-components-dev-errors.test.ts +++ b/test/development/app-dir/cache-components-dev-errors/cache-components-dev-errors.test.ts @@ -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 diff --git a/test/development/app-dir/server-component-next-dynamic-ssr-false/server-component-next-dynamic-ssr-false.test.ts b/test/development/app-dir/server-component-next-dynamic-ssr-false/server-component-next-dynamic-ssr-false.test.ts index 84caa90c55752..6beec1843767f 100644 --- a/test/development/app-dir/server-component-next-dynamic-ssr-false/server-component-next-dynamic-ssr-false.test.ts +++ b/test/development/app-dir/server-component-next-dynamic-ssr-false/server-component-next-dynamic-ssr-false.test.ts @@ -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' diff --git a/test/development/app-dir/ssr-in-rsc/ssr-in-rsc.test.ts b/test/development/app-dir/ssr-in-rsc/ssr-in-rsc.test.ts index 3eb0c676ebd05..6a6bfae3661d6 100644 --- a/test/development/app-dir/ssr-in-rsc/ssr-in-rsc.test.ts +++ b/test/development/app-dir/ssr-in-rsc/ssr-in-rsc.test.ts @@ -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": " - × 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] diff --git a/test/development/basic/hmr/run-error-recovery-hmr-test.util.ts b/test/development/basic/hmr/run-error-recovery-hmr-test.util.ts index 9ba3841acf4a7..8286f13652744 100644 --- a/test/development/basic/hmr/run-error-recovery-hmr-test.util.ts +++ b/test/development/basic/hmr/run-error-recovery-hmr-test.util.ts @@ -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 |

This is the about page.

- │ 5 | div - │ 6 | ) - │ 7 | } - │ : ^ - │ \`---- - │ x Expected '' - │ ,-[7:3] - │ 5 | div - │ 6 | ) - │ 7 | } - │ \`---- - │ - │ - │ Caused by: - │ Syntax Error - - Import trace for requested module: - ./pages/hmr/about2.js" - `) + "./pages/hmr/about2.js + ╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? + │ ,-[7:1] + │ 4 |

This is the about page.

+ │ 5 | div + │ 6 | ) + │ 7 | } + │ : ^ + │ \`---- + │ x Expected '' + │ ,-[7:3] + │ 5 | div + │ 6 | ) + │ 7 | } + │ \`---- + │ + │ + │ Caused by: + │ Syntax Error + + 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 - - Import trace for requested module: - ./components/parse-error.js - ./pages/hmr/about9.js" - `) + "./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" + `) } else { redboxSource = redboxSource.substring( 0, diff --git a/test/development/mcp-server/mcp-server-get-errors.test.ts b/test/development/mcp-server/mcp-server-get-errors.test.ts index 43285d67461c5..7331788ca0e68 100644 --- a/test/development/mcp-server/mcp-server-get-errors.test.ts +++ b/test/development/mcp-server/mcp-server-get-errors.test.ts @@ -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() { diff --git a/test/development/middleware-errors/index.test.ts b/test/development/middleware-errors/index.test.ts index 6f816a539fc75..d9d21febf5525 100644 --- a/test/development/middleware-errors/index.test.ts +++ b/test/development/middleware-errors/index.test.ts @@ -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": [ "", - "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 (${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 (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 () } diff --git a/test/development/pages-dir/client-navigation/rendering.test.ts b/test/development/pages-dir/client-navigation/rendering.test.ts index 2915ff3a141f0..785894e2a2af8 100644 --- a/test/development/pages-dir/client-navigation/rendering.test.ts +++ b/test/development/pages-dir/client-navigation/rendering.test.ts @@ -250,11 +250,11 @@ describe('Client Navigation rendering', () => { "description": "This is an expected error", "environmentLabel": null, "label": "Runtime Error", - "source": "pages/error-inside-page.js (2:9) @ default + "source": "pages/error-inside-page.js (2:9) @ __rspack_default_export > 2 | throw new Error('This is an expected error') | ^", "stack": [ - "default pages/error-inside-page.js (2:9)", + "__rspack_default_export pages/error-inside-page.js (2:9)", ], } `) diff --git a/test/e2e/app-dir/error-on-next-codemod-comment/error-on-next-codemod-comment.test.ts b/test/e2e/app-dir/error-on-next-codemod-comment/error-on-next-codemod-comment.test.ts index e0034f2d478c7..d2b645a9ac533 100644 --- a/test/e2e/app-dir/error-on-next-codemod-comment/error-on-next-codemod-comment.test.ts +++ b/test/e2e/app-dir/error-on-next-codemod-comment/error-on-next-codemod-comment.test.ts @@ -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. │ diff --git a/test/e2e/app-dir/scss/npm-import-bad/npm-import-bad.test.ts b/test/e2e/app-dir/scss/npm-import-bad/npm-import-bad.test.ts index e34ca5fc6d01f..df02f7c412d0b 100644 --- a/test/e2e/app-dir/scss/npm-import-bad/npm-import-bad.test.ts +++ b/test/e2e/app-dir/scss/npm-import-bad/npm-import-bad.test.ts @@ -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 { diff --git a/test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts b/test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts index 481aa9c124ff0..4d27c4e2ed2ce 100644 --- a/test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts +++ b/test/e2e/app-dir/use-cache-segment-configs/use-cache-segment-configs.test.ts @@ -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": " - × 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' diff --git a/test/e2e/app-dir/use-cache-unknown-cache-kind/use-cache-unknown-cache-kind.test.ts b/test/e2e/app-dir/use-cache-unknown-cache-kind/use-cache-unknown-cache-kind.test.ts index e2684d3bf7ee6..fa289a787e1c4 100644 --- a/test/e2e/app-dir/use-cache-unknown-cache-kind/use-cache-unknown-cache-kind.test.ts +++ b/test/e2e/app-dir/use-cache-unknown-cache-kind/use-cache-unknown-cache-kind.test.ts @@ -118,7 +118,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 +141,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' │ : ^^^^^^^^^^^^^^^^^^^ diff --git a/test/e2e/app-dir/use-cache-without-experimental-flag/use-cache-without-experimental-flag.test.ts b/test/e2e/app-dir/use-cache-without-experimental-flag/use-cache-without-experimental-flag.test.ts index ea1ea8ad26181..82128882c19c8 100644 --- a/test/e2e/app-dir/use-cache-without-experimental-flag/use-cache-without-experimental-flag.test.ts +++ b/test/e2e/app-dir/use-cache-without-experimental-flag/use-cache-without-experimental-flag.test.ts @@ -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