From c1da469bcb42b436795a45c238dc15006af38f1c Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Thu, 25 Sep 2025 10:20:28 +0800 Subject: [PATCH 01/11] chore: upgrade rspack 1.5.7 --- package.json | 2 +- packages/next-rspack/package.json | 2 +- packages/next/package.json | 2 +- pnpm-lock.yaml | 294 ++++++++++++------- rspack/Cargo.lock | 458 +++++++++++++++--------------- rspack/crates/binding/Cargo.toml | 18 +- rspack/package.json | 2 +- 7 files changed, 440 insertions(+), 338 deletions(-) diff --git a/package.json b/package.json index 2b47c8205776b..259a0556d0d15 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "@next/third-parties": "workspace:*", "@opentelemetry/api": "1.4.1", "@picocss/pico": "1.5.10", - "@rspack/core": "1.5.0", + "@rspack/core": "1.5.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 ef86a6f6f5541..04401bfcfca01 100644 --- a/packages/next-rspack/package.json +++ b/packages/next-rspack/package.json @@ -7,6 +7,6 @@ }, "types": "index.d.ts", "dependencies": { - "@rspack/core": "1.5.0" + "@rspack/core": "1.5.7" } } diff --git a/packages/next/package.json b/packages/next/package.json index e0b3e6affb4df..97b2ca956948e 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -174,7 +174,7 @@ "@next/swc": "15.6.0-canary.25", "@opentelemetry/api": "1.6.0", "@playwright/test": "1.51.1", - "@rspack/core": "1.5.0", + "@rspack/core": "1.5.7", "@storybook/addon-a11y": "8.6.0", "@storybook/addon-essentials": "8.6.0", "@storybook/addon-interactions": "8.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 89b2462d2c994..b81c21b78623f 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.5.0 - version: 1.5.0(@swc/helpers@0.5.15) + specifier: 1.5.7 + version: 1.5.7(@swc/helpers@0.5.15) '@slack/web-api': specifier: 7.9.1 version: 7.9.1 @@ -290,7 +290,7 @@ importers: version: 5.2.1(eslint@9.12.0(jiti@2.5.1)) eslint-plugin-import: specifier: 2.31.0 - version: 2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1)) + version: 2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0(jiti@2.5.1)) eslint-plugin-jest: specifier: 27.6.3 version: 27.6.3(@typescript-eslint/eslint-plugin@8.36.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.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) @@ -660,7 +660,7 @@ importers: version: 9.12.0(jiti@2.5.1) eslint-config-next: specifier: canary - version: link:../../packages/eslint-config-next + version: 15.6.0-canary.29(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) tailwindcss: specifier: 4.1.13 version: 4.1.13 @@ -1124,8 +1124,8 @@ importers: specifier: 1.51.1 version: 1.51.1 '@rspack/core': - specifier: 1.5.0 - version: 1.5.0(@swc/helpers@0.5.15) + specifier: 1.5.7 + version: 1.5.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)) @@ -1146,7 +1146,7 @@ importers: version: 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(react-dom@19.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(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.5.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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) + version: 8.6.0(@rspack/core@1.5.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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(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)) @@ -1371,7 +1371,7 @@ importers: version: 3.12.0 css-loader: specifier: 7.1.2 - version: 7.1.2(@rspack/core@1.5.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.5.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 @@ -1548,7 +1548,7 @@ importers: version: 2.5.0 sass-loader: specifier: 15.0.0 - version: 15.0.0(@rspack/core@1.5.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: 15.0.0(@rspack/core@1.5.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 @@ -1778,8 +1778,8 @@ importers: packages/next-rspack: dependencies: '@rspack/core': - specifier: 1.5.0 - version: 1.5.0(@swc/helpers@0.5.15) + specifier: 1.5.7 + version: 1.5.7(@swc/helpers@0.5.15) packages/next-swc: devDependencies: @@ -2995,17 +2995,14 @@ packages: resolution: {integrity: sha512-NKBGBSIKUG584qrS1tyxVpX/AKJKQw5HgjYEnPLC0QsTw79JrGn+qUr8CXFb955Iy7GUdiiUv1rJ6JBGvaKb6w==} engines: {node: '>=18'} - '@emnapi/core@1.4.5': - resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} - - '@emnapi/runtime@1.4.5': - resolution: {integrity: sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==} + '@emnapi/core@1.5.0': + resolution: {integrity: sha512-sbP8GzB1WDzacS8fgNPpHlp6C9VZe+SJP3F90W9rLemaQj2PzIuTEl1qDOYQf58YIpyjViI24y9aPWCjEzY2cg==} '@emnapi/runtime@1.5.0': resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==} - '@emnapi/wasi-threads@1.0.4': - resolution: {integrity: sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g==} + '@emnapi/wasi-threads@1.1.0': + resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==} '@emotion/babel-plugin@11.11.0': resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} @@ -4402,12 +4399,15 @@ packages: '@napi-rs/triples@1.2.0': resolution: {integrity: sha512-HAPjR3bnCsdXBsATpDIP5WCrw0JcACwhhrwIAQhiR46n+jm+a2F8kBsfseAuWtSyQ+H3Yebt2k43B5dy+04yMA==} - '@napi-rs/wasm-runtime@1.0.3': - resolution: {integrity: sha512-rZxtMsLwjdXkMUGC3WwsPwLNVqVqnTJT6MNIB6e+5fhMcSCPP0AOsNWuMQ5mdCq6HNjs/ZeWAEchpqeprqBD2Q==} + '@napi-rs/wasm-runtime@1.0.5': + resolution: {integrity: sha512-TBr9Cf9onSAS2LQ2+QHx6XcC6h9+RIzJgbqG3++9TUZSH204AwEy5jg3BTQ0VATsyoGj4ee49tN/y6rvaOOtcg==} '@next/env@15.5.3': resolution: {integrity: sha512-RSEDTRqyihYXygx/OJXwvVupfr9m04+0vH8vyy0HfZ7keRto6VX9BbEk0J2PUk0VGy6YhklJUSrgForov5F9pw==} + '@next/eslint-plugin-next@15.6.0-canary.29': + resolution: {integrity: sha512-hH4+k5ofjoAsCUF6j4Oqdk7BI8JeMCZHTkd0LtNT6+sPMA6WRTSYNc6fQmTKAXiwM+/K9jc7+4T3Rns9HLcxHg==} + '@next/swc-darwin-arm64@15.5.3': resolution: {integrity: sha512-nzbHQo69+au9wJkGKTU9lP7PXv0d1J5ljFpvb+LnEomLtSbJkbZyEs6sbF3plQmiOB2l9OBtN2tNSvCH1nQ9Jg==} engines: {node: '>= 10'} @@ -5274,60 +5274,60 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-darwin-arm64@1.5.0': - resolution: {integrity: sha512-7909YLNnKf0BYxiCpCWOk13WyWS4493Kxk1NQwy9KPLY9ydQExk84KVsix2NuNBaI8Pnk3aVLBPJiSNXtHLjnA==} + '@rspack/binding-darwin-arm64@1.5.7': + resolution: {integrity: sha512-prQ/vgJxOPdlYiR4gVeOEKofTCEOu70JQIQApqFnw8lKM7rd9ag8ogDNqmc2L/GGXGHLAqds28oeKXRlzYf7+Q==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.5.0': - resolution: {integrity: sha512-poGuQsGKCMQqSswgrz8X+frqMVTdmtzUDyvi/p9BLwW+2DwWgmywU8jwE+BYtjfWp1tErBSTlLxmEPQTdcIQgQ==} + '@rspack/binding-darwin-x64@1.5.7': + resolution: {integrity: sha512-FPqiWSbEEerqfJrGnYe68svvl6NyuQFAb3qqFe/Q0MqFhBYmAZwa0R2/ylugCdgFLZxmkFuWqpDgItpvJb/E3Q==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.5.0': - resolution: {integrity: sha512-Bvmk8h3tRhN9UgOtH+vK0SgFM3qEO36eJz7oddOl4lJQxBf2GNA87bGtkMtX+AVPz/PUn7r82uWxrlVNQHAbFg==} + '@rspack/binding-linux-arm64-gnu@1.5.7': + resolution: {integrity: sha512-fwy+NY+0CHrZqqzDrjPBlTuK53W4dG5EEg/QQFAE7KVM+okRqPk8tg45bJ5628rCNLe13GDmPIE107LmgspNqA==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.5.0': - resolution: {integrity: sha512-bH7UwkbACDYT37YnN9kkhaF9niFFK9ndcdNvYFFr1oUT4W9Ie3V9b41EXijqp3pyh0mDSeeLPFY0aEx1t3e7Pw==} + '@rspack/binding-linux-arm64-musl@1.5.7': + resolution: {integrity: sha512-576u/0F4ZUzpHckFme4vQ0sSxjE+B/gVP4tNJ+P6bJaclXLFXV4icbjTUQwOIgmA1EQz/JFeKGGJZ4p6mowpBQ==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.5.0': - resolution: {integrity: sha512-xZ5dwNrE5KtpQyMd9israpJTcTQ3UYUUq23fTcNc79xE5aspkGixDFAYoql4YkhO0O+JWRmdSaFAn6jD+IQWQA==} + '@rspack/binding-linux-x64-gnu@1.5.7': + resolution: {integrity: sha512-brSHywXjjeuWkv0ywgxS4VgDgquarEb4XGr+eXhOaPcc8x2rNefyc4hErplrI7+oxPXVuGK5VE4ZH5bj3Yknvg==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.5.0': - resolution: {integrity: sha512-mv65jYvcyYPkPZJ9kjSvTAcH0o7C5jfICWCQcMmN1tCGD3b8gmf9GqSZ8e+W/JkuvrJ05qTo/PvEq9nhu+pNIg==} + '@rspack/binding-linux-x64-musl@1.5.7': + resolution: {integrity: sha512-HcS0DzbLlWCwVfYcWMbTgILh4GELD6m4CZoFEhIr4fJCJi0p8NgLYycy1QtDhaUjs8TKalmyMwHrJwGnD141JA==} cpu: [x64] os: [linux] - '@rspack/binding-wasm32-wasi@1.5.0': - resolution: {integrity: sha512-8rVpl6xfaAFJgo1wCd+emksfl+/8nlehrtkmjY9bj79Ou+kp07L9e1B+UU0jfs8e7aLPntQuF68kzLHwYLzWIQ==} + '@rspack/binding-wasm32-wasi@1.5.7': + resolution: {integrity: sha512-uTRUEuK+TVlvUBSWXVoxD+6JTN+rvtRqVlO+A7I7VnOY7p9Rpvk1sXcHtEwg/XuDCq4DALnvlzbFLh7G3zILvw==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.5.0': - resolution: {integrity: sha512-dWSmNm+GR6WSkOwbhlUcot4Oqwyon+1PRZ9E0vIMFHKGvESf9CQjgHAX0QE9G0kJmRM5x3I16J4x44Kw3W/98Q==} + '@rspack/binding-win32-arm64-msvc@1.5.7': + resolution: {integrity: sha512-dFHrXRUmMTkxEn/Uw2RLbIckKfi0Zmn2NnEXwedWdyRgZW4Vhk7+VBxM22O/CHZmAGt12Ol25yTuVv58ANLEKA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.5.0': - resolution: {integrity: sha512-YtOrFEkwhO3Y3sY6Jq0OOYPY7NBTNYuwJ6epTgzPEDGs2cBnwZfzhq0jmD/koWtv1L9+twX95vKosBdauF0tNA==} + '@rspack/binding-win32-ia32-msvc@1.5.7': + resolution: {integrity: sha512-PNtnOIUzE9p/Fbl6l/1Zs7bhn8ccTlaHTgZgQq0sO/QxjLlbU0WPjRl+YLo27cAningSOAbANuYlN8vAcuimrw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.5.0': - resolution: {integrity: sha512-V4fcPVYWJgDkIkSsFwmUdwC9lkL8+1dzDOwyTWe6KW2MYHF2D148WPHNyVVE6gum12TShpbIsh0j4NiiMhkMtw==} + '@rspack/binding-win32-x64-msvc@1.5.7': + resolution: {integrity: sha512-22gTaYkwaIUvyXRxf1RVnFTJPqF2hD1pgAQNBIz7kYybe6vvSZ6KInW4WyG4vjYKrJg/cbS4QvtlLn0lYXrdIw==} cpu: [x64] os: [win32] - '@rspack/binding@1.5.0': - resolution: {integrity: sha512-UGXQmwEu2gdO+tnGv2q4rOWJdWioy6dlLXeZOLYAZVh3mrfKJhZWtDEygX9hCdE5thWNRTlEvx30QQchJAszIQ==} + '@rspack/binding@1.5.7': + resolution: {integrity: sha512-/fFrf4Yu8Tc0yXBw33g2++turdld1MDphLiLg05bx92fOVI1MafocwPvm35e3y1z7CtlQJ2Bmvzhi6APJShKxg==} - '@rspack/core@1.5.0': - resolution: {integrity: sha512-eEtiKV+CUcAtnt1K+eiHDzmBXQcNM8CfCXOzr0+gHGp4w4Zks2B8RF36sYD03MM2bg8VRXXsf0MicQ8FvRMCOg==} + '@rspack/core@1.5.7': + resolution: {integrity: sha512-57ey3wafK/g+B9zLdCiIrX3eTK8rFEM3yvxBUb2ro3ZtAaCGm4y7xERcXZJNn4D01pjzzCJ/u1ezpQmsZYLP7A==} engines: {node: '>=18.12.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -5898,8 +5898,8 @@ packages: resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} - '@tybys/wasm-util@0.10.0': - resolution: {integrity: sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==} + '@tybys/wasm-util@0.10.1': + resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} '@types/acorn@4.0.6': resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} @@ -9253,6 +9253,15 @@ packages: engines: {node: '>=6.0'} hasBin: true + eslint-config-next@15.6.0-canary.29: + resolution: {integrity: sha512-+TBH23ekP0gWRFfxNib38Z31UFnt7hcmfCErOJRL4OVbvlw+lbQwtOJFVLbF7UxEYJLslGAMLnzC7g29lPeWuA==} + peerDependencies: + eslint: ^7.23.0 || ^8.0.0 || ^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} @@ -19403,14 +19412,9 @@ snapshots: dependencies: '@edge-runtime/primitives': 6.0.0 - '@emnapi/core@1.4.5': - dependencies: - '@emnapi/wasi-threads': 1.0.4 - tslib: 2.8.1 - optional: true - - '@emnapi/runtime@1.4.5': + '@emnapi/core@1.5.0': dependencies: + '@emnapi/wasi-threads': 1.1.0 tslib: 2.8.1 optional: true @@ -19419,7 +19423,7 @@ snapshots: tslib: 2.8.1 optional: true - '@emnapi/wasi-threads@1.0.4': + '@emnapi/wasi-threads@1.1.0': dependencies: tslib: 2.8.1 optional: true @@ -21226,15 +21230,19 @@ snapshots: '@napi-rs/triples@1.2.0': {} - '@napi-rs/wasm-runtime@1.0.3': + '@napi-rs/wasm-runtime@1.0.5': dependencies: - '@emnapi/core': 1.4.5 - '@emnapi/runtime': 1.4.5 - '@tybys/wasm-util': 0.10.0 + '@emnapi/core': 1.5.0 + '@emnapi/runtime': 1.5.0 + '@tybys/wasm-util': 0.10.1 optional: true '@next/env@15.5.3': {} + '@next/eslint-plugin-next@15.6.0-canary.29': + dependencies: + fast-glob: 3.3.1 + '@next/swc-darwin-arm64@15.5.3': optional: true @@ -22152,55 +22160,55 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@rspack/binding-darwin-arm64@1.5.0': + '@rspack/binding-darwin-arm64@1.5.7': optional: true - '@rspack/binding-darwin-x64@1.5.0': + '@rspack/binding-darwin-x64@1.5.7': optional: true - '@rspack/binding-linux-arm64-gnu@1.5.0': + '@rspack/binding-linux-arm64-gnu@1.5.7': optional: true - '@rspack/binding-linux-arm64-musl@1.5.0': + '@rspack/binding-linux-arm64-musl@1.5.7': optional: true - '@rspack/binding-linux-x64-gnu@1.5.0': + '@rspack/binding-linux-x64-gnu@1.5.7': optional: true - '@rspack/binding-linux-x64-musl@1.5.0': + '@rspack/binding-linux-x64-musl@1.5.7': optional: true - '@rspack/binding-wasm32-wasi@1.5.0': + '@rspack/binding-wasm32-wasi@1.5.7': dependencies: - '@napi-rs/wasm-runtime': 1.0.3 + '@napi-rs/wasm-runtime': 1.0.5 optional: true - '@rspack/binding-win32-arm64-msvc@1.5.0': + '@rspack/binding-win32-arm64-msvc@1.5.7': optional: true - '@rspack/binding-win32-ia32-msvc@1.5.0': + '@rspack/binding-win32-ia32-msvc@1.5.7': optional: true - '@rspack/binding-win32-x64-msvc@1.5.0': + '@rspack/binding-win32-x64-msvc@1.5.7': optional: true - '@rspack/binding@1.5.0': + '@rspack/binding@1.5.7': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.5.0 - '@rspack/binding-darwin-x64': 1.5.0 - '@rspack/binding-linux-arm64-gnu': 1.5.0 - '@rspack/binding-linux-arm64-musl': 1.5.0 - '@rspack/binding-linux-x64-gnu': 1.5.0 - '@rspack/binding-linux-x64-musl': 1.5.0 - '@rspack/binding-wasm32-wasi': 1.5.0 - '@rspack/binding-win32-arm64-msvc': 1.5.0 - '@rspack/binding-win32-ia32-msvc': 1.5.0 - '@rspack/binding-win32-x64-msvc': 1.5.0 - - '@rspack/core@1.5.0(@swc/helpers@0.5.15)': + '@rspack/binding-darwin-arm64': 1.5.7 + '@rspack/binding-darwin-x64': 1.5.7 + '@rspack/binding-linux-arm64-gnu': 1.5.7 + '@rspack/binding-linux-arm64-musl': 1.5.7 + '@rspack/binding-linux-x64-gnu': 1.5.7 + '@rspack/binding-linux-x64-musl': 1.5.7 + '@rspack/binding-wasm32-wasi': 1.5.7 + '@rspack/binding-win32-arm64-msvc': 1.5.7 + '@rspack/binding-win32-ia32-msvc': 1.5.7 + '@rspack/binding-win32-x64-msvc': 1.5.7 + + '@rspack/core@1.5.7(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.18.0 - '@rspack/binding': 1.5.0 + '@rspack/binding': 1.5.7 '@rspack/lite-tapable': 1.0.1 optionalDependencies: '@swc/helpers': 0.5.15 @@ -22432,7 +22440,7 @@ snapshots: react: 19.2.0-canary-1eca9a27-20250922 react-dom: 19.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922) - '@storybook/builder-webpack5@8.6.0(@rspack/core@1.5.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.5.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 @@ -22440,10 +22448,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.5.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.5.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.5.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.5.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 @@ -22574,9 +22582,9 @@ snapshots: react-dom: 19.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922) storybook: 8.6.0(prettier@3.6.2) - '@storybook/react-webpack5@8.6.0(@rspack/core@1.5.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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': + '@storybook/react-webpack5@8.6.0(@rspack/core@1.5.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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': dependencies: - '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.5.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.5.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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(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.2.0-canary-1eca9a27-20250922(react@19.2.0-canary-1eca9a27-20250922))(react@19.2.0-canary-1eca9a27-20250922)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) react: 19.2.0-canary-1eca9a27-20250922 @@ -22901,7 +22909,7 @@ snapshots: '@trysound/sax@0.2.0': {} - '@tybys/wasm-util@0.10.0': + '@tybys/wasm-util@0.10.1': dependencies: tslib: 2.8.1 optional: true @@ -25626,7 +25634,7 @@ snapshots: postcss: 8.4.31 postcss-selector-parser: 6.1.2 - css-loader@6.11.0(@rspack/core@1.5.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.5.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 @@ -25637,10 +25645,10 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.5.0(@swc/helpers@0.5.15) + '@rspack/core': 1.5.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.5.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.5.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 @@ -25651,7 +25659,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.5.0(@swc/helpers@0.5.15) + '@rspack/core': 1.5.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): @@ -26935,6 +26943,26 @@ snapshots: optionalDependencies: source-map: 0.6.1 + eslint-config-next@15.6.0-canary.29(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2): + dependencies: + '@next/eslint-plugin-next': 15.6.0-canary.29 + '@rushstack/eslint-patch': 1.10.4 + '@typescript-eslint/eslint-plugin': 8.36.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) + '@typescript-eslint/parser': 8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) + eslint: 9.12.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1)) + eslint-plugin-jsx-a11y: 6.10.0(eslint@9.12.0(jiti@2.5.1)) + eslint-plugin-react: 7.37.1(eslint@9.12.0(jiti@2.5.1)) + eslint-plugin-react-hooks: 5.0.0(eslint@9.12.0(jiti@2.5.1)) + optionalDependencies: + typescript: 5.9.2 + transitivePeerDependencies: + - eslint-import-resolver-webpack + - eslint-plugin-import-x + - supports-color + eslint-formatter-codeframe@7.32.1: dependencies: '@babel/code-frame': 7.12.11 @@ -26968,6 +26996,26 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)): + dependencies: + '@nolyfill/is-core-module': 1.0.39 + debug: 4.3.7 + enhanced-resolve: 5.17.1 + eslint: 9.12.0(jiti@2.5.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)))(eslint@9.12.0(jiti@2.5.1)) + fast-glob: 3.3.2 + get-tsconfig: 4.8.1 + is-bun-module: 1.2.1 + is-glob: 4.0.3 + optionalDependencies: + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1)) + eslint-plugin-import-x: 4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-node + - eslint-import-resolver-webpack + - supports-color + eslint-mdx@3.1.5(eslint@9.12.0(jiti@2.5.1)): dependencies: acorn: 8.14.0 @@ -27000,13 +27048,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint@9.12.0(jiti@2.5.1)): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)))(eslint@9.12.0(jiti@2.5.1)): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) eslint: 9.12.0(jiti@2.5.1) eslint-import-resolver-node: 0.3.9 + eslint-import-resolver-typescript: 3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)) transitivePeerDependencies: - supports-color @@ -27034,6 +27083,24 @@ snapshots: - typescript optional: true + eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2): + dependencies: + '@typescript-eslint/utils': 8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) + debug: 4.4.0 + doctrine: 3.0.0 + eslint: 9.12.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + get-tsconfig: 4.10.0 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + stable-hash: 0.0.4 + tslib: 2.8.1 + transitivePeerDependencies: + - supports-color + - typescript + optional: true + eslint-plugin-import@2.31.0(@typescript-eslint/parser@7.16.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0(jiti@2.5.1)): dependencies: '@rtsao/scc': 1.1.0 @@ -27063,6 +27130,35 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-typescript@3.6.3)(eslint@9.12.0(jiti@2.5.1)): + dependencies: + '@rtsao/scc': 1.1.0 + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 + array.prototype.flat: 1.3.2 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 9.12.0(jiti@2.5.1) + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)))(eslint@9.12.0(jiti@2.5.1)) + hasown: 2.0.2 + is-core-module: 2.15.1 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 + semver: 6.3.1 + string.prototype.trimend: 1.0.8 + tsconfig-paths: 3.15.0 + optionalDependencies: + '@typescript-eslint/parser': 8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2) + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint@9.12.0(jiti@2.5.1)): dependencies: '@rtsao/scc': 1.1.0 @@ -27074,7 +27170,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.12.0(jiti@2.5.1) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint@9.12.0(jiti@2.5.1)) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@8.36.0(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0(jiti@2.5.1))(typescript@5.9.2))(eslint-plugin-import@2.31.0)(eslint@9.12.0(jiti@2.5.1)))(eslint@9.12.0(jiti@2.5.1)) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -29016,7 +29112,7 @@ snapshots: html-void-elements@3.0.0: {} - html-webpack-plugin@5.6.3(@rspack/core@1.5.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.5.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 @@ -29024,7 +29120,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - '@rspack/core': 1.5.0(@swc/helpers@0.5.15) + '@rspack/core': 1.5.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: @@ -35450,11 +35546,11 @@ snapshots: safer-buffer@2.1.2: {} - sass-loader@15.0.0(@rspack/core@1.5.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@15.0.0(@rspack/core@1.5.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.5.0(@swc/helpers@0.5.15) + '@rspack/core': 1.5.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 c9a0b18eb52d9..9c9f22f0d9298 100644 --- a/rspack/Cargo.lock +++ b/rspack/Cargo.lock @@ -129,9 +129,9 @@ checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" [[package]] name = "ast_node" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e2cddd48eafd883890770673b1971faceaf80a185445671abc3ea0c00593ee" +checksum = "0a184645bcc6f52d69d8e7639720699c6a99efb711f886e251ed1d16db8dd90e" dependencies = [ "quote", "swc_macros_common", @@ -267,9 +267,6 @@ name = "bitflags" version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" -dependencies = [ - "serde", -] [[package]] name = "bitvec" @@ -874,7 +871,6 @@ dependencies = [ "dtoa-short", "itoa", "phf", - "serde", "smallvec", ] @@ -1798,6 +1794,17 @@ 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" @@ -1970,7 +1977,6 @@ dependencies = [ "parcel_sourcemap", "paste", "pathdiff", - "serde", "smallvec", "static-self", ] @@ -2519,7 +2525,6 @@ dependencies = [ "phf_codegen", "precomputed-hash", "rustc-hash", - "serde", "smallvec", "static-self", ] @@ -3183,28 +3188,18 @@ dependencies = [ [[package]] name = "rspack_allocator" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30800f88172190f11d1d6594d94f6c3bfb6317202b7737d2a9822b782fdb5362" +checksum = "35bccbab7b4310713ccdd3870b4f08647002853f8582ec53568bdeefc784c6c9" dependencies = [ "mimalloc-rspack", ] -[[package]] -name = "rspack_base64" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d580cfe01acf24883cce483a1d7c8d5f6874656855e98d739b50a0aad23849" -dependencies = [ - "base64-simd 0.8.0", - "regex", -] - [[package]] name = "rspack_binding_api" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "582e82ce16257b63c8d27c0b24e7180bfba051f2d773801a97aaeaace0fe1175" +checksum = "8297d83cea4a1745ffda5e40f4675614b67e4ce1b96cfbe63f9595298383fc16" dependencies = [ "anyhow", "async-trait", @@ -3303,27 +3298,27 @@ dependencies = [ [[package]] name = "rspack_binding_build" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4abf5c9c48e69c371ecb0e05707dc7f27d6a639e194a1e4b240146483704e325" +checksum = "254d66dbf4ee6110167b07f44399e56f034adf984ea2fcb2e1bbf501bd5cc75a" dependencies = [ "napi-build", ] [[package]] name = "rspack_binding_builder" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9803f14b9e646effdd7a65464ad04cb33e2ed907516115bde7dab652d18d7150" +checksum = "a48394668bbc7081cfa84bf083a79e3423b4f84f4be68967fa075e975aaad4c8" dependencies = [ "rspack_binding_api", ] [[package]] name = "rspack_binding_builder_macros" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "364d99b8a7ca1ff8f740195d01c087420a31edbbf68009f4291a845d4cafc9fd" +checksum = "9f2abd07a584fbf2e41ed5be9826a64d554d0ace3409a99819b57c4c4c30e151" dependencies = [ "proc-macro2", "quote", @@ -3333,9 +3328,9 @@ dependencies = [ [[package]] name = "rspack_browserslist" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd1e4fd8c207987bea82200d3e32e7a48e2ac7e4bf37b7c060dbc4f3558a6a0" +checksum = "0f29dbf1cf2829862c86a1c516732cac75df0a99e397282a2624fccc51aa313e" dependencies = [ "browserslist-rs", "lightningcss", @@ -3344,9 +3339,9 @@ dependencies = [ [[package]] name = "rspack_cacheable" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce721b6143503c89c350e806c0ac076cb7290a3e07df4702657209532d4d863e" +checksum = "5d5ea2f2f4a29be16c96d79f8f966d56ef33726e7f3fd6fbf0a42bf786676f4b" dependencies = [ "camino", "dashmap 6.1.0", @@ -3369,9 +3364,9 @@ dependencies = [ [[package]] name = "rspack_collections" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "210c9c02ddb39b8e7a85df69f29b67b9c931b16374028d6ebd7c0cfc13b3a3fe" +checksum = "13576ac21bbe3b2e2ffea401e95829b40fe32385f6da863a429b08f873c04fb2" dependencies = [ "dashmap 6.1.0", "hashlink", @@ -3384,9 +3379,9 @@ dependencies = [ [[package]] name = "rspack_core" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c666da8f5940d7ca5e5b04b669999097bd2ab729bd2d535549841cbe49f92c94" +checksum = "f8f92fb70e57048bf30cf91cdc8cfbf39ca757dc4383024113e1a396af5bfc11" dependencies = [ "anymap3", "async-recursion", @@ -3413,7 +3408,6 @@ dependencies = [ "regex", "rkyv 0.8.8", "ropey", - "rspack_base64", "rspack_cacheable", "rspack_collections", "rspack_dojang", @@ -3460,9 +3454,9 @@ dependencies = [ [[package]] name = "rspack_error" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68e8299d59ca480cb3f608fd9293e7bf63cf4ae577b0c93e3a8a1550e12fc158" +checksum = "150fabc6eefbbe927fd859e1dc7368ea3a0e8880d8394cdd92043f1d5fb51d8e" dependencies = [ "anyhow", "miette", @@ -3479,9 +3473,9 @@ dependencies = [ [[package]] name = "rspack_fs" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a11c6b678609a71183b83d978658b964617833808762172c1123f7c94babdb0" +checksum = "917ebe7963651aff34d210838015ca8bbc8cd66b165119fac4a5267a11a22e1b" dependencies = [ "async-trait", "cfg-if", @@ -3501,9 +3495,9 @@ dependencies = [ [[package]] name = "rspack_futures" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e139fb3f5df91c4550d500b7c6b651715cc471f6a788bcb7c86f58b5684cf4e" +checksum = "d3a3957f79bbb33bd6a71ddc92a380e967c4970a4461792838333eda1d7d9e62" dependencies = [ "rspack_tasks", "tokio", @@ -3511,9 +3505,9 @@ dependencies = [ [[package]] name = "rspack_hash" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5eeb3785ff3c58f1f67420bb279a17d0f075678a0bc2ff9ffd965c0ce1ffdb6" +checksum = "aeabdafebb4f0560156f4d357ef34a6040bc7ec38a1fcc4ee7cdfe8c29deee9f" dependencies = [ "md4", "rspack_cacheable", @@ -3524,9 +3518,9 @@ dependencies = [ [[package]] name = "rspack_hook" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4bef4fc47d551fc8a1333b124efa0f37c298ed11dc80e14e1251e4c4536c54" +checksum = "dea37c94a59d879c7ec58d3f39394c4253782f3e79ffb6151e455b52e4d8c59e" dependencies = [ "async-trait", "rspack_error", @@ -3537,9 +3531,9 @@ dependencies = [ [[package]] name = "rspack_ids" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6a31d79adee675bbb6ae15b5745c803bc642b1e96d3f7f0c4759ece0d4128cb" +checksum = "0662b4c0c1206316ffd708f4fbe8710e7c754e86f893065c58a5f40d65ce4fa5" dependencies = [ "itertools 0.14.0", "rayon", @@ -3555,9 +3549,9 @@ dependencies = [ [[package]] name = "rspack_javascript_compiler" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef8b8c70aafe0c7b97e95dac5ebc1a3a9c880b0592542e4b1ae6db481edbce1" +checksum = "195dd3ea19b0533ce13c1018988ba8145f1ff17d07319d146494821b34999183" dependencies = [ "anyhow", "base64", @@ -3582,9 +3576,9 @@ dependencies = [ [[package]] name = "rspack_loader_lightningcss" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1ab6922f4783eb28e3411db277083076dcccabd74ac8bdabcf86ba4956709af" +checksum = "d283acea32e54f5a17216f9061dfd3696cfb5d82e7f6458247a233b72d370c7d" dependencies = [ "async-trait", "derive_more", @@ -3604,9 +3598,9 @@ dependencies = [ [[package]] name = "rspack_loader_preact_refresh" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4666f790256f6fa1f5b6a826f81f4a39f269cd8812f33e1e25bd72ccc4cbce8b" +checksum = "ac8e359248cbfe260262313357a876243f987c76740109827793419b260e2108" dependencies = [ "async-trait", "rspack_cacheable", @@ -3619,9 +3613,9 @@ dependencies = [ [[package]] name = "rspack_loader_react_refresh" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fba6e3a9bc9d1b28e6d5d658c1bf58bbe86a8c6110a96c0797ff1cc81ea4a27d" +checksum = "ddb0795fb065ba6c447a0a8eafffdc5a15f39261713092b6693a5e9692ef82a8" dependencies = [ "async-trait", "rspack_cacheable", @@ -3634,9 +3628,9 @@ dependencies = [ [[package]] name = "rspack_loader_runner" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6e0d50eca2ba39feee5f0757b51c42c2f9e9e26085b85c4fe3798c3e504421" +checksum = "7c64c73f1035b17d2fababdc34bbac106bf3e75a918fa6f9e0c9d803e57fba19" dependencies = [ "anymap3", "async-trait", @@ -3659,9 +3653,9 @@ dependencies = [ [[package]] name = "rspack_loader_swc" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "642a1392c8538ea29bdb8c136a5caa287bdc1810396f44155041f28a61179da7" +checksum = "78833ef978a8633481cbfc4e855819669f8702a6f21cab5c3e14b0e54d673d7a" dependencies = [ "async-trait", "either", @@ -3689,9 +3683,9 @@ dependencies = [ [[package]] name = "rspack_loader_testing" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc2101034e4566c0459efcf5ccec277860aee008418f39958357c4a41f8ffecb" +checksum = "c2698ab4a1cc71932561148299c69d1739707d1f7a8a95b986bb7d592cb6cffe" dependencies = [ "async-trait", "rspack_cacheable", @@ -3703,9 +3697,9 @@ dependencies = [ [[package]] name = "rspack_location" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af22daca28ec45373f58b3409839911a93542023e0371916d223b8582305c35b" +checksum = "fc579da1fdbd92703cbbab010c647a2119e2a0e5fb901f356fb20b65b80cc8fc" dependencies = [ "itoa", "rspack_cacheable", @@ -3714,9 +3708,9 @@ dependencies = [ [[package]] name = "rspack_macros" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8517a2bf3f8c90ab2875606f49c1dc0d47120be55ed4c39f200e9e2812e49ccf" +checksum = "8bf348be9850cb427a29cf1f1c6e54664652891940983c1c3231a84dcbf862dd" dependencies = [ "proc-macro2", "quote", @@ -3725,9 +3719,9 @@ dependencies = [ [[package]] name = "rspack_napi" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c299be189e85fb840ffe3c589a9dd721a293775baa454ea0e8d8613a3b55e4b" +checksum = "1262a621010bfe4ad6804abdad31f46c65873aba0460ec11027cae5bdcab8d26" dependencies = [ "napi", "oneshot", @@ -3738,9 +3732,9 @@ dependencies = [ [[package]] name = "rspack_napi_macros" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c3da7a6ffee9338e72b4a56b1246304c227962be3f1294e5c627d41c01b882b" +checksum = "9bd7d3e39510afde7595f80c8a659fd61572e4b479b3937f3d21817429f6770a" dependencies = [ "proc-macro2", "quote", @@ -3749,12 +3743,13 @@ dependencies = [ [[package]] name = "rspack_paths" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6959717cf8bbb14270b8116085b173900aec85d8b8d8f27ee3cf357cd32705ec" +checksum = "d421601e75cc454153ed1344a6a98ed8aaf15114f1d060d87d994f8ee3fcf36f" dependencies = [ "camino", "dashmap 6.1.0", + "indexmap", "rspack_cacheable", "rustc-hash", "ustr-fxhash", @@ -3762,14 +3757,13 @@ dependencies = [ [[package]] name = "rspack_plugin_asset" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "794bef111a2370ec89a507a488baabfe568c31dd9f5b0888ad1116e58cac549c" +checksum = "5cb92ae91eec795dfc1b1a113d51557ce7407eb6423af9286762aa6edfb6a249" dependencies = [ "async-trait", "mime_guess", "rayon", - "rspack_base64", "rspack_cacheable", "rspack_core", "rspack_error", @@ -3783,9 +3777,9 @@ dependencies = [ [[package]] name = "rspack_plugin_banner" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3e3a25dc9aa5b281a3569e64d933a68f429bb0d4a0c873cd5f175159ae945c0" +checksum = "30f02f8d237af4bd87d8646c3d8266639c309768ed61bb39018ba98ef8663af4" dependencies = [ "cow-utils", "futures", @@ -3799,9 +3793,9 @@ dependencies = [ [[package]] name = "rspack_plugin_circular_dependencies" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9323b143b4569e9abf9ffb8bf37320d553ade49fe8eb2fbd2cdc7a1d2b70c9e1" +checksum = "8446c55387c82c5c94183fe5d545f18b63bed1ff4d6141802b0c591dab745c38" dependencies = [ "cow-utils", "derive_more", @@ -3818,9 +3812,9 @@ dependencies = [ [[package]] name = "rspack_plugin_copy" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a88dcd433bdc1feecd13046aaca1365e1dcd418fd6b955146f3a1a8c4dde93" +checksum = "c0af96c999eac21579e0ca88509b6fdec72787a8ec5c5a5a2a136a7190f895c7" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -3840,9 +3834,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60673f647d95862b12d0547c15f713b0b8b260e128563a1cf5c34562b43b137f" +checksum = "df6d62fb6bfd8ab4276d8875a0e6587343a319b5b42195fd10fc10a8dd2c7245" dependencies = [ "async-trait", "atomic_refcell", @@ -3870,9 +3864,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css_chunking" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb9b05cb57de7cfa55c584fc257ad65e77d08fe832e2727eb23af2c94bbc8a95" +checksum = "481767da56da11ac0d71093754f5326e422a1719384a5f227a3c4caad3549882" dependencies = [ "indexmap", "rspack_collections", @@ -3887,9 +3881,9 @@ dependencies = [ [[package]] name = "rspack_plugin_devtool" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825727d53bc77292acd0e1e90c95c6fb913011bd00e070707fcb46c61477fcce" +checksum = "09d47197c6641a696b6920b8b002ef6ae94c3df60586eae08eaf3c37090e74b9" dependencies = [ "cow-utils", "dashmap 6.1.0", @@ -3899,7 +3893,6 @@ dependencies = [ "memchr", "rayon", "regex", - "rspack_base64", "rspack_collections", "rspack_core", "rspack_error", @@ -3916,9 +3909,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dll" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90d86daea3db60c055cc43436ebf044a609038be2cba2963e5d9dd1b541bbb52" +checksum = "d0b8dc72e0ebeee21e5d5b89f90c3ea9263d64efaf7d5ea648673f08aab0f764" dependencies = [ "async-trait", "rspack_cacheable", @@ -3938,9 +3931,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dynamic_entry" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc1ea2063bc2f17b7c8ca5e5be4872abb80230aedfc500ee6b97dd91c3c90328" +checksum = "940a991999561ae7532208109b130d236e66fed3753f4534c03b1581fcae9353" dependencies = [ "derive_more", "futures", @@ -3953,9 +3946,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ensure_chunk_conditions" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d484e45e0de34273091a4fa19699e1a3adda6885953759226a9f0f893b7b93b" +checksum = "e97165018a8d1f741fd82689debfe7c1c1de3e1240ebfaea655b25683b8b9620" dependencies = [ "rspack_core", "rspack_error", @@ -3966,9 +3959,9 @@ dependencies = [ [[package]] name = "rspack_plugin_entry" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168f2f1e69cfac53059d0645cea336493205b86c2ba362f231cded298227d6c1" +checksum = "d903722b0a9bdcaa8310088ec6582c12ef556a5c2b133376a3efa2f38832fe8e" dependencies = [ "rspack_core", "rspack_error", @@ -3978,9 +3971,9 @@ dependencies = [ [[package]] name = "rspack_plugin_externals" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5612f54dcaa64c6a63a464e00b60a3a09b60c36fa80f6d671bc3160b5e8a8d0" +checksum = "d27dda8b8a40510b2f8ea69e3e3c2935dfa49bd9c0b3023a6d5a72fe0e7df48b" dependencies = [ "regex", "rspack_core", @@ -3993,9 +3986,9 @@ dependencies = [ [[package]] name = "rspack_plugin_extract_css" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ebe86adb70a510af20798dbc0e9435c286b53dd694c5a8690711a84d767a586" +checksum = "ea479bd6d4e44f7f2ea293fec43d1edc2f6a0760b2b85efa7c6ab552eb55909d" dependencies = [ "async-trait", "cow-utils", @@ -4020,9 +4013,9 @@ dependencies = [ [[package]] name = "rspack_plugin_hmr" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83da3c8089e659a02913b0d98c02c3bbf73469fda1c706c11c07d7bb45fc5201" +checksum = "baa1df33bdb71478944de6def4c12d52a6ddee21116a73585bd889a68069109b" dependencies = [ "async-trait", "cow-utils", @@ -4043,9 +4036,9 @@ dependencies = [ [[package]] name = "rspack_plugin_html" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76f3c8ceb0476b5ca90235b244944007783dddef1980408d333de3f14fc048e9" +checksum = "c84aa3c3c1b636922f943d1c892ee358a2283c18d7820b2b4ebd51baf80abc83" dependencies = [ "anyhow", "atomic_refcell", @@ -4054,7 +4047,6 @@ dependencies = [ "itertools 0.14.0", "path-clean 1.0.1", "rayon", - "rspack_base64", "rspack_core", "rspack_dojang", "rspack_error", @@ -4074,9 +4066,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ignore" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1c7d61767a309630890ef702444ed5a661cecfc304a90778863262c85aae09d" +checksum = "b6bd2ef97a9476e1e57ea6ad2f094f62bf4b5db8deedb28ce0003a60cf300b66" dependencies = [ "derive_more", "futures", @@ -4089,9 +4081,9 @@ dependencies = [ [[package]] name = "rspack_plugin_javascript" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c180f77ba99f23cdeb40f526248281e8f35fd0f388dd014c8c254ef41d83c94" +checksum = "349dc1de378a800b6e8c053f3618ecaafe3852e987d29494cba0698bb6efe718" dependencies = [ "anymap3", "async-trait", @@ -4134,9 +4126,9 @@ dependencies = [ [[package]] name = "rspack_plugin_json" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b9d386659bb3e50adf01fad33c30f0839009ba9f230b4c33be6b72ddd228081" +checksum = "668ad3b3e5dc44c4ecfd804d083b3ebb20ccb7c885ef14697518e4a6e52d1cab" dependencies = [ "async-trait", "cow-utils", @@ -4150,9 +4142,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lazy_compilation" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c840c1badbb07110ec055c1fdd1939240da3268302b3aa3655e65fe643ace0e" +checksum = "b83da73b44c9e19c34dac9ba858b55411c132dfbda71c6fc9428488f99f01fa0" dependencies = [ "async-trait", "rspack_cacheable", @@ -4172,9 +4164,9 @@ dependencies = [ [[package]] name = "rspack_plugin_library" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62afb658e619b96f2fce741bbc9d28aadf45fedcdcaf1fba522bb977d1333265" +checksum = "d6357b58d67e9748c41d81285938c2b4b069966b4e133214821399ea4da02a38" dependencies = [ "futures", "regex", @@ -4193,9 +4185,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lightning_css_minimizer" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b1753dcdc05e9f2041b58abb06c78aea951cff2cc4ddd7548e1a731a2faaa8" +checksum = "0ae3696c5af305399fae06d01c2c6ea85d67d95030fbf71fa9b222767485a1b3" dependencies = [ "lightningcss", "parcel_sourcemap", @@ -4212,9 +4204,9 @@ dependencies = [ [[package]] name = "rspack_plugin_limit_chunk_count" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f63c0a5edbbcb8ca168d7a8bf9ac7bf34bf2d2b5b3ccb8c32aa9a8fd928bb09" +checksum = "97c1bdcdbc239a95488a35a68f6e34e9ad6c5664bf437f870548b013aa36e359" dependencies = [ "rspack_collections", "rspack_core", @@ -4225,9 +4217,9 @@ dependencies = [ [[package]] name = "rspack_plugin_merge_duplicate_chunks" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4ba72d625010957fb8bea5ddc5f6624377f4bbd14d1d8a71ac921999c858677" +checksum = "0758e1a5b5288c83dc2cfb913277ab21e04e74fbe009bdc1d1a421e3e3df0bb6" dependencies = [ "rayon", "rspack_collections", @@ -4240,9 +4232,9 @@ dependencies = [ [[package]] name = "rspack_plugin_mf" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d1d548908dddef5297d3a39c894bedb3ad92a580659e3092a1d742902038f5" +checksum = "3484ac67ff0d559790c56e47abbe06cde8ae55dfb2b6ddf8c465f4dc4177d33e" dependencies = [ "async-trait", "camino", @@ -4270,9 +4262,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_info_header" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8f09f9b78a0a18b835c67f020900ae78791c7898ee9de4c234e1cdd68f64914" +checksum = "bdaaa4f1facec633739571aa43ebb8292cff5a6efb03bee134fd9e62f2870daf" dependencies = [ "regex", "rspack_cacheable", @@ -4288,9 +4280,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_replacement" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4e8379cc0bfa97c3100e1846080cca632c44492dcdf26102788c685e03c39d9" +checksum = "b19411aea4d011d7198ea6f5677ce562c6f1da523d01081e91d13c9ca4c91fa9" dependencies = [ "derive_more", "futures", @@ -4305,9 +4297,9 @@ dependencies = [ [[package]] name = "rspack_plugin_no_emit_on_errors" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7458247eebf329d7009888a790ded3364a0648e060d904ffce8c8c80d348099c" +checksum = "d1295eb1bba8768db8643312cdfdb8f03d294679685c964f2e6c4c07dd5a9fc2" dependencies = [ "rspack_core", "rspack_error", @@ -4317,9 +4309,9 @@ dependencies = [ [[package]] name = "rspack_plugin_progress" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5d4e48ab3a6ea0281bc2adfc8d48ab2a7308fa9de4dc0c2215c710ce1962bf9" +checksum = "bbc2231020dcbaa5836d162c7ce39d78820415eafd3391dd8f7bb10b05d74182" dependencies = [ "futures", "indicatif", @@ -4333,9 +4325,9 @@ dependencies = [ [[package]] name = "rspack_plugin_real_content_hash" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "369c20b9b0dc584e939e35bc694b09fe9cfc7a91c15c6cfd7163ba00f4746ba4" +checksum = "657f271fae245e948ded060c4585c2edf7419b51099857279faea6854f73624a" dependencies = [ "aho-corasick", "atomic_refcell", @@ -4356,9 +4348,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_duplicate_modules" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89cca0ac9cd3725fcbea8ca42f45e5be8deec6150209ef05dba60270d87e2298" +checksum = "1cef781a741fd7e3843bcc44a2d5f6d21fc716d39ba278e03f3cd22d8f9d9943" dependencies = [ "rspack_core", "rspack_error", @@ -4369,9 +4361,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_empty_chunks" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347250501d74c683bc6a15868d1598315eaa086dea4a01f338486cc175159523" +checksum = "6c2136f26b74d07804ce0fd113d055674bf582acf90038d9c8e149d131b718a9" dependencies = [ "rspack_collections", "rspack_core", @@ -4382,9 +4374,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rsdoctor" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6e76b4a83dbc0d96dc27be3a9fd6f5ec6eb5b991c944dc662c959f1eac013d" +checksum = "e0381fd98ec1714cdbcb88e7a10b6771aad2efe8f3d00284277a29e9ff67cf6c" dependencies = [ "atomic_refcell", "futures", @@ -4404,9 +4396,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rslib" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3245752f451efd3f9a444bf0a30aa01e974dde9677cbb2c4ca6c7da5ebf10b72" +checksum = "0e62ba24119dfc947603074b3ce13d8d799d8f391358fdc28ab83088964e6cb7" dependencies = [ "rspack_core", "rspack_error", @@ -4419,9 +4411,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rstest" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca9cd44e0caf73b765879e71fd23d291ca353fb0fc7a47808082584eba6ecb80" +checksum = "c78e6f4241d23890b015e1e136087856d3b81de078a20e455c8ec0840e0dc04d" dependencies = [ "camino", "regex", @@ -4437,9 +4429,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a973936dfdb9487f3f0f958ff8743ce20f64faff50a2466ea992096e3b7ed6e" +checksum = "197f17ca3d71b0101b6c5c32b8a8e3b699653ceea2b6c8e6ccaaaba0bc0684a1" dependencies = [ "async-trait", "atomic_refcell", @@ -4464,9 +4456,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime_chunk" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a474fb28cb96aebdfa031d9e495aef751f9c5cf174359e242c880482bc987633" +checksum = "31c0a5a56dffae7ddd8b06f0fb02680bb776b493944b1ff6782c1358ee730c4e" dependencies = [ "futures", "rspack_core", @@ -4477,16 +4469,15 @@ dependencies = [ [[package]] name = "rspack_plugin_schemes" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f5416ace0639a1f9f9dbacdd7aff45bfab4705f008161fd1b2300eea68a77eb" +checksum = "8bbbe6721efe1572d02f12c5aab5918d1a2f4ae9679629ae9808aa5e06178e19" dependencies = [ "anyhow", "async-trait", "cow-utils", "once_cell", "regex", - "rspack_base64", "rspack_core", "rspack_error", "rspack_fs", @@ -4504,9 +4495,9 @@ dependencies = [ [[package]] name = "rspack_plugin_size_limits" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b47b5f04dda4e289fc32d5f6c115dba13ebb77688501a51eb180f2cb215ff73e" +checksum = "40fc3e699c9437ed8189109ef33309ff875163b8a949935a5861a1c218f160dc" dependencies = [ "derive_more", "futures", @@ -4520,9 +4511,9 @@ dependencies = [ [[package]] name = "rspack_plugin_split_chunks" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a209ce65d84b5d2318372ec0f12198dcf83c619a3b574733902f0d772fca56c" +checksum = "fe3103ad8055332931f35c772160db36077bb37924eda31af90fc2b6e2e19d3f" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -4544,9 +4535,9 @@ dependencies = [ [[package]] name = "rspack_plugin_sri" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9f7dccccbf1eed0fae96ca02600ef3e1cf43c65cd80c7fd98991ea5aaec5943" +checksum = "3765783a56426a84ae7d3e0c8c06adba5a6fd56195aee7fc039cfa8b446b00c0" dependencies = [ "async-trait", "cow-utils", @@ -4556,7 +4547,6 @@ dependencies = [ "pathdiff", "rayon", "regex", - "rspack_base64", "rspack_cacheable", "rspack_collections", "rspack_core", @@ -4580,9 +4570,9 @@ dependencies = [ [[package]] name = "rspack_plugin_swc_js_minimizer" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ad310a83af9295876c1fcd08b72e2b4b1d202382e9cc349be1565be5f1b75" +checksum = "e0dcb49819cff600ca170a50f29ca57a811aa3d25c2567fca27a99f92162f6e4" dependencies = [ "cow-utils", "once_cell", @@ -4604,9 +4594,9 @@ dependencies = [ [[package]] name = "rspack_plugin_warn_sensitive_module" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "490548771888cb6217c0b757499478ac110d8c84b0f92abc9d752b7d3b1200d3" +checksum = "2c83899cf98110f7d1c59caedbdffa78255619bf893128a4367a07e4ff2597fc" dependencies = [ "cow-utils", "rspack_collections", @@ -4619,9 +4609,9 @@ dependencies = [ [[package]] name = "rspack_plugin_wasm" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9265512680f3099b048ec07caa232c9b37db71283e4f3017035ff24e14c91399" +checksum = "35d687a86b2cde9987570eb40323035938143761c7a508375d717e17714f85ae" dependencies = [ "async-trait", "cow-utils", @@ -4644,9 +4634,9 @@ dependencies = [ [[package]] name = "rspack_plugin_web_worker_template" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e70d77de4917c45401c38e8c4052f2e6e5217089a5154bc8fa656c10f3341fb" +checksum = "bc270caae3841de893b8b36128a2c212227a2e79003164ac5471b1b78e629d0c" dependencies = [ "rspack_core", "rspack_plugin_runtime", @@ -4654,9 +4644,9 @@ dependencies = [ [[package]] name = "rspack_plugin_worker" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0184ede835d2d1b26414cc40f4da28d016318036fc6e19700de16ed69d52ab6d" +checksum = "2c3b1ca86d51e14066799eb7da98e6c09480b57b86692c5a749d2515f7a8de47" dependencies = [ "rspack_core", "rspack_error", @@ -4666,9 +4656,9 @@ dependencies = [ [[package]] name = "rspack_regex" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a7a15965d97394f94285c8c535b8cb39dceb34f8341ce02a149a722402fa153" +checksum = "d2cf0b5633c76da3982a674a2508ed3a3f763ba6d9ba98afd3d1e3c0cfab6481" dependencies = [ "cow-utils", "napi", @@ -4681,9 +4671,9 @@ dependencies = [ [[package]] name = "rspack_resolver" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbe5f72302219f584a16ffabdc8f89a4fc245d7c8b185df09db9fc11d55ac846" +checksum = "c8680fe2525e9823c41cd53103aa27a2d1a22f412ea00913a91d5dd300a2d767" dependencies = [ "async-trait", "cfg-if", @@ -4720,9 +4710,9 @@ dependencies = [ [[package]] name = "rspack_storage" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9350c0404dee89b62436d8c884e9b15688d98d975bbd210aacc851211e68586" +checksum = "654541f80c81dfa24d9e99ad2ba06575c19d08bed1f802323176b28dd9a320a1" dependencies = [ "async-trait", "cow-utils", @@ -4739,9 +4729,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_import" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c2dce4de2077c53db37f625bcd5c0ea3463b50627db46eab4b27db9c5977c0c" +checksum = "d7826cbdd711117b6cd0a97c3e47b475c564f4bb0b6aea13140615510643aca9" dependencies = [ "cow-utils", "handlebars", @@ -4753,9 +4743,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_ts_collector" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a5a084abe851ed96c8150178db67e5310118c76480b08c9c673bb204f72ccf" +checksum = "7340d55893cd6aef9008b80045d0ecc10be9d3d5297b889b4c7dfcc94ae6000f" dependencies = [ "rustc-hash", "swc_core", @@ -4763,18 +4753,18 @@ dependencies = [ [[package]] name = "rspack_tasks" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d052b079f781f49fbb8fa82692fdb64165b976987bf8fbd1d5c839ed1062fab1" +checksum = "6bdfb47b645a2bf372aec1ca8c6413a3585c0664f4595d560a7cd9882e47e2ab" dependencies = [ "tokio", ] [[package]] name = "rspack_tracing" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50e91233982ce931e455ebd2ee6008adc621a79e69724f3ceb9370cbf15c7426" +checksum = "9cb960f962d2e3da6ec2dcee9b0b59c7ce496c2c15f3212674db534bd0a236f4" dependencies = [ "rspack_tracing_perfetto", "tracing-subscriber", @@ -4782,9 +4772,9 @@ dependencies = [ [[package]] name = "rspack_tracing_perfetto" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff116318445f15376448a5bc19ebc7aa7c8ea4a9eaccce4d062862ac1b1ff93d" +checksum = "ba4b38b33065290b0eecd5c683f7888602811b393f746fd4064ba82f76e39735" dependencies = [ "bytes", "micromegas-perfetto", @@ -4795,11 +4785,12 @@ dependencies = [ [[package]] name = "rspack_util" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5781120e913abbcdd06139d8ce56f04f0ad65c418cb4e8f7ebe10661159391e" +checksum = "d862ce609514e03fc48a93848d5c5b938f1214893205b5a4e9c0515ca31b378f" dependencies = [ "anyhow", + "base64-simd 0.8.0", "bitflags 2.9.1", "concat-string", "cow-utils", @@ -4827,9 +4818,9 @@ dependencies = [ [[package]] name = "rspack_workspace" -version = "0.5.4" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e601a80cfcfb611797d42db40c64575c67a50355d2f9ad2dff95e38c6bcc876" +checksum = "0808f9f17ab0ca70c1f9f2198adb7fccbc543695e15f873ee8bd9665da6c8d2c" [[package]] name = "rustc-demangle" @@ -4941,18 +4932,28 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" [[package]] name = "serde" -version = "1.0.217" +version = "1.0.226" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dca6411025b24b60bfa7ec1fe1f8e710ac09782dca409ee8237ba74b51295fd" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.226" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "ba2ba63999edb9dac981fb34b3e5c0d111a69b0924e253ed29d83f7c99e966a4" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.217" +version = "1.0.226" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "8db53ae22f34573731bafa1db20f04027b2d25e02d8205921b569171699cdb33" dependencies = [ "proc-macro2", "quote", @@ -4961,15 +4962,16 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.143" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d401abef1d108fbd9cbaebc3e46611f4b1021f714a0597a71f41ee463f5f4a5a" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ "indexmap", "itoa", "memchr", "ryu", "serde", + "serde_core", ] [[package]] @@ -5200,9 +5202,9 @@ checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" [[package]] name = "swc" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab9c00873d50c358e53e06d917bc67af9f533c6db03890992336672a70af8393" +checksum = "de6f9d757142d1378ba4a9fd0a7fef3a8f636502f3e0cc1cb51cf91e7c08bfcf" dependencies = [ "anyhow", "base64", @@ -5277,9 +5279,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "14.0.3" +version = "14.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fdb58d278e7cd625f671e5371b3e6c0eab56c6e2a995a6f70dd0f7725255d4" +checksum = "c2bb772b3a26b8b71d4e8c112ced5b5867be2266364b58517407a270328a2696" dependencies = [ "anyhow", "ast_node", @@ -5308,9 +5310,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "34.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1099ada4b7524c4f6f7cc0c6db24d81f8dfd3163b64dd2b1015437c673057645" +checksum = "33d067cb3d44993f0953120a6048d7157a48fa7914f86ee1b98f6da41891e5b4" dependencies = [ "anyhow", "base64", @@ -5334,9 +5336,9 @@ dependencies = [ [[package]] name = "swc_config" -version = "3.1.1" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d94f41e0f3c4c119a06af5e164674b63ae7eb6d7c1c60e46036c4a548f9fbe44" +checksum = "72e90b52ee734ded867104612218101722ad87ff4cf74fe30383bd244a533f97" dependencies = [ "anyhow", "bytes-str", @@ -5367,9 +5369,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "39.0.0" +version = "42.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4d7c1029aeb69995d8a8babb64a8359846023d7237985cd0693d2d3c3964b3e" +checksum = "9c9c317f08fdd6f47c820ea5d1c80d43676f9f2032e9ae954a648b59f6a3361c" dependencies = [ "par-core", "swc", @@ -5419,9 +5421,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "17.0.0" +version = "17.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91da8222bd2e868a6977ef402b3ca5c29a41d18cd84772441d9e06ec95ded1f" +checksum = "bcf55c2d7555c93f4945e29f93b7529562be97ba16e60dd94c25724d746174ac" dependencies = [ "ascii", "compact_str", @@ -5454,9 +5456,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "27.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825195e1c14e3e3b78823e51af52ed192e9d52ccb94a81f0449ac48e6cdd1ba2" +checksum = "0809b7e5a20d31ddaf051a19ea467378d3ea1e9ecee7f7e1866c192c781f00e1" dependencies = [ "rustc-hash", "swc_atoms", @@ -5484,9 +5486,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "27.0.0" +version = "28.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec81d1c9807d6aaa75f9eee66a27aaa61d7dabc97b12474bbec55609c63d8f38" +checksum = "463a43bb2350ec3e68692d7e5f786ecf07382d057972dd5cc4fe02c9239fc5f3" dependencies = [ "arrayvec", "indexmap", @@ -5717,9 +5719,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "32.0.0" +version = "32.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7dbb3fdcfdac1ff33db709149fc717e3ae4b09a76360a8c7c996dc80bb12a7e" +checksum = "135c816e7ec58952af60a2180b97d779a9c7d7b8ec4c5aea83b5776b96c303eb" dependencies = [ "arrayvec", "bitflags 2.9.1", @@ -5753,9 +5755,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "24.0.0" +version = "24.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c0b41d7e86acb8abc1e75b39163a1dffd88f75b69d8f89a199dfc416bb46d6" +checksum = "e8079e65c43d8f3e64e791321355f5864322425fce3a3ab7fc959bbddb531933" dependencies = [ "either", "num-bigint", @@ -5769,9 +5771,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "33.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c425f34110310018f20d53fff5da82da30710b1719b3c24bad87a878a77586" +checksum = "4d8c89878e98728a1213843f627bf7e756dcf22b8db792c6278668b613e18e32" dependencies = [ "anyhow", "foldhash", @@ -5812,9 +5814,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "32.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba40c41079f3e65553a693ff58abce6e90addfb99d8b2b12f7facaa9406db29b" +checksum = "17aad69f947105eae180fecbf17c5e494a962787c037e6facf1f50895b806b4a" dependencies = [ "par-core", "swc_common", @@ -5831,9 +5833,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "26.0.0" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6db893332e61360b330063c0d0e67d61b777832ece3980096fa8ad05c0101bd" +checksum = "a0526b4e3d6cedb7e48c5026242809387676f836d4251235fa95165218bb8ce4" dependencies = [ "better_scoped_tls", "indexmap", @@ -5867,9 +5869,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "28.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4eeb14f20ca165416ca09afdb83376c077b113a5bad37100d2d5626ab657456" +checksum = "aed6ee500834a62375aede89f45404b95cd25b08418f6869eac8804bc98dbf47" dependencies = [ "indexmap", "par-core", @@ -5908,9 +5910,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "28.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2b562a6db48b8ce932d54227ceab243137eb5220e0455937b1032b947b4cda" +checksum = "d4399b34a7d2c6b289252b1b271af1e79810aed7a06ef3b328de7534fd7a65f5" dependencies = [ "Inflector", "anyhow", @@ -6530,13 +6532,17 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.44.2" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6b88822cbe49de4185e3a4cbf8321dd487cf5fe0c5c65695fef6346371e9c48" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", + "io-uring", + "libc", + "mio", "parking_lot", "pin-project-lite", + "slab", "tokio-macros", "tracing", ] diff --git a/rspack/crates/binding/Cargo.toml b/rspack/crates/binding/Cargo.toml index 7a749a022ffed..0358a7a51f6d7 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.5.4" } -rspack_binding_builder_macros = { version = "=0.5.4" } +rspack_binding_builder = { version = "=0.5.7" } +rspack_binding_builder_macros = { version = "=0.5.7" } -rspack_core = { version = "=0.5.4" } -rspack_error = { version = "=0.5.4" } -rspack_hook = { version = "=0.5.4" } -rspack_plugin_externals = { version = "=0.5.4" } +rspack_core = { version = "=0.5.7" } +rspack_error = { version = "=0.5.7" } +rspack_hook = { version = "=0.5.7" } +rspack_plugin_externals = { version = "=0.5.7" } rspack_sources = { version = "=0.4.8" } regex = { version = "1.11.1" } -rspack_regex = { version = "=0.5.4" } +rspack_regex = { version = "=0.5.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.5.4", features = ["plugin"] } +rspack_binding_builder = { version = "=0.5.7", features = ["plugin"] } [build-dependencies] -rspack_binding_build = { version = "=0.5.4" } +rspack_binding_build = { version = "=0.5.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/package.json b/rspack/package.json index 85cc396f4ea31..548509e328c56 100644 --- a/rspack/package.json +++ b/rspack/package.json @@ -27,7 +27,7 @@ "build:debug": "pnpm run --filter @next/rspack-binding build:debug" }, "dependencies": { - "@rspack/core": "1.4.10", + "@rspack/core": "1.5.7", "@next/rspack-binding": "workspace:*" } } From f4d83e4103e0c8065f93bce67ab31613892f3b10 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Thu, 25 Sep 2025 10:23:17 +0800 Subject: [PATCH 02/11] fix: remove TODO for buildChunkGraph --- packages/next/src/build/webpack-config.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index a2eee76e4edf0..8bc3c130567d1 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -2242,15 +2242,6 @@ export default async function getBaseWebpackConfig( : undefined, } - if (isRspack) { - // @ts-ignore - // Disable Rspack's incremental buildChunkGraph due to Next.js compatibility issues - // TODO: Remove this workaround after Rspack 1.5.1 release - webpack5Config.experiments.incremental = { - buildChunkGraph: false, - } - } - webpack5Config.module!.parser = { javascript: { url: 'relative', From 09d37f2f8e45caa44eb71f687f119bc8e745a08c Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Thu, 25 Sep 2025 11:36:43 +0800 Subject: [PATCH 03/11] types-and-precompiled --- packages/next/src/compiled/sass-loader/cjs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/compiled/sass-loader/cjs.js b/packages/next/src/compiled/sass-loader/cjs.js index a2f235e502c4b..dd1117e3c12a2 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__={990:function(e,t,s){const n=s(915);e.exports=n.default},915: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(777));var a=s(808);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=await(0,a.getSassOptions)(this,t,e,i,c);const p=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(p){const e=t.api==="modern"||t.api==="modern-compiler";if(!e){const{includePaths:e}=l;l.importer.push((0,a.getWebpackImporter)(this,i,e))}else{l.importers.push((0,a.getModernWebpackImporter)(this,i,[]))}}let u;try{u=(0,a.getCompileFn)(this,i,t)}catch(e){s(e);return}let d;try{d=await u(l)}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 f=d.sourceMap?d.sourceMap:d.map?JSON.parse(d.map):null;if(f&&c){f=(0,a.normalizeSourceMap)(f,this.rootContext)}if(typeof d.loadedUrls!=="undefined"){d.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 d.stats!=="undefined"&&typeof d.stats.includedFiles!=="undefined"){d.stats.includedFiles.forEach((e=>{const t=o.default.normalize(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}s(null,d.css.toString(),f)}var i=t["default"]=loader},808: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{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){const r=t.sassOptions?typeof t.sassOptions==="function"?t.sassOptions(e)||{}:t.sassOptions:{};const a={...r,data:t.additionalData?typeof t.additionalData==="function"?await t.additionalData(s,e):`${t.additionalData}\n${s}`:s};if(!a.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}] `;a.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 i=t.api==="modern"||t.api==="modern-compiler";const{resourcePath:c}=e;if(i){a.url=_url.default.pathToFileURL(c);if(!a.style&&isProductionLikeMode(e)){a.style="compressed"}if(o){a.sourceMap=true}if(typeof a.syntax==="undefined"){const e=_path.default.extname(c);if(e&&e.toLowerCase()===".scss"){a.syntax="scss"}else if(e&&e.toLowerCase()===".sass"){a.syntax="indented"}else if(e&&e.toLowerCase()===".css"){a.syntax="css"}}a.loadPaths=[].concat((a.loadPaths?a.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"?";":":"):[]);a.importers=a.importers?Array.isArray(a.importers)?a.importers.slice():[a.importers]:[]}else{a.file=c;if(!a.outputStyle&&isProductionLikeMode(e)){a.outputStyle="compressed"}if(o){a.sourceMap=true;a.outFile=_path.default.join(e.rootContext,"style.css.map");a.sourceMapContents=true;a.omitSourceMapUrl=true;a.sourceMapEmbed=false}const s=_path.default.extname(c);if(s&&s.toLowerCase()===".sass"&&typeof a.indentedSyntax==="undefined"){a.indentedSyntax=true}else{a.indentedSyntax=Boolean(a.indentedSyntax)}a.importer=a.importer?proxyCustomImporters(Array.isArray(a.importer)?a.importer.slice():[a.importer],e):[];if(t.webpackImporter===false&&a.importer.length===0){a.importer=undefined}a.includePaths=[].concat(process.cwd()).concat((a.includePaths?a.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 a.charset==="undefined"){a.charset=true}}return a}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[]}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&&(t.info.includes("dart-sass")||t.info.includes("sass-embedded"));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}}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,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){const n=t.info.includes("dart-sass")||t.info.includes("sass-embedded");if(n){if(s.api==="modern"){return e=>{const{data:s,...n}=e;return t.compileStringAsync(s,n)}}if(s.api==="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()}))}}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.api==="modern"||s.api==="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{({message:t}=e)}const s=new Error(t,{cause:e});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")},777: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__(990);module.exports=__webpack_exports__})(); \ No newline at end of file +(function(){"use strict";var __webpack_modules__={21:function(e,t,s){const n=s(274);e.exports=n.default},274: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(813));var a=s(245);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=await(0,a.getSassOptions)(this,t,e,i,c);const p=typeof t.webpackImporter==="boolean"?t.webpackImporter:true;if(p){const e=t.api==="modern"||t.api==="modern-compiler";if(!e){const{includePaths:e}=l;l.importer.push((0,a.getWebpackImporter)(this,i,e))}else{l.importers.push((0,a.getModernWebpackImporter)(this,i,[]))}}let u;try{u=(0,a.getCompileFn)(this,i,t)}catch(e){s(e);return}let d;try{d=await u(l)}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 f=d.sourceMap?d.sourceMap:d.map?JSON.parse(d.map):null;if(f&&c){f=(0,a.normalizeSourceMap)(f,this.rootContext)}if(typeof d.loadedUrls!=="undefined"){d.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 d.stats!=="undefined"&&typeof d.stats.includedFiles!=="undefined"){d.stats.includedFiles.forEach((e=>{const t=o.default.normalize(e);if(o.default.isAbsolute(t)){this.addDependency(t)}}))}s(null,d.css.toString(),f)}var i=t["default"]=loader},245: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{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){const r=t.sassOptions?typeof t.sassOptions==="function"?t.sassOptions(e)||{}:t.sassOptions:{};const a={...r,data:t.additionalData?typeof t.additionalData==="function"?await t.additionalData(s,e):`${t.additionalData}\n${s}`:s};if(!a.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}] `;a.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 i=t.api==="modern"||t.api==="modern-compiler";const{resourcePath:c}=e;if(i){a.url=_url.default.pathToFileURL(c);if(!a.style&&isProductionLikeMode(e)){a.style="compressed"}if(o){a.sourceMap=true}if(typeof a.syntax==="undefined"){const e=_path.default.extname(c);if(e&&e.toLowerCase()===".scss"){a.syntax="scss"}else if(e&&e.toLowerCase()===".sass"){a.syntax="indented"}else if(e&&e.toLowerCase()===".css"){a.syntax="css"}}a.loadPaths=[].concat((a.loadPaths?a.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"?";":":"):[]);a.importers=a.importers?Array.isArray(a.importers)?a.importers.slice():[a.importers]:[]}else{a.file=c;if(!a.outputStyle&&isProductionLikeMode(e)){a.outputStyle="compressed"}if(o){a.sourceMap=true;a.outFile=_path.default.join(e.rootContext,"style.css.map");a.sourceMapContents=true;a.omitSourceMapUrl=true;a.sourceMapEmbed=false}const s=_path.default.extname(c);if(s&&s.toLowerCase()===".sass"&&typeof a.indentedSyntax==="undefined"){a.indentedSyntax=true}else{a.indentedSyntax=Boolean(a.indentedSyntax)}a.importer=a.importer?proxyCustomImporters(Array.isArray(a.importer)?a.importer.slice():[a.importer],e):[];if(t.webpackImporter===false&&a.importer.length===0){a.importer=undefined}a.includePaths=[].concat(process.cwd()).concat((a.includePaths?a.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 a.charset==="undefined"){a.charset=true}}return a}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[]}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&&(t.info.includes("dart-sass")||t.info.includes("sass-embedded"));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}}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,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){const n=t.info.includes("dart-sass")||t.info.includes("sass-embedded");if(n){if(s.api==="modern"){return e=>{const{data:s,...n}=e;return t.compileStringAsync(s,n)}}if(s.api==="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()}))}}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.api==="modern"||s.api==="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{({message:t}=e)}const s=new Error(t,{cause:e});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")},813: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__(21);module.exports=__webpack_exports__})(); \ No newline at end of file From 0b883ad98ca9da7203e71136908a1090b8470e2b Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Thu, 25 Sep 2025 12:28:11 +0800 Subject: [PATCH 04/11] update snapshot --- .../ReactRefreshLogBox-builtins.test.ts | 12 +++--- .../ReactRefreshLogBox-builtins.test.ts | 12 +++--- .../build-error-logs/build-error-logs.test.ts | 3 ++ .../mcp-server/mcp-server-get-errors.test.ts | 38 ++++++++++--------- 4 files changed, 35 insertions(+), 30 deletions(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts index 64516022c3369..5945ef81df856 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts @@ -135,10 +135,10 @@ describe('ReactRefreshLogBox-builtins app', () => { "label": "Build Error", "source": "./index.js × Module not found: Can't resolve 'b' in '' - ╭─[2:17] + ╭─[2:0] 1 │ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import Comp from 'b'; - · ─── + · ───────────────────── 3 │ export default function Oops() { 4 │ return /*#__PURE__*/ _jsxDEV("div", { ╰──── @@ -204,10 +204,10 @@ describe('ReactRefreshLogBox-builtins app', () => { "label": "Build Error", "source": "./app/page.js × Module not found: Can't resolve 'b' in '/app' - ╭─[2:17] + ╭─[2:0] 1 │ /* __next_internal_client_entry_do_not_use__ default auto */ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import Comp from 'b'; - · ─── + · ───────────────────── 3 │ export default function Oops() { 4 │ return /*#__PURE__*/ _jsxDEV("div", { ╰──── @@ -270,10 +270,10 @@ describe('ReactRefreshLogBox-builtins app', () => { "label": "Build Error", "source": "./app/page.js × Module not found: Can't resolve './non-existent.css' in '/app' - ╭─[2:7] + ╭─[2:0] 1 │ /* __next_internal_client_entry_do_not_use__ default auto */ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import './non-existent.css'; - · ──────────────────── + · ──────────────────────────── 3 │ export default function Page(props) { 4 │ return /*#__PURE__*/ _jsxDEV("p", { ╰────", diff --git a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts index 89a7167baf5f2..3d0d35ce0c079 100644 --- a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts @@ -133,10 +133,10 @@ describe('ReactRefreshLogBox', () => { "label": "Build Error", "source": "./index.js × Module not found: Can't resolve 'b' in '' - ╭─[2:17] + ╭─[2:0] 1 │ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import Comp from 'b'; - · ─── + · ───────────────────── 3 │ export default function Oops() { 4 │ return /*#__PURE__*/ _jsxDEV("div", { ╰──── @@ -202,10 +202,10 @@ describe('ReactRefreshLogBox', () => { "label": "Build Error", "source": "./pages/index.js × Module not found: Can't resolve 'b' in '/pages' - ╭─[2:17] + ╭─[2:0] 1 │ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import Comp from 'b'; - · ─── + · ───────────────────── 3 │ export default function Oops() { 4 │ return /*#__PURE__*/ _jsxDEV("div", { ╰──── @@ -277,10 +277,10 @@ describe('ReactRefreshLogBox', () => { "label": "Build Error", "source": "./pages/_app.js × Module not found: Can't resolve './non-existent.css' in '/pages' - ╭─[2:7] + ╭─[2:0] 1 │ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime"; 2 │ import './non-existent.css'; - · ──────────────────── + · ──────────────────────────── 3 │ export default function App({ Component, pageProps }) { 4 │ return /*#__PURE__*/ _jsxDEV(Component, { ╰────", 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..91bf68a6d98db 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 @@ -5,6 +5,7 @@ describe('build-error-logs', () => { const { next, isTurbopack } = nextTestSetup({ files: __dirname, }) + const isRspack = !!process.env.NEXT_RSPACK it('should only log error a single time', async () => { await next.fetch('/') @@ -18,6 +19,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/mcp-server/mcp-server-get-errors.test.ts b/test/development/mcp-server/mcp-server-get-errors.test.ts index 136584834b87b..faafce97ead3e 100644 --- a/test/development/mcp-server/mcp-server-get-errors.test.ts +++ b/test/development/mcp-server/mcp-server-get-errors.test.ts @@ -168,24 +168,26 @@ describe('mcp-server get_errors tool', () => { \`\`\` ./app/build-error/page.tsx - Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? - ,-[4:1] - 1 | export default function BuildErrorPage() { - 2 | // Syntax error - missing closing brace - 3 | return
Page - 4 | } - : ^ - \`---- - x Expected '' - ,-[4:1] - 1 | export default function BuildErrorPage() { - 2 | // Syntax error - missing closing brace - 3 | return
Page - 4 | } - \`---- - - Caused by: - Syntax Error + × Module build failed: + ╰─▶ × Error: x Unexpected token. Did you mean \`{'}'}\` or \`}\`? + │ ,-[4:1] + │ 1 | export default function BuildErrorPage() { + │ 2 | // Syntax error - missing closing brace + │ 3 | return
Page + │ 4 | } + │ : ^ + │ \`---- + │ x Expected '' + │ ,-[4:1] + │ 1 | export default function BuildErrorPage() { + │ 2 | // Syntax error - missing closing brace + │ 3 | return
Page + │ 4 | } + │ \`---- + │ + │ + │ Caused by: + │ Syntax Error \`\`\` ---" From fb0b7412f670b4fdafb70e110f8b3e277e4f3c2a Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Tue, 30 Sep 2025 10:31:08 +0800 Subject: [PATCH 05/11] update-to-1.5.8 --- package.json | 2 +- packages/next-rspack/package.json | 2 +- packages/next/package.json | 2 +- pnpm-lock.yaml | 187 ++++++++++------ rspack/Cargo.lock | 361 ++++++++++++++++-------------- rspack/crates/binding/Cargo.toml | 20 +- rspack/package.json | 2 +- 7 files changed, 326 insertions(+), 250 deletions(-) diff --git a/package.json b/package.json index 5041b0f3c9005..1dd64dde87f97 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "@next/third-parties": "workspace:*", "@opentelemetry/api": "1.4.1", "@picocss/pico": "1.5.10", - "@rspack/core": "1.5.7", + "@rspack/core": "1.5.8", "@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 47eb0254a6dbc..0d166d7556af7 100644 --- a/packages/next-rspack/package.json +++ b/packages/next-rspack/package.json @@ -7,6 +7,6 @@ }, "types": "index.d.ts", "dependencies": { - "@rspack/core": "1.5.7" + "@rspack/core": "1.5.8" } } diff --git a/packages/next/package.json b/packages/next/package.json index f0c286bec8f82..35764b19f09f0 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -174,7 +174,7 @@ "@next/swc": "15.6.0-canary.29", "@opentelemetry/api": "1.6.0", "@playwright/test": "1.51.1", - "@rspack/core": "1.5.7", + "@rspack/core": "1.5.8", "@storybook/addon-a11y": "8.6.0", "@storybook/addon-essentials": "8.6.0", "@storybook/addon-interactions": "8.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f747ef5d59e7b..c61665953d6b5 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.5.7 - version: 1.5.7(@swc/helpers@0.5.15) + specifier: 1.5.8 + version: 1.5.8(@swc/helpers@0.5.15) '@slack/web-api': specifier: 7.9.1 version: 7.9.1 @@ -1124,8 +1124,8 @@ importers: specifier: 1.51.1 version: 1.51.1 '@rspack/core': - specifier: 1.5.7 - version: 1.5.7(@swc/helpers@0.5.15) + specifier: 1.5.8 + version: 1.5.8(@swc/helpers@0.5.15) '@storybook/addon-a11y': specifier: 8.6.0 version: 8.6.0(storybook@8.6.0(prettier@3.6.2)) @@ -1146,7 +1146,7 @@ importers: version: 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.6.2)))(react-dom@19.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(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.5.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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) + version: 8.6.0(@rspack/core@1.5.8(@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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(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)) @@ -1371,7 +1371,7 @@ importers: version: 3.12.0 css-loader: specifier: 7.1.2 - version: 7.1.2(@rspack/core@1.5.7(@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.5.8(@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 @@ -1548,7 +1548,7 @@ importers: version: 2.5.0 sass-loader: specifier: 15.0.0 - version: 15.0.0(@rspack/core@1.5.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)) + version: 15.0.0(@rspack/core@1.5.8(@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 @@ -1778,8 +1778,8 @@ importers: packages/next-rspack: dependencies: '@rspack/core': - specifier: 1.5.7 - version: 1.5.7(@swc/helpers@0.5.15) + specifier: 1.5.8 + version: 1.5.8(@swc/helpers@0.5.15) packages/next-swc: devDependencies: @@ -2008,12 +2008,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==} @@ -3689,78 +3691,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==} @@ -4425,24 +4441,28 @@ packages: engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [glibc] '@next/swc-linux-arm64-musl@15.5.3': resolution: {integrity: sha512-u3PEIzuguSenoZviZJahNLgCexGFhso5mxWCrrIMdvpZn6lkME5vc/ADZG8UUk5K1uWRy4hqSFECrON6UKQBbQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] + libc: [musl] '@next/swc-linux-x64-gnu@15.5.3': resolution: {integrity: sha512-lDtOOScYDZxI2BENN9m0pfVPJDSuUkAD1YXSvlJF0DKwZt0WlA7T7o3wrcEr4Q+iHYGzEaVuZcsIbCps4K27sA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [glibc] '@next/swc-linux-x64-musl@15.5.3': resolution: {integrity: sha512-9vWVUnsx9PrY2NwdVRJ4dUURAQ8Su0sLRPqcCCxtX5zIQUBES12eRVHq6b70bbfaVaxIDGJN2afHui0eDm+cLg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] + libc: [musl] '@next/swc-win32-arm64-msvc@15.5.3': resolution: {integrity: sha512-1CU20FZzY9LFQigRi6jM45oJMU3KziA5/sSG+dXeVaTm661snQP6xu3ykGxxwU5sLG3sh14teO/IOEPVsQMRfA==} @@ -5208,56 +5228,67 @@ packages: resolution: {integrity: sha512-mz5POx5Zu58f2xAG5RaRRhp3IZDK7zXGk5sdEDj4o96HeaXhlUwmLFzNlc4hCQi5sGdR12VDgEUqVSHer0lI9g==} cpu: [arm] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm-musleabihf@4.39.0': resolution: {integrity: sha512-+YDwhM6gUAyakl0CD+bMFpdmwIoRDzZYaTWV3SDRBGkMU/VpIBYXXEvkEcTagw/7VVkL2vA29zU4UVy1mP0/Yw==} cpu: [arm] os: [linux] + libc: [musl] '@rollup/rollup-linux-arm64-gnu@4.39.0': resolution: {integrity: sha512-EKf7iF7aK36eEChvlgxGnk7pdJfzfQbNvGV/+l98iiMwU23MwvmV0Ty3pJ0p5WQfm3JRHOytSIqD9LB7Bq7xdQ==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.39.0': resolution: {integrity: sha512-vYanR6MtqC7Z2SNr8gzVnzUul09Wi1kZqJaek3KcIlI/wq5Xtq4ZPIZ0Mr/st/sv/NnaPwy/D4yXg5x0B3aUUA==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-loongarch64-gnu@4.39.0': resolution: {integrity: sha512-NMRUT40+h0FBa5fb+cpxtZoGAggRem16ocVKIv5gDB5uLDgBIwrIsXlGqYbLwW8YyO3WVTk1FkFDjMETYlDqiw==} cpu: [loong64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-powerpc64le-gnu@4.39.0': resolution: {integrity: sha512-0pCNnmxgduJ3YRt+D+kJ6Ai/r+TaePu9ZLENl+ZDV/CdVczXl95CbIiwwswu4L+K7uOIGf6tMo2vm8uadRaICQ==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.39.0': resolution: {integrity: sha512-t7j5Zhr7S4bBtksT73bO6c3Qa2AV/HqiGlj9+KB3gNF5upcVkx+HLgxTm8DK4OkzsOYqbdqbLKwvGMhylJCPhQ==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-musl@4.39.0': resolution: {integrity: sha512-m6cwI86IvQ7M93MQ2RF5SP8tUjD39Y7rjb1qjHgYh28uAPVU8+k/xYWvxRO3/tBN2pZkSMa5RjnPuUIbrwVxeA==} cpu: [riscv64] os: [linux] + libc: [musl] '@rollup/rollup-linux-s390x-gnu@4.39.0': resolution: {integrity: sha512-iRDJd2ebMunnk2rsSBYlsptCyuINvxUfGwOUldjv5M4tpa93K8tFMeYGpNk2+Nxl+OBJnBzy2/JCscGeO507kA==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.39.0': resolution: {integrity: sha512-t9jqYw27R6Lx0XKfEFe5vUeEJ5pF3SGIM6gTfONSMb7DuG6z6wfj2yjcoZxHg129veTqU7+wOhY6GX8wmf90dA==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.39.0': resolution: {integrity: sha512-ThFdkrFDP55AIsIZDKSBWEt/JcWlCzydbZHinZ0F/r1h83qbGeenCt/G/wG2O0reuENDD2tawfAj2s8VK7Bugg==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.39.0': resolution: {integrity: sha512-jDrLm6yUtbOg2TYB3sBF3acUnAwsIksEYjLeHL+TJv9jg+TmTwdyjnDex27jqEMakNKf3RwwPahDIt7QXCSqRQ==} @@ -5274,60 +5305,64 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-darwin-arm64@1.5.7': - resolution: {integrity: sha512-prQ/vgJxOPdlYiR4gVeOEKofTCEOu70JQIQApqFnw8lKM7rd9ag8ogDNqmc2L/GGXGHLAqds28oeKXRlzYf7+Q==} + '@rspack/binding-darwin-arm64@1.5.8': + resolution: {integrity: sha512-spJfpOSN3f7V90ic45/ET2NKB2ujAViCNmqb0iGurMNQtFRq+7Kd+jvVKKGXKBHBbsQrFhidSWbbqy2PBPGK8g==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.5.7': - resolution: {integrity: sha512-FPqiWSbEEerqfJrGnYe68svvl6NyuQFAb3qqFe/Q0MqFhBYmAZwa0R2/ylugCdgFLZxmkFuWqpDgItpvJb/E3Q==} + '@rspack/binding-darwin-x64@1.5.8': + resolution: {integrity: sha512-YFOzeL1IBknBcri8vjUp43dfUBylCeQnD+9O9p0wZmLAw7DtpN5JEOe2AkGo8kdTqJjYKI+cczJPKIw6lu1LWw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.5.7': - resolution: {integrity: sha512-fwy+NY+0CHrZqqzDrjPBlTuK53W4dG5EEg/QQFAE7KVM+okRqPk8tg45bJ5628rCNLe13GDmPIE107LmgspNqA==} + '@rspack/binding-linux-arm64-gnu@1.5.8': + resolution: {integrity: sha512-UAWCsOnpkvy8eAVRo0uipbHXDhnoDq5zmqWTMhpga0/a3yzCp2e+fnjZb/qnFNYb5MeL0O1mwMOYgn1M3oHILQ==} cpu: [arm64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-arm64-musl@1.5.7': - resolution: {integrity: sha512-576u/0F4ZUzpHckFme4vQ0sSxjE+B/gVP4tNJ+P6bJaclXLFXV4icbjTUQwOIgmA1EQz/JFeKGGJZ4p6mowpBQ==} + '@rspack/binding-linux-arm64-musl@1.5.8': + resolution: {integrity: sha512-GnSvGT4GjokPSD45cTtE+g7LgghuxSP1MRmvd+Vp/I8pnxTVSTsebRod4TAqyiv+l11nuS8yqNveK9qiOkBLWw==} cpu: [arm64] os: [linux] + libc: [musl] - '@rspack/binding-linux-x64-gnu@1.5.7': - resolution: {integrity: sha512-brSHywXjjeuWkv0ywgxS4VgDgquarEb4XGr+eXhOaPcc8x2rNefyc4hErplrI7+oxPXVuGK5VE4ZH5bj3Yknvg==} + '@rspack/binding-linux-x64-gnu@1.5.8': + resolution: {integrity: sha512-XLxh5n/pzUfxsugz/8rVBv+Tx2nqEM+9rharK69kfooDsQNKyz7PANllBQ/v4svJ+W0BRHnDL4qXSGdteZeEjA==} cpu: [x64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-x64-musl@1.5.7': - resolution: {integrity: sha512-HcS0DzbLlWCwVfYcWMbTgILh4GELD6m4CZoFEhIr4fJCJi0p8NgLYycy1QtDhaUjs8TKalmyMwHrJwGnD141JA==} + '@rspack/binding-linux-x64-musl@1.5.8': + resolution: {integrity: sha512-gE0+MZmwF+01p9/svpEESkzkLpBkVUG2o03YMpwXYC/maeRRhWvF8BJ7R3i/Ls/jFGSE87dKX5NbRLVzqksq/w==} cpu: [x64] os: [linux] + libc: [musl] - '@rspack/binding-wasm32-wasi@1.5.7': - resolution: {integrity: sha512-uTRUEuK+TVlvUBSWXVoxD+6JTN+rvtRqVlO+A7I7VnOY7p9Rpvk1sXcHtEwg/XuDCq4DALnvlzbFLh7G3zILvw==} + '@rspack/binding-wasm32-wasi@1.5.8': + resolution: {integrity: sha512-cfg3niNHeJuxuml1Vy9VvaJrI/5TakzoaZvKX2g5S24wfzR50Eyy4JAsZ+L2voWQQp1yMJbmPYPmnTCTxdJQBQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.5.7': - resolution: {integrity: sha512-dFHrXRUmMTkxEn/Uw2RLbIckKfi0Zmn2NnEXwedWdyRgZW4Vhk7+VBxM22O/CHZmAGt12Ol25yTuVv58ANLEKA==} + '@rspack/binding-win32-arm64-msvc@1.5.8': + resolution: {integrity: sha512-7i3ZTHFXKfU/9Jm9XhpMkrdkxO7lfeYMNVEGkuU5dyBfRMQj69dRgPL7zJwc2plXiqu9LUOl+TwDNTjap7Q36g==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.5.7': - resolution: {integrity: sha512-PNtnOIUzE9p/Fbl6l/1Zs7bhn8ccTlaHTgZgQq0sO/QxjLlbU0WPjRl+YLo27cAningSOAbANuYlN8vAcuimrw==} + '@rspack/binding-win32-ia32-msvc@1.5.8': + resolution: {integrity: sha512-7ZPPWO11J+soea1+mnfaPpQt7GIodBM7A86dx6PbXgVEoZmetcWPrCF2NBfXxQWOKJ9L3RYltC4z+ZyXRgMOrw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.5.7': - resolution: {integrity: sha512-22gTaYkwaIUvyXRxf1RVnFTJPqF2hD1pgAQNBIz7kYybe6vvSZ6KInW4WyG4vjYKrJg/cbS4QvtlLn0lYXrdIw==} + '@rspack/binding-win32-x64-msvc@1.5.8': + resolution: {integrity: sha512-N/zXQgzIxME3YUzXT8qnyzxjqcnXudWOeDh8CAG9zqTCnCiy16SFfQ/cQgEoLlD9geQntV6jx2GbDDI5kpDGMQ==} cpu: [x64] os: [win32] - '@rspack/binding@1.5.7': - resolution: {integrity: sha512-/fFrf4Yu8Tc0yXBw33g2++turdld1MDphLiLg05bx92fOVI1MafocwPvm35e3y1z7CtlQJ2Bmvzhi6APJShKxg==} + '@rspack/binding@1.5.8': + resolution: {integrity: sha512-/91CzhRl9r5BIQCgGsS7jA6MDbw1I2BQpbfcUUdkdKl2P79K3Zo/Mw/TvKzS86catwLaUQEgkGRmYawOfPg7ow==} - '@rspack/core@1.5.7': - resolution: {integrity: sha512-57ey3wafK/g+B9zLdCiIrX3eTK8rFEM3yvxBUb2ro3ZtAaCGm4y7xERcXZJNn4D01pjzzCJ/u1ezpQmsZYLP7A==} + '@rspack/core@1.5.8': + resolution: {integrity: sha512-sUd2LfiDhqYVfvknuoz0+/c+wSpn693xotnG5g1CSWKZArbtwiYzBIVnNlcHGmuoBRsnj/TkSq8dTQ7gwfBroQ==} engines: {node: '>=18.12.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -5669,24 +5704,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==} @@ -5782,24 +5821,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==} @@ -11983,24 +12026,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==} @@ -22156,55 +22203,55 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@rspack/binding-darwin-arm64@1.5.7': + '@rspack/binding-darwin-arm64@1.5.8': optional: true - '@rspack/binding-darwin-x64@1.5.7': + '@rspack/binding-darwin-x64@1.5.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.5.7': + '@rspack/binding-linux-arm64-gnu@1.5.8': optional: true - '@rspack/binding-linux-arm64-musl@1.5.7': + '@rspack/binding-linux-arm64-musl@1.5.8': optional: true - '@rspack/binding-linux-x64-gnu@1.5.7': + '@rspack/binding-linux-x64-gnu@1.5.8': optional: true - '@rspack/binding-linux-x64-musl@1.5.7': + '@rspack/binding-linux-x64-musl@1.5.8': optional: true - '@rspack/binding-wasm32-wasi@1.5.7': + '@rspack/binding-wasm32-wasi@1.5.8': dependencies: '@napi-rs/wasm-runtime': 1.0.5 optional: true - '@rspack/binding-win32-arm64-msvc@1.5.7': + '@rspack/binding-win32-arm64-msvc@1.5.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.5.7': + '@rspack/binding-win32-ia32-msvc@1.5.8': optional: true - '@rspack/binding-win32-x64-msvc@1.5.7': + '@rspack/binding-win32-x64-msvc@1.5.8': optional: true - '@rspack/binding@1.5.7': + '@rspack/binding@1.5.8': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.5.7 - '@rspack/binding-darwin-x64': 1.5.7 - '@rspack/binding-linux-arm64-gnu': 1.5.7 - '@rspack/binding-linux-arm64-musl': 1.5.7 - '@rspack/binding-linux-x64-gnu': 1.5.7 - '@rspack/binding-linux-x64-musl': 1.5.7 - '@rspack/binding-wasm32-wasi': 1.5.7 - '@rspack/binding-win32-arm64-msvc': 1.5.7 - '@rspack/binding-win32-ia32-msvc': 1.5.7 - '@rspack/binding-win32-x64-msvc': 1.5.7 - - '@rspack/core@1.5.7(@swc/helpers@0.5.15)': + '@rspack/binding-darwin-arm64': 1.5.8 + '@rspack/binding-darwin-x64': 1.5.8 + '@rspack/binding-linux-arm64-gnu': 1.5.8 + '@rspack/binding-linux-arm64-musl': 1.5.8 + '@rspack/binding-linux-x64-gnu': 1.5.8 + '@rspack/binding-linux-x64-musl': 1.5.8 + '@rspack/binding-wasm32-wasi': 1.5.8 + '@rspack/binding-win32-arm64-msvc': 1.5.8 + '@rspack/binding-win32-ia32-msvc': 1.5.8 + '@rspack/binding-win32-x64-msvc': 1.5.8 + + '@rspack/core@1.5.8(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.18.0 - '@rspack/binding': 1.5.7 + '@rspack/binding': 1.5.8 '@rspack/lite-tapable': 1.0.1 optionalDependencies: '@swc/helpers': 0.5.15 @@ -22436,7 +22483,7 @@ snapshots: react: 19.2.0-canary-e2332183-20250924 react-dom: 19.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924) - '@storybook/builder-webpack5@8.6.0(@rspack/core@1.5.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/builder-webpack5@8.6.0(@rspack/core@1.5.8(@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 @@ -22444,10 +22491,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.5.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: 6.11.0(@rspack/core@1.5.8(@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.5.7(@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.5.8(@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 @@ -22578,9 +22625,9 @@ snapshots: react-dom: 19.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924) storybook: 8.6.0(prettier@3.6.2) - '@storybook/react-webpack5@8.6.0(@rspack/core@1.5.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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': + '@storybook/react-webpack5@8.6.0(@rspack/core@1.5.8(@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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2)': dependencies: - '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.5.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/builder-webpack5': 8.6.0(@rspack/core@1.5.8(@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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(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.2.0-canary-e2332183-20250924(react@19.2.0-canary-e2332183-20250924))(react@19.2.0-canary-e2332183-20250924)(storybook@8.6.0(prettier@3.6.2))(typescript@5.9.2) react: 19.2.0-canary-e2332183-20250924 @@ -25630,7 +25677,7 @@ snapshots: postcss: 8.4.31 postcss-selector-parser: 6.1.2 - css-loader@6.11.0(@rspack/core@1.5.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@6.11.0(@rspack/core@1.5.8(@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 @@ -25641,10 +25688,10 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.5.7(@swc/helpers@0.5.15) + '@rspack/core': 1.5.8(@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.5.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.5.8(@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 @@ -25655,7 +25702,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': 1.5.7(@swc/helpers@0.5.15) + '@rspack/core': 1.5.8(@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): @@ -29108,7 +29155,7 @@ snapshots: html-void-elements@3.0.0: {} - html-webpack-plugin@5.6.3(@rspack/core@1.5.7(@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.5.8(@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 @@ -29116,7 +29163,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - '@rspack/core': 1.5.7(@swc/helpers@0.5.15) + '@rspack/core': 1.5.8(@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: @@ -35538,11 +35585,11 @@ snapshots: safer-buffer@2.1.2: {} - sass-loader@15.0.0(@rspack/core@1.5.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)): + sass-loader@15.0.0(@rspack/core@1.5.8(@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.5.7(@swc/helpers@0.5.15) + '@rspack/core': 1.5.8(@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 9c9f22f0d9298..6e091ddb05471 100644 --- a/rspack/Cargo.lock +++ b/rspack/Cargo.lock @@ -3188,18 +3188,18 @@ dependencies = [ [[package]] name = "rspack_allocator" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bccbab7b4310713ccdd3870b4f08647002853f8582ec53568bdeefc784c6c9" +checksum = "2fd6b7bd16607aa639b804fb193d0dde451d26c76e4b3feb703094e2c210b267" dependencies = [ "mimalloc-rspack", ] [[package]] name = "rspack_binding_api" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8297d83cea4a1745ffda5e40f4675614b67e4ce1b96cfbe63f9595298383fc16" +checksum = "8834f0a77e81edae260b6478efc9b02fad617305fcdf0cebbc9c2754bd399a8c" dependencies = [ "anyhow", "async-trait", @@ -3246,6 +3246,7 @@ dependencies = [ "rspack_plugin_dynamic_entry", "rspack_plugin_ensure_chunk_conditions", "rspack_plugin_entry", + "rspack_plugin_esm_library", "rspack_plugin_externals", "rspack_plugin_extract_css", "rspack_plugin_hmr", @@ -3298,27 +3299,27 @@ dependencies = [ [[package]] name = "rspack_binding_build" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "254d66dbf4ee6110167b07f44399e56f034adf984ea2fcb2e1bbf501bd5cc75a" +checksum = "327dac776596203d28e92cf5c40882c985decb6e7be8ce2482af595284702202" dependencies = [ "napi-build", ] [[package]] name = "rspack_binding_builder" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a48394668bbc7081cfa84bf083a79e3423b4f84f4be68967fa075e975aaad4c8" +checksum = "69ca622b0e90300f0512df918af2f97e1a36086b1657ece2f6cc4d9d38c21456" dependencies = [ "rspack_binding_api", ] [[package]] name = "rspack_binding_builder_macros" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f2abd07a584fbf2e41ed5be9826a64d554d0ace3409a99819b57c4c4c30e151" +checksum = "b9d1fe191f8cde3b4da4ee41536ff4c9179e02339008f6053e1b8e90c963fb44" dependencies = [ "proc-macro2", "quote", @@ -3328,9 +3329,9 @@ dependencies = [ [[package]] name = "rspack_browserslist" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f29dbf1cf2829862c86a1c516732cac75df0a99e397282a2624fccc51aa313e" +checksum = "32e30e263b543da8263117c0480d061c071c025a6524301dfd95603ed4545f23" dependencies = [ "browserslist-rs", "lightningcss", @@ -3339,9 +3340,9 @@ dependencies = [ [[package]] name = "rspack_cacheable" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d5ea2f2f4a29be16c96d79f8f966d56ef33726e7f3fd6fbf0a42bf786676f4b" +checksum = "7450026d313e9a9ce1aa066da899d1d357f57d629b51e1b4e84369a005cf6572" dependencies = [ "camino", "dashmap 6.1.0", @@ -3364,9 +3365,9 @@ dependencies = [ [[package]] name = "rspack_collections" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13576ac21bbe3b2e2ffea401e95829b40fe32385f6da863a429b08f873c04fb2" +checksum = "9f1f342d78af807a446251932470a7a6514d038720a896a845e852bc89e4f269" dependencies = [ "dashmap 6.1.0", "hashlink", @@ -3379,9 +3380,9 @@ dependencies = [ [[package]] name = "rspack_core" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8f92fb70e57048bf30cf91cdc8cfbf39ca757dc4383024113e1a396af5bfc11" +checksum = "95f28b82d9b1c0704475f898dd53f13882ebeb7dfae6ac0579276a96a7bbd202" dependencies = [ "anymap3", "async-recursion", @@ -3454,9 +3455,9 @@ dependencies = [ [[package]] name = "rspack_error" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "150fabc6eefbbe927fd859e1dc7368ea3a0e8880d8394cdd92043f1d5fb51d8e" +checksum = "33869196d0dcddc6e2b5c7e00f4bb13a01fb345c48130be552bf708a845575f4" dependencies = [ "anyhow", "miette", @@ -3473,9 +3474,9 @@ dependencies = [ [[package]] name = "rspack_fs" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "917ebe7963651aff34d210838015ca8bbc8cd66b165119fac4a5267a11a22e1b" +checksum = "250cb98d54d71cfa5da676a57055f9c31ce238269d3437123b072a8b00e20b0d" dependencies = [ "async-trait", "cfg-if", @@ -3495,9 +3496,9 @@ dependencies = [ [[package]] name = "rspack_futures" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3a3957f79bbb33bd6a71ddc92a380e967c4970a4461792838333eda1d7d9e62" +checksum = "89d823f74d08af399ddfe0aad1c12f3010f188210b4b7a11823a210759a23ad6" dependencies = [ "rspack_tasks", "tokio", @@ -3505,9 +3506,9 @@ dependencies = [ [[package]] name = "rspack_hash" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeabdafebb4f0560156f4d357ef34a6040bc7ec38a1fcc4ee7cdfe8c29deee9f" +checksum = "5dc1442e3aa8e7c7bb1b1d3f5ac0c1f96197eaeb3527d8851295e59e9f2efe66" dependencies = [ "md4", "rspack_cacheable", @@ -3518,9 +3519,9 @@ dependencies = [ [[package]] name = "rspack_hook" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dea37c94a59d879c7ec58d3f39394c4253782f3e79ffb6151e455b52e4d8c59e" +checksum = "09b06ef320b889ebd2d3c5d570563878c421c3a33fd1563bc715a6546b162f98" dependencies = [ "async-trait", "rspack_error", @@ -3531,9 +3532,9 @@ dependencies = [ [[package]] name = "rspack_ids" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0662b4c0c1206316ffd708f4fbe8710e7c754e86f893065c58a5f40d65ce4fa5" +checksum = "23e895a624b349a6be7b7a5d2c316c5300972e74390a6d9b861cf4460e037eed" dependencies = [ "itertools 0.14.0", "rayon", @@ -3549,9 +3550,9 @@ dependencies = [ [[package]] name = "rspack_javascript_compiler" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "195dd3ea19b0533ce13c1018988ba8145f1ff17d07319d146494821b34999183" +checksum = "d074a2d0fe9d93e3a10029a3270fc0b151566c8142ed3e74042fd9a29fabcfe7" dependencies = [ "anyhow", "base64", @@ -3576,9 +3577,9 @@ dependencies = [ [[package]] name = "rspack_loader_lightningcss" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d283acea32e54f5a17216f9061dfd3696cfb5d82e7f6458247a233b72d370c7d" +checksum = "cb6db0a602907124e1b73ba6f2a96ebac45576267438993c185f383c44e3fe9b" dependencies = [ "async-trait", "derive_more", @@ -3598,9 +3599,9 @@ dependencies = [ [[package]] name = "rspack_loader_preact_refresh" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac8e359248cbfe260262313357a876243f987c76740109827793419b260e2108" +checksum = "857a8f7575ce3dd154c1957c14ea4df599d467bafa456687b6bc6daac0793d95" dependencies = [ "async-trait", "rspack_cacheable", @@ -3613,9 +3614,9 @@ dependencies = [ [[package]] name = "rspack_loader_react_refresh" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddb0795fb065ba6c447a0a8eafffdc5a15f39261713092b6693a5e9692ef82a8" +checksum = "bcfce0cc59f9557f2be121168adc96c33c419e8cf051ad134556fc02049c1752" dependencies = [ "async-trait", "rspack_cacheable", @@ -3628,9 +3629,9 @@ dependencies = [ [[package]] name = "rspack_loader_runner" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c64c73f1035b17d2fababdc34bbac106bf3e75a918fa6f9e0c9d803e57fba19" +checksum = "80686167648164426d4d1f144c40dc978a68343e8a83c6cd592f29ede64ed007" dependencies = [ "anymap3", "async-trait", @@ -3653,9 +3654,9 @@ dependencies = [ [[package]] name = "rspack_loader_swc" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78833ef978a8633481cbfc4e855819669f8702a6f21cab5c3e14b0e54d673d7a" +checksum = "3bc849b9dd9f5a6b67ab16c99890c2fdb5547076c06646927227306395d15970" dependencies = [ "async-trait", "either", @@ -3683,9 +3684,9 @@ dependencies = [ [[package]] name = "rspack_loader_testing" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2698ab4a1cc71932561148299c69d1739707d1f7a8a95b986bb7d592cb6cffe" +checksum = "1639732b347143d86c4f9583915cbcb232e2e12e46803937e46f4a213e90d5fe" dependencies = [ "async-trait", "rspack_cacheable", @@ -3697,9 +3698,9 @@ dependencies = [ [[package]] name = "rspack_location" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc579da1fdbd92703cbbab010c647a2119e2a0e5fb901f356fb20b65b80cc8fc" +checksum = "9bc7a655a8d682c8b767cd751eb685802c71590d6071f14594a520d125c29023" dependencies = [ "itoa", "rspack_cacheable", @@ -3708,9 +3709,9 @@ dependencies = [ [[package]] name = "rspack_macros" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf348be9850cb427a29cf1f1c6e54664652891940983c1c3231a84dcbf862dd" +checksum = "5037635d4a30ce34ae5be0efb27a8ee4993caec824fe7849831ead4efa2d203f" dependencies = [ "proc-macro2", "quote", @@ -3719,9 +3720,9 @@ dependencies = [ [[package]] name = "rspack_napi" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1262a621010bfe4ad6804abdad31f46c65873aba0460ec11027cae5bdcab8d26" +checksum = "a12097793e2a4dd3f0f07bcbc4f8393f49d06bc0ab96797c8310d3f772eabc84" dependencies = [ "napi", "oneshot", @@ -3732,9 +3733,9 @@ dependencies = [ [[package]] name = "rspack_napi_macros" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bd7d3e39510afde7595f80c8a659fd61572e4b479b3937f3d21817429f6770a" +checksum = "74acf08557ae7b54d8e07072a4548e4c114e5c2a599b17920b1433642580ac53" dependencies = [ "proc-macro2", "quote", @@ -3743,9 +3744,9 @@ dependencies = [ [[package]] name = "rspack_paths" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d421601e75cc454153ed1344a6a98ed8aaf15114f1d060d87d994f8ee3fcf36f" +checksum = "ddb251229456c9c3c16b65372a31a5e5deb1dcf31437cc20252a162f6a476569" dependencies = [ "camino", "dashmap 6.1.0", @@ -3757,9 +3758,9 @@ dependencies = [ [[package]] name = "rspack_plugin_asset" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cb92ae91eec795dfc1b1a113d51557ce7407eb6423af9286762aa6edfb6a249" +checksum = "227afb93409e9a5bac0feeb4a16d470aa49a50cac0058df23e40734fe2bd364e" dependencies = [ "async-trait", "mime_guess", @@ -3777,9 +3778,9 @@ dependencies = [ [[package]] name = "rspack_plugin_banner" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30f02f8d237af4bd87d8646c3d8266639c309768ed61bb39018ba98ef8663af4" +checksum = "32956fadbc1b4cb6b5ab60837d25815b36a46904edde591b6646662723025178" dependencies = [ "cow-utils", "futures", @@ -3793,9 +3794,9 @@ dependencies = [ [[package]] name = "rspack_plugin_circular_dependencies" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8446c55387c82c5c94183fe5d545f18b63bed1ff4d6141802b0c591dab745c38" +checksum = "27d6b12072394fd707d6e22f4d48f1380df0c826f07c122807138bd3a2465cbd" dependencies = [ "cow-utils", "derive_more", @@ -3812,9 +3813,9 @@ dependencies = [ [[package]] name = "rspack_plugin_copy" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0af96c999eac21579e0ca88509b6fdec72787a8ec5c5a5a2a136a7190f895c7" +checksum = "03e6b40a035206ac593992b0f8adcec0f6ec84f4a677919974eb1187651b521e" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -3834,9 +3835,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df6d62fb6bfd8ab4276d8875a0e6587343a319b5b42195fd10fc10a8dd2c7245" +checksum = "d0428b93ade4bfeb19b250820ecb2c2ec692464a0f0f48398e966acc529e7741" dependencies = [ "async-trait", "atomic_refcell", @@ -3864,9 +3865,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css_chunking" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "481767da56da11ac0d71093754f5326e422a1719384a5f227a3c4caad3549882" +checksum = "62b716b3158de485d1f7e54b89a38c0b67e946f60119cbf9634594a95bb37a12" dependencies = [ "indexmap", "rspack_collections", @@ -3881,9 +3882,9 @@ dependencies = [ [[package]] name = "rspack_plugin_devtool" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d47197c6641a696b6920b8b002ef6ae94c3df60586eae08eaf3c37090e74b9" +checksum = "df3ee5434a3980f517cfd721f7c7c465a03381b8e5438ef8f285ba0618e8a56c" dependencies = [ "cow-utils", "dashmap 6.1.0", @@ -3909,9 +3910,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dll" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0b8dc72e0ebeee21e5d5b89f90c3ea9263d64efaf7d5ea648673f08aab0f764" +checksum = "735358cd448391ae174c329aec9afd294819d7a268807f3cad8c34ef08f49c14" dependencies = [ "async-trait", "rspack_cacheable", @@ -3931,9 +3932,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dynamic_entry" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "940a991999561ae7532208109b130d236e66fed3753f4534c03b1581fcae9353" +checksum = "40bf2a21b7654d1e0510ff58573ff9d1c4f1e69cd9afc302655172aeab54617a" dependencies = [ "derive_more", "futures", @@ -3946,9 +3947,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ensure_chunk_conditions" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e97165018a8d1f741fd82689debfe7c1c1de3e1240ebfaea655b25683b8b9620" +checksum = "f39185fe3c5ad0694b8d475b5178e8e6e37a1d4df970a54c69b10c0d20a67b35" dependencies = [ "rspack_core", "rspack_error", @@ -3959,9 +3960,9 @@ dependencies = [ [[package]] name = "rspack_plugin_entry" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d903722b0a9bdcaa8310088ec6582c12ef556a5c2b133376a3efa2f38832fe8e" +checksum = "a4345408974c5839fad5718411108964508aab2cbc1f2e6c9694dbf3b2408966" dependencies = [ "rspack_core", "rspack_error", @@ -3969,11 +3970,38 @@ dependencies = [ "tracing", ] +[[package]] +name = "rspack_plugin_esm_library" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6702727ba6de4377b143fc3d13f2c2e7fbde5034ff97fc74fcb588d8a252e803" +dependencies = [ + "async-trait", + "rayon", + "regex", + "rspack_cacheable", + "rspack_collections", + "rspack_core", + "rspack_error", + "rspack_futures", + "rspack_hash", + "rspack_hook", + "rspack_javascript_compiler", + "rspack_plugin_javascript", + "rspack_util", + "serde", + "serde_json", + "sugar_path", + "swc_core", + "tokio", + "tracing", +] + [[package]] name = "rspack_plugin_externals" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d27dda8b8a40510b2f8ea69e3e3c2935dfa49bd9c0b3023a6d5a72fe0e7df48b" +checksum = "38784dceed276440a525779d0e7819cad79d258b4c103f91aa5adbc321c96ca5" dependencies = [ "regex", "rspack_core", @@ -3986,9 +4014,9 @@ dependencies = [ [[package]] name = "rspack_plugin_extract_css" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea479bd6d4e44f7f2ea293fec43d1edc2f6a0760b2b85efa7c6ab552eb55909d" +checksum = "ff413db43b7788ed45832c2bbb609cc5e44f3af0b952c579494aac95ec47252d" dependencies = [ "async-trait", "cow-utils", @@ -4013,9 +4041,9 @@ dependencies = [ [[package]] name = "rspack_plugin_hmr" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa1df33bdb71478944de6def4c12d52a6ddee21116a73585bd889a68069109b" +checksum = "0219d3adc43716df6457d2f2d0551f63a5cc31e1517efc941889098aa63d8fcf" dependencies = [ "async-trait", "cow-utils", @@ -4036,9 +4064,9 @@ dependencies = [ [[package]] name = "rspack_plugin_html" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c84aa3c3c1b636922f943d1c892ee358a2283c18d7820b2b4ebd51baf80abc83" +checksum = "3ffe4200314c1d5629215d78723762212e433b11d59c42a808c21c9ee0b67589" dependencies = [ "anyhow", "atomic_refcell", @@ -4066,9 +4094,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ignore" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bd2ef97a9476e1e57ea6ad2f094f62bf4b5db8deedb28ce0003a60cf300b66" +checksum = "8ddd73b281eda1289d6df6df66ec5d20ec66a68e9fe827da1341c916ad32b2a1" dependencies = [ "derive_more", "futures", @@ -4081,9 +4109,9 @@ dependencies = [ [[package]] name = "rspack_plugin_javascript" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "349dc1de378a800b6e8c053f3618ecaafe3852e987d29494cba0698bb6efe718" +checksum = "8606a3ba6388479b9b40beb19574d62d40dbf3a3643ac46e8de1803865892a76" dependencies = [ "anymap3", "async-trait", @@ -4126,9 +4154,9 @@ dependencies = [ [[package]] name = "rspack_plugin_json" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668ad3b3e5dc44c4ecfd804d083b3ebb20ccb7c885ef14697518e4a6e52d1cab" +checksum = "fd1c8472ac7e3ebc1c665cc916ba405c4d09e25bd42d1816d1bcb65f678f60ba" dependencies = [ "async-trait", "cow-utils", @@ -4142,9 +4170,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lazy_compilation" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b83da73b44c9e19c34dac9ba858b55411c132dfbda71c6fc9428488f99f01fa0" +checksum = "47fcc9afd4f26a42fe9ee04d8d84bcfa46b5eddd4b2dfc5c31e5cbbf7cc48be4" dependencies = [ "async-trait", "rspack_cacheable", @@ -4164,9 +4192,9 @@ dependencies = [ [[package]] name = "rspack_plugin_library" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6357b58d67e9748c41d81285938c2b4b069966b4e133214821399ea4da02a38" +checksum = "4c4e2d5bb9d5251a8d23d42e4b1dbb7acf7d5995d6d62c850f03f955823f3a66" dependencies = [ "futures", "regex", @@ -4185,9 +4213,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lightning_css_minimizer" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ae3696c5af305399fae06d01c2c6ea85d67d95030fbf71fa9b222767485a1b3" +checksum = "019ad08e8382812dff378c30d9846949e10141de8dfab83ee6a8e973c41656ea" dependencies = [ "lightningcss", "parcel_sourcemap", @@ -4204,9 +4232,9 @@ dependencies = [ [[package]] name = "rspack_plugin_limit_chunk_count" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97c1bdcdbc239a95488a35a68f6e34e9ad6c5664bf437f870548b013aa36e359" +checksum = "e90e61c76ef6feaf434525675383cd8d4df12911d5eb51f9a5f46b00acaebab1" dependencies = [ "rspack_collections", "rspack_core", @@ -4217,9 +4245,9 @@ dependencies = [ [[package]] name = "rspack_plugin_merge_duplicate_chunks" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0758e1a5b5288c83dc2cfb913277ab21e04e74fbe009bdc1d1a421e3e3df0bb6" +checksum = "2f5e4de3fca18c144c92b27e64468fc765aea802d9e72e127a55de622514bfea" dependencies = [ "rayon", "rspack_collections", @@ -4232,9 +4260,9 @@ dependencies = [ [[package]] name = "rspack_plugin_mf" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3484ac67ff0d559790c56e47abbe06cde8ae55dfb2b6ddf8c465f4dc4177d33e" +checksum = "5329a84540a8e6097bd4f94ffdc9bc930bee72c7b2203c95c02f9a8247331a40" dependencies = [ "async-trait", "camino", @@ -4262,9 +4290,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_info_header" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdaaa4f1facec633739571aa43ebb8292cff5a6efb03bee134fd9e62f2870daf" +checksum = "93bc092293e22c65fb7f5fbabdd48028c0eec03b855d6f6fd129ce1664106df3" dependencies = [ "regex", "rspack_cacheable", @@ -4280,9 +4308,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_replacement" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b19411aea4d011d7198ea6f5677ce562c6f1da523d01081e91d13c9ca4c91fa9" +checksum = "d13355cb6fb5810d1a018a9ab40f5a7d62e2914b1654566eea1e878d2f4dbe7c" dependencies = [ "derive_more", "futures", @@ -4297,9 +4325,9 @@ dependencies = [ [[package]] name = "rspack_plugin_no_emit_on_errors" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1295eb1bba8768db8643312cdfdb8f03d294679685c964f2e6c4c07dd5a9fc2" +checksum = "a6b205a94b42ca3828ac5900dc68d5ce99a8e1da2e3b22b2cefdaddff912d00c" dependencies = [ "rspack_core", "rspack_error", @@ -4309,9 +4337,9 @@ dependencies = [ [[package]] name = "rspack_plugin_progress" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbc2231020dcbaa5836d162c7ce39d78820415eafd3391dd8f7bb10b05d74182" +checksum = "ebd637545402f1e84dbfb7238a7046d8ed55931d70c9f606e71496a499eb2730" dependencies = [ "futures", "indicatif", @@ -4325,9 +4353,9 @@ dependencies = [ [[package]] name = "rspack_plugin_real_content_hash" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "657f271fae245e948ded060c4585c2edf7419b51099857279faea6854f73624a" +checksum = "24a38949258451ee5b1e2f4c7689285b216156e243eeb60fe94a0f59b261c140" dependencies = [ "aho-corasick", "atomic_refcell", @@ -4348,10 +4376,11 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_duplicate_modules" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cef781a741fd7e3843bcc44a2d5f6d21fc716d39ba278e03f3cd22d8f9d9943" +checksum = "d4546f3e34b9c6e1a3ae8d4db59db54d4fe804ef887f78db133e9afd98d88058" dependencies = [ + "rspack_collections", "rspack_core", "rspack_error", "rspack_hook", @@ -4361,9 +4390,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_empty_chunks" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2136f26b74d07804ce0fd113d055674bf582acf90038d9c8e149d131b718a9" +checksum = "803d51e8285a39939bdd81cfd1172f72bb150d68d587cc8e8417fb8ab1697589" dependencies = [ "rspack_collections", "rspack_core", @@ -4374,9 +4403,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rsdoctor" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0381fd98ec1714cdbcb88e7a10b6771aad2efe8f3d00284277a29e9ff67cf6c" +checksum = "d120352dee7cc48e250580704822f1a7d5dbe961775b9e8433fd6c9efcef061b" dependencies = [ "atomic_refcell", "futures", @@ -4396,9 +4425,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rslib" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e62ba24119dfc947603074b3ce13d8d799d8f391358fdc28ab83088964e6cb7" +checksum = "a0757e51be1ac9cbb6ab38a6120f5605210a2c284cc04e36cfe4fdc9e465404e" dependencies = [ "rspack_core", "rspack_error", @@ -4411,9 +4440,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rstest" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c78e6f4241d23890b015e1e136087856d3b81de078a20e455c8ec0840e0dc04d" +checksum = "28a8606bf71c4a244ee18990ba79d459486369824e97b78e7b42e4b772db5eb9" dependencies = [ "camino", "regex", @@ -4429,9 +4458,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "197f17ca3d71b0101b6c5c32b8a8e3b699653ceea2b6c8e6ccaaaba0bc0684a1" +checksum = "18117e0349e6f3e7c97031b34660a283beb4e88d0a3fd8c8b445ace865b7426d" dependencies = [ "async-trait", "atomic_refcell", @@ -4456,9 +4485,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime_chunk" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c0a5a56dffae7ddd8b06f0fb02680bb776b493944b1ff6782c1358ee730c4e" +checksum = "88e2b0f49f5e757e887abdb0b272f6cb278ffcb27c46cf2c39f59f1a4ba195d8" dependencies = [ "futures", "rspack_core", @@ -4469,9 +4498,9 @@ dependencies = [ [[package]] name = "rspack_plugin_schemes" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bbbe6721efe1572d02f12c5aab5918d1a2f4ae9679629ae9808aa5e06178e19" +checksum = "7c10ce44ad09a8cdc8936c1ff7ac1c6e98139f49e3d13950d63b36f62ad6c7ef" dependencies = [ "anyhow", "async-trait", @@ -4495,9 +4524,9 @@ dependencies = [ [[package]] name = "rspack_plugin_size_limits" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40fc3e699c9437ed8189109ef33309ff875163b8a949935a5861a1c218f160dc" +checksum = "494770941247e3c7f7e2b4d36c740761ae70af3dda58b88fb30ddbc7a571b05a" dependencies = [ "derive_more", "futures", @@ -4511,9 +4540,9 @@ dependencies = [ [[package]] name = "rspack_plugin_split_chunks" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe3103ad8055332931f35c772160db36077bb37924eda31af90fc2b6e2e19d3f" +checksum = "bf6af3a1e62ce2ded8ac03c2a6ef188deda4a5d3199915f91a1e41ca5bfb6377" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -4535,9 +4564,9 @@ dependencies = [ [[package]] name = "rspack_plugin_sri" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3765783a56426a84ae7d3e0c8c06adba5a6fd56195aee7fc039cfa8b446b00c0" +checksum = "983e19edd709f6f6541c89daf6c045da9fbd2996c3723652178ed9b407ab7c4d" dependencies = [ "async-trait", "cow-utils", @@ -4570,9 +4599,9 @@ dependencies = [ [[package]] name = "rspack_plugin_swc_js_minimizer" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0dcb49819cff600ca170a50f29ca57a811aa3d25c2567fca27a99f92162f6e4" +checksum = "072aabefd1459d2c92f0c1e363be0d354868252f79f64a1a6ae6e73bd7c837a7" dependencies = [ "cow-utils", "once_cell", @@ -4594,9 +4623,9 @@ dependencies = [ [[package]] name = "rspack_plugin_warn_sensitive_module" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c83899cf98110f7d1c59caedbdffa78255619bf893128a4367a07e4ff2597fc" +checksum = "775e4d23e29d9edd19a05e42a7c9f2b19691767ba49bf3ffbdf5fe8f2f7e4b60" dependencies = [ "cow-utils", "rspack_collections", @@ -4609,9 +4638,9 @@ dependencies = [ [[package]] name = "rspack_plugin_wasm" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35d687a86b2cde9987570eb40323035938143761c7a508375d717e17714f85ae" +checksum = "fba477fbea42dcbd91633ae4836d8ec082a8affe33b52fed0e9abacccb7d869f" dependencies = [ "async-trait", "cow-utils", @@ -4634,9 +4663,9 @@ dependencies = [ [[package]] name = "rspack_plugin_web_worker_template" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc270caae3841de893b8b36128a2c212227a2e79003164ac5471b1b78e629d0c" +checksum = "8eb830207f9d10019d1faa567a2cccbd208daf056ee701651953cca6ec11cd72" dependencies = [ "rspack_core", "rspack_plugin_runtime", @@ -4644,9 +4673,9 @@ dependencies = [ [[package]] name = "rspack_plugin_worker" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c3b1ca86d51e14066799eb7da98e6c09480b57b86692c5a749d2515f7a8de47" +checksum = "c83c0101af13ecc7f67d0b30d67e489e6c6bffe1ab4f63dfb1bc45528a76ca54" dependencies = [ "rspack_core", "rspack_error", @@ -4656,9 +4685,9 @@ dependencies = [ [[package]] name = "rspack_regex" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cf0b5633c76da3982a674a2508ed3a3f763ba6d9ba98afd3d1e3c0cfab6481" +checksum = "2fa1de7ee15a2d8ed08923dc453df6dde85f83ea05c515497aac6e28a7c92a04" dependencies = [ "cow-utils", "napi", @@ -4693,9 +4722,9 @@ dependencies = [ [[package]] name = "rspack_sources" -version = "0.4.8" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f2297ec566365aa29f1cc33c9c40db32789bc6116651f2b3e15d1f234b953b" +checksum = "ede63b6f16d4421a0b06e89d3b01839d8d27f11c0dd4a4c7e7c93b1ad5a66770" dependencies = [ "dashmap 6.1.0", "dyn-clone", @@ -4710,9 +4739,9 @@ dependencies = [ [[package]] name = "rspack_storage" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "654541f80c81dfa24d9e99ad2ba06575c19d08bed1f802323176b28dd9a320a1" +checksum = "b3d2d85815ca6890ea659fdabcb2272e65fcd49b32c7fc7327e25d1fb300e722" dependencies = [ "async-trait", "cow-utils", @@ -4729,9 +4758,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_import" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7826cbdd711117b6cd0a97c3e47b475c564f4bb0b6aea13140615510643aca9" +checksum = "a4fb8cca6a9c093fb4f2f4efd53ae975141c75c1f048df6d3a47dfe97640c004" dependencies = [ "cow-utils", "handlebars", @@ -4743,9 +4772,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_ts_collector" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7340d55893cd6aef9008b80045d0ecc10be9d3d5297b889b4c7dfcc94ae6000f" +checksum = "a58b0daae4f9b029aeaf8b6efa4cec0954ba29a0a2cc2d879ec2ab94f917c455" dependencies = [ "rustc-hash", "swc_core", @@ -4753,18 +4782,18 @@ dependencies = [ [[package]] name = "rspack_tasks" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdfb47b645a2bf372aec1ca8c6413a3585c0664f4595d560a7cd9882e47e2ab" +checksum = "13cffb21dbf1d70899387fabbe000673429f1e31a06204dbdad3cc13ff27d10c" dependencies = [ "tokio", ] [[package]] name = "rspack_tracing" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cb960f962d2e3da6ec2dcee9b0b59c7ce496c2c15f3212674db534bd0a236f4" +checksum = "4e531d7ddf769d1f66c13ac84dce991b8ee1670ed954a77307c01f38e807472d" dependencies = [ "rspack_tracing_perfetto", "tracing-subscriber", @@ -4772,9 +4801,9 @@ dependencies = [ [[package]] name = "rspack_tracing_perfetto" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4b38b33065290b0eecd5c683f7888602811b393f746fd4064ba82f76e39735" +checksum = "4d9839187bdb3f4556a4502d0285bca33c280db01372130a35f7ca4f03bafaf1" dependencies = [ "bytes", "micromegas-perfetto", @@ -4785,9 +4814,9 @@ dependencies = [ [[package]] name = "rspack_util" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d862ce609514e03fc48a93848d5c5b938f1214893205b5a4e9c0515ca31b378f" +checksum = "0bd835e67bfa7334d8f44dfa1c9fbef08ba1a388579f62395837fb82426ae19a" dependencies = [ "anyhow", "base64-simd 0.8.0", @@ -4818,9 +4847,9 @@ dependencies = [ [[package]] name = "rspack_workspace" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0808f9f17ab0ca70c1f9f2198adb7fccbc543695e15f873ee8bd9665da6c8d2c" +checksum = "2c51a211e5f2c432f9ffba088ee4dd57ddcbd12041aa4877abd88f9dd13a20f5" [[package]] name = "rustc-demangle" @@ -5674,9 +5703,9 @@ dependencies = [ [[package]] name = "swc_ecma_lexer" -version = "23.0.1" +version = "23.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c3bd958a5a67e2cc3f74abdd41fda688e54e7a25b866569260ef7018b67972" +checksum = "017d06ea85008234aa9fb34d805c7dc563f2ea6e03869ed5ac5a2dc27d561e4d" dependencies = [ "arrayvec", "bitflags 2.9.1", diff --git a/rspack/crates/binding/Cargo.toml b/rspack/crates/binding/Cargo.toml index 0358a7a51f6d7..1ab7e98e6d56d 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.5.7" } -rspack_binding_builder_macros = { version = "=0.5.7" } +rspack_binding_builder = { version = "=0.5.8" } +rspack_binding_builder_macros = { version = "=0.5.8" } -rspack_core = { version = "=0.5.7" } -rspack_error = { version = "=0.5.7" } -rspack_hook = { version = "=0.5.7" } -rspack_plugin_externals = { version = "=0.5.7" } -rspack_sources = { version = "=0.4.8" } +rspack_core = { version = "=0.5.8" } +rspack_error = { version = "=0.5.8" } +rspack_hook = { version = "=0.5.8" } +rspack_plugin_externals = { version = "=0.5.8" } +rspack_sources = { version = "=0.4.11" } regex = { version = "1.11.1" } -rspack_regex = { version = "=0.5.7" } +rspack_regex = { version = "=0.5.8" } 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.5.7", features = ["plugin"] } +rspack_binding_builder = { version = "=0.5.8", features = ["plugin"] } [build-dependencies] -rspack_binding_build = { version = "=0.5.7" } +rspack_binding_build = { version = "=0.5.8" } # 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/package.json b/rspack/package.json index 548509e328c56..68a4fad2c33a0 100644 --- a/rspack/package.json +++ b/rspack/package.json @@ -27,7 +27,7 @@ "build:debug": "pnpm run --filter @next/rspack-binding build:debug" }, "dependencies": { - "@rspack/core": "1.5.7", + "@rspack/core": "1.5.8", "@next/rspack-binding": "workspace:*" } } From cb97c4eefda8256e587f76ec09f3e9e79fc5bdd5 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Tue, 30 Sep 2025 16:57:56 +0800 Subject: [PATCH 06/11] update snapshot --- .../acceptance-app/ReactRefreshLogBox.test.ts | 2 +- .../build-error-logs/build-error-logs.test.ts | 2 - .../cache-components-errors.test.ts | 66 ++++++++----------- 3 files changed, 28 insertions(+), 42 deletions(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index 967bb993341c2..8e8b4acb28f99 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -1443,7 +1443,7 @@ describe('ReactRefreshLogBox app', () => { × Module not found: Can't resolve 'non-existing-module' in '/app' ╭──── 1 │ import "non-existing-module"; - · ───────────────────── + · ───────────────────────────── ╰──── Import trace for requested module: ./app/module.js 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 91bf68a6d98db..2dd614801f225 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 @@ -19,8 +19,6 @@ 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/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts index 1b3de92ef9ed8..bf149b20c71a4 100644 --- a/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts +++ b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts @@ -1199,11 +1199,11 @@ describe('Cache Components Errors', () => { "description": "Route "/sync-cookies" used \`cookies().get\`. \`cookies()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis", "environmentLabel": "Prerender", "label": "Console Error", - "source": "app/sync-cookies/page.tsx (17:25) @ CookiesReadingComponent - > 17 | const token = (cookies() as any).get('token') + "source": "app/sync-cookies/page.tsx (18:25) @ CookiesReadingComponent + > 18 | const token = (cookies() as any).get('token') | ^", "stack": [ - "CookiesReadingComponent app/sync-cookies/page.tsx (17:25)", + "CookiesReadingComponent app/sync-cookies/page.tsx (18:25)", "Page app/sync-cookies/page.tsx (11:7)", ], }, @@ -1211,11 +1211,11 @@ describe('Cache Components Errors', () => { "description": "(0 , .cookies)(...).get is not a function", "environmentLabel": "Prerender", "label": "Runtime TypeError", - "source": "app/sync-cookies/page.tsx (17:36) @ CookiesReadingComponent - > 17 | const token = (cookies() as any).get('token') + "source": "app/sync-cookies/page.tsx (18:36) @ CookiesReadingComponent + > 18 | const token = (cookies() as any).get('token') | ^", "stack": [ - "CookiesReadingComponent app/sync-cookies/page.tsx (17:36)", + "CookiesReadingComponent app/sync-cookies/page.tsx (18:36)", ], }, ] @@ -1393,11 +1393,11 @@ describe('Cache Components Errors', () => { "description": "(0 , .cookies)(...).get is not a function", "environmentLabel": "Server", "label": "Runtime TypeError", - "source": "app/sync-cookies-runtime/page.tsx (24:66) @ CookiesReadingComponent + "source": "app/sync-cookies-runtime/page.tsx (24:36) @ CookiesReadingComponent > 24 | const token = (cookies() as any).get('token') - | ^", + | ^", "stack": [ - "CookiesReadingComponent app/sync-cookies-runtime/page.tsx (24:66)", + "CookiesReadingComponent app/sync-cookies-runtime/page.tsx (24:36)", ], }, ] @@ -1475,11 +1475,11 @@ describe('Cache Components Errors', () => { "description": "Route "/sync-draft-mode" used \`draftMode().isEnabled\`. \`draftMode()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis", "environmentLabel": "Prerender", "label": "Console Error", - "source": "app/sync-draft-mode/page.tsx (23:31) @ DraftModeReadingComponent - > 23 | const isEnabled = (draftMode() as any) + "source": "app/sync-draft-mode/page.tsx (24:31) @ DraftModeReadingComponent + > 24 | const isEnabled = (draftMode() as any).isEnabled | ^", "stack": [ - "DraftModeReadingComponent app/sync-draft-mode/page.tsx (23:31)", + "DraftModeReadingComponent app/sync-draft-mode/page.tsx (24:31)", "Page app/sync-draft-mode/page.tsx (13:7)", ], } @@ -1550,11 +1550,11 @@ describe('Cache Components Errors', () => { "description": "Route "/sync-headers" used \`headers().get\`. \`headers()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis", "environmentLabel": "Prerender", "label": "Console Error", - "source": "app/sync-headers/page.tsx (17:29) @ HeadersReadingComponent - > 17 | const userAgent = (headers() as any).get( + "source": "app/sync-headers/page.tsx (18:29) @ HeadersReadingComponent + > 18 | const userAgent = (headers() as any).get('user-agent') | ^", "stack": [ - "HeadersReadingComponent app/sync-headers/page.tsx (17:29)", + "HeadersReadingComponent app/sync-headers/page.tsx (18:29)", "Page app/sync-headers/page.tsx (11:7)", ], }, @@ -1562,11 +1562,11 @@ describe('Cache Components Errors', () => { "description": "(0 , .headers)(...).get is not a function", "environmentLabel": "Prerender", "label": "Runtime TypeError", - "source": "app/sync-headers/page.tsx (17:70) @ HeadersReadingComponent - > 17 | const userAgent = (headers() as any).get( - | ^", + "source": "app/sync-headers/page.tsx (18:40) @ HeadersReadingComponent + > 18 | const userAgent = (headers() as any).get('user-agent') + | ^", "stack": [ - "HeadersReadingComponent app/sync-headers/page.tsx (17:70)", + "HeadersReadingComponent app/sync-headers/page.tsx (18:40)", ], }, ] @@ -1733,7 +1733,7 @@ describe('Cache Components Errors', () => { "environmentLabel": "Server", "label": "Console Error", "source": "app/sync-headers-runtime/page.tsx (24:29) @ HeadersReadingComponent - > 24 | const userAgent = (headers() as any).get( + > 24 | const userAgent = (headers() as any).get('user-agent') | ^", "stack": [ "HeadersReadingComponent app/sync-headers-runtime/page.tsx (24:29)", @@ -1744,11 +1744,11 @@ describe('Cache Components Errors', () => { "description": "(0 , .headers)(...).get is not a function", "environmentLabel": "Server", "label": "Runtime TypeError", - "source": "app/sync-headers-runtime/page.tsx (24:70) @ HeadersReadingComponent - > 24 | const userAgent = (headers() as any).get( - | ^", + "source": "app/sync-headers-runtime/page.tsx (24:40) @ HeadersReadingComponent + > 24 | const userAgent = (headers() as any).get('user-agent') + | ^", "stack": [ - "HeadersReadingComponent app/sync-headers-runtime/page.tsx (24:70)", + "HeadersReadingComponent app/sync-headers-runtime/page.tsx (24:40)", ], }, ] @@ -4805,21 +4805,9 @@ describe('Cache Components Errors', () => { } `) } else { - await expect(browser).toDisplayCollapsedRedbox(` - { - "description": "Route "/sync-io-node-crypto/random-int-up-to" used \`require('node:crypto').randomInt(min, max)\` before accessing either uncached data (e.g. \`fetch()\`) or Request data (e.g. \`cookies()\`, \`headers()\`, \`connection()\`, and \`searchParams\`). Accessing random values synchronously in a Server Component requires reading one of these data sources first. Alternatively, consider moving this expression into a Client Component or Cache Component. See more info here: https://nextjs.org/docs/messages/next-prerender-random", - "environmentLabel": "Server", - "label": "Console Error", - "source": "app/sync-io-node-crypto/random-int-up-to/page.tsx (20:17) @ SyncIOComponent - > 20 | const first = crypto.randomInt(128) - | ^", - "stack": [ - "SyncIOComponent app/sync-io-node-crypto/random-int-up-to/page.tsx (20:17)", - "Page app/sync-io-node-crypto/random-int-up-to/page.tsx (12:9)", - "LogSafely ", - ], - } - `) + await expect(browser).toDisplayCollapsedRedbox( + `"Redbox still had suspended content after 10s"` + ) } }) } else { From 0953aa566bf43357ce5d6cb87a3d9dc46664e6d6 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Thu, 9 Oct 2025 09:50:34 +0800 Subject: [PATCH 07/11] fix: lockfile.test.ts --- rspack/Cargo.lock | 487 +++++++++++---------- test/development/lockfile/lockfile.test.ts | 7 +- 2 files changed, 258 insertions(+), 236 deletions(-) diff --git a/rspack/Cargo.lock b/rspack/Cargo.lock index aca92ce88f8a4..23544853a74f9 100644 --- a/rspack/Cargo.lock +++ b/rspack/Cargo.lock @@ -3188,28 +3188,18 @@ dependencies = [ [[package]] name = "rspack_allocator" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d78bda13a35771ed9d0ac92b60984c4f7d01c59469eaa3416edacf0fac5992d7" +checksum = "2fd6b7bd16607aa639b804fb193d0dde451d26c76e4b3feb703094e2c210b267" dependencies = [ "mimalloc-rspack", ] -[[package]] -name = "rspack_base64" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41e857158fe0d619df3a4cf16a1256d42361c001c90a99e0b627acc61a095a46" -dependencies = [ - "base64-simd 0.8.0", - "regex", -] - [[package]] name = "rspack_binding_api" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8a39198f26176aa7b5e0bb48c4ff094a3af158ff9d5819def01b92352687d18" +checksum = "8834f0a77e81edae260b6478efc9b02fad617305fcdf0cebbc9c2754bd399a8c" dependencies = [ "anyhow", "async-trait", @@ -3309,27 +3299,27 @@ dependencies = [ [[package]] name = "rspack_binding_build" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ac83379e9a250422535b5bd15be06cf647c6733908278ed909c2490ba0466f6" +checksum = "327dac776596203d28e92cf5c40882c985decb6e7be8ce2482af595284702202" dependencies = [ "napi-build", ] [[package]] name = "rspack_binding_builder" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6504e8a4ddd63b88255374272a82db1f91bf403a2e99a4d475d2ae881f4b1d7f" +checksum = "69ca622b0e90300f0512df918af2f97e1a36086b1657ece2f6cc4d9d38c21456" dependencies = [ "rspack_binding_api", ] [[package]] name = "rspack_binding_builder_macros" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "428d522cb0b20cfa449fc9be344cfe37b85cf558201113241e14cf07c27dba71" +checksum = "b9d1fe191f8cde3b4da4ee41536ff4c9179e02339008f6053e1b8e90c963fb44" dependencies = [ "proc-macro2", "quote", @@ -3339,9 +3329,9 @@ dependencies = [ [[package]] name = "rspack_browserslist" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5df08571b40f09f55dcd14809244fdc5e3fdb861f404d60d6f4adcb914079842" +checksum = "32e30e263b543da8263117c0480d061c071c025a6524301dfd95603ed4545f23" dependencies = [ "browserslist-rs", "lightningcss", @@ -3350,9 +3340,9 @@ dependencies = [ [[package]] name = "rspack_cacheable" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7e91df6f35fd16ac15d7c3abff25372a035515e2d29355ae191decaa0ab3be" +checksum = "7450026d313e9a9ce1aa066da899d1d357f57d629b51e1b4e84369a005cf6572" dependencies = [ "camino", "dashmap 6.1.0", @@ -3375,9 +3365,9 @@ dependencies = [ [[package]] name = "rspack_collections" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e6b9c4a773aea1efdbedc6a3168b17380f8052dd74f519796e328db420b2f0" +checksum = "9f1f342d78af807a446251932470a7a6514d038720a896a845e852bc89e4f269" dependencies = [ "dashmap 6.1.0", "hashlink", @@ -3390,9 +3380,9 @@ dependencies = [ [[package]] name = "rspack_core" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "725444500505823b818898a67b8f3e8af46123d129148bdc91c7fac22f592011" +checksum = "95f28b82d9b1c0704475f898dd53f13882ebeb7dfae6ac0579276a96a7bbd202" dependencies = [ "anymap3", "async-recursion", @@ -3465,34 +3455,28 @@ dependencies = [ [[package]] name = "rspack_error" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a785f69b15b95946fba359089e3b3e878f3311adc6a9782bcc7cc9f9d1cca24" +checksum = "33869196d0dcddc6e2b5c7e00f4bb13a01fb345c48130be552bf708a845575f4" dependencies = [ "anyhow", - "cow-utils", - "derive_more", - "futures", "miette", - "once_cell", "owo-colors", "rspack_cacheable", "rspack_collections", "rspack_location", "rspack_paths", "serde_json", - "swc_core", "termcolor", "textwrap", - "thiserror 1.0.69", "unicode-width 0.2.0", ] [[package]] name = "rspack_fs" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3e2a0fb2021ee6f82cd2b231851717d4526f6067e7cc2a147931c3e42121890" +checksum = "250cb98d54d71cfa5da676a57055f9c31ce238269d3437123b072a8b00e20b0d" dependencies = [ "async-trait", "cfg-if", @@ -3512,9 +3496,9 @@ dependencies = [ [[package]] name = "rspack_futures" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "485b27e47e6d211431238f787ed60b3770f981d479c89a00650aa87b1e6c9e8c" +checksum = "89d823f74d08af399ddfe0aad1c12f3010f188210b4b7a11823a210759a23ad6" dependencies = [ "rspack_tasks", "tokio", @@ -3522,9 +3506,9 @@ dependencies = [ [[package]] name = "rspack_hash" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd332418d9014fc81278894829af2b501efeefcb76cc27de101cd1d9c911aa9" +checksum = "5dc1442e3aa8e7c7bb1b1d3f5ac0c1f96197eaeb3527d8851295e59e9f2efe66" dependencies = [ "md4", "rspack_cacheable", @@ -3535,9 +3519,9 @@ dependencies = [ [[package]] name = "rspack_hook" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c0714e07637e0c0625130ab84e73737fc34f97a72cd5700497aaa569038a94" +checksum = "09b06ef320b889ebd2d3c5d570563878c421c3a33fd1563bc715a6546b162f98" dependencies = [ "async-trait", "rspack_error", @@ -3548,9 +3532,9 @@ dependencies = [ [[package]] name = "rspack_ids" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c260e1aaeaa4629c63ffad9f8710ed8997895ca741b9f5a04a4d2ea6525f246" +checksum = "23e895a624b349a6be7b7a5d2c316c5300972e74390a6d9b861cf4460e037eed" dependencies = [ "itertools 0.14.0", "rayon", @@ -3566,15 +3550,14 @@ dependencies = [ [[package]] name = "rspack_javascript_compiler" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0acd67bb854d8693c23e1d15acb28b0801a0f452a775d3b1421e6a2070f686bb" +checksum = "d074a2d0fe9d93e3a10029a3270fc0b151566c8142ed3e74042fd9a29fabcfe7" dependencies = [ "anyhow", "base64", "indoc", "jsonc-parser", - "rspack_cacheable", "rspack_error", "rspack_sources", "rspack_util", @@ -3585,6 +3568,7 @@ dependencies = [ "stacker", "swc_config", "swc_core", + "swc_ecma_lexer", "swc_ecma_minifier", "swc_error_reporters", "swc_node_comments", @@ -3593,9 +3577,9 @@ dependencies = [ [[package]] name = "rspack_loader_lightningcss" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efad156a482e65d5a0e4563daa23bb5cba9e3eae6dc0f79d26a28746898efe7b" +checksum = "cb6db0a602907124e1b73ba6f2a96ebac45576267438993c185f383c44e3fe9b" dependencies = [ "async-trait", "derive_more", @@ -3615,9 +3599,9 @@ dependencies = [ [[package]] name = "rspack_loader_preact_refresh" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fc874c2e9800302b45bcdae56df803e6d0dfe1983221f4978dc212920713d94" +checksum = "857a8f7575ce3dd154c1957c14ea4df599d467bafa456687b6bc6daac0793d95" dependencies = [ "async-trait", "rspack_cacheable", @@ -3630,9 +3614,9 @@ dependencies = [ [[package]] name = "rspack_loader_react_refresh" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a3bce52a02e085f2d90d18fa43242606af6322af8b6bf8eec09d2580fb81e6d" +checksum = "bcfce0cc59f9557f2be121168adc96c33c419e8cf051ad134556fc02049c1752" dependencies = [ "async-trait", "rspack_cacheable", @@ -3645,9 +3629,9 @@ dependencies = [ [[package]] name = "rspack_loader_runner" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dfddb259f63d79734f5788598195a792a7744541dc8c92d035d478b21f28c7c" +checksum = "80686167648164426d4d1f144c40dc978a68343e8a83c6cd592f29ede64ed007" dependencies = [ "anymap3", "async-trait", @@ -3670,9 +3654,9 @@ dependencies = [ [[package]] name = "rspack_loader_swc" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9da6e4667867994828a0d84c3c9710b152f05e19b366115fd568467fa76ad52" +checksum = "3bc849b9dd9f5a6b67ab16c99890c2fdb5547076c06646927227306395d15970" dependencies = [ "async-trait", "either", @@ -3690,6 +3674,7 @@ dependencies = [ "serde", "serde_json", "stacker", + "sugar_path", "swc", "swc_config", "swc_core", @@ -3699,9 +3684,9 @@ dependencies = [ [[package]] name = "rspack_loader_testing" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2f8e3e64bf7dda5c63ffcad27626a8ecbae8fa2ecc40a44eba0256fd1617a8" +checksum = "1639732b347143d86c4f9583915cbcb232e2e12e46803937e46f4a213e90d5fe" dependencies = [ "async-trait", "rspack_cacheable", @@ -3713,9 +3698,9 @@ dependencies = [ [[package]] name = "rspack_location" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9d6bc12bb6e0d79f738c4f294c5678a7e97c5c95781e952145500c2e366fba2" +checksum = "9bc7a655a8d682c8b767cd751eb685802c71590d6071f14594a520d125c29023" dependencies = [ "itoa", "rspack_cacheable", @@ -3724,9 +3709,9 @@ dependencies = [ [[package]] name = "rspack_macros" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee9a1858c954e5cfac71e0117ec296b3764e8c1ec51da98f1c8c787993a78f20" +checksum = "5037635d4a30ce34ae5be0efb27a8ee4993caec824fe7849831ead4efa2d203f" dependencies = [ "proc-macro2", "quote", @@ -3735,9 +3720,9 @@ dependencies = [ [[package]] name = "rspack_napi" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f99f6d4084b84ffc2767ea412f15fe9a7c6d1b0bd0caeae4d5f06b0493ffdf" +checksum = "a12097793e2a4dd3f0f07bcbc4f8393f49d06bc0ab96797c8310d3f772eabc84" dependencies = [ "napi", "oneshot", @@ -3748,9 +3733,9 @@ dependencies = [ [[package]] name = "rspack_napi_macros" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d315331a93e78f91616c6710c93b7828c0995d1fdfa368e0604a59847565963b" +checksum = "74acf08557ae7b54d8e07072a4548e4c114e5c2a599b17920b1433642580ac53" dependencies = [ "proc-macro2", "quote", @@ -3759,19 +3744,23 @@ dependencies = [ [[package]] name = "rspack_paths" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "972775ac3f30969baee1649b595f96f3e3be788db09fa52b753ee4870610e2cb" +checksum = "ddb251229456c9c3c16b65372a31a5e5deb1dcf31437cc20252a162f6a476569" dependencies = [ "camino", + "dashmap 6.1.0", + "indexmap", "rspack_cacheable", + "rustc-hash", + "ustr-fxhash", ] [[package]] name = "rspack_plugin_asset" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "609b0374124b078310f8307ea821b4980bcfb48673e739cc62934a02c3519767" +checksum = "227afb93409e9a5bac0feeb4a16d470aa49a50cac0058df23e40734fe2bd364e" dependencies = [ "async-trait", "mime_guess", @@ -3789,9 +3778,9 @@ dependencies = [ [[package]] name = "rspack_plugin_banner" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a34d31dc6f095ef10241f5f2eea778cf1e0cf09f08b55d2bbff7badc756fc8a" +checksum = "32956fadbc1b4cb6b5ab60837d25815b36a46904edde591b6646662723025178" dependencies = [ "cow-utils", "futures", @@ -3805,9 +3794,9 @@ dependencies = [ [[package]] name = "rspack_plugin_circular_dependencies" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db83740b775aa7ce0b2d7eae9895e3f28bab5b492c5c2c92134067fb44ca53a7" +checksum = "27d6b12072394fd707d6e22f4d48f1380df0c826f07c122807138bd3a2465cbd" dependencies = [ "cow-utils", "derive_more", @@ -3824,9 +3813,9 @@ dependencies = [ [[package]] name = "rspack_plugin_copy" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d2eecd02fe5f5b1413c74daf0a1c2216118fe1eb4476968b1059ba5d19f01c" +checksum = "03e6b40a035206ac593992b0f8adcec0f6ec84f4a677919974eb1187651b521e" dependencies = [ "dashmap 6.1.0", "derive_more", @@ -3846,9 +3835,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61ce3ad942429b87b20aed97bbddc2d892a6781c5034151b313f11a36d6ddb02" +checksum = "d0428b93ade4bfeb19b250820ecb2c2ec692464a0f0f48398e966acc529e7741" dependencies = [ "async-trait", "atomic_refcell", @@ -3876,9 +3865,9 @@ dependencies = [ [[package]] name = "rspack_plugin_css_chunking" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232497ac1313394e426640b15f0d5eb86a179f23a76dd0e51c2c82bbe4a212a7" +checksum = "62b716b3158de485d1f7e54b89a38c0b67e946f60119cbf9634594a95bb37a12" dependencies = [ "indexmap", "rspack_collections", @@ -3893,9 +3882,9 @@ dependencies = [ [[package]] name = "rspack_plugin_devtool" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64356841da74093045e9ca7d03cc122152db95d2b421d2f4ec2cefcfcf7fdc08" +checksum = "df3ee5434a3980f517cfd721f7c7c465a03381b8e5438ef8f285ba0618e8a56c" dependencies = [ "cow-utils", "dashmap 6.1.0", @@ -3921,9 +3910,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dll" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27a150799ed8f03af87aa7b398f20452390c0412c030c1c7354a5deb520aa7d0" +checksum = "735358cd448391ae174c329aec9afd294819d7a268807f3cad8c34ef08f49c14" dependencies = [ "async-trait", "rspack_cacheable", @@ -3943,9 +3932,9 @@ dependencies = [ [[package]] name = "rspack_plugin_dynamic_entry" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5603f9dffb999aaa94ab60ed7389ecf98147e00e18f606e261af204a46853bbf" +checksum = "40bf2a21b7654d1e0510ff58573ff9d1c4f1e69cd9afc302655172aeab54617a" dependencies = [ "derive_more", "futures", @@ -3958,9 +3947,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ensure_chunk_conditions" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b35a1099e91b9f4bee6e134fe2c18d38e32833030b7eb91a05af882a663528d2" +checksum = "f39185fe3c5ad0694b8d475b5178e8e6e37a1d4df970a54c69b10c0d20a67b35" dependencies = [ "rspack_core", "rspack_error", @@ -3971,9 +3960,9 @@ dependencies = [ [[package]] name = "rspack_plugin_entry" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "063cc086b81bd7f7e630b54b7c1a2af5c11b46ee86d2061adffa4759ca0455ab" +checksum = "a4345408974c5839fad5718411108964508aab2cbc1f2e6c9694dbf3b2408966" dependencies = [ "rspack_core", "rspack_error", @@ -3981,11 +3970,38 @@ dependencies = [ "tracing", ] +[[package]] +name = "rspack_plugin_esm_library" +version = "0.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6702727ba6de4377b143fc3d13f2c2e7fbde5034ff97fc74fcb588d8a252e803" +dependencies = [ + "async-trait", + "rayon", + "regex", + "rspack_cacheable", + "rspack_collections", + "rspack_core", + "rspack_error", + "rspack_futures", + "rspack_hash", + "rspack_hook", + "rspack_javascript_compiler", + "rspack_plugin_javascript", + "rspack_util", + "serde", + "serde_json", + "sugar_path", + "swc_core", + "tokio", + "tracing", +] + [[package]] name = "rspack_plugin_externals" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7c130dc4f259df57e6386580e5d2771ea7d82678d4c9518cbf75b040803bf8d" +checksum = "38784dceed276440a525779d0e7819cad79d258b4c103f91aa5adbc321c96ca5" dependencies = [ "regex", "rspack_core", @@ -3998,9 +4014,9 @@ dependencies = [ [[package]] name = "rspack_plugin_extract_css" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf91ee243be73404056c2320423e14198fe9ae77d859ff83d79b304a602094ef" +checksum = "ff413db43b7788ed45832c2bbb609cc5e44f3af0b952c579494aac95ec47252d" dependencies = [ "async-trait", "cow-utils", @@ -4025,9 +4041,9 @@ dependencies = [ [[package]] name = "rspack_plugin_hmr" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f89a75c21cd450798fdbc05d4164a4b1aa2413f423789825140f3fe311dd31" +checksum = "0219d3adc43716df6457d2f2d0551f63a5cc31e1517efc941889098aa63d8fcf" dependencies = [ "async-trait", "cow-utils", @@ -4048,9 +4064,9 @@ dependencies = [ [[package]] name = "rspack_plugin_html" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b16c2b709c575d7dca842fa66324856281e3cc3244aa85074262c87b8a46878" +checksum = "3ffe4200314c1d5629215d78723762212e433b11d59c42a808c21c9ee0b67589" dependencies = [ "anyhow", "atomic_refcell", @@ -4078,9 +4094,9 @@ dependencies = [ [[package]] name = "rspack_plugin_ignore" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4307e91d1cc90d7a3fbe4e2c4ba77985f0c30e97106675f7520a3c57f2a56aaa" +checksum = "8ddd73b281eda1289d6df6df66ec5d20ec66a68e9fe827da1341c916ad32b2a1" dependencies = [ "derive_more", "futures", @@ -4093,9 +4109,9 @@ dependencies = [ [[package]] name = "rspack_plugin_javascript" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed16d274c5c6a3aa8227567496752d0bbd1de7b3c07700c1e90e5c6daff6d30d" +checksum = "8606a3ba6388479b9b40beb19574d62d40dbf3a3643ac46e8de1803865892a76" dependencies = [ "anymap3", "async-trait", @@ -4138,9 +4154,9 @@ dependencies = [ [[package]] name = "rspack_plugin_json" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0032a6645db62a6dd71fde6912adf647ec9321260eb40f544bcc36827a659373" +checksum = "fd1c8472ac7e3ebc1c665cc916ba405c4d09e25bd42d1816d1bcb65f678f60ba" dependencies = [ "async-trait", "cow-utils", @@ -4154,9 +4170,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lazy_compilation" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c425e7ed0713d58deb0c4697f09275fddcf7872c7314d4f04d023b6f8cad0434" +checksum = "47fcc9afd4f26a42fe9ee04d8d84bcfa46b5eddd4b2dfc5c31e5cbbf7cc48be4" dependencies = [ "async-trait", "rspack_cacheable", @@ -4165,19 +4181,20 @@ dependencies = [ "rspack_error", "rspack_hash", "rspack_hook", + "rspack_paths", "rspack_plugin_javascript", "rspack_regex", "rspack_util", - "rustc-hash", + "serde_json", "tokio", "tracing", ] [[package]] name = "rspack_plugin_library" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "640514a22fbee1a1a4a5a889d4c7a9fedf4edc21ee950ae84e5d9b1fe163e72a" +checksum = "4c4e2d5bb9d5251a8d23d42e4b1dbb7acf7d5995d6d62c850f03f955823f3a66" dependencies = [ "futures", "regex", @@ -4196,9 +4213,9 @@ dependencies = [ [[package]] name = "rspack_plugin_lightning_css_minimizer" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64cf4b3af1bc2beeb3c7593e9df7b0d2a416a25a781a8ad3c7575757cad7b5b9" +checksum = "019ad08e8382812dff378c30d9846949e10141de8dfab83ee6a8e973c41656ea" dependencies = [ "lightningcss", "parcel_sourcemap", @@ -4215,9 +4232,9 @@ dependencies = [ [[package]] name = "rspack_plugin_limit_chunk_count" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "489f7d67061312c73f38f80ae03fd5712eb5e45379d4221352767372454fd7df" +checksum = "e90e61c76ef6feaf434525675383cd8d4df12911d5eb51f9a5f46b00acaebab1" dependencies = [ "rspack_collections", "rspack_core", @@ -4228,9 +4245,9 @@ dependencies = [ [[package]] name = "rspack_plugin_merge_duplicate_chunks" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f7bd248a104b6be9148f9662ab285e7afbabbf3b2fa87a589b3755b50d6401" +checksum = "2f5e4de3fca18c144c92b27e64468fc765aea802d9e72e127a55de622514bfea" dependencies = [ "rayon", "rspack_collections", @@ -4243,9 +4260,9 @@ dependencies = [ [[package]] name = "rspack_plugin_mf" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc1900348e3fec60e54f59e04da546a0c8d190b0b30b9a5fed7ea10217d6889" +checksum = "5329a84540a8e6097bd4f94ffdc9bc930bee72c7b2203c95c02f9a8247331a40" dependencies = [ "async-trait", "camino", @@ -4273,13 +4290,12 @@ dependencies = [ [[package]] name = "rspack_plugin_module_info_header" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4df04d22761a0c9e9c5d7e057912d09d5ccd9f2cc2bed9f8fa0da77f41ada14" +checksum = "93bc092293e22c65fb7f5fbabdd48028c0eec03b855d6f6fd129ce1664106df3" dependencies = [ "regex", "rspack_cacheable", - "rspack_collections", "rspack_core", "rspack_error", "rspack_hash", @@ -4292,9 +4308,9 @@ dependencies = [ [[package]] name = "rspack_plugin_module_replacement" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7f5b081159f4ce79b214ebef2ccb7e8908adfafd166ef5c9ef6059ddb657f50" +checksum = "d13355cb6fb5810d1a018a9ab40f5a7d62e2914b1654566eea1e878d2f4dbe7c" dependencies = [ "derive_more", "futures", @@ -4309,9 +4325,9 @@ dependencies = [ [[package]] name = "rspack_plugin_no_emit_on_errors" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8470d2d8dd8484bc4ac9a2a96935ff09474667c56266123614e87fe33afa4c" +checksum = "a6b205a94b42ca3828ac5900dc68d5ce99a8e1da2e3b22b2cefdaddff912d00c" dependencies = [ "rspack_core", "rspack_error", @@ -4321,9 +4337,9 @@ dependencies = [ [[package]] name = "rspack_plugin_progress" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d94dd161a3d7b52d8ac15b4a9dbef8b124899cab56781af2df6988dfa91efee9" +checksum = "ebd637545402f1e84dbfb7238a7046d8ed55931d70c9f606e71496a499eb2730" dependencies = [ "futures", "indicatif", @@ -4337,9 +4353,9 @@ dependencies = [ [[package]] name = "rspack_plugin_real_content_hash" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38eadd5568ea776cda1f905e53fd07800fb934f4e1edcaf992eda35f3bc6e58d" +checksum = "24a38949258451ee5b1e2f4c7689285b216156e243eeb60fe94a0f59b261c140" dependencies = [ "aho-corasick", "atomic_refcell", @@ -4360,9 +4376,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_duplicate_modules" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7615657829fff6df9e0fd25a45f8e7ea13c0acafc9465f870670f2b0ea825428" +checksum = "d4546f3e34b9c6e1a3ae8d4db59db54d4fe804ef887f78db133e9afd98d88058" dependencies = [ "rspack_collections", "rspack_core", @@ -4374,9 +4390,9 @@ dependencies = [ [[package]] name = "rspack_plugin_remove_empty_chunks" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af87ae6617d5df49987db047c3f21301caeb54a8557ee9dd9ab4a2e42591d21" +checksum = "803d51e8285a39939bdd81cfd1172f72bb150d68d587cc8e8417fb8ab1697589" dependencies = [ "rspack_collections", "rspack_core", @@ -4387,9 +4403,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rsdoctor" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e9287880306f43d05161c6c8637ef6ca8a17a97d7c4d6fd0d3e184b7abd93a" +checksum = "d120352dee7cc48e250580704822f1a7d5dbe961775b9e8433fd6c9efcef061b" dependencies = [ "atomic_refcell", "futures", @@ -4409,9 +4425,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rslib" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8df173685fec17037e09011c6bb5cbcae3a4ce6b116f9022e5420c3e6dd0e80e" +checksum = "a0757e51be1ac9cbb6ab38a6120f5605210a2c284cc04e36cfe4fdc9e465404e" dependencies = [ "rspack_core", "rspack_error", @@ -4424,9 +4440,9 @@ dependencies = [ [[package]] name = "rspack_plugin_rstest" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c01512371ebf528a6177d32339799c94eb368ec74efe03d846b3f5e88aaffe58" +checksum = "28a8606bf71c4a244ee18990ba79d459486369824e97b78e7b42e4b772db5eb9" dependencies = [ "camino", "regex", @@ -4442,9 +4458,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b529351c842e483b24a6cd505289cc6cb472ae7a9afa0b53e786e9b273cf98d" +checksum = "18117e0349e6f3e7c97031b34660a283beb4e88d0a3fd8c8b445ace865b7426d" dependencies = [ "async-trait", "atomic_refcell", @@ -4469,9 +4485,9 @@ dependencies = [ [[package]] name = "rspack_plugin_runtime_chunk" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd8f67e8ebf4e0e1e995584e7ee643b4d614420d7b4cb0d47cc6a9435b9f7f23" +checksum = "88e2b0f49f5e757e887abdb0b272f6cb278ffcb27c46cf2c39f59f1a4ba195d8" dependencies = [ "futures", "rspack_core", @@ -4482,9 +4498,9 @@ dependencies = [ [[package]] name = "rspack_plugin_schemes" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27274b8301498380483cd7bf5a05ed6a21d93bbf1162df89e5cb2af1fa7a2f6a" +checksum = "7c10ce44ad09a8cdc8936c1ff7ac1c6e98139f49e3d13950d63b36f62ad6c7ef" dependencies = [ "anyhow", "async-trait", @@ -4508,9 +4524,9 @@ dependencies = [ [[package]] name = "rspack_plugin_size_limits" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acb6763a9d7302b426402a5c88899746cdcd8a044c6a5484860385150d43962" +checksum = "494770941247e3c7f7e2b4d36c740761ae70af3dda58b88fb30ddbc7a571b05a" dependencies = [ "derive_more", "futures", @@ -4524,13 +4540,14 @@ dependencies = [ [[package]] name = "rspack_plugin_split_chunks" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "636122040eb244476a04ce21394ddc9ea35cfd3dd9e80a35e56dec872f47e574" +checksum = "bf6af3a1e62ce2ded8ac03c2a6ef188deda4a5d3199915f91a1e41ca5bfb6377" dependencies = [ "dashmap 6.1.0", "derive_more", "futures", + "itertools 0.14.0", "rayon", "regex", "rspack_collections", @@ -4547,9 +4564,9 @@ dependencies = [ [[package]] name = "rspack_plugin_sri" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45f142854ee8811dbacd7a16acf56f99a3185975a1a20ef2cce83f6d4ec1ad80" +checksum = "983e19edd709f6f6541c89daf6c045da9fbd2996c3723652178ed9b407ab7c4d" dependencies = [ "async-trait", "cow-utils", @@ -4582,9 +4599,9 @@ dependencies = [ [[package]] name = "rspack_plugin_swc_js_minimizer" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78c7f8084afa79a7d03314980ef081dc3cb3e4971848f8bdf86b1e1d0a2e999" +checksum = "072aabefd1459d2c92f0c1e363be0d354868252f79f64a1a6ae6e73bd7c837a7" dependencies = [ "cow-utils", "once_cell", @@ -4606,9 +4623,9 @@ dependencies = [ [[package]] name = "rspack_plugin_warn_sensitive_module" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f37cd924ecbfb25a881acbbed32e9cd3d260dccb121ac502cff43c128567a4f0" +checksum = "775e4d23e29d9edd19a05e42a7c9f2b19691767ba49bf3ffbdf5fe8f2f7e4b60" dependencies = [ "cow-utils", "rspack_collections", @@ -4621,9 +4638,9 @@ dependencies = [ [[package]] name = "rspack_plugin_wasm" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5c5c8ee041c3f84302d64b4bb65d85c42ffbf9a50644f8c8eea7d0dc8ca3473" +checksum = "fba477fbea42dcbd91633ae4836d8ec082a8affe33b52fed0e9abacccb7d869f" dependencies = [ "async-trait", "cow-utils", @@ -4646,9 +4663,9 @@ dependencies = [ [[package]] name = "rspack_plugin_web_worker_template" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaf1f597919ca8f19a13c76591d0cb99013dad1d774e218800acaae40a43b1db" +checksum = "8eb830207f9d10019d1faa567a2cccbd208daf056ee701651953cca6ec11cd72" dependencies = [ "rspack_core", "rspack_plugin_runtime", @@ -4656,9 +4673,9 @@ dependencies = [ [[package]] name = "rspack_plugin_worker" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f625cb9c7e3224a62dbcf6012675cadfec83cf6767b9a41caa4282903e0e9b2c" +checksum = "c83c0101af13ecc7f67d0b30d67e489e6c6bffe1ab4f63dfb1bc45528a76ca54" dependencies = [ "rspack_core", "rspack_error", @@ -4668,9 +4685,9 @@ dependencies = [ [[package]] name = "rspack_regex" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28131d35a7abddb7d335e971d41fb972f24409145fcdb799f3325185e1a2a2dc" +checksum = "2fa1de7ee15a2d8ed08923dc453df6dde85f83ea05c515497aac6e28a7c92a04" dependencies = [ "cow-utils", "napi", @@ -4722,9 +4739,9 @@ dependencies = [ [[package]] name = "rspack_storage" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dedbf1233311f58c4c1191feebb23aee6556f52bacf75db45d2d723140af5b64" +checksum = "b3d2d85815ca6890ea659fdabcb2272e65fcd49b32c7fc7327e25d1fb300e722" dependencies = [ "async-trait", "cow-utils", @@ -4741,9 +4758,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_import" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b535af82451ab4fb9c18c826596784bc24db2bdecd9d9ef123bd5a7218514bd" +checksum = "a4fb8cca6a9c093fb4f2f4efd53ae975141c75c1f048df6d3a47dfe97640c004" dependencies = [ "cow-utils", "handlebars", @@ -4755,9 +4772,9 @@ dependencies = [ [[package]] name = "rspack_swc_plugin_ts_collector" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8e92d86609bb5115be9d43b27e77842175007b4a3a0a0a51fa982ccd7550d5" +checksum = "a58b0daae4f9b029aeaf8b6efa4cec0954ba29a0a2cc2d879ec2ab94f917c455" dependencies = [ "rustc-hash", "swc_core", @@ -4765,18 +4782,18 @@ dependencies = [ [[package]] name = "rspack_tasks" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3fc91fb1e6e848d4be1f9efaac14856e2a44e1fc71589c9d6ea370d2f2bc2b1" +checksum = "13cffb21dbf1d70899387fabbe000673429f1e31a06204dbdad3cc13ff27d10c" dependencies = [ "tokio", ] [[package]] name = "rspack_tracing" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9819d1d7a39dc2e4d2ce199ae9bb199cba4c4e4901cc988a728d9b84ce4e0a5" +checksum = "4e531d7ddf769d1f66c13ac84dce991b8ee1670ed954a77307c01f38e807472d" dependencies = [ "rspack_tracing_perfetto", "tracing-subscriber", @@ -4784,9 +4801,9 @@ dependencies = [ [[package]] name = "rspack_tracing_perfetto" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "574f3172a31cc265466922d475738c59eb4a4e074bbd603c624ccc67d5cf86fb" +checksum = "4d9839187bdb3f4556a4502d0285bca33c280db01372130a35f7ca4f03bafaf1" dependencies = [ "bytes", "micromegas-perfetto", @@ -4797,9 +4814,9 @@ dependencies = [ [[package]] name = "rspack_util" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd3c0cd7e98689a5e6ecf1950916e3ded971763909c3954d55236405f0acf7ab" +checksum = "0bd835e67bfa7334d8f44dfa1c9fbef08ba1a388579f62395837fb82426ae19a" dependencies = [ "anyhow", "base64-simd 0.8.0", @@ -4830,9 +4847,9 @@ dependencies = [ [[package]] name = "rspack_workspace" -version = "0.5.0" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c09bd5a20504a1d59d5d84c080bdda0ad35e08fd620932ba6f950cfa9f199fac" +checksum = "2c51a211e5f2c432f9ffba088ee4dd57ddcbd12041aa4877abd88f9dd13a20f5" [[package]] name = "rustc-demangle" @@ -5214,9 +5231,9 @@ checksum = "b7401a30af6cb5818bb64852270bb722533397edcfc7344954a38f420819ece2" [[package]] name = "swc" -version = "35.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "405fab2e64e8585034267a4b073118f592ace283dcb96f7b9c0ffde177c67084" +checksum = "de6f9d757142d1378ba4a9fd0a7fef3a8f636502f3e0cc1cb51cf91e7c08bfcf" dependencies = [ "anyhow", "base64", @@ -5322,9 +5339,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "32.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e23018058d027c09b1aaf49d0e5939daa3ea7ca0f39f166f08d170352e1a1cc6" +checksum = "33d067cb3d44993f0953120a6048d7157a48fa7914f86ee1b98f6da41891e5b4" dependencies = [ "anyhow", "base64", @@ -5381,9 +5398,9 @@ dependencies = [ [[package]] name = "swc_core" -version = "36.0.1" +version = "42.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c7646f17f3a99183d22f804152a3aec4eb0f9c395bdeacd4a7531527d596bf" +checksum = "9c9c317f08fdd6f47c820ea5d1c80d43676f9f2032e9ae954a648b59f6a3361c" dependencies = [ "par-core", "swc", @@ -5468,9 +5485,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_bugfixes" -version = "26.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "476691e063132a2629471189780223492c45dfc5b105fd8081684bce03fcc2ab" +checksum = "0809b7e5a20d31ddaf051a19ea467378d3ea1e9ecee7f7e1866c192c781f00e1" dependencies = [ "rustc-hash", "swc_atoms", @@ -5498,9 +5515,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2015" -version = "26.0.0" +version = "28.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c2d7bf2c6a6b2ce2453f52a3f90b82f0cfa9525c7622592acf1ce847673af5c" +checksum = "463a43bb2350ec3e68692d7e5f786ecf07382d057972dd5cc4fe02c9239fc5f3" dependencies = [ "arrayvec", "indexmap", @@ -5525,9 +5542,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2016" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681559e1246cca71bfd3554e369e6ea73f9ccaed3697b8a6600b73d4a6d4a2b5" +checksum = "26d08be3aaea9e0cb603a00b958f78c6149ce6fc98d0d9622935821a8dd2a99b" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5541,9 +5558,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2017" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8066d91752055dd73b3fbca713c678569a58acd072d31c5dc30c9ac881b95d76" +checksum = "1b68fc5c6237cdb8bb450672443cd640c2acbc84edc3d097349db33de0051668" dependencies = [ "serde", "swc_common", @@ -5557,9 +5574,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2018" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "735b1d1ea60be161bddeca4373edfbba29dcf00e1be8a846f19c8692fc2b703f" +checksum = "0de471037ff0e178a678a852d232206049578dab258b4e4abc57a677f2d8322d" dependencies = [ "serde", "swc_common", @@ -5575,9 +5592,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2019" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e34d4a9667211f79529e298d7f01b54dd17edcf0ee345da96c5d9269df859f9" +checksum = "9e5cc26969456801ee879a9b79d69b82ddf3ac8ecd0c601d9960f867d3f91a7c" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5590,9 +5607,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2020" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffa90402a30e7d7b01f6c8e8105ffac7e003337b127c39279e872f7f42a6f47" +checksum = "6ffd86caa05bc410105d05afe0c2fda17cb85ccba82d08fa72250d686a1ad4a3" dependencies = [ "serde", "swc_common", @@ -5607,9 +5624,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2021" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55969e109ac2e987548b0295ffd77553dc13a50e19ada2922d90888f3958ad22" +checksum = "41b9c2e5183b794675e84c0543fe62a3ec3353bf461dd5b1a0e9396c1ef85101" dependencies = [ "swc_ecma_ast", "swc_ecma_compiler", @@ -5620,9 +5637,9 @@ dependencies = [ [[package]] name = "swc_ecma_compat_es2022" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dfba84b71f681f69d83274f9c275424eaf5757ad247ddda3a3c4195c7584583" +checksum = "251f6791226538ac992067316e108b49c90e241e7eb33bc5632d6b0d08c20fd8" dependencies = [ "rustc-hash", "swc_atoms", @@ -5655,9 +5672,9 @@ dependencies = [ [[package]] name = "swc_ecma_compiler" -version = "3.0.0" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af74a91e65d8931aad16939c1be84e6ba9540642573a3479aeed22a52f83abb6" +checksum = "d2e2c5abb053281fa1dd99f4ce1e4c062bb18fed4cc24a2eada80d4160212e28" dependencies = [ "bitflags 2.9.1", "rustc-hash", @@ -5731,9 +5748,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "30.0.1" +version = "32.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "142e41bb890fa5d2b2b3f211f2a125e15cf0188f4413770270d924631f9e9efb" +checksum = "135c816e7ec58952af60a2180b97d779a9c7d7b8ec4c5aea83b5776b96c303eb" dependencies = [ "arrayvec", "bitflags 2.9.1", @@ -5767,9 +5784,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "23.0.0" +version = "24.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9166873bb660bed50b5f422233537d3e946336398570a4a13e57d8c63d6a01c5" +checksum = "2e9011783c975ba592ffc09cd208ced92b1dfabb2e5e0ef453559e2e25286127" dependencies = [ "either", "num-bigint", @@ -5783,9 +5800,9 @@ dependencies = [ [[package]] name = "swc_ecma_preset_env" -version = "30.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825087e27292bf5f41760cab1ccabaa60523c6ad27a02bee229a4ad95679d1ad" +checksum = "4d8c89878e98728a1213843f627bf7e756dcf22b8db792c6278668b613e18e32" dependencies = [ "anyhow", "foldhash", @@ -5808,9 +5825,9 @@ dependencies = [ [[package]] name = "swc_ecma_quote_macros" -version = "23.0.0" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21ad39e02fedc409e1975789343e3570ee50c858ab260c6e88465ed1fef2411e" +checksum = "1c8c018ebafab9285b7e3dfd757f28c40345e2dfade4566cf3cd3da81fbd2963" dependencies = [ "anyhow", "proc-macro2", @@ -5826,9 +5843,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms" -version = "29.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c40214d4e00b7a8e9c4b49dcb3c5a0bb04aecfa040ea37eda7df3294498caac" +checksum = "17aad69f947105eae180fecbf17c5e494a962787c037e6facf1f50895b806b4a" dependencies = [ "par-core", "swc_common", @@ -5845,9 +5862,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "25.0.0" +version = "26.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cc6454e1cf587b1d50509116350b503e7d647dbcc41bb5be9bf9a40fd792037" +checksum = "a0526b4e3d6cedb7e48c5026242809387676f836d4251235fa95165218bb8ce4" dependencies = [ "better_scoped_tls", "indexmap", @@ -5868,9 +5885,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_classes" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c48790332195e4163f1f49713a14f91a5614048ca6638c664050fe577c3fad5a" +checksum = "7ad4c8c59a000e0bd587f94afb51eb9caad6a42d07f41b75c56d8bf6276e1bae" dependencies = [ "swc_common", "swc_ecma_ast", @@ -5881,9 +5898,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_compat" -version = "27.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aad334cdbfe00544e711af7cd0744f30b1052479ba1d95032fc5a9cc14ac0ef" +checksum = "aed6ee500834a62375aede89f45404b95cd25b08418f6869eac8804bc98dbf47" dependencies = [ "indexmap", "par-core", @@ -5922,9 +5939,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_module" -version = "27.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3dc988f1b06f5bb96eb76f25d193329cb070a2e4be4d48c795feb54879ecc60" +checksum = "d4399b34a7d2c6b289252b1b271af1e79810aed7a06ef3b328de7534fd7a65f5" dependencies = [ "Inflector", "anyhow", @@ -5950,9 +5967,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "26.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03594f8ddc69865b0835e2a8ff017bdc0becf6ef22e120f22eff7f52ddb849a0" +checksum = "8ecb86ae16f150aa4fbc46bd37d6cce44612af59861afa987ab3053f17d343b1" dependencies = [ "bytes-str", "dashmap 5.5.3", @@ -5974,9 +5991,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_proposal" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a1d5b2190c134d9b5c9b4d8c0d4b23b4fb5c433a7ae470f1c2103b8ff99160c" +checksum = "b7cd9f54f3e7b3efb0e30e80f9efeaf99cd4d66ff0b83fda6dcfcbc0e293a767" dependencies = [ "either", "rustc-hash", @@ -5992,9 +6009,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_react" -version = "27.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "861eda08f77f8e0553f3141b5ea25879636f9edf0237e8104db6fbd81fec6598" +checksum = "3c9939e0a5a23529b63ac87d7a9981dba7f7021b7cb64ecf9039f3dfb0abb48c" dependencies = [ "base64", "bytes-str", @@ -6016,9 +6033,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_typescript" -version = "27.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b07cbe8b998c19897c309245bff119beec0dda20183ed4106bb58544b3791f45" +checksum = "52079079848d95fdfe3634d06b40bdb47865ffbedd9b3c2cf63a8d91dec5eebf" dependencies = [ "bytes-str", "rustc-hash", @@ -6160,9 +6177,9 @@ dependencies = [ [[package]] name = "swc_html_minifier" -version = "30.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da00a4a99023fc1a66980ed262cd3cd18edc6183d0bdb2406b963d3710b62282" +checksum = "3a6b428da779398d39b57ad1e11c2ef4ac6747edd37c52b6dfe50105e6a16616" dependencies = [ "once_cell", "rustc-hash", diff --git a/test/development/lockfile/lockfile.test.ts b/test/development/lockfile/lockfile.test.ts index fcf2b3c6f7bf1..f3fc484151857 100644 --- a/test/development/lockfile/lockfile.test.ts +++ b/test/development/lockfile/lockfile.test.ts @@ -6,6 +6,7 @@ describe('lockfile', () => { const { next, isTurbopack } = nextTestSetup({ files: __dirname, }) + const isRspack = !!process.env.NEXT_RSPACK it('only allows a single instance of `next dev` to run at a time', async () => { const browser = await next.browser('/') @@ -13,7 +14,11 @@ describe('lockfile', () => { const { stdout, stderr, exitCode } = await execa( 'pnpm', - ['next', 'dev', isTurbopack ? '--turbopack' : '--webpack'], + [ + 'next', + 'dev', + isTurbopack ? '--turbopack' : isRspack ? '' : '--webpack', + ], { cwd: next.testDir, env: next.env as NodeJS.ProcessEnv, From 4d2acfe5ff171dfbd252f422497ffee94b35c20d Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Tue, 14 Oct 2025 14:56:34 +0800 Subject: [PATCH 08/11] 1.0.1-beta.0 --- rspack/crates/binding/package.json | 2 +- rspack/package.json | 2 +- rspack/pnpm-lock.yaml | 172 ++++++++++++++++++++--------- 3 files changed, 120 insertions(+), 56 deletions(-) diff --git a/rspack/crates/binding/package.json b/rspack/crates/binding/package.json index d997db713561d..40c3324ec98b4 100644 --- a/rspack/crates/binding/package.json +++ b/rspack/crates/binding/package.json @@ -1,6 +1,6 @@ { "name": "@next/rspack-binding", - "version": "1.0.0", + "version": "1.0.1-beta.0", "homepage": "https://nextjs.org", "bugs": { "url": "https://github.com/vercel/next.js/issues" diff --git a/rspack/package.json b/rspack/package.json index 367c5fcf7bc7c..07046143ef796 100644 --- a/rspack/package.json +++ b/rspack/package.json @@ -1,6 +1,6 @@ { "name": "@next/rspack-core", - "version": "1.0.0", + "version": "1.0.1-beta.0", "homepage": "https://nextjs.org", "bugs": { "url": "https://github.com/vercel/next.js/issues" diff --git a/rspack/pnpm-lock.yaml b/rspack/pnpm-lock.yaml index ba6ff6c57420b..6e71618cd19f1 100644 --- a/rspack/pnpm-lock.yaml +++ b/rspack/pnpm-lock.yaml @@ -12,14 +12,14 @@ importers: specifier: workspace:* version: link:crates/binding '@rspack/core': - specifier: 1.5.0 - version: 1.5.0 + specifier: 1.5.8 + version: 1.5.8 crates/binding: devDependencies: '@napi-rs/cli': specifier: 3.0.1 - version: 3.0.1(@emnapi/runtime@1.4.5)(@types/node@24.3.0) + version: 3.0.1(@emnapi/runtime@1.5.0)(@types/node@24.3.0) '@types/node': specifier: ^24.0.12 version: 24.3.0 @@ -32,12 +32,21 @@ packages: '@emnapi/core@1.4.5': resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} + '@emnapi/core@1.5.0': + resolution: {integrity: sha512-sbP8GzB1WDzacS8fgNPpHlp6C9VZe+SJP3F90W9rLemaQj2PzIuTEl1qDOYQf58YIpyjViI24y9aPWCjEzY2cg==} + '@emnapi/runtime@1.4.5': resolution: {integrity: sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==} + '@emnapi/runtime@1.5.0': + resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==} + '@emnapi/wasi-threads@1.0.4': resolution: {integrity: sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g==} + '@emnapi/wasi-threads@1.1.0': + resolution: {integrity: sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==} + '@inquirer/checkbox@4.2.2': resolution: {integrity: sha512-E+KExNurKcUJJdxmjglTl141EwxWyAHplvsYJQgSwXf8qiNWkTxTuCCqmhFEmbIXd4zLaGMfQFJ6WrZ7fSeV3g==} engines: {node: '>=18'} @@ -263,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==} @@ -368,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==} @@ -432,6 +454,9 @@ packages: '@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==} + '@napi-rs/wasm-tools-android-arm-eabi@0.0.3': resolution: {integrity: sha512-T2tme8w5jZ/ZCjJurqNtKCxYtGoDjW9v2rn1bfI60ewCfkYXNpxrTURdkOib85sz+BcwmOfXn0enbg5W9KohoQ==} engines: {node: '>= 10'} @@ -467,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==} @@ -565,60 +594,64 @@ packages: '@octokit/types@14.1.0': resolution: {integrity: sha512-1y6DgTy8Jomcpu33N+p5w58l6xyt55Ar2I91RPiIA0xCJBXyUAhXCcmZaDWSANiha7R9a6qJJ2CRomGPZ6f46g==} - '@rspack/binding-darwin-arm64@1.5.0': - resolution: {integrity: sha512-7909YLNnKf0BYxiCpCWOk13WyWS4493Kxk1NQwy9KPLY9ydQExk84KVsix2NuNBaI8Pnk3aVLBPJiSNXtHLjnA==} + '@rspack/binding-darwin-arm64@1.5.8': + resolution: {integrity: sha512-spJfpOSN3f7V90ic45/ET2NKB2ujAViCNmqb0iGurMNQtFRq+7Kd+jvVKKGXKBHBbsQrFhidSWbbqy2PBPGK8g==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.5.0': - resolution: {integrity: sha512-poGuQsGKCMQqSswgrz8X+frqMVTdmtzUDyvi/p9BLwW+2DwWgmywU8jwE+BYtjfWp1tErBSTlLxmEPQTdcIQgQ==} + '@rspack/binding-darwin-x64@1.5.8': + resolution: {integrity: sha512-YFOzeL1IBknBcri8vjUp43dfUBylCeQnD+9O9p0wZmLAw7DtpN5JEOe2AkGo8kdTqJjYKI+cczJPKIw6lu1LWw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.5.0': - resolution: {integrity: sha512-Bvmk8h3tRhN9UgOtH+vK0SgFM3qEO36eJz7oddOl4lJQxBf2GNA87bGtkMtX+AVPz/PUn7r82uWxrlVNQHAbFg==} + '@rspack/binding-linux-arm64-gnu@1.5.8': + resolution: {integrity: sha512-UAWCsOnpkvy8eAVRo0uipbHXDhnoDq5zmqWTMhpga0/a3yzCp2e+fnjZb/qnFNYb5MeL0O1mwMOYgn1M3oHILQ==} cpu: [arm64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-arm64-musl@1.5.0': - resolution: {integrity: sha512-bH7UwkbACDYT37YnN9kkhaF9niFFK9ndcdNvYFFr1oUT4W9Ie3V9b41EXijqp3pyh0mDSeeLPFY0aEx1t3e7Pw==} + '@rspack/binding-linux-arm64-musl@1.5.8': + resolution: {integrity: sha512-GnSvGT4GjokPSD45cTtE+g7LgghuxSP1MRmvd+Vp/I8pnxTVSTsebRod4TAqyiv+l11nuS8yqNveK9qiOkBLWw==} cpu: [arm64] os: [linux] + libc: [musl] - '@rspack/binding-linux-x64-gnu@1.5.0': - resolution: {integrity: sha512-xZ5dwNrE5KtpQyMd9israpJTcTQ3UYUUq23fTcNc79xE5aspkGixDFAYoql4YkhO0O+JWRmdSaFAn6jD+IQWQA==} + '@rspack/binding-linux-x64-gnu@1.5.8': + resolution: {integrity: sha512-XLxh5n/pzUfxsugz/8rVBv+Tx2nqEM+9rharK69kfooDsQNKyz7PANllBQ/v4svJ+W0BRHnDL4qXSGdteZeEjA==} cpu: [x64] os: [linux] + libc: [glibc] - '@rspack/binding-linux-x64-musl@1.5.0': - resolution: {integrity: sha512-mv65jYvcyYPkPZJ9kjSvTAcH0o7C5jfICWCQcMmN1tCGD3b8gmf9GqSZ8e+W/JkuvrJ05qTo/PvEq9nhu+pNIg==} + '@rspack/binding-linux-x64-musl@1.5.8': + resolution: {integrity: sha512-gE0+MZmwF+01p9/svpEESkzkLpBkVUG2o03YMpwXYC/maeRRhWvF8BJ7R3i/Ls/jFGSE87dKX5NbRLVzqksq/w==} cpu: [x64] os: [linux] + libc: [musl] - '@rspack/binding-wasm32-wasi@1.5.0': - resolution: {integrity: sha512-8rVpl6xfaAFJgo1wCd+emksfl+/8nlehrtkmjY9bj79Ou+kp07L9e1B+UU0jfs8e7aLPntQuF68kzLHwYLzWIQ==} + '@rspack/binding-wasm32-wasi@1.5.8': + resolution: {integrity: sha512-cfg3niNHeJuxuml1Vy9VvaJrI/5TakzoaZvKX2g5S24wfzR50Eyy4JAsZ+L2voWQQp1yMJbmPYPmnTCTxdJQBQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.5.0': - resolution: {integrity: sha512-dWSmNm+GR6WSkOwbhlUcot4Oqwyon+1PRZ9E0vIMFHKGvESf9CQjgHAX0QE9G0kJmRM5x3I16J4x44Kw3W/98Q==} + '@rspack/binding-win32-arm64-msvc@1.5.8': + resolution: {integrity: sha512-7i3ZTHFXKfU/9Jm9XhpMkrdkxO7lfeYMNVEGkuU5dyBfRMQj69dRgPL7zJwc2plXiqu9LUOl+TwDNTjap7Q36g==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.5.0': - resolution: {integrity: sha512-YtOrFEkwhO3Y3sY6Jq0OOYPY7NBTNYuwJ6epTgzPEDGs2cBnwZfzhq0jmD/koWtv1L9+twX95vKosBdauF0tNA==} + '@rspack/binding-win32-ia32-msvc@1.5.8': + resolution: {integrity: sha512-7ZPPWO11J+soea1+mnfaPpQt7GIodBM7A86dx6PbXgVEoZmetcWPrCF2NBfXxQWOKJ9L3RYltC4z+ZyXRgMOrw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.5.0': - resolution: {integrity: sha512-V4fcPVYWJgDkIkSsFwmUdwC9lkL8+1dzDOwyTWe6KW2MYHF2D148WPHNyVVE6gum12TShpbIsh0j4NiiMhkMtw==} + '@rspack/binding-win32-x64-msvc@1.5.8': + resolution: {integrity: sha512-N/zXQgzIxME3YUzXT8qnyzxjqcnXudWOeDh8CAG9zqTCnCiy16SFfQ/cQgEoLlD9geQntV6jx2GbDDI5kpDGMQ==} cpu: [x64] os: [win32] - '@rspack/binding@1.5.0': - resolution: {integrity: sha512-UGXQmwEu2gdO+tnGv2q4rOWJdWioy6dlLXeZOLYAZVh3mrfKJhZWtDEygX9hCdE5thWNRTlEvx30QQchJAszIQ==} + '@rspack/binding@1.5.8': + resolution: {integrity: sha512-/91CzhRl9r5BIQCgGsS7jA6MDbw1I2BQpbfcUUdkdKl2P79K3Zo/Mw/TvKzS86catwLaUQEgkGRmYawOfPg7ow==} - '@rspack/core@1.5.0': - resolution: {integrity: sha512-eEtiKV+CUcAtnt1K+eiHDzmBXQcNM8CfCXOzr0+gHGp4w4Zks2B8RF36sYD03MM2bg8VRXXsf0MicQ8FvRMCOg==} + '@rspack/core@1.5.8': + resolution: {integrity: sha512-sUd2LfiDhqYVfvknuoz0+/c+wSpn693xotnG5g1CSWKZArbtwiYzBIVnNlcHGmuoBRsnj/TkSq8dTQ7gwfBroQ==} engines: {node: '>=18.12.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -633,6 +666,9 @@ packages: '@tybys/wasm-util@0.10.0': resolution: {integrity: sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==} + '@tybys/wasm-util@0.10.1': + resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} + '@types/node@24.3.0': resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==} @@ -801,16 +837,32 @@ snapshots: tslib: 2.8.1 optional: true + '@emnapi/core@1.5.0': + dependencies: + '@emnapi/wasi-threads': 1.1.0 + tslib: 2.8.1 + optional: true + '@emnapi/runtime@1.4.5': dependencies: tslib: 2.8.1 optional: true + '@emnapi/runtime@1.5.0': + dependencies: + tslib: 2.8.1 + optional: true + '@emnapi/wasi-threads@1.0.4': dependencies: tslib: 2.8.1 optional: true + '@emnapi/wasi-threads@1.1.0': + dependencies: + tslib: 2.8.1 + optional: true + '@inquirer/checkbox@4.2.2(@types/node@24.3.0)': dependencies: '@inquirer/core': 10.2.0(@types/node@24.3.0) @@ -959,7 +1011,7 @@ snapshots: '@module-federation/runtime': 0.18.0 '@module-federation/sdk': 0.18.0 - '@napi-rs/cli@3.0.1(@emnapi/runtime@1.4.5)(@types/node@24.3.0)': + '@napi-rs/cli@3.0.1(@emnapi/runtime@1.5.0)(@types/node@24.3.0)': dependencies: '@inquirer/prompts': 7.8.4(@types/node@24.3.0) '@napi-rs/cross-toolchain': 0.0.19 @@ -975,7 +1027,7 @@ snapshots: typanion: 3.14.0 wasm-sjlj: 1.0.6 optionalDependencies: - '@emnapi/runtime': 1.4.5 + '@emnapi/runtime': 1.5.0 transitivePeerDependencies: - '@napi-rs/cross-toolchain-arm64-target-aarch64' - '@napi-rs/cross-toolchain-arm64-target-armv7' @@ -1150,6 +1202,13 @@ snapshots: '@tybys/wasm-util': 0.10.0 optional: true + '@napi-rs/wasm-runtime@1.0.7': + dependencies: + '@emnapi/core': 1.5.0 + '@emnapi/runtime': 1.5.0 + '@tybys/wasm-util': 0.10.1 + optional: true + '@napi-rs/wasm-tools-android-arm-eabi@0.0.3': optional: true @@ -1269,55 +1328,55 @@ snapshots: dependencies: '@octokit/openapi-types': 25.1.0 - '@rspack/binding-darwin-arm64@1.5.0': + '@rspack/binding-darwin-arm64@1.5.8': optional: true - '@rspack/binding-darwin-x64@1.5.0': + '@rspack/binding-darwin-x64@1.5.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.5.0': + '@rspack/binding-linux-arm64-gnu@1.5.8': optional: true - '@rspack/binding-linux-arm64-musl@1.5.0': + '@rspack/binding-linux-arm64-musl@1.5.8': optional: true - '@rspack/binding-linux-x64-gnu@1.5.0': + '@rspack/binding-linux-x64-gnu@1.5.8': optional: true - '@rspack/binding-linux-x64-musl@1.5.0': + '@rspack/binding-linux-x64-musl@1.5.8': optional: true - '@rspack/binding-wasm32-wasi@1.5.0': + '@rspack/binding-wasm32-wasi@1.5.8': dependencies: - '@napi-rs/wasm-runtime': 1.0.3 + '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-win32-arm64-msvc@1.5.0': + '@rspack/binding-win32-arm64-msvc@1.5.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.5.0': + '@rspack/binding-win32-ia32-msvc@1.5.8': optional: true - '@rspack/binding-win32-x64-msvc@1.5.0': + '@rspack/binding-win32-x64-msvc@1.5.8': optional: true - '@rspack/binding@1.5.0': + '@rspack/binding@1.5.8': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.5.0 - '@rspack/binding-darwin-x64': 1.5.0 - '@rspack/binding-linux-arm64-gnu': 1.5.0 - '@rspack/binding-linux-arm64-musl': 1.5.0 - '@rspack/binding-linux-x64-gnu': 1.5.0 - '@rspack/binding-linux-x64-musl': 1.5.0 - '@rspack/binding-wasm32-wasi': 1.5.0 - '@rspack/binding-win32-arm64-msvc': 1.5.0 - '@rspack/binding-win32-ia32-msvc': 1.5.0 - '@rspack/binding-win32-x64-msvc': 1.5.0 - - '@rspack/core@1.5.0': + '@rspack/binding-darwin-arm64': 1.5.8 + '@rspack/binding-darwin-x64': 1.5.8 + '@rspack/binding-linux-arm64-gnu': 1.5.8 + '@rspack/binding-linux-arm64-musl': 1.5.8 + '@rspack/binding-linux-x64-gnu': 1.5.8 + '@rspack/binding-linux-x64-musl': 1.5.8 + '@rspack/binding-wasm32-wasi': 1.5.8 + '@rspack/binding-win32-arm64-msvc': 1.5.8 + '@rspack/binding-win32-ia32-msvc': 1.5.8 + '@rspack/binding-win32-x64-msvc': 1.5.8 + + '@rspack/core@1.5.8': dependencies: '@module-federation/runtime-tools': 0.18.0 - '@rspack/binding': 1.5.0 + '@rspack/binding': 1.5.8 '@rspack/lite-tapable': 1.0.1 '@rspack/lite-tapable@1.0.1': {} @@ -1327,6 +1386,11 @@ snapshots: tslib: 2.8.1 optional: true + '@tybys/wasm-util@0.10.1': + dependencies: + tslib: 2.8.1 + optional: true + '@types/node@24.3.0': dependencies: undici-types: 7.10.0 From 645cae87590de116faafea5aee73f5e16237122d Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 15 Oct 2025 10:43:58 +0800 Subject: [PATCH 09/11] @next-rspack/core@1.0.1-beta.0 --- packages/next-rspack/package.json | 2 +- pnpm-lock.yaml | 272 ++++++++---------------------- 2 files changed, 73 insertions(+), 201 deletions(-) diff --git a/packages/next-rspack/package.json b/packages/next-rspack/package.json index 55100a3dbda10..8cc7853265041 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.0" + "@next/rspack-core": "npm:@next-rspack/core@1.0.1-beta.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00773a6b072ce..59e12d346f8a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1775,8 +1775,8 @@ importers: packages/next-rspack: dependencies: '@next/rspack-core': - specifier: 1.0.0 - version: 1.0.0(@swc/helpers@0.5.15) + specifier: npm:@next-rspack/core@1.0.1-beta.0 + version: '@next-rspack/core@1.0.1-beta.0(@swc/helpers@0.5.15)' packages/next-swc: devDependencies: @@ -4343,87 +4343,84 @@ packages: '@napi-rs/wasm-runtime@0.2.12': resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} - '@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==} - '@next/env@15.5.3': - resolution: {integrity: sha512-RSEDTRqyihYXygx/OJXwvVupfr9m04+0vH8vyy0HfZ7keRto6VX9BbEk0J2PUk0VGy6YhklJUSrgForov5F9pw==} - - '@next/eslint-plugin-next@15.6.0-canary.32': - resolution: {integrity: sha512-CCjoXb3dNT1Pq+GkcQOGncBlm6HCorbqiJ4nuhF/wKo505FXIf8vnpaUId54iN/WqwaC1Zf5wBk1shSXMuMKHA==} - - '@next/rspack-binding-android-arm-eabi@1.0.0': - resolution: {integrity: sha512-goiM4M2ZlT82qtR8e7X3fwYGBBJ4DdaIkMGLa1rgSclyNXvb5mOhiSug+FgzrLsYl0O0UAO7GCMuyiF2hD5nmA==} + '@next-rspack/binding-android-arm-eabi@1.0.1-beta.0': + resolution: {integrity: sha512-vMxxHvEKR8lrT73XEsklDIhnv2bJ+BmIFvMXw1ssMNunPzjevfYMa1vk8W/a8Xvc4ztWwKuM4iS5bSI16e3Ivg==} cpu: [arm] os: [android] - '@next/rspack-binding-android-arm64@1.0.0': - resolution: {integrity: sha512-uJUI5c83lGuQMber8edNnYHB4AXFqb+cT/QHmzxup2U0A+Y8TZ25G2myUk09VtewbrJtWthNEETRdAUmhevKHQ==} + '@next-rspack/binding-android-arm64@1.0.1-beta.0': + resolution: {integrity: sha512-AEMQJdO46XUmuSwC51uc/FMaMfa+WyuuTBpqxRuYPYPQnBVbVoCDvtBwSnMMa4cP278+8wrulmoIFXdTeePWPg==} cpu: [arm64] os: [android] - '@next/rspack-binding-darwin-arm64@1.0.0': - resolution: {integrity: sha512-nv7iYARccfbVGftd3udk6/HOp0gCRgM1jyWZpfXenc3WpE8PbC0YXDIC8G0Px3vBEbGLItnOdRTLwQJ8dPgjAg==} + '@next-rspack/binding-darwin-arm64@1.0.1-beta.0': + resolution: {integrity: sha512-JHmoxBqFuAxz5htGRn/uYW3kWNRxti2PhRJRVeMCz3F+kJCIQCp/CiUe27ILmrrUq8aqVdCRaHutnr6Xt1zTvA==} cpu: [arm64] os: [darwin] - '@next/rspack-binding-darwin-x64@1.0.0': - resolution: {integrity: sha512-xB7RUZZnGNJ1t75IbzgdHWZJa6fijsfR9YbQ1eD0ppgMrXr9EcM+FDs0HFvg/nZqCI0PtA3j2Q+mePsJ8hy5ow==} + '@next-rspack/binding-darwin-x64@1.0.1-beta.0': + resolution: {integrity: sha512-CeTm1umI36tqbhUKdsKKNBbKB5pig51nbQW54NfLNEhKYC4r3vBUNptlovVRi60KF0Oxh3QmfSZYGtTV6IXMTA==} cpu: [x64] os: [darwin] - '@next/rspack-binding-linux-arm-gnueabihf@1.0.0': - resolution: {integrity: sha512-59HIy5ysp7eoWW6Cg1VvCtRoBJv+zPNZQVvQH9wyjOMDVL7L53g9AsgCgHGlM5rmBZ6MGYb+ToKtOUf2AvsfNw==} + '@next-rspack/binding-linux-arm-gnueabihf@1.0.1-beta.0': + resolution: {integrity: sha512-1YOgg1BC3s/EdQT9PE6WL2VRCSFn2r87juyYPjOBTXViVDWV0RsJSbWID+gI5PtT9TcxR/stHk7es/RyPtwQvg==} cpu: [arm] os: [linux] - '@next/rspack-binding-linux-arm64-gnu@1.0.0': - resolution: {integrity: sha512-KTs4iGsx5+9VIxAjyHPnXjGF2NyQZw4XrWECat+aSsUPf6lhEaLy16Tktj8VIGMDUAJRweqX//n4Pey7eHPOVQ==} + '@next-rspack/binding-linux-arm64-gnu@1.0.1-beta.0': + resolution: {integrity: sha512-8t4oJ8FOHOJfavrheSH1w6RLrTawFdNa0mHfw2t4dRlVU39ru9m8yaQkS9zsdOFWWv8Xrl0wMtOUWaM5dMzfOg==} cpu: [arm64] os: [linux] libc: [glibc] - '@next/rspack-binding-linux-arm64-musl@1.0.0': - resolution: {integrity: sha512-cO14QgCFeTPGD6NyKnFR7AB7HmyZ6bWNCB++jfh8L8A7yYnjv2hVnnWuh4yv98dY5Bq8fTSOq815SU8Zjs5vaQ==} + '@next-rspack/binding-linux-arm64-musl@1.0.1-beta.0': + resolution: {integrity: sha512-XMMy3mTC7wW/L2VpWc6Ys4av8hFMUQuOfgacNv3MrptX6YdaPeRzfEHXCPecYoTK2G492gOyX+oAcV0feqdeHw==} cpu: [arm64] os: [linux] libc: [musl] - '@next/rspack-binding-linux-x64-gnu@1.0.0': - resolution: {integrity: sha512-a6fJNbAZgeHtWRFs2QYNEwQuDCJAs28loS+b/jzgMgbz4NlbYtqT9IAtMsab8mq3MLOGdL1LB8X74pYpF4bSGg==} + '@next-rspack/binding-linux-x64-gnu@1.0.1-beta.0': + resolution: {integrity: sha512-hgU1H6geEAkXKNLWeVoC9K5HqhJukiJrXwAxIQo6829vbMVF2zk3huErc+byJuXOZe2bpGr8IIvbeQED9HZtTA==} cpu: [x64] os: [linux] libc: [glibc] - '@next/rspack-binding-linux-x64-musl@1.0.0': - resolution: {integrity: sha512-hr5F5A3gUK+h1E+KLWfTE3ba/N8ZusyVZc5hTmVxWQ3391zAaifzLSndwjaU46V8pdR/y77cUpYKLLFhQMkR1g==} + '@next-rspack/binding-linux-x64-musl@1.0.1-beta.0': + resolution: {integrity: sha512-XSTrHTmhhy4Yc43isHjUcTO+LF8d5rLxtRR0jX+X9sk7n48kkMdxGvL7nW2cUTI+SGlmUA5/NBbngr+3i7ioHQ==} cpu: [x64] os: [linux] libc: [musl] - '@next/rspack-binding-win32-arm64-msvc@1.0.0': - resolution: {integrity: sha512-cT7KTW/Sl72MTE+0q06XTkVH777oElqs73yfSYmZtDxt54umMlLrYC2lPzz/7XuXpxsbukwdwlq2s609oVhDsw==} + '@next-rspack/binding-win32-arm64-msvc@1.0.1-beta.0': + resolution: {integrity: sha512-Muld0Sd4nqLQYeQGBpAKpciyvX6YD59VEVxlo9SVN+9d76kIe8rtleaeebJvfqvIjMKFqmnWznkwCGE9c7A8eA==} cpu: [arm64] os: [win32] - '@next/rspack-binding-win32-ia32-msvc@1.0.0': - resolution: {integrity: sha512-nSED7pwgQImgg9tlR+YT/uumzdxtQxaGItxobZOr5H8NcKpCLdKx8/1yHYs1ZhX8q7EEA6FjzUOKvj0gqPmf/g==} + '@next-rspack/binding-win32-ia32-msvc@1.0.1-beta.0': + resolution: {integrity: sha512-uNTN7fd/vnXGEX0YgrtbSXGxZxKCfuXvl5D6Bf5Mb7RFIocufihB75UFNZs80v69qJbMR9QS/z42OTJys+02CQ==} cpu: [ia32] os: [win32] - '@next/rspack-binding-win32-x64-msvc@1.0.0': - resolution: {integrity: sha512-2Ae6om/kWa/HyzsH7/39B1c06zT+bNb3lGuzJh5dmHzX6L1KAGnSaA6cLn4RQ9i6GO5DAVGlzPfeZ+ubrt4fCA==} + '@next-rspack/binding-win32-x64-msvc@1.0.1-beta.0': + resolution: {integrity: sha512-FiN7BnGgW6YR9Dcm6nUFSi+rjQbfSJT8BavUxfbp46ZpAj/2tBxRsTgKcWbkb0L3Mrk04L8meKpbyb7Qr9urVg==} cpu: [x64] os: [win32] - '@next/rspack-binding@1.0.0': - resolution: {integrity: sha512-xuIlzwlL2dFOQ/hw1wEt674Q5QtaDJOCtyO8ncxsxHjBMcuaoI17gB1969VEp3VE5yOjv4qTFY1IpDBGmxe8zw==} + '@next-rspack/binding@1.0.1-beta.0': + resolution: {integrity: sha512-mbOpZkzvaYP246nheWtWUEU78/eR2ozYvfd/nC++LFRqHhmsedMBnvDpA2+mWNUoh43/H1R1daupe5a/Rr9Msw==} + + '@next-rspack/core@1.0.1-beta.0': + resolution: {integrity: sha512-pFzHwv+H69wL2iODLRZVcRJkpYSPg/ZJFEqM1tfhVsGJ1LBdH+4HCPz5tN6ELU0aJpWGf7xBRnCRWend0hEnPA==} + + '@next/env@15.5.3': + resolution: {integrity: sha512-RSEDTRqyihYXygx/OJXwvVupfr9m04+0vH8vyy0HfZ7keRto6VX9BbEk0J2PUk0VGy6YhklJUSrgForov5F9pw==} - '@next/rspack-core@1.0.0': - resolution: {integrity: sha512-uUnVS//Pq/+RY/AsmVSRDQD0gs4Q8tJTe9YIMlmZgJxtDAykUag7CxHFSwuLj69OZMM1n0k/DFfDq8elfVMVsA==} + '@next/eslint-plugin-next@15.6.0-canary.32': + resolution: {integrity: sha512-CCjoXb3dNT1Pq+GkcQOGncBlm6HCorbqiJ4nuhF/wKo505FXIf8vnpaUId54iN/WqwaC1Zf5wBk1shSXMuMKHA==} '@next/swc-darwin-arm64@15.5.3': resolution: {integrity: sha512-nzbHQo69+au9wJkGKTU9lP7PXv0d1J5ljFpvb+LnEomLtSbJkbZyEs6sbF3plQmiOB2l9OBtN2tNSvCH1nQ9Jg==} @@ -5306,127 +5303,62 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-darwin-arm64@1.5.0': - resolution: {integrity: sha512-7909YLNnKf0BYxiCpCWOk13WyWS4493Kxk1NQwy9KPLY9ydQExk84KVsix2NuNBaI8Pnk3aVLBPJiSNXtHLjnA==} - cpu: [arm64] - os: [darwin] - '@rspack/binding-darwin-arm64@1.5.8': resolution: {integrity: sha512-spJfpOSN3f7V90ic45/ET2NKB2ujAViCNmqb0iGurMNQtFRq+7Kd+jvVKKGXKBHBbsQrFhidSWbbqy2PBPGK8g==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.5.0': - resolution: {integrity: sha512-poGuQsGKCMQqSswgrz8X+frqMVTdmtzUDyvi/p9BLwW+2DwWgmywU8jwE+BYtjfWp1tErBSTlLxmEPQTdcIQgQ==} - cpu: [x64] - os: [darwin] - '@rspack/binding-darwin-x64@1.5.8': resolution: {integrity: sha512-YFOzeL1IBknBcri8vjUp43dfUBylCeQnD+9O9p0wZmLAw7DtpN5JEOe2AkGo8kdTqJjYKI+cczJPKIw6lu1LWw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.5.0': - resolution: {integrity: sha512-Bvmk8h3tRhN9UgOtH+vK0SgFM3qEO36eJz7oddOl4lJQxBf2GNA87bGtkMtX+AVPz/PUn7r82uWxrlVNQHAbFg==} - cpu: [arm64] - os: [linux] - libc: [glibc] - '@rspack/binding-linux-arm64-gnu@1.5.8': resolution: {integrity: sha512-UAWCsOnpkvy8eAVRo0uipbHXDhnoDq5zmqWTMhpga0/a3yzCp2e+fnjZb/qnFNYb5MeL0O1mwMOYgn1M3oHILQ==} cpu: [arm64] os: [linux] libc: [glibc] - '@rspack/binding-linux-arm64-musl@1.5.0': - resolution: {integrity: sha512-bH7UwkbACDYT37YnN9kkhaF9niFFK9ndcdNvYFFr1oUT4W9Ie3V9b41EXijqp3pyh0mDSeeLPFY0aEx1t3e7Pw==} - cpu: [arm64] - os: [linux] - libc: [musl] - '@rspack/binding-linux-arm64-musl@1.5.8': resolution: {integrity: sha512-GnSvGT4GjokPSD45cTtE+g7LgghuxSP1MRmvd+Vp/I8pnxTVSTsebRod4TAqyiv+l11nuS8yqNveK9qiOkBLWw==} cpu: [arm64] os: [linux] libc: [musl] - '@rspack/binding-linux-x64-gnu@1.5.0': - resolution: {integrity: sha512-xZ5dwNrE5KtpQyMd9israpJTcTQ3UYUUq23fTcNc79xE5aspkGixDFAYoql4YkhO0O+JWRmdSaFAn6jD+IQWQA==} - cpu: [x64] - os: [linux] - libc: [glibc] - '@rspack/binding-linux-x64-gnu@1.5.8': resolution: {integrity: sha512-XLxh5n/pzUfxsugz/8rVBv+Tx2nqEM+9rharK69kfooDsQNKyz7PANllBQ/v4svJ+W0BRHnDL4qXSGdteZeEjA==} cpu: [x64] os: [linux] libc: [glibc] - '@rspack/binding-linux-x64-musl@1.5.0': - resolution: {integrity: sha512-mv65jYvcyYPkPZJ9kjSvTAcH0o7C5jfICWCQcMmN1tCGD3b8gmf9GqSZ8e+W/JkuvrJ05qTo/PvEq9nhu+pNIg==} - cpu: [x64] - os: [linux] - libc: [musl] - '@rspack/binding-linux-x64-musl@1.5.8': resolution: {integrity: sha512-gE0+MZmwF+01p9/svpEESkzkLpBkVUG2o03YMpwXYC/maeRRhWvF8BJ7R3i/Ls/jFGSE87dKX5NbRLVzqksq/w==} cpu: [x64] os: [linux] libc: [musl] - '@rspack/binding-wasm32-wasi@1.5.0': - resolution: {integrity: sha512-8rVpl6xfaAFJgo1wCd+emksfl+/8nlehrtkmjY9bj79Ou+kp07L9e1B+UU0jfs8e7aLPntQuF68kzLHwYLzWIQ==} - cpu: [wasm32] - '@rspack/binding-wasm32-wasi@1.5.8': resolution: {integrity: sha512-cfg3niNHeJuxuml1Vy9VvaJrI/5TakzoaZvKX2g5S24wfzR50Eyy4JAsZ+L2voWQQp1yMJbmPYPmnTCTxdJQBQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@1.5.0': - resolution: {integrity: sha512-dWSmNm+GR6WSkOwbhlUcot4Oqwyon+1PRZ9E0vIMFHKGvESf9CQjgHAX0QE9G0kJmRM5x3I16J4x44Kw3W/98Q==} - cpu: [arm64] - os: [win32] - '@rspack/binding-win32-arm64-msvc@1.5.8': resolution: {integrity: sha512-7i3ZTHFXKfU/9Jm9XhpMkrdkxO7lfeYMNVEGkuU5dyBfRMQj69dRgPL7zJwc2plXiqu9LUOl+TwDNTjap7Q36g==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.5.0': - resolution: {integrity: sha512-YtOrFEkwhO3Y3sY6Jq0OOYPY7NBTNYuwJ6epTgzPEDGs2cBnwZfzhq0jmD/koWtv1L9+twX95vKosBdauF0tNA==} - cpu: [ia32] - os: [win32] - '@rspack/binding-win32-ia32-msvc@1.5.8': resolution: {integrity: sha512-7ZPPWO11J+soea1+mnfaPpQt7GIodBM7A86dx6PbXgVEoZmetcWPrCF2NBfXxQWOKJ9L3RYltC4z+ZyXRgMOrw==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.5.0': - resolution: {integrity: sha512-V4fcPVYWJgDkIkSsFwmUdwC9lkL8+1dzDOwyTWe6KW2MYHF2D148WPHNyVVE6gum12TShpbIsh0j4NiiMhkMtw==} - cpu: [x64] - os: [win32] - '@rspack/binding-win32-x64-msvc@1.5.8': resolution: {integrity: sha512-N/zXQgzIxME3YUzXT8qnyzxjqcnXudWOeDh8CAG9zqTCnCiy16SFfQ/cQgEoLlD9geQntV6jx2GbDDI5kpDGMQ==} cpu: [x64] os: [win32] - '@rspack/binding@1.5.0': - resolution: {integrity: sha512-UGXQmwEu2gdO+tnGv2q4rOWJdWioy6dlLXeZOLYAZVh3mrfKJhZWtDEygX9hCdE5thWNRTlEvx30QQchJAszIQ==} - '@rspack/binding@1.5.8': resolution: {integrity: sha512-/91CzhRl9r5BIQCgGsS7jA6MDbw1I2BQpbfcUUdkdKl2P79K3Zo/Mw/TvKzS86catwLaUQEgkGRmYawOfPg7ow==} - '@rspack/core@1.5.0': - resolution: {integrity: sha512-eEtiKV+CUcAtnt1K+eiHDzmBXQcNM8CfCXOzr0+gHGp4w4Zks2B8RF36sYD03MM2bg8VRXXsf0MicQ8FvRMCOg==} - engines: {node: '>=18.12.0'} - peerDependencies: - '@swc/helpers': '>=0.5.1' - peerDependenciesMeta: - '@swc/helpers': - optional: true - '@rspack/core@1.5.8': resolution: {integrity: sha512-sUd2LfiDhqYVfvknuoz0+/c+wSpn693xotnG5g1CSWKZArbtwiYzBIVnNlcHGmuoBRsnj/TkSq8dTQ7gwfBroQ==} engines: {node: '>=18.12.0'} @@ -21382,13 +21314,6 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@napi-rs/wasm-runtime@1.0.3': - dependencies: - '@emnapi/core': 1.5.0 - '@emnapi/runtime': 1.5.0 - '@tybys/wasm-util': 0.10.1 - optional: true - '@napi-rs/wasm-runtime@1.0.7': dependencies: '@emnapi/core': 1.5.0 @@ -21396,70 +21321,70 @@ snapshots: '@tybys/wasm-util': 0.10.1 optional: true - '@next/env@15.5.3': {} - - '@next/eslint-plugin-next@15.6.0-canary.32': - dependencies: - fast-glob: 3.3.1 - - '@next/rspack-binding-android-arm-eabi@1.0.0': + '@next-rspack/binding-android-arm-eabi@1.0.1-beta.0': optional: true - '@next/rspack-binding-android-arm64@1.0.0': + '@next-rspack/binding-android-arm64@1.0.1-beta.0': optional: true - '@next/rspack-binding-darwin-arm64@1.0.0': + '@next-rspack/binding-darwin-arm64@1.0.1-beta.0': optional: true - '@next/rspack-binding-darwin-x64@1.0.0': + '@next-rspack/binding-darwin-x64@1.0.1-beta.0': optional: true - '@next/rspack-binding-linux-arm-gnueabihf@1.0.0': + '@next-rspack/binding-linux-arm-gnueabihf@1.0.1-beta.0': optional: true - '@next/rspack-binding-linux-arm64-gnu@1.0.0': + '@next-rspack/binding-linux-arm64-gnu@1.0.1-beta.0': optional: true - '@next/rspack-binding-linux-arm64-musl@1.0.0': + '@next-rspack/binding-linux-arm64-musl@1.0.1-beta.0': optional: true - '@next/rspack-binding-linux-x64-gnu@1.0.0': + '@next-rspack/binding-linux-x64-gnu@1.0.1-beta.0': optional: true - '@next/rspack-binding-linux-x64-musl@1.0.0': + '@next-rspack/binding-linux-x64-musl@1.0.1-beta.0': optional: true - '@next/rspack-binding-win32-arm64-msvc@1.0.0': + '@next-rspack/binding-win32-arm64-msvc@1.0.1-beta.0': optional: true - '@next/rspack-binding-win32-ia32-msvc@1.0.0': + '@next-rspack/binding-win32-ia32-msvc@1.0.1-beta.0': optional: true - '@next/rspack-binding-win32-x64-msvc@1.0.0': + '@next-rspack/binding-win32-x64-msvc@1.0.1-beta.0': optional: true - '@next/rspack-binding@1.0.0': + '@next-rspack/binding@1.0.1-beta.0': optionalDependencies: - '@next/rspack-binding-android-arm-eabi': 1.0.0 - '@next/rspack-binding-android-arm64': 1.0.0 - '@next/rspack-binding-darwin-arm64': 1.0.0 - '@next/rspack-binding-darwin-x64': 1.0.0 - '@next/rspack-binding-linux-arm-gnueabihf': 1.0.0 - '@next/rspack-binding-linux-arm64-gnu': 1.0.0 - '@next/rspack-binding-linux-arm64-musl': 1.0.0 - '@next/rspack-binding-linux-x64-gnu': 1.0.0 - '@next/rspack-binding-linux-x64-musl': 1.0.0 - '@next/rspack-binding-win32-arm64-msvc': 1.0.0 - '@next/rspack-binding-win32-ia32-msvc': 1.0.0 - '@next/rspack-binding-win32-x64-msvc': 1.0.0 - - '@next/rspack-core@1.0.0(@swc/helpers@0.5.15)': - dependencies: - '@next/rspack-binding': 1.0.0 - '@rspack/core': 1.5.0(@swc/helpers@0.5.15) + '@next-rspack/binding-android-arm-eabi': 1.0.1-beta.0 + '@next-rspack/binding-android-arm64': 1.0.1-beta.0 + '@next-rspack/binding-darwin-arm64': 1.0.1-beta.0 + '@next-rspack/binding-darwin-x64': 1.0.1-beta.0 + '@next-rspack/binding-linux-arm-gnueabihf': 1.0.1-beta.0 + '@next-rspack/binding-linux-arm64-gnu': 1.0.1-beta.0 + '@next-rspack/binding-linux-arm64-musl': 1.0.1-beta.0 + '@next-rspack/binding-linux-x64-gnu': 1.0.1-beta.0 + '@next-rspack/binding-linux-x64-musl': 1.0.1-beta.0 + '@next-rspack/binding-win32-arm64-msvc': 1.0.1-beta.0 + '@next-rspack/binding-win32-ia32-msvc': 1.0.1-beta.0 + '@next-rspack/binding-win32-x64-msvc': 1.0.1-beta.0 + + '@next-rspack/core@1.0.1-beta.0(@swc/helpers@0.5.15)': + dependencies: + '@next/rspack-binding': '@next-rspack/binding@1.0.1-beta.0' + '@rspack/core': 1.5.8(@swc/helpers@0.5.15) transitivePeerDependencies: - '@swc/helpers' + '@next/env@15.5.3': {} + + '@next/eslint-plugin-next@15.6.0-canary.32': + dependencies: + fast-glob: 3.3.1 + '@next/swc-darwin-arm64@15.5.3': optional: true @@ -22377,83 +22302,38 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.39.0': optional: true - '@rspack/binding-darwin-arm64@1.5.0': - optional: true - '@rspack/binding-darwin-arm64@1.5.8': optional: true - '@rspack/binding-darwin-x64@1.5.0': - optional: true - '@rspack/binding-darwin-x64@1.5.8': optional: true - '@rspack/binding-linux-arm64-gnu@1.5.0': - optional: true - '@rspack/binding-linux-arm64-gnu@1.5.8': optional: true - '@rspack/binding-linux-arm64-musl@1.5.0': - optional: true - '@rspack/binding-linux-arm64-musl@1.5.8': optional: true - '@rspack/binding-linux-x64-gnu@1.5.0': - optional: true - '@rspack/binding-linux-x64-gnu@1.5.8': optional: true - '@rspack/binding-linux-x64-musl@1.5.0': - optional: true - '@rspack/binding-linux-x64-musl@1.5.8': optional: true - '@rspack/binding-wasm32-wasi@1.5.0': - dependencies: - '@napi-rs/wasm-runtime': 1.0.3 - optional: true - '@rspack/binding-wasm32-wasi@1.5.8': dependencies: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@rspack/binding-win32-arm64-msvc@1.5.0': - optional: true - '@rspack/binding-win32-arm64-msvc@1.5.8': optional: true - '@rspack/binding-win32-ia32-msvc@1.5.0': - optional: true - '@rspack/binding-win32-ia32-msvc@1.5.8': optional: true - '@rspack/binding-win32-x64-msvc@1.5.0': - optional: true - '@rspack/binding-win32-x64-msvc@1.5.8': optional: true - '@rspack/binding@1.5.0': - optionalDependencies: - '@rspack/binding-darwin-arm64': 1.5.0 - '@rspack/binding-darwin-x64': 1.5.0 - '@rspack/binding-linux-arm64-gnu': 1.5.0 - '@rspack/binding-linux-arm64-musl': 1.5.0 - '@rspack/binding-linux-x64-gnu': 1.5.0 - '@rspack/binding-linux-x64-musl': 1.5.0 - '@rspack/binding-wasm32-wasi': 1.5.0 - '@rspack/binding-win32-arm64-msvc': 1.5.0 - '@rspack/binding-win32-ia32-msvc': 1.5.0 - '@rspack/binding-win32-x64-msvc': 1.5.0 - '@rspack/binding@1.5.8': optionalDependencies: '@rspack/binding-darwin-arm64': 1.5.8 @@ -22467,14 +22347,6 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.5.8 '@rspack/binding-win32-x64-msvc': 1.5.8 - '@rspack/core@1.5.0(@swc/helpers@0.5.15)': - dependencies: - '@module-federation/runtime-tools': 0.18.0 - '@rspack/binding': 1.5.0 - '@rspack/lite-tapable': 1.0.1 - optionalDependencies: - '@swc/helpers': 0.5.15 - '@rspack/core@1.5.8(@swc/helpers@0.5.15)': dependencies: '@module-federation/runtime-tools': 0.18.0 From 87b016ef03330d063d9a63777fc89ccd8f677dc7 Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 15 Oct 2025 11:08:57 +0800 Subject: [PATCH 10/11] update snapshot --- .../cache-components-dev-errors.test.ts | 21 +++++++++++++++++++ .../cache-components-errors.test.ts | 18 +++++++++++++--- 2 files changed, 36 insertions(+), 3 deletions(-) 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 cd5c5726f096d..6b29c06028a66 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 @@ -13,6 +13,7 @@ describe('Cache Components Dev Errors', () => { const { isTurbopack, next } = nextTestSetup({ files: __dirname, }) + const isRspack = !!process.env.NEXT_RSPACK it('should show a red box error on the SSR render', async () => { const browser = await next.browser('/error') @@ -152,6 +153,26 @@ describe('Cache Components Dev Errors', () => { "stack": [], } `) + } else if (isRspack) { + await expect(browser).toDisplayRedbox(` + { + "description": " × Module build failed:", + "environmentLabel": null, + "label": "Build Error", + "source": "./app/page.tsx + × Module build failed: + ╰─▶ × Error: x Route segment config "revalidate" is not compatible with \`nextConfig.experimental.cacheComponents\`. Please remove it. + │ ,-[1:1] + │ 1 | export const revalidate = 10 + │ : ^^^^^^^^^^ + │ 2 | export default function Page() { + │ 3 | return ( + │ 4 |
Hello World
+ │ \`---- + │", + "stack": [], + } + `) } else { await expect(browser).toDisplayRedbox(` { diff --git a/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts index 832307d4d4036..28518a852b327 100644 --- a/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts +++ b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts @@ -4780,9 +4780,21 @@ describe('Cache Components Errors', () => { } `) } else { - await expect(browser).toDisplayCollapsedRedbox( - `"Redbox still had suspended content after 10s"` - ) + await expect(browser).toDisplayCollapsedRedbox(` + { + "description": "Route "/sync-io-node-crypto/random-int-up-to" used \`require('node:crypto').randomInt(min, max)\` before accessing either uncached data (e.g. \`fetch()\`) or Request data (e.g. \`cookies()\`, \`headers()\`, \`connection()\`, and \`searchParams\`). Accessing random values synchronously in a Server Component requires reading one of these data sources first. Alternatively, consider moving this expression into a Client Component or Cache Component. See more info here: https://nextjs.org/docs/messages/next-prerender-random", + "environmentLabel": "Server", + "label": "Console Error", + "source": "app/sync-io-node-crypto/random-int-up-to/page.tsx (20:17) @ SyncIOComponent + > 20 | const first = crypto.randomInt(128) + | ^", + "stack": [ + "SyncIOComponent app/sync-io-node-crypto/random-int-up-to/page.tsx (20:17)", + "Page app/sync-io-node-crypto/random-int-up-to/page.tsx (12:9)", + "LogSafely ", + ], + } + `) } }) } else { From 6950b88dbfe431a9b664b43c08a9c016e388a78d Mon Sep 17 00:00:00 2001 From: Cong-Cong Date: Wed, 15 Oct 2025 11:13:47 +0800 Subject: [PATCH 11/11] refactor: isRspack in test --- .../acceptance-app/ReactRefreshLogBox-builtins.test.ts | 4 +--- .../acceptance-app/ReactRefreshLogBox.test.ts | 4 +--- .../acceptance-app/ReactRefreshLogBoxMisc.test.ts | 3 +-- test/development/acceptance-app/error-recovery.test.ts | 3 +-- .../acceptance/ReactRefreshLogBox-builtins.test.ts | 3 +-- test/development/acceptance/ReactRefreshLogBox.test.ts | 3 +-- test/development/acceptance/error-recovery.test.ts | 3 +-- .../app-dir/build-error-logs/build-error-logs.test.ts | 3 +-- .../cache-components-dev-errors.test.ts | 3 +-- test/development/lockfile/lockfile.test.ts | 1 - test/development/middleware-errors/index.test.ts | 3 +-- .../pages-dir/client-navigation/index.test.ts | 3 +-- .../pages-dir/client-navigation/rendering.test.ts | 3 +-- .../cache-components-errors.test.ts | 3 +-- .../metadata-invalid-image-file.test.ts | 3 +-- .../non-root-project-monorepo.test.ts | 3 +-- .../server-source-maps/server-source-maps.test.ts | 3 +-- .../use-cache-segment-configs.test.ts | 4 +--- .../use-cache-unknown-cache-kind.test.ts | 4 +--- .../use-cache-without-experimental-flag.test.ts | 4 +--- .../build-output-prerender.test.ts | 10 ++++------ 21 files changed, 23 insertions(+), 50 deletions(-) diff --git a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts index 5945ef81df856..2b1c7d2d42a5d 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox-builtins.test.ts @@ -4,13 +4,11 @@ import path from 'path' import { outdent } from 'outdent' describe('ReactRefreshLogBox-builtins app', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK - // Module trace is only available with webpack 5 test('Node.js builtins', async () => { await using sandbox = await createSandbox( diff --git a/test/development/acceptance-app/ReactRefreshLogBox.test.ts b/test/development/acceptance-app/ReactRefreshLogBox.test.ts index 8e8b4acb28f99..7e18415c8cee1 100644 --- a/test/development/acceptance-app/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBox.test.ts @@ -6,14 +6,12 @@ import path from 'path' import { outdent } from 'outdent' describe('ReactRefreshLogBox app', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, patchFileDelay: 1000, }) - const isRspack = !!process.env.NEXT_RSPACK - test('should strip whitespace correctly with newline', async () => { await using sandbox = await createSandbox(next) const { browser, session } = sandbox diff --git a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts index 25204fbb9e981..6f6b5a5db84fa 100644 --- a/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts +++ b/test/development/acceptance-app/ReactRefreshLogBoxMisc.test.ts @@ -4,11 +4,10 @@ import path from 'path' import { outdent } from 'outdent' describe('ReactRefreshLogBox app', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK test('server-side only compilation errors', async () => { await using sandbox = await createSandbox(next) diff --git a/test/development/acceptance-app/error-recovery.test.ts b/test/development/acceptance-app/error-recovery.test.ts index 060f5277fb27b..3b3779bf09670 100644 --- a/test/development/acceptance-app/error-recovery.test.ts +++ b/test/development/acceptance-app/error-recovery.test.ts @@ -6,11 +6,10 @@ import path from 'path' import { outdent } from 'outdent' describe('Error recovery app', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK test('can recover from a syntax error without losing state', async () => { await using sandbox = await createSandbox(next) diff --git a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts index 3d0d35ce0c079..b6592c1feadbf 100644 --- a/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox-builtins.test.ts @@ -4,11 +4,10 @@ import { outdent } from 'outdent' import path from 'path' describe('ReactRefreshLogBox', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK // Module trace is only available with webpack 5 test('Node.js builtins', async () => { diff --git a/test/development/acceptance/ReactRefreshLogBox.test.ts b/test/development/acceptance/ReactRefreshLogBox.test.ts index ee488ebd675f4..8f41eb2bcbaa7 100644 --- a/test/development/acceptance/ReactRefreshLogBox.test.ts +++ b/test/development/acceptance/ReactRefreshLogBox.test.ts @@ -13,11 +13,10 @@ import { outdent } from 'outdent' const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18 describe('ReactRefreshLogBox', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK test('should strip whitespace correctly with newline', async () => { await using sandbox = await createSandbox(next) diff --git a/test/development/acceptance/error-recovery.test.ts b/test/development/acceptance/error-recovery.test.ts index 94d2592f1b567..e50691917ed29 100644 --- a/test/development/acceptance/error-recovery.test.ts +++ b/test/development/acceptance/error-recovery.test.ts @@ -6,10 +6,9 @@ import { outdent } from 'outdent' import path from 'path' const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18 -const isRspack = !!process.env.NEXT_RSPACK describe('pages/ error recovery', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: new FileRef(path.join(__dirname, 'fixtures', 'default-template')), skipStart: true, }) 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 2dd614801f225..fbb12fc99b4f8 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,10 +2,9 @@ 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, }) - const isRspack = !!process.env.NEXT_RSPACK it('should only log error a single time', async () => { await next.fetch('/') 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 6b29c06028a66..5a556af087e37 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 @@ -10,10 +10,9 @@ import { createSandbox } from 'development-sandbox' import { outdent } from 'outdent' describe('Cache Components Dev Errors', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: __dirname, }) - const isRspack = !!process.env.NEXT_RSPACK it('should show a red box error on the SSR render', async () => { const browser = await next.browser('/error') diff --git a/test/development/lockfile/lockfile.test.ts b/test/development/lockfile/lockfile.test.ts index 6b122b409d7ec..6852de600e11e 100644 --- a/test/development/lockfile/lockfile.test.ts +++ b/test/development/lockfile/lockfile.test.ts @@ -6,7 +6,6 @@ describe('lockfile', () => { const { next, isTurbopack, isRspack } = nextTestSetup({ files: __dirname, }) - const isRspack = !!process.env.NEXT_RSPACK it('only allows a single instance of `next dev` to run at a time', async () => { const browser = await next.browser('/') diff --git a/test/development/middleware-errors/index.test.ts b/test/development/middleware-errors/index.test.ts index 04d6a83cfaff3..da58c10431dda 100644 --- a/test/development/middleware-errors/index.test.ts +++ b/test/development/middleware-errors/index.test.ts @@ -3,11 +3,10 @@ import stripAnsi from 'strip-ansi' import { nextTestSetup } from 'e2e-utils' describe('middleware - development errors', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: __dirname, patchFileDelay: 500, }) - const isRspack = !!process.env.NEXT_RSPACK beforeEach(async () => { await next.stop() diff --git a/test/development/pages-dir/client-navigation/index.test.ts b/test/development/pages-dir/client-navigation/index.test.ts index f42c931e91999..1aaf686e7b9f8 100644 --- a/test/development/pages-dir/client-navigation/index.test.ts +++ b/test/development/pages-dir/client-navigation/index.test.ts @@ -10,13 +10,12 @@ import path from 'path' import { nextTestSetup } from 'e2e-utils' describe('Client Navigation', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixture'), env: { TEST_STRICT_NEXT_HEAD: String(true), }, }) - const isRspack = !!process.env.NEXT_RSPACK describe('with empty getInitialProps()', () => { it('should render a redbox', async () => { diff --git a/test/development/pages-dir/client-navigation/rendering.test.ts b/test/development/pages-dir/client-navigation/rendering.test.ts index 0ddf19750283c..28b28d77c2b7d 100644 --- a/test/development/pages-dir/client-navigation/rendering.test.ts +++ b/test/development/pages-dir/client-navigation/rendering.test.ts @@ -11,13 +11,12 @@ import url from 'url' const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18 describe('Client Navigation rendering', () => { - const { isTurbopack, next } = nextTestSetup({ + const { isTurbopack, next, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixture'), env: { TEST_STRICT_NEXT_HEAD: String(true), }, }) - const isRspack = !!process.env.NEXT_RSPACK function render( pathname: Parameters[1], diff --git a/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts index 28518a852b327..19a5dcd19535f 100644 --- a/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts +++ b/test/e2e/app-dir/cache-components-errors/cache-components-errors.test.ts @@ -3,12 +3,11 @@ import { assertNoErrorToast } from 'next-test-utils' import { getPrerenderOutput } from './utils' describe('Cache Components Errors', () => { - const { next, isTurbopack, isNextStart, skipped } = nextTestSetup({ + const { next, isTurbopack, isNextStart, skipped, isRspack } = nextTestSetup({ files: __dirname + '/fixtures/default', skipStart: !isNextDev, skipDeployment: true, }) - const isRspack = !!process.env.NEXT_RSPACK if (skipped) { return diff --git a/test/e2e/app-dir/metadata-invalid-image-file/metadata-invalid-image-file.test.ts b/test/e2e/app-dir/metadata-invalid-image-file/metadata-invalid-image-file.test.ts index 196afe8ea2370..a21cb5c0e795f 100644 --- a/test/e2e/app-dir/metadata-invalid-image-file/metadata-invalid-image-file.test.ts +++ b/test/e2e/app-dir/metadata-invalid-image-file/metadata-invalid-image-file.test.ts @@ -1,12 +1,11 @@ import { nextTestSetup } from 'e2e-utils' describe('metadata-invalid-image-file', () => { - const { next, isTurbopack, isNextDev, skipped } = nextTestSetup({ + const { next, isTurbopack, isNextDev, skipped, isRspack } = nextTestSetup({ files: __dirname, skipDeployment: true, skipStart: true, }) - const isRspack = !!process.env.NEXT_RSPACK if (skipped) return diff --git a/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts b/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts index cde7606daa3c0..40f39e1cfe804 100644 --- a/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts +++ b/test/e2e/app-dir/non-root-project-monorepo/non-root-project-monorepo.test.ts @@ -8,7 +8,7 @@ import { import * as path from 'path' describe('non-root-project-monorepo', () => { - const { next, skipped, isTurbopack, isNextDev } = nextTestSetup({ + const { next, skipped, isTurbopack, isNextDev, isRspack } = nextTestSetup({ files: { apps: new FileRef(path.resolve(__dirname, 'apps')), packages: new FileRef(path.resolve(__dirname, 'packages')), @@ -23,7 +23,6 @@ describe('non-root-project-monorepo', () => { installCommand: 'pnpm i', skipDeployment: true, }) - const isRspack = !!process.env.NEXT_RSPACK if (skipped) { return diff --git a/test/e2e/app-dir/server-source-maps/server-source-maps.test.ts b/test/e2e/app-dir/server-source-maps/server-source-maps.test.ts index 93cb73ba19b13..42f9d0c97f2e4 100644 --- a/test/e2e/app-dir/server-source-maps/server-source-maps.test.ts +++ b/test/e2e/app-dir/server-source-maps/server-source-maps.test.ts @@ -19,14 +19,13 @@ describe('app-dir - server source maps', () => { 'internal-pkg': `link:./internal-pkg`, 'external-pkg': `file:./external-pkg`, } - const { skipped, next, isNextDev, isTurbopack } = nextTestSetup({ + const { skipped, next, isNextDev, isTurbopack, isRspack } = nextTestSetup({ dependencies, files: path.join(__dirname, 'fixtures/default'), // Deploy tests don't have access to runtime logs. // Manually verify that the runtime logs match. skipDeployment: true, }) - const isRspack = !!process.env.NEXT_RSPACK if (skipped) return 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 ddcb977e411c3..7d6574fe8ebc3 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 @@ -3,14 +3,12 @@ import { assertHasRedbox } from 'next-test-utils' import stripAnsi from 'strip-ansi' describe('use-cache-segment-configs', () => { - const { next, skipped, isNextDev, isTurbopack } = nextTestSetup({ + const { next, skipped, isNextDev, isTurbopack, isRspack } = nextTestSetup({ files: __dirname, skipStart: process.env.NEXT_TEST_MODE !== 'dev', skipDeployment: true, }) - const isRspack = !!process.env.NEXT_RSPACK - if (skipped) { return } 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 14f3302daf54c..641f343eacc21 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 @@ -9,10 +9,8 @@ import { import stripAnsi from 'strip-ansi' import { createSandbox } from 'development-sandbox' -const isRspack = !!process.env.NEXT_RSPACK - describe('use-cache-unknown-cache-kind', () => { - const { next, isNextStart, isTurbopack, skipped } = nextTestSetup({ + const { next, isNextStart, isTurbopack, isRspack, skipped } = nextTestSetup({ files: __dirname, skipStart: process.env.NEXT_TEST_MODE !== 'dev', skipDeployment: true, 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 002363efb6e68..3ba214f141b28 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 @@ -13,10 +13,8 @@ const nextConfigWithUseCache: NextConfig = { experimental: { useCache: true }, } -const isRspack = !!process.env.NEXT_RSPACK - describe('use-cache-without-experimental-flag', () => { - const { next, isNextStart, isTurbopack, skipped } = nextTestSetup({ + const { next, isNextStart, isTurbopack, skipped, isRspack } = nextTestSetup({ files: __dirname, skipStart: process.env.NEXT_TEST_MODE !== 'dev', skipDeployment: true, diff --git a/test/production/app-dir/build-output-prerender/build-output-prerender.test.ts b/test/production/app-dir/build-output-prerender/build-output-prerender.test.ts index eb081b1b8dcba..44f80210c75fc 100644 --- a/test/production/app-dir/build-output-prerender/build-output-prerender.test.ts +++ b/test/production/app-dir/build-output-prerender/build-output-prerender.test.ts @@ -7,12 +7,10 @@ const cacheComponentsEnabled = const pprEnabled = process.env.__NEXT_EXPERIMENTAL_PPR === 'true' -const isRspack = !!process.env.NEXT_RSPACK - describe('build-output-prerender', () => { describe('with a next config file', () => { describe('without --debug-prerender', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixtures/with-config-file'), skipStart: true, }) @@ -126,7 +124,7 @@ describe('build-output-prerender', () => { }) describe('with --debug-prerender', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixtures/with-config-file'), skipStart: true, buildArgs: ['--debug-prerender'], @@ -269,7 +267,7 @@ describe('build-output-prerender', () => { describe('without a next config file', () => { describe('without --debug-prerender', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixtures/without-config-file'), skipStart: true, }) @@ -336,7 +334,7 @@ describe('build-output-prerender', () => { }) describe('with --debug-prerender', () => { - const { next, isTurbopack } = nextTestSetup({ + const { next, isTurbopack, isRspack } = nextTestSetup({ files: path.join(__dirname, 'fixtures/without-config-file'), skipStart: true, buildArgs: ['--debug-prerender'],