diff --git a/package.json b/package.json index 96d99ca..ce761cd 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@biomejs/biome": "^1.8.3", "@jest/reporters": "29.7.0", "@jest/test-sequencer": "^29.7.0", - "@rspack/core": "1.0.11", + "@rspack/core": "1.3.11", "@rspack/plugin-react-refresh": "1.0.0", "@types/express": "4.17.21", "@types/jest": "29.5.12", @@ -102,10 +102,5 @@ }, "peerDependencies": { "@rspack/core": "*" - }, - "pnpm": { - "overrides": { - "@rspack/core": "npm:@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221" - } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5fbb80c..14317b5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,9 +4,6 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -overrides: - '@rspack/core': npm:@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221 - importers: .: @@ -40,8 +37,8 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@rspack/core': - specifier: npm:@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221 - version: '@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221' + specifier: 1.3.11 + version: 1.3.11 '@rspack/plugin-react-refresh': specifier: 1.0.0 version: 1.0.0(react-refresh@0.14.0) @@ -65,7 +62,7 @@ importers: version: 7.0.3 css-loader: specifier: ^6.11.0 - version: 6.11.0(@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221)(webpack@5.94.0) + version: 6.11.0(@rspack/core@1.3.11)(webpack@5.94.0) execa: specifier: 9.3.0 version: 9.3.0 @@ -495,79 +492,79 @@ packages: '@leichtgewicht/ip-codec@2.0.5': resolution: {integrity: sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==} - '@module-federation/error-codes@0.12.0': - resolution: {integrity: sha512-DEXQjopcBuGzp/NA9OVtASO0uZ6grVK5TIe0PjrbDRyZDxVaYQXKrISxBLOE+3nSIELE98tYpfxptm8WC9A8zA==} + '@module-federation/error-codes@0.13.1': + resolution: {integrity: sha512-azgGDBnFRfqlivHOl96ZjlFUFlukESz2Rnnz/pINiSqoBBNjUE0fcAZP4X6jgrVITuEg90YkruZa7pW9I3m7Uw==} - '@module-federation/runtime-core@0.12.0': - resolution: {integrity: sha512-373zBM54196KHURs/O8lry9trCAM3PPidvsF4YdrtahNc8YaQynml0mE3zdZeBnqP6H0/4OpPqMMjACI80Ht8w==} + '@module-federation/runtime-core@0.13.1': + resolution: {integrity: sha512-TfyKfkSAentKeuvSsAItk8s5tqQSMfIRTPN2e1aoaq/kFhE+7blps719csyWSX5Lg5Es7WXKMsXHy40UgtBtuw==} - '@module-federation/runtime-tools@0.12.0': - resolution: {integrity: sha512-hZ0R1gtHOgMDzM0QQ8WjRxo2DHzXzlTWOYMBdSivDYRTktpEtM/DXZrmJZuRYh9cvVmbIz5D/v9s6M44eLfHMA==} + '@module-federation/runtime-tools@0.13.1': + resolution: {integrity: sha512-GEF1pxqLc80osIMZmE8j9UKZSaTm2hX2lql8tgIH/O9yK4wnF06k6LL5Ah+wJt+oJv6Dj55ri/MoxMP4SXoPNA==} - '@module-federation/runtime@0.12.0': - resolution: {integrity: sha512-Cz9/7+gSvrdencwA8LXUMKnZdu0/flyN+yk6t3pkxfhvPJi3W65ZcalAKyOgyk2x8rEYrRSyEXu+/2DIFgrzmA==} + '@module-federation/runtime@0.13.1': + resolution: {integrity: sha512-ZHnYvBquDm49LiHfv6fgagMo/cVJneijNJzfPh6S0CJrPS2Tay1bnTXzy8VA5sdIrESagYPaskKMGIj7YfnPug==} - '@module-federation/sdk@0.12.0': - resolution: {integrity: sha512-vh3GcG90fxjbkMghK7iSWcMayi/y8U5DxI6mhEFuz11St3y1UgQO2TZYephL8nISFBld7DdiqAkimx+6Hb3hjQ==} + '@module-federation/sdk@0.13.1': + resolution: {integrity: sha512-bmf2FGQ0ymZuxYnw9bIUfhV3y6zDhaqgydEjbl4msObKMLGXZqhse2pTIIxBFpIxR1oONKX/y2FAolDCTlWKiw==} - '@module-federation/webpack-bundler-runtime@0.12.0': - resolution: {integrity: sha512-IUAz0BdCGuaKIPcMTSD/dWxGjS0K4j4bBhAupRnDMMMOvJnZivVwj0KvmTeIUfyG+lEDNWLVP2pDVQEvGcCy4Q==} + '@module-federation/webpack-bundler-runtime@0.13.1': + resolution: {integrity: sha512-QSuSIGa09S8mthbB1L6xERqrz+AzPlHR6D7RwAzssAc+IHf40U6NiTLPzUqp9mmKDhC5Tm0EISU0ZHNeJpnpBQ==} '@puppeteer/browsers@2.4.0': resolution: {integrity: sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==} engines: {node: '>=18'} hasBin: true - '@rspack-canary/binding-darwin-arm64@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-0aEL3m/mX9rLxWV29We1nlGAQ7ssSgY7mp/cW2JP0ZlmAea+qfT8HXRuBEQb3zJXyVIvRgzbuiQ76iiL2NeDjA==} + '@rspack/binding-darwin-arm64@1.3.11': + resolution: {integrity: sha512-sGoFDXYNinubhEiPSjtA/ua3qhMj6VVBPTSDvprZj+MT18YV7tQQtwBpm+8sbqJ1P5y+a3mzsP3IphRWyIQyXw==} cpu: [arm64] os: [darwin] - '@rspack-canary/binding-darwin-x64@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-vNDSoT7LBAw2RNoXmLaXSqXa58CYK8fSc4h8KKf9YZ/eeM9Zm/975J1kcYeupz4IrH78yxjxSP7uC2vbCDI/xQ==} + '@rspack/binding-darwin-x64@1.3.11': + resolution: {integrity: sha512-4zgOkCLxhp4Ki98GuDaZgz4exXcE4+sgvXY/xA/A5FGPVRbfQLQ5psSOk0F/gvMua1r15E66loQRJpuzUK6bTA==} cpu: [x64] os: [darwin] - '@rspack-canary/binding-linux-arm64-gnu@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-fXlGuKMjLiuaN/Mx4DLD+NAzsmwKTxgfXnbtqGlV7ubcC7+n0AjTCZNxD94pDINrbB+E5MoUH4xa8lVa1cDAxw==} + '@rspack/binding-linux-arm64-gnu@1.3.11': + resolution: {integrity: sha512-NIOaIfYUmJs1XL4lbGVtcMm1KlA/6ZR6oAbs2ekofKXtJYAFQgnLTf7ZFmIwVjS0mP78BmeSNcIM6pd2w5id4w==} cpu: [arm64] os: [linux] - '@rspack-canary/binding-linux-arm64-musl@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-Y2QqvY1ciFONUVatZpPw0gA42IY6HIe7WadFwPlXOR4M7xAHCy3sYQSxSI1og3swTzthDQEUAV86dqmbHkiSRQ==} + '@rspack/binding-linux-arm64-musl@1.3.11': + resolution: {integrity: sha512-CRRAQ379uzA2QfD9HHNtxuuqzGksUapMVcTLY5NIXWfvHLUJShdlSJQv3UQcqgAJNrMY7Ex1PnoQs1jZgUiqZA==} cpu: [arm64] os: [linux] - '@rspack-canary/binding-linux-x64-gnu@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-LDGmp14S5r0U+FWlN99iEmjxYeoMRkzLV2/FqszWqrOul89Sa0mZ+l7RmWyK7gRrV1Ep8KfXgZ0dG68RrKAc6g==} + '@rspack/binding-linux-x64-gnu@1.3.11': + resolution: {integrity: sha512-k3OyvLneX2ZeL8z/OzPojpImqy6PgqKJD+NtOvcr/TgbgADHZ3xQttf6B2X+qnZMAgOZ+RTeTkOFrvsg9AEKmA==} cpu: [x64] os: [linux] - '@rspack-canary/binding-linux-x64-musl@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-3vmV/rCuDz68yEGQbo/rcIqYZIx/aj0gxti29i7upOyHlp/YLBm5nA3G2VENjZdCofxO03Fxav4pUxZ82/wQ8A==} + '@rspack/binding-linux-x64-musl@1.3.11': + resolution: {integrity: sha512-2agcELyyQ95jWGCW0YWD0TvAcN40yUjmxn9NXQBLHPX5Eb07NaHXairMsvV9vqQsPsq0nxxfd9Wsow18Y5r/Hw==} cpu: [x64] os: [linux] - '@rspack-canary/binding-win32-arm64-msvc@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-6wNwX3RT3mfpP3FDXcndcnCZQxL+LAlg7cTr/73WuykNX/mlhvQSanCUnj30kcosPQiMA0ma334L86XGuj4iWA==} + '@rspack/binding-win32-arm64-msvc@1.3.11': + resolution: {integrity: sha512-sjGoChazu0krigT/LVwGUsgCv3D3s/4cR/3P4VzuDNVlb4pbh1CDa642Fr0TceqAXCeKW5GiL/EQOfZ4semtcQ==} cpu: [arm64] os: [win32] - '@rspack-canary/binding-win32-ia32-msvc@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-H1VaH3gvnmhncpn9B4jvUCybsIvHu9fX45plGwb9fM5vD7Kfhg4EfoGORy5sUBeob4N/K5pH3Oqv9eU6Z87KxA==} + '@rspack/binding-win32-ia32-msvc@1.3.11': + resolution: {integrity: sha512-tjywW84oQLSqRmvQZ+fXP7e3eNmjScYrlWEPAQFjf08N19iAJ9UOGuuFw8Fk5ZmrlNZ2Qo9ASSOI7Nnwx2aZYg==} cpu: [ia32] os: [win32] - '@rspack-canary/binding-win32-x64-msvc@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-k+LbFh5VICqurRfw5Km9uLixJzqvFFBs53b0aOmZlrm7lyNX2AfoqjEdTzaB7HYKRrJmvNB8dNYeLSo9tjVkdg==} + '@rspack/binding-win32-x64-msvc@1.3.11': + resolution: {integrity: sha512-pPy3yU6SAMfEPY7ki1KAetiDFfRbkYMiX3F89P9kX01UAePkLRNsjacHF4w7N3EsBsWn1FlGaYZdlzmOI5pg2Q==} cpu: [x64] os: [win32] - '@rspack-canary/binding@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-ABRmk8UgqzzSLFuuNnQFNuNx1NZNIuS7VArKJOXHuqxZPk0dC+tpzKTdg2Dd+Qkxh7vS+mJtRQBCVT157MkTRw==} + '@rspack/binding@1.3.11': + resolution: {integrity: sha512-BbMfZHqfH+CzFtZDg+v9nbKifJIJDUPD6KuoWlHq581koKvD3UMx6oVrj9w13JvO2xWNPeHclmqWAFgoD7faEQ==} - '@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221': - resolution: {integrity: sha512-Iw7sIc375d9PnBYzJeuEo0oV6y78HNBCvDcDi6rDNO7NWw02sw+W42nYSO+EeRLwIlRLYHL+W0kHz/G6J5aFeg==} + '@rspack/core@1.3.11': + resolution: {integrity: sha512-aSYPtT1gum5MCfcFANdTroJ4JwzozuL3wX0twMGNAB7amq6+nZrbsUKWjcHgneCeZdahxzrKdyYef3FHaJ7lEA==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -978,12 +975,12 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001663: - resolution: {integrity: sha512-o9C3X27GLKbLeTYZ6HBOLU1tsAcBZsLis28wrVzddShCS16RujjHp9GDHKZqrB3meE0YjhawvMFsGb/igqiPzA==} - caniuse-lite@1.0.30001715: resolution: {integrity: sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw==} + caniuse-lite@1.0.30001718: + resolution: {integrity: sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==} + chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -1123,7 +1120,7 @@ packages: resolution: {integrity: sha512-CTJ+AEQJjq5NzLga5pE39qdiSV56F8ywCIsqNIRF0r7BDgWsN25aazToqAFg7ZrtA/U016xudB3ffgweORxX7g==} engines: {node: '>= 12.13.0'} peerDependencies: - '@rspack/core': npm:@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221 + '@rspack/core': 0.x || 1.x webpack: ^5.0.0 peerDependenciesMeta: '@rspack/core': @@ -3353,30 +3350,30 @@ snapshots: '@leichtgewicht/ip-codec@2.0.5': {} - '@module-federation/error-codes@0.12.0': {} + '@module-federation/error-codes@0.13.1': {} - '@module-federation/runtime-core@0.12.0': + '@module-federation/runtime-core@0.13.1': dependencies: - '@module-federation/error-codes': 0.12.0 - '@module-federation/sdk': 0.12.0 + '@module-federation/error-codes': 0.13.1 + '@module-federation/sdk': 0.13.1 - '@module-federation/runtime-tools@0.12.0': + '@module-federation/runtime-tools@0.13.1': dependencies: - '@module-federation/runtime': 0.12.0 - '@module-federation/webpack-bundler-runtime': 0.12.0 + '@module-federation/runtime': 0.13.1 + '@module-federation/webpack-bundler-runtime': 0.13.1 - '@module-federation/runtime@0.12.0': + '@module-federation/runtime@0.13.1': dependencies: - '@module-federation/error-codes': 0.12.0 - '@module-federation/runtime-core': 0.12.0 - '@module-federation/sdk': 0.12.0 + '@module-federation/error-codes': 0.13.1 + '@module-federation/runtime-core': 0.13.1 + '@module-federation/sdk': 0.13.1 - '@module-federation/sdk@0.12.0': {} + '@module-federation/sdk@0.13.1': {} - '@module-federation/webpack-bundler-runtime@0.12.0': + '@module-federation/webpack-bundler-runtime@0.13.1': dependencies: - '@module-federation/runtime': 0.12.0 - '@module-federation/sdk': 0.12.0 + '@module-federation/runtime': 0.13.1 + '@module-federation/sdk': 0.13.1 '@puppeteer/browsers@2.4.0': dependencies: @@ -3391,51 +3388,51 @@ snapshots: transitivePeerDependencies: - supports-color - '@rspack-canary/binding-darwin-arm64@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-darwin-arm64@1.3.11': optional: true - '@rspack-canary/binding-darwin-x64@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-darwin-x64@1.3.11': optional: true - '@rspack-canary/binding-linux-arm64-gnu@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-linux-arm64-gnu@1.3.11': optional: true - '@rspack-canary/binding-linux-arm64-musl@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-linux-arm64-musl@1.3.11': optional: true - '@rspack-canary/binding-linux-x64-gnu@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-linux-x64-gnu@1.3.11': optional: true - '@rspack-canary/binding-linux-x64-musl@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-linux-x64-musl@1.3.11': optional: true - '@rspack-canary/binding-win32-arm64-msvc@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-win32-arm64-msvc@1.3.11': optional: true - '@rspack-canary/binding-win32-ia32-msvc@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-win32-ia32-msvc@1.3.11': optional: true - '@rspack-canary/binding-win32-x64-msvc@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding-win32-x64-msvc@1.3.11': optional: true - '@rspack-canary/binding@1.3.6-canary-ece12b8c-20250422072221': + '@rspack/binding@1.3.11': optionalDependencies: - '@rspack/binding-darwin-arm64': '@rspack-canary/binding-darwin-arm64@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-darwin-x64': '@rspack-canary/binding-darwin-x64@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-linux-arm64-gnu': '@rspack-canary/binding-linux-arm64-gnu@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-linux-arm64-musl': '@rspack-canary/binding-linux-arm64-musl@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-linux-x64-gnu': '@rspack-canary/binding-linux-x64-gnu@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-linux-x64-musl': '@rspack-canary/binding-linux-x64-musl@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-win32-arm64-msvc': '@rspack-canary/binding-win32-arm64-msvc@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-win32-ia32-msvc': '@rspack-canary/binding-win32-ia32-msvc@1.3.6-canary-ece12b8c-20250422072221' - '@rspack/binding-win32-x64-msvc': '@rspack-canary/binding-win32-x64-msvc@1.3.6-canary-ece12b8c-20250422072221' - - '@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221': - dependencies: - '@module-federation/runtime-tools': 0.12.0 - '@rspack/binding': '@rspack-canary/binding@1.3.6-canary-ece12b8c-20250422072221' + '@rspack/binding-darwin-arm64': 1.3.11 + '@rspack/binding-darwin-x64': 1.3.11 + '@rspack/binding-linux-arm64-gnu': 1.3.11 + '@rspack/binding-linux-arm64-musl': 1.3.11 + '@rspack/binding-linux-x64-gnu': 1.3.11 + '@rspack/binding-linux-x64-musl': 1.3.11 + '@rspack/binding-win32-arm64-msvc': 1.3.11 + '@rspack/binding-win32-ia32-msvc': 1.3.11 + '@rspack/binding-win32-x64-msvc': 1.3.11 + + '@rspack/core@1.3.11': + dependencies: + '@module-federation/runtime-tools': 0.13.1 + '@rspack/binding': 1.3.11 '@rspack/lite-tapable': 1.0.1 - caniuse-lite: 1.0.30001715 + caniuse-lite: 1.0.30001718 '@rspack/lite-tapable@1.0.1': {} @@ -3889,7 +3886,7 @@ snapshots: browserslist@4.23.3: dependencies: - caniuse-lite: 1.0.30001663 + caniuse-lite: 1.0.30001715 electron-to-chromium: 1.5.27 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -3933,10 +3930,10 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001663: {} - caniuse-lite@1.0.30001715: {} + caniuse-lite@1.0.30001718: {} + chalk@2.4.2: dependencies: ansi-styles: 3.2.1 @@ -4086,7 +4083,7 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-loader@6.11.0(@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221)(webpack@5.94.0): + css-loader@6.11.0(@rspack/core@1.3.11)(webpack@5.94.0): dependencies: icss-utils: 5.1.0(postcss@8.4.47) postcss: 8.4.47 @@ -4097,7 +4094,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - '@rspack/core': '@rspack-canary/core@1.3.6-canary-ece12b8c-20250422072221' + '@rspack/core': 1.3.11 webpack: 5.94.0 cssesc@3.0.0: {} diff --git a/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 b/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 index d3f0469..9a1e9c4 100644 --- a/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 @@ -22,7 +22,8 @@ exports[`logging should work and log errors by default (sockjs) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -40,7 +41,8 @@ exports[`logging should work and log errors by default (ws) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -134,7 +136,8 @@ exports[`logging should work and log only error (sockjs) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -150,7 +153,8 @@ exports[`logging should work and log only error (ws) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -190,7 +194,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = ` [webpack-dev-server] Warnings while compiling., [webpack-dev-server] WARNING ⚠ Error: Warning from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -200,7 +205,8 @@ exports[`logging should work and log warning and errors (sockjs) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -216,7 +222,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = ` [webpack-dev-server] Warnings while compiling., [webpack-dev-server] WARNING ⚠ Error: Warning from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -226,7 +233,8 @@ exports[`logging should work and log warning and errors (ws) 1`] = ` [webpack-dev-server] Errors while compiling. Reload prevented., [webpack-dev-server] ERROR × Error: Error from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -244,7 +252,8 @@ exports[`logging should work and log warnings by default (sockjs) 1`] = ` [webpack-dev-server] Warnings while compiling., [webpack-dev-server] WARNING ⚠ Error: Warning from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) @@ -262,7 +271,8 @@ exports[`logging should work and log warnings by default (ws) 1`] = ` [webpack-dev-server] Warnings while compiling., [webpack-dev-server] WARNING ⚠ Error: Warning from compilation - │ at Object.fn (/tests/e2e/logging.test.js::) + │ at /tests/e2e/logging.test.js:: + │ at Object.fn (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange (/index.js::) │ at QueriedHook.call (/index.js::) diff --git a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 index 77a1d31..de61366 100644 --- a/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 +++ b/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 @@ -599,8 +599,10 @@ exports[`overlay should show a warning after invalidation: overlay html 1`] = ` font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -715,8 +717,10 @@ exports[`overlay should show a warning and error for initial compilation and pro font-family: Menlo, Consolas, monospace; " > - ⚠ Error: <strong>strong</strong> │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: <strong>strong</strong> │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -753,8 +757,10 @@ exports[`overlay should show a warning and error for initial compilation and pro font-family: Menlo, Consolas, monospace; " > - × Error: <strong>strong</strong> │ at Object.fn - (/tests/e2e/overlay.test.js::) + × Error: <strong>strong</strong> │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -869,8 +875,10 @@ exports[`overlay should show a warning and error for initial compilation: overla font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -907,8 +915,10 @@ exports[`overlay should show a warning and error for initial compilation: overla font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -946,8 +956,9 @@ exports[`overlay should show a warning and error for initial compilation: overla " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -985,8 +996,9 @@ exports[`overlay should show a warning and error for initial compilation: overla " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1024,8 +1036,9 @@ exports[`overlay should show a warning and error for initial compilation: overla " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1140,8 +1153,10 @@ exports[`overlay should show a warning and hide them after closing connection: o font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1264,8 +1279,10 @@ exports[`overlay should show a warning for initial compilation: overlay html 1`] font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1380,8 +1397,10 @@ exports[`overlay should show a warning when "client.overlay" is "true": overlay font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1496,8 +1515,10 @@ exports[`overlay should show a warning when "client.overlay.errors" is "true": o font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1612,8 +1633,10 @@ exports[`overlay should show a warning when "client.overlay.warnings" is "true": font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1748,8 +1771,10 @@ exports[`overlay should show an ansi formatted error for initial compilation: ov background: #transparent; " > + │ at + /tests/e2e/overlay.test.js:: │ at Object.fn - (/tests/e2e/overlay.test.js::) + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1865,8 +1890,10 @@ exports[`overlay should show an error after invalidation: overlay html 1`] = ` font-family: Menlo, Consolas, monospace; " > - × Error: Error from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + × Error: Error from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -1982,8 +2009,9 @@ exports[`overlay should show an error for initial compilation: overlay html 1`] " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2099,8 +2127,9 @@ exports[`overlay should show an error when "client.overlay" is "true": overlay h " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2216,8 +2245,9 @@ exports[`overlay should show an error when "client.overlay.errors" is "true": ov " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2332,8 +2362,10 @@ exports[`overlay should show an error when "client.overlay.warnings" is "true": font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Warning from compilation │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Warning from compilation │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2617,8 +2649,10 @@ exports[`overlay should show error when it is not filtered: overlay html 1`] = ` font-family: Menlo, Consolas, monospace; " > - × Error: Unfiltered error │ at Object.fn - (/tests/e2e/overlay.test.js::) + × Error: Unfiltered error │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2734,8 +2768,9 @@ exports[`overlay should show overlay when "Content-Security-Policy" is "default- " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2851,8 +2886,9 @@ exports[`overlay should show overlay when Trusted Types are enabled and the "req " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -2968,8 +3004,9 @@ exports[`overlay should show overlay when Trusted Types are enabled: overlay htm " > × Error: Error from compilation. Can't find 'test' module. │ at - Object.fn - (/tests/e2e/overlay.test.js::) + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange @@ -3084,8 +3121,10 @@ exports[`overlay should show warning when it is not filtered: overlay html 1`] = font-family: Menlo, Consolas, monospace; " > - ⚠ Error: Unfiltered warning │ at Object.fn - (/tests/e2e/overlay.test.js::) + ⚠ Error: Unfiltered warning │ at + /tests/e2e/overlay.test.js:: + │ at Object.fn + (/dist/index.js::) │ at SyncHook.callAsyncStageRange (/index.js::) │ at SyncHook.callStageRange diff --git a/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js b/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js index 391b58b..dfd2b3a 100644 --- a/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js +++ b/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js @@ -27,11 +27,11 @@ return module.exports; /************************************************************************/ // webpack/runtime/rspack_version (() => { -__webpack_require__.rv = () => ("1.3.6-canary-ece12b8c-20250422072221") +__webpack_require__.rv = () => ("1.3.11") })(); // webpack/runtime/rspack_unique_id (() => { -__webpack_require__.ruid = "bundler=rspack@1.3.6-canary-ece12b8c-20250422072221"; +__webpack_require__.ruid = "bundler=rspack@1.3.11"; })(); /************************************************************************/