From 32119fbaad7ca8d483ea46064e8071ca23b8f361 Mon Sep 17 00:00:00 2001 From: xfsnowind Date: Sun, 15 Sep 2024 14:08:42 +0800 Subject: [PATCH] feat: upgrade rspack to 1.0.5 --- package.json | 6 +-- pnpm-lock.yaml | 141 +++++++++++++++++++++++++++---------------------- 2 files changed, 81 insertions(+), 66 deletions(-) diff --git a/package.json b/package.json index caf12ff..3c9bf55 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test": "jest" }, "dependencies": { - "@rspack/cli": "v1.0.0", + "@rspack/cli": "1.0.5", "find-up": "6.3.0", "local-pkg": "0.4.1", "tslib": "^2.3.1", @@ -28,8 +28,8 @@ "@babel/preset-env": "^7.24.4", "@babel/preset-typescript": "^7.24.1", "@jest/globals": "^29.7.0", - "@rspack/core": "v1.0.0", - "@rspack/dev-server": "v1.0.0", + "@rspack/core": "1.0.5", + "@rspack/dev-server": "1.0.5", "@types/debug": "^4.1.12", "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 506d01a..5cae946 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@rspack/cli': - specifier: v1.0.0 - version: 1.0.0(@rspack/core@1.0.0)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) + specifier: 1.0.5 + version: 1.0.5(@rspack/core@1.0.5)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) find-up: specifier: 6.3.0 version: 6.3.0 @@ -37,11 +37,11 @@ importers: specifier: ^29.7.0 version: 29.7.0 '@rspack/core': - specifier: v1.0.0 - version: 1.0.0 + specifier: 1.0.5 + version: 1.0.5 '@rspack/dev-server': - specifier: v1.0.0 - version: 1.0.0(@rspack/core@1.0.0)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) + specifier: 1.0.5 + version: 1.0.5(@rspack/core@1.0.5)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) '@types/debug': specifier: ^4.1.12 version: 4.1.12 @@ -1015,62 +1015,62 @@ packages: '@polka/url@1.0.0-next.21': resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} - '@rspack/binding-darwin-arm64@1.0.0': - resolution: {integrity: sha512-ZHQk9YK+swlTG48kJTgzFUW9T26KjhLXRok5la7t2AMoiuHyhGHHgC5iQfPJLZ62XzcJ/rfqs2rwakl97151jQ==} + '@rspack/binding-darwin-arm64@1.0.5': + resolution: {integrity: sha512-pEHj4AOluOa7FaR1DMACPUUZKO3qZI4/66xaTqk0BbclvMT7eheQAWtkmjdE9WJgeZ389TrwZeaMzzPdHhK/6Q==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@1.0.0': - resolution: {integrity: sha512-qhTXm9wUhv2lBjsqqfCu59RchH1/2jursdPAmTqGc7zMReZdZvtJs2Ri6Ma1M48BLLu+7fS4fbL8Rw1g78TOOQ==} + '@rspack/binding-darwin-x64@1.0.5': + resolution: {integrity: sha512-xS5EDD9l3MHL54bnmxsndm61P9l3l7ZNuLSuPl2MbYJzDqPdnXhTdkIjdcDOLH2daFm8gfB634wa5knZhPGLOw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@1.0.0': - resolution: {integrity: sha512-yKnlsWgvydJRxDBGGKC+cyDeoSzIvOzuVqCloy5oAFAGOMXMY6bznxrkE6/olGZncdeLEpnJzZmXSuF1dYc8ow==} + '@rspack/binding-linux-arm64-gnu@1.0.5': + resolution: {integrity: sha512-svPOFlem7s6T33tX8a28uD5Ngc7bdML96ioiH7Fhi0J/at+WAthor4GeUNwkwuzBQI/Nc9XCgiYPcE0pzP7c6w==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-arm64-musl@1.0.0': - resolution: {integrity: sha512-dKFmlqlF4FELT/AX02hSwX8aRawjH5zAliQzYnvgrqcEyCKE60vKacGJQ3ZeRyru6dh5MlbUNW4H1+TDT+cDVA==} + '@rspack/binding-linux-arm64-musl@1.0.5': + resolution: {integrity: sha512-cysqogEUNc0TgzzXcK9bkv12eoCjqhLzOvGXQU1zSEU9Hov7tuzMDl3Z6R3A7NgOCmWu84/wOnTrkSOI28caew==} cpu: [arm64] os: [linux] - '@rspack/binding-linux-x64-gnu@1.0.0': - resolution: {integrity: sha512-fRk9i8aE4FiwW7+LkNyw+5vfFzJ8BZ2seAL9V5U2iwYwYibzFJsukg3h3Uh+IsGm30/7+ZRENtGwybQiMruL4g==} + '@rspack/binding-linux-x64-gnu@1.0.5': + resolution: {integrity: sha512-qIEMsWOzTKpVm0Sg553gKkua49Kd/sElLD1rZcXjjxjAsD97uq8AiNncArMfYdDKgkKbtwtW/Fb3uVuafTLnZg==} cpu: [x64] os: [linux] - '@rspack/binding-linux-x64-musl@1.0.0': - resolution: {integrity: sha512-qcTJC8o3KvLwsnrJJcuBjfzSrjEbACMiCB4RtbFNecXDtI+Nputx1CO1SlUrINC25/44ILketf0/hsdBQHk60g==} + '@rspack/binding-linux-x64-musl@1.0.5': + resolution: {integrity: sha512-yulltMSQN3aBt3NMURYTmJcpAJBi4eEJ4i9qF0INE8f0885sJpI0j35/31POkCghG1ZOSZkYALFrheKKP9e8pg==} cpu: [x64] os: [linux] - '@rspack/binding-win32-arm64-msvc@1.0.0': - resolution: {integrity: sha512-gqtakP0Yl2aj+Q/Giwgt31hz8eOZpo2s+sJlkMJGVdIF4dejB31a8vbj/VNGeSN1tDRiLI4cyqa5eQU//t26aQ==} + '@rspack/binding-win32-arm64-msvc@1.0.5': + resolution: {integrity: sha512-5oF/qN6TnUj28UAdaOgSIWKq7HG5QgI4p37zvQBBTXZHhrwN2kE6H+TaofWnSqWJynwmGIxJIx8bGo3lDfFbfA==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@1.0.0': - resolution: {integrity: sha512-nLfGu5DjdzwawzZ7zK69vZX5aL1Gt9+Ovfz4RlngDq/D5ZzqCnNWw93cqKADgFRWS4qK9vOD9RXNNnkyWB2SEw==} + '@rspack/binding-win32-ia32-msvc@1.0.5': + resolution: {integrity: sha512-y16IPjd/z6L7+r6RXLu7J/jlZDUenSnJDqo10HnnxtLjOJ+vna+pljI8sHcwu1ao0c3J3uMvbkF34dTiev7Opg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@1.0.0': - resolution: {integrity: sha512-H9PqjgtZMw5aP+eXdFo7bgSP/Ycwn3oW81uI9qFqOOQ90W+o3T9ItghHBf2/ksc5GHibd208EwOBNxbKwjZDSQ==} + '@rspack/binding-win32-x64-msvc@1.0.5': + resolution: {integrity: sha512-PSBTbDSgT+ClYvyQTDtWBi/bxXW/xJmVjg9NOWe8KAEl5WNU+pToiCBLLPCGDSa+K7/zr2TDb6QakG/qYItPZw==} cpu: [x64] os: [win32] - '@rspack/binding@1.0.0': - resolution: {integrity: sha512-eLyqSEM1h/exJYn98k+9MRktP8AYDB13x5oVn8hoxVucuhk0TubFqQSX8h9SQcZp1O3j/Z8eWWwOaNPe3JU40Q==} + '@rspack/binding@1.0.5': + resolution: {integrity: sha512-SnVrzRWeKSosJ0/1e5taAeqJ1ISst6NAE1N8YK4ZdUEVWmE26tC2V/yTvZHSsqatc/0Cf+A18IZJx0q6H/DlRw==} - '@rspack/cli@1.0.0': - resolution: {integrity: sha512-J6S/7xPR3n042mFurxa527w8DQMaTd3eWrIFmltCRXzGi4K/1VgUUyE1X0K1pKhvtgUUkFW/m+EC8bjpzNrPeg==} + '@rspack/cli@1.0.5': + resolution: {integrity: sha512-isueSvkwUyO2dO3MkiUfonblm5fxLP1F7YL7YUjT2cLzY1CG3Pdg3wA1dLNyDlcidmswnfG5+GS1NthwFjEL0Q==} hasBin: true peerDependencies: '@rspack/core': ^1.0.0-alpha || ^1.x - '@rspack/core@1.0.0': - resolution: {integrity: sha512-F4RA9uOLLvD1oTKa96Gcly+Sro1qaqPNENadFyiPwepa7DrwexQa/ym6CQKbvKMOYGKlVSFDPUmgFAirz35ETg==} + '@rspack/core@1.0.5': + resolution: {integrity: sha512-UlydS2VupZ6yBx3jCqCHpeEUQNWCrBkTQhPIezK0eCAk13i745byjqXX4tcfN6jR5Kjh/1CIb8r07k9DgGON1w==} engines: {node: '>=16.0.0'} peerDependencies: '@swc/helpers': '>=0.5.1' @@ -1078,8 +1078,8 @@ packages: '@swc/helpers': optional: true - '@rspack/dev-server@1.0.0': - resolution: {integrity: sha512-ORrF+p31/jLS7tmXp7VLAX654NVpO0jNc9VM9ueG5LAyvf4d+Bo6zhFQTWsoW30uh/Xd1EZjfu+9zu4jn8Zv4Q==} + '@rspack/dev-server@1.0.5': + resolution: {integrity: sha512-S1o1j9adjqNCiSWrIv1vmVHQPXFvcBa9JvPWIGxGjei72ejz0zvO6Fd948UkRlDgCPIoY4Cy+g1GLmBkJT5MKA==} peerDependencies: '@rspack/core': '*' @@ -1222,6 +1222,9 @@ packages: '@types/range-parser@1.2.4': resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==} + '@types/retry@0.12.0': + resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} + '@types/retry@0.12.2': resolution: {integrity: sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==} @@ -1433,8 +1436,8 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.0.1: - resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + ansi-regex@6.1.0: + resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} engines: {node: '>=12'} ansi-styles@2.2.1: @@ -3069,6 +3072,10 @@ packages: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} + p-retry@4.6.2: + resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} + engines: {node: '>=8'} + p-retry@6.2.0: resolution: {integrity: sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA==} engines: {node: '>=16.17'} @@ -5097,50 +5104,50 @@ snapshots: '@polka/url@1.0.0-next.21': {} - '@rspack/binding-darwin-arm64@1.0.0': + '@rspack/binding-darwin-arm64@1.0.5': optional: true - '@rspack/binding-darwin-x64@1.0.0': + '@rspack/binding-darwin-x64@1.0.5': optional: true - '@rspack/binding-linux-arm64-gnu@1.0.0': + '@rspack/binding-linux-arm64-gnu@1.0.5': optional: true - '@rspack/binding-linux-arm64-musl@1.0.0': + '@rspack/binding-linux-arm64-musl@1.0.5': optional: true - '@rspack/binding-linux-x64-gnu@1.0.0': + '@rspack/binding-linux-x64-gnu@1.0.5': optional: true - '@rspack/binding-linux-x64-musl@1.0.0': + '@rspack/binding-linux-x64-musl@1.0.5': optional: true - '@rspack/binding-win32-arm64-msvc@1.0.0': + '@rspack/binding-win32-arm64-msvc@1.0.5': optional: true - '@rspack/binding-win32-ia32-msvc@1.0.0': + '@rspack/binding-win32-ia32-msvc@1.0.5': optional: true - '@rspack/binding-win32-x64-msvc@1.0.0': + '@rspack/binding-win32-x64-msvc@1.0.5': optional: true - '@rspack/binding@1.0.0': + '@rspack/binding@1.0.5': optionalDependencies: - '@rspack/binding-darwin-arm64': 1.0.0 - '@rspack/binding-darwin-x64': 1.0.0 - '@rspack/binding-linux-arm64-gnu': 1.0.0 - '@rspack/binding-linux-arm64-musl': 1.0.0 - '@rspack/binding-linux-x64-gnu': 1.0.0 - '@rspack/binding-linux-x64-musl': 1.0.0 - '@rspack/binding-win32-arm64-msvc': 1.0.0 - '@rspack/binding-win32-ia32-msvc': 1.0.0 - '@rspack/binding-win32-x64-msvc': 1.0.0 - - '@rspack/cli@1.0.0(@rspack/core@1.0.0)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0)': + '@rspack/binding-darwin-arm64': 1.0.5 + '@rspack/binding-darwin-x64': 1.0.5 + '@rspack/binding-linux-arm64-gnu': 1.0.5 + '@rspack/binding-linux-arm64-musl': 1.0.5 + '@rspack/binding-linux-x64-gnu': 1.0.5 + '@rspack/binding-linux-x64-musl': 1.0.5 + '@rspack/binding-win32-arm64-msvc': 1.0.5 + '@rspack/binding-win32-ia32-msvc': 1.0.5 + '@rspack/binding-win32-x64-msvc': 1.0.5 + + '@rspack/cli@1.0.5(@rspack/core@1.0.5)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0)': dependencies: '@discoveryjs/json-ext': 0.5.7 - '@rspack/core': 1.0.0 - '@rspack/dev-server': 1.0.0(@rspack/core@1.0.0)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) + '@rspack/core': 1.0.5 + '@rspack/dev-server': 1.0.5(@rspack/core@1.0.5)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0) colorette: 2.0.19 exit-hook: 3.2.0 interpret: 3.1.1 @@ -5157,21 +5164,22 @@ snapshots: - webpack - webpack-cli - '@rspack/core@1.0.0': + '@rspack/core@1.0.5': dependencies: '@module-federation/runtime-tools': 0.5.1 - '@rspack/binding': 1.0.0 + '@rspack/binding': 1.0.5 '@rspack/lite-tapable': 1.0.0 caniuse-lite: 1.0.30001636 - '@rspack/dev-server@1.0.0(@rspack/core@1.0.0)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0)': + '@rspack/dev-server@1.0.5(@rspack/core@1.0.5)(@types/express@4.17.21)(debug@4.3.4)(webpack@5.76.0)': dependencies: - '@rspack/core': 1.0.0 + '@rspack/core': 1.0.5 chokidar: 3.6.0 connect-history-api-fallback: 2.0.0 express: 4.19.2 http-proxy-middleware: 2.0.6(@types/express@4.17.21)(debug@4.3.4) mime-types: 2.1.35 + p-retry: 4.6.2 webpack-dev-middleware: 7.4.2(webpack@5.76.0) webpack-dev-server: 5.0.4(debug@4.3.4)(webpack@5.76.0) ws: 8.18.0 @@ -5353,6 +5361,8 @@ snapshots: '@types/range-parser@1.2.4': {} + '@types/retry@0.12.0': {} + '@types/retry@0.12.2': {} '@types/send@0.17.1': @@ -5614,7 +5624,7 @@ snapshots: ansi-regex@5.0.1: {} - ansi-regex@6.0.1: {} + ansi-regex@6.1.0: {} ansi-styles@2.2.1: {} @@ -7461,6 +7471,11 @@ snapshots: dependencies: aggregate-error: 3.1.0 + p-retry@4.6.2: + dependencies: + '@types/retry': 0.12.0 + retry: 0.13.1 + p-retry@6.2.0: dependencies: '@types/retry': 0.12.2 @@ -8006,7 +8021,7 @@ snapshots: strip-ansi@7.1.0: dependencies: - ansi-regex: 6.0.1 + ansi-regex: 6.1.0 strip-bom@4.0.0: {}