diff --git a/packages/rspack-test-tools/package.json b/packages/rspack-test-tools/package.json index ae2c9922917..74802bf9a15 100644 --- a/packages/rspack-test-tools/package.json +++ b/packages/rspack-test-tools/package.json @@ -112,7 +112,7 @@ "sass-embedded": "^1.77.8", "sass-loader": "^16.0.0", "source-map-loader": "^5.0.0", - "style-loader": "^3.3.3", + "style-loader": "^4.0.0", "terser": "5.27.2", "typescript": "5.0.2", "wast-loader": "^1.12.1" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de04863150d..df04996862d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -706,8 +706,8 @@ importers: specifier: ^5.0.0 version: 5.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))) style-loader: - specifier: ^3.3.3 - version: 3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))) + specifier: ^4.0.0 + version: 4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))) terser: specifier: 5.27.2 version: 5.27.2 @@ -878,8 +878,8 @@ importers: specifier: 14.2.1 version: 14.2.1 style-loader: - specifier: ^3.3.3 - version: 3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0))) + specifier: ^4.0.0 + version: 4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0))) swc-loader: specifier: ^0.2.3 version: 0.2.6(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0))) @@ -954,7 +954,7 @@ importers: version: 3.36.1 css-loader: specifier: ^6.11.0 - version: 6.11.0(@rspack/core@1.0.7(@swc/helpers@0.5.12))(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)) + version: 6.11.0(@rspack/core@1.0.8(@swc/helpers@0.5.12))(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)) date-fns: specifier: ^2.29.3 version: 2.30.0 @@ -974,8 +974,8 @@ importers: specifier: ^18.2.0 version: 18.3.1(react@18.3.1) style-loader: - specifier: ^3.3.3 - version: 3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)) + specifier: ^4.0.0 + version: 4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)) toml: specifier: ^3.0.0 version: 3.0.0 @@ -2825,8 +2825,8 @@ packages: cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-arm64@1.0.7': - resolution: {integrity: sha512-VnkgTM2OJzWTJxiWxLeUpRGumDp0XAsjU9/DL1PBjw1W+1exyGc2QST8q+mxsgDPDl9u1rjJa6UN4oboBbl47Q==} + '@rspack/binding-darwin-arm64@1.0.8': + resolution: {integrity: sha512-1l8/eg3HNz53DHQO3fy5O5QKdYh8hSMZaWGtm3NR5IfdrTm2TaLL9tuR8oL2iHHtd87LEvVKHXdjlcuLV5IPNQ==} cpu: [arm64] os: [darwin] @@ -2835,8 +2835,8 @@ packages: cpu: [x64] os: [darwin] - '@rspack/binding-darwin-x64@1.0.7': - resolution: {integrity: sha512-43v660eofqzRVtTVddl28K5550E1gCeWIc8WRUAxJoL4QTzoo8M3iGnU8CquKG6phat5Iug8mJ0OIUfqHGK8YQ==} + '@rspack/binding-darwin-x64@1.0.8': + resolution: {integrity: sha512-7BbG8gXVWjtqJegDpsObzM/B90Eig1piEtcahvPdvlC92uZz3/IwtKPpMaywGBrf5RSI3U0nQMSekwz0cO1SOw==} cpu: [x64] os: [darwin] @@ -2845,8 +2845,8 @@ packages: cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-gnu@1.0.7': - resolution: {integrity: sha512-FHS1cU5MzXijVKQ7xW2Rpp0wvtN0BQYbouT3Yx6DNrdtE3P4i/XHnol8zdHkpHeSCOP/p0bnyO+Q/BbXXr4XSw==} + '@rspack/binding-linux-arm64-gnu@1.0.8': + resolution: {integrity: sha512-QnqCL0wmwYqT/IFx5q0aw7DsIOr8oYUa4+7JI8iiqRf3RuuRJExesVW9VuWr0jS2UvChKgmb8PvRtDy/0tshFw==} cpu: [arm64] os: [linux] @@ -2855,8 +2855,8 @@ packages: cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.0.7': - resolution: {integrity: sha512-WT+h3fpEWY+60UqiTcwTq6jq6NFhZdZW+Onb3QHQ9F9myWOemM5z5GF8rxWKTn6PHOMz01o/cF4ikMQRfC/sEA==} + '@rspack/binding-linux-arm64-musl@1.0.8': + resolution: {integrity: sha512-Ns9TsE7zdUjimW5HURRW08BaMyAh16MDh97PPsGEMeRPx9plnRO9aXvuUG6t+0gy4KwlQdeq3BvUsbBpIo5Tow==} cpu: [arm64] os: [linux] @@ -2865,8 +2865,8 @@ packages: cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.0.7': - resolution: {integrity: sha512-l2ORrXY+dG7n/yog5tGwk3NZLLWh/jz88+74IQkVBX1wRViJt1cJZE9wDqoCLhT6dgCreIUZ1s5UghuAR6ymYQ==} + '@rspack/binding-linux-x64-gnu@1.0.8': + resolution: {integrity: sha512-lfqUuKCoyRN/gGeokhX/oNYqB6OpbtgQb57b0QuD8IaiH2a1ee0TtEVvRbyQNEDwht6lW4RTNg0RfMYu52LgXg==} cpu: [x64] os: [linux] @@ -2875,8 +2875,8 @@ packages: cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.0.7': - resolution: {integrity: sha512-k1qtanXpQiGk/h2UfVDxLqzkS/LHj5i4AlMTV6q/CIBUjTOrwO4yFWCCC8JLw4vK6rT/YK/Ib4nwy1XRyVY+dQ==} + '@rspack/binding-linux-x64-musl@1.0.8': + resolution: {integrity: sha512-MgbHJWV5utVa1/U9skrXClydZ/eZw001++v4B6nb8myU6Ck1D02aMl9ESefb/sSA8TatLLxEXQ2VENG9stnPwQ==} cpu: [x64] os: [linux] @@ -2885,8 +2885,8 @@ packages: cpu: [arm64] os: [win32] - '@rspack/binding-win32-arm64-msvc@1.0.7': - resolution: {integrity: sha512-WqdaSOo6uGy1c4AkmvcJTtjJT9F7/c5dNTUCTXWAFzh9V1k1X5tpPCxFFB/PpWov59esywkV2ZRIgDypBf3PLg==} + '@rspack/binding-win32-arm64-msvc@1.0.8': + resolution: {integrity: sha512-3NN5VisnSOzhgqX77O/7NvcjPUueg1oIdMKoc5vElJCEu5FEXPqDhwZmr1PpBovaXshAcgExF3j54+20pwdg5g==} cpu: [arm64] os: [win32] @@ -2895,8 +2895,8 @@ packages: cpu: [ia32] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.0.7': - resolution: {integrity: sha512-H9/U63KyIVlmmb34pRsX45Q0sdSqST22+za67dwEZicx5DjswGHQlkcdWZPmvsquACUG/ZyJf+tOzR3tm/sE5Q==} + '@rspack/binding-win32-ia32-msvc@1.0.8': + resolution: {integrity: sha512-17VQNC7PSygzsipSVoukDM/SOcVueVNsk9bZiB0Swl20BaqrlBts2Dvlmo+L+ZGsxOYI97WvA/zomMDv860usg==} cpu: [ia32] os: [win32] @@ -2905,16 +2905,16 @@ packages: cpu: [x64] os: [win32] - '@rspack/binding-win32-x64-msvc@1.0.7': - resolution: {integrity: sha512-T6E00hKhgfXLkWmkmzyxYl/jKWot0PE2U4/ciGlBVQtDyjc50WPWnRREyPAEv7ozgAqou+ugd5KN+O6SFz4NbQ==} + '@rspack/binding-win32-x64-msvc@1.0.8': + resolution: {integrity: sha512-Vtjt74Soh09XUsV5Nw0YjZVSk/qtsjtPnzbSZluncSAVUs8l+X1ALcM6n1Jrt3TLTfcqf7a+VIsWOXAMqkCGUg==} cpu: [x64] os: [win32] '@rspack/binding@1.0.3': resolution: {integrity: sha512-wRLUDyi/6jFDDZJIov4uh9H9hJNk7JKDEhaMLM/5lJzzWsTLBB/q6JB1VAdIzOzBhYsU8iIMEVuG3Uih1H43uw==} - '@rspack/binding@1.0.7': - resolution: {integrity: sha512-lSjxstfgtesIj1A0pk1W99iTIyDyfv/HXveyV3x+C+62pv0i0jj9tJUDmFM1gGwitKzm1LV9DgW/sOuzz3NtNw==} + '@rspack/binding@1.0.8': + resolution: {integrity: sha512-abRirbrjobcllLAamyeiWxT6Rb0wELUnITynQdqRbSweWm2lvnhm9YBv4BcOjvJBzhJtvRJo5JBtbKXjDTarug==} '@rspack/core@1.0.3': resolution: {integrity: sha512-BqyBSrcTtsm1EDI10TrK6tEfNsy5vEnVDnbI0HBuQBH1zhKblnvsu6Y2bbS9+OGmB+OPEr76CmuZtzb+7V3wrQ==} @@ -2925,8 +2925,8 @@ packages: '@swc/helpers': optional: true - '@rspack/core@1.0.7': - resolution: {integrity: sha512-L3O0GDKasMmLtDkZrbfJI8OFJ5hmlLannoJ2hDR3LMq8tC/q0jIXTL7YIo7rStsudecCkcD7CH/Smm00itZSzg==} + '@rspack/core@1.0.8': + resolution: {integrity: sha512-pbXwXYb4WQwb0l35P5v3l/NpDJXy1WiVE4IcQ/6LxZYU5NyZuqtsK0trR88xIVRZb9qU0JUeCdQq7Xa6Q+c3Xw==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -8662,11 +8662,11 @@ packages: resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==} engines: {node: '>=0.10.0'} - style-loader@3.3.4: - resolution: {integrity: sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w==} - engines: {node: '>= 12.13.0'} + style-loader@4.0.0: + resolution: {integrity: sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==} + engines: {node: '>= 18.12.0'} peerDependencies: - webpack: ^5.0.0 + webpack: ^5.27.0 sucrase@3.35.0: resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} @@ -11747,55 +11747,55 @@ snapshots: '@rspack/binding-darwin-arm64@1.0.3': optional: true - '@rspack/binding-darwin-arm64@1.0.7': + '@rspack/binding-darwin-arm64@1.0.8': optional: true '@rspack/binding-darwin-x64@1.0.3': optional: true - '@rspack/binding-darwin-x64@1.0.7': + '@rspack/binding-darwin-x64@1.0.8': optional: true '@rspack/binding-linux-arm64-gnu@1.0.3': optional: true - '@rspack/binding-linux-arm64-gnu@1.0.7': + '@rspack/binding-linux-arm64-gnu@1.0.8': optional: true '@rspack/binding-linux-arm64-musl@1.0.3': optional: true - '@rspack/binding-linux-arm64-musl@1.0.7': + '@rspack/binding-linux-arm64-musl@1.0.8': optional: true '@rspack/binding-linux-x64-gnu@1.0.3': optional: true - '@rspack/binding-linux-x64-gnu@1.0.7': + '@rspack/binding-linux-x64-gnu@1.0.8': optional: true '@rspack/binding-linux-x64-musl@1.0.3': optional: true - '@rspack/binding-linux-x64-musl@1.0.7': + '@rspack/binding-linux-x64-musl@1.0.8': optional: true '@rspack/binding-win32-arm64-msvc@1.0.3': optional: true - '@rspack/binding-win32-arm64-msvc@1.0.7': + '@rspack/binding-win32-arm64-msvc@1.0.8': optional: true '@rspack/binding-win32-ia32-msvc@1.0.3': optional: true - '@rspack/binding-win32-ia32-msvc@1.0.7': + '@rspack/binding-win32-ia32-msvc@1.0.8': optional: true '@rspack/binding-win32-x64-msvc@1.0.3': optional: true - '@rspack/binding-win32-x64-msvc@1.0.7': + '@rspack/binding-win32-x64-msvc@1.0.8': optional: true '@rspack/binding@1.0.3': @@ -11810,17 +11810,17 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.0.3 '@rspack/binding-win32-x64-msvc': 1.0.3 - '@rspack/binding@1.0.7': + '@rspack/binding@1.0.8': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.0.7 - '@rspack/binding-darwin-x64': 1.0.7 - '@rspack/binding-linux-arm64-gnu': 1.0.7 - '@rspack/binding-linux-arm64-musl': 1.0.7 - '@rspack/binding-linux-x64-gnu': 1.0.7 - '@rspack/binding-linux-x64-musl': 1.0.7 - '@rspack/binding-win32-arm64-msvc': 1.0.7 - '@rspack/binding-win32-ia32-msvc': 1.0.7 - '@rspack/binding-win32-x64-msvc': 1.0.7 + '@rspack/binding-darwin-arm64': 1.0.8 + '@rspack/binding-darwin-x64': 1.0.8 + '@rspack/binding-linux-arm64-gnu': 1.0.8 + '@rspack/binding-linux-arm64-musl': 1.0.8 + '@rspack/binding-linux-x64-gnu': 1.0.8 + '@rspack/binding-linux-x64-musl': 1.0.8 + '@rspack/binding-win32-arm64-msvc': 1.0.8 + '@rspack/binding-win32-ia32-msvc': 1.0.8 + '@rspack/binding-win32-x64-msvc': 1.0.8 optional: true '@rspack/core@1.0.3(@swc/helpers@0.5.12)': @@ -11832,11 +11832,11 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.12 - '@rspack/core@1.0.7(@swc/helpers@0.5.12)': + '@rspack/core@1.0.8(@swc/helpers@0.5.12)': dependencies: '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.0.7 - '@rspack/lite-tapable': 1.0.0 + '@rspack/binding': 1.0.8 + '@rspack/lite-tapable': 1.0.1 caniuse-lite: 1.0.30001660 optionalDependencies: '@swc/helpers': 0.5.12 @@ -14631,7 +14631,7 @@ snapshots: semver: 7.6.2 webpack: 5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.1))(webpack-cli@5.1.4(webpack@5.94.0)) - css-loader@6.11.0(@rspack/core@1.0.7(@swc/helpers@0.5.12))(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)): + css-loader@6.11.0(@rspack/core@1.0.8(@swc/helpers@0.5.12))(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)): dependencies: icss-utils: 5.1.0(postcss@8.4.38) postcss: 8.4.38 @@ -14642,7 +14642,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.0 optionalDependencies: - '@rspack/core': 1.0.7(@swc/helpers@0.5.12) + '@rspack/core': 1.0.8(@swc/helpers@0.5.12) webpack: 5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4) css-loader@6.11.0(@rspack/core@packages+rspack)(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))): @@ -19087,15 +19087,15 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - style-loader@3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))): + style-loader@4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0))): dependencies: webpack: 5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4(webpack@5.94.0)) - style-loader@3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)): + style-loader@4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4)): dependencies: webpack: 5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.12))(webpack-cli@5.1.4) - style-loader@3.3.4(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0))): + style-loader@4.0.0(webpack@5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0))): dependencies: webpack: 5.94.0(@swc/core@1.4.0(@swc/helpers@0.5.8))(webpack-cli@5.1.4(webpack@5.94.0)) diff --git a/tests/diff-test/arco-pro/package.json b/tests/diff-test/arco-pro/package.json index 96f5789b479..2fad08327c6 100644 --- a/tests/diff-test/arco-pro/package.json +++ b/tests/diff-test/arco-pro/package.json @@ -51,7 +51,7 @@ "postcss-loader": "^8.0.0", "react-refresh": "^0.14.0", "serve": "14.2.1", - "style-loader": "^3.3.3", + "style-loader": "^4.0.0", "swc-loader": "^0.2.3", "webpack": "^5.94.0" }, diff --git a/tests/webpack-examples/package.json b/tests/webpack-examples/package.json index 5eeb0336fb0..07d77b9851f 100644 --- a/tests/webpack-examples/package.json +++ b/tests/webpack-examples/package.json @@ -20,7 +20,7 @@ "coffeescript": "^2.5.1", "@babel/preset-react": "^7.22.15", "css-loader": "^6.11.0", - "style-loader": "^3.3.3", + "style-loader": "^4.0.0", "wast-loader": "^1.12.1" } } \ No newline at end of file