From e2b085886636112be0543910a0e076858b2a734b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=B4=E9=99=88=E5=A8=81?= Date: Mon, 30 Mar 2026 17:26:07 +0800 Subject: [PATCH] fix(deps): upgrade Rslib 0.20.2 to fix runtime error --- package.json | 2 +- pnpm-lock.yaml | 166 ++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 153 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index d93bba9..c3c2a85 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@arethetypeswrong/core": "^0.18.2", "@microsoft/api-extractor": "^7.57.7", "@rsbuild/core": "2.0.0-beta.10", - "@rslib/core": "^0.20.1", + "@rslib/core": "^0.20.2", "@rslint/core": "^0.3.3", "@rstest/adapter-rslib": "^0.2.1", "@rstest/core": "^0.9.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5076bd..7134d75 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,14 +18,14 @@ importers: specifier: 2.0.0-beta.10 version: 2.0.0-beta.10(core-js@3.47.0) '@rslib/core': - specifier: ^0.20.1 - version: 0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2) + specifier: ^0.20.2 + version: 0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2) '@rslint/core': specifier: ^0.3.3 version: 0.3.3(jiti@2.6.1) '@rstest/adapter-rslib': specifier: ^0.2.1 - version: 0.2.1(@rslib/core@0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2))(@rstest/core@0.9.5(core-js@3.47.0))(typescript@6.0.2) + version: 0.2.1(@rslib/core@0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2))(@rstest/core@0.9.5(core-js@3.47.0))(typescript@6.0.2) '@rstest/core': specifier: ^0.9.5 version: 0.9.5(core-js@3.47.0) @@ -252,8 +252,18 @@ packages: core-js: optional: true - '@rslib/core@0.20.1': - resolution: {integrity: sha512-5Mw9HvMCBNkyvzyxeMpxuOBYhtoZ+lwlm/d966JtH9eGesV8QGRNNZiC1axlZVO490kOTfMpbfbSt74XRCn/2A==} + '@rsbuild/core@2.0.0-beta.11': + resolution: {integrity: sha512-IBbQx7SrnSpD7j2p2qyq3qDxoqmG4E6lcflTpbBitX6iUrzpVRQbP4rktXZ2iuY7ph9+FtUK/SVAVA+Ocm3Nig==} + engines: {node: ^20.19.0 || >=22.12.0} + hasBin: true + peerDependencies: + core-js: '>= 3.0.0' + peerDependenciesMeta: + core-js: + optional: true + + '@rslib/core@0.20.2': + resolution: {integrity: sha512-NJk2GasIvgfZdQ9CUTh/JxFvlhKiBv9BOa8GsnRrkRZ62CzSVrfiCT+FaBnqMk5adt+m2T9n+4Clrm6Rl0eoGw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -309,57 +319,113 @@ packages: cpu: [arm64] os: [darwin] + '@rspack/binding-darwin-arm64@2.0.0-beta.9': + resolution: {integrity: sha512-9Aao24b+lrVGG25itl2c7e6HK6eNH5J5ao1Uq5UoSwSJZOxRPuY+QlHIvE2tyt833Ly9qcT1J7os2AIUNlF6Vw==} + cpu: [arm64] + os: [darwin] + '@rspack/binding-darwin-x64@2.0.0-beta.8': resolution: {integrity: sha512-+XTA37+FZjXgwxkNX94T/EqspFO8Q3Km4CklQ3nOQzieMi31w+TLBB0uTsnT1ugp0UTN5PHLd4DFK1SQB7Ckbg==} cpu: [x64] os: [darwin] + '@rspack/binding-darwin-x64@2.0.0-beta.9': + resolution: {integrity: sha512-sP6gusMsxm3W4aHpRsmVaBQU09n1p/1+XpLHT/gZy6nJ7Wy3nqfNKNoybNBORwCuFcGUon6cVRcieN9AEm6iJA==} + cpu: [x64] + os: [darwin] + '@rspack/binding-linux-arm64-gnu@2.0.0-beta.8': resolution: {integrity: sha512-vD2+ztbMmeBR65jBlwUZCNIjUzO0exp/LaPSMIhLlqPlk670gMCQ7fmKo3tSgQ9tobfizEA/Atdy3/lW1Rl64A==} cpu: [arm64] os: [linux] libc: [glibc] + '@rspack/binding-linux-arm64-gnu@2.0.0-beta.9': + resolution: {integrity: sha512-k2DPN3B2qaz4L/h/R+l7rbDk/lLwbR/sayfsHZ8sLdZ3f6pvaSI9ejrsFv0nU4OmKCQsz4zYuoKTVFPtDfbGjA==} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@rspack/binding-linux-arm64-musl@2.0.0-beta.8': resolution: {integrity: sha512-jJ1XB7Yz9YdPRA6MJ35S9/mb+3jeI4p9v78E3dexzCPA3G4X7WXbyOcRbUlYcyOlE5MtX5O19rDexqWlkD9tVw==} cpu: [arm64] os: [linux] libc: [musl] + '@rspack/binding-linux-arm64-musl@2.0.0-beta.9': + resolution: {integrity: sha512-7+XwAsqhfc2rIHMc9mY6RMBTP76RRqmUm1UjidqYdJl5hYBa5apffjeZfJYgAhVbSwKB/tUffzPpEffGUuc5kw==} + cpu: [arm64] + os: [linux] + libc: [musl] + '@rspack/binding-linux-x64-gnu@2.0.0-beta.8': resolution: {integrity: sha512-qy+fK/tiYw3KvGjTGGMu/mWOdvBYrMO8xva/ouiaRTrx64PPZ6vyqFXOUfHj9rhY5L6aU2NTObpV6HZHcBtmhQ==} cpu: [x64] os: [linux] libc: [glibc] + '@rspack/binding-linux-x64-gnu@2.0.0-beta.9': + resolution: {integrity: sha512-z/EOUKEq5rq4sYsVSFL9uzdPtTPVA82x3gsRJlDTfEcruZZI7Y6JKUkpDYkC0LivXqyOnoOz8slAFd2/dByRtA==} + cpu: [x64] + os: [linux] + libc: [glibc] + '@rspack/binding-linux-x64-musl@2.0.0-beta.8': resolution: {integrity: sha512-eJF1IsayHhsURu5Dp6fzdr5jYGeJmoREOZAc9UV3aEqY6zNAcWgZT1RwKCCujJylmHgCTCOuxqdK/VdFJqWDyw==} cpu: [x64] os: [linux] libc: [musl] + '@rspack/binding-linux-x64-musl@2.0.0-beta.9': + resolution: {integrity: sha512-LVIXrqtAOy/DowIB04jyUyYy+5kHtZNJ0W5EJd39OwY/9gGvhgAEVvSWu7JrRAvKW1kQsV7GnRT5ninbDrRw1A==} + cpu: [x64] + os: [linux] + libc: [musl] + '@rspack/binding-wasm32-wasi@2.0.0-beta.8': resolution: {integrity: sha512-HssdOQE8i+nUWoK+NDeD5OSyNxf80k3elKCl/due3WunoNn0h6tUTSZ8QB+bhcT4tjH9vTbibWZIT91avtvUNw==} cpu: [wasm32] + '@rspack/binding-wasm32-wasi@2.0.0-beta.9': + resolution: {integrity: sha512-Vl7aDAt7DCqtZ/RJd8hLFjQqufX+efL/XZG3qADsagl/SspH1ItJ7N6X1S8o50eKoshy27Jr7mQYZEdufX9qhQ==} + cpu: [wasm32] + '@rspack/binding-win32-arm64-msvc@2.0.0-beta.8': resolution: {integrity: sha512-RuHbXuIMJr0ANMFoGXIb3sUZE5VwIsJw70u3TKPwfoaOFiJjgW7Pi2JTLPoTYfOlE+CNcu2ldX8VJRBbktR4NA==} cpu: [arm64] os: [win32] + '@rspack/binding-win32-arm64-msvc@2.0.0-beta.9': + resolution: {integrity: sha512-g4Fc3JjfibuHt5ltoV64eK0bs6NKlh8kgHA8Go3ETwEGO6OBck877e+5CqPtjTH8c1/KQPbnCoccGR1OScoZGg==} + cpu: [arm64] + os: [win32] + '@rspack/binding-win32-ia32-msvc@2.0.0-beta.8': resolution: {integrity: sha512-ajzIOk30zjTKPiay+d6oV7lqzzqdgIXQhDD5YtcOqPn7NTh7949EB1NZX5l3Ueh1m8k4DSe7n07qFLjHDhZ8jw==} cpu: [ia32] os: [win32] + '@rspack/binding-win32-ia32-msvc@2.0.0-beta.9': + resolution: {integrity: sha512-Oii4HpCEH3CBDKSXcS6EVlV9nGYVKAV/uBLSsuZ0RNdEG0i+OHvEiicqHAwuIYZNlH4Ea/Vwc+Dl5PM2twCZ4Q==} + cpu: [ia32] + os: [win32] + '@rspack/binding-win32-x64-msvc@2.0.0-beta.8': resolution: {integrity: sha512-MqPuHCbxyLSEjavbhYapHs7cvs2zSA9GKd8nJtDuSMmDTVHFzwHfUXTffUMFB4JTCAvdpMn8XtOG/UOW5QVRCA==} cpu: [x64] os: [win32] + '@rspack/binding-win32-x64-msvc@2.0.0-beta.9': + resolution: {integrity: sha512-7UFjyy7QMtWvf1CBEVQkHL6bJBKaVY9yq9+Qxb7ggtxvpBbkoYykdsrhMTvr/f5TBjBqHmyeb0/oYXqo5pWFBQ==} + cpu: [x64] + os: [win32] + '@rspack/binding@2.0.0-beta.8': resolution: {integrity: sha512-6tG/yYhUIF1zcEF7qw9GPA1Bwj5gq+Hqy4OzVzIBUWOn/2bKsFTWuorEJh8Yx1LwOnjNO7O+NbsATvk5zEOGKQ==} + '@rspack/binding@2.0.0-beta.9': + resolution: {integrity: sha512-QgkOvzl6BJc4Vg5eaY9r7MkHNfXvVZPgTIeYkdBEOYPowdyCLhlG9vH7QltqLKP9KDNel70YIeMyUrpTqez01w==} + '@rspack/core@2.0.0-beta.8': resolution: {integrity: sha512-GHiMNhcxfzJV3DqxIYYjiBGzhFkwwt+jSJl8+aVFRbQM0AYRdZJSfQDH4G5rHD1gO2yc3ktOOMHYnZWNtXCwdA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -372,6 +438,18 @@ packages: '@swc/helpers': optional: true + '@rspack/core@2.0.0-beta.9': + resolution: {integrity: sha512-4sN3f72l4cj8n/dSCdWn6FkSjfHiDxHWrO1Kmqd0Bk0MmgyW+ldHitsSWPETCAxjTJGXY34r5sou5sYzb0DRww==} + engines: {node: ^20.19.0 || >=22.12.0} + peerDependencies: + '@module-federation/runtime-tools': ^0.24.1 || ^2.0.0 + '@swc/helpers': '>=0.5.1' + peerDependenciesMeta: + '@module-federation/runtime-tools': + optional: true + '@swc/helpers': + optional: true + '@rstest/adapter-rslib@0.2.1': resolution: {integrity: sha512-JGOjyNMpgIgKiQhSoTBt3Dr1zdxMURY422EDoA7p6wkqoG8R2OIRoXH5KLgorvhfpOzAjfx6Y3HlKaGJ+pRRjw==} peerDependencies: @@ -646,8 +724,8 @@ packages: engines: {node: '>= 0.4'} hasBin: true - rsbuild-plugin-dts@0.20.1: - resolution: {integrity: sha512-V3cQ/hh8XpkZIYFmokGlk0OLsSSuttpeGgiSjNVRFsXsKxQUG1B8GhLDJ4wVKSZGAiRjZdQu+e96Y5QF6Ra/og==} + rsbuild-plugin-dts@0.20.2: + resolution: {integrity: sha512-GM2sNAXjMgm8X3HrASn6znHLoxkGRqQZrdbGqaV0nqzqIz1h9JF3PlsUAcI6iAxzWQYuTwNfIly2SnKzsB/PjA==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: '@microsoft/api-extractor': ^7 @@ -937,10 +1015,19 @@ snapshots: transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rslib/core@0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2)': + '@rsbuild/core@2.0.0-beta.11(core-js@3.47.0)': dependencies: - '@rsbuild/core': 2.0.0-beta.10(core-js@3.47.0) - rsbuild-plugin-dts: 0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(@rsbuild/core@2.0.0-beta.10(core-js@3.47.0))(typescript@6.0.2) + '@rspack/core': 2.0.0-beta.9(@swc/helpers@0.5.20) + '@swc/helpers': 0.5.20 + optionalDependencies: + core-js: 3.47.0 + transitivePeerDependencies: + - '@module-federation/runtime-tools' + + '@rslib/core@0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2)': + dependencies: + '@rsbuild/core': 2.0.0-beta.11(core-js@3.47.0) + rsbuild-plugin-dts: 0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(@rsbuild/core@2.0.0-beta.11(core-js@3.47.0))(typescript@6.0.2) optionalDependencies: '@microsoft/api-extractor': 7.57.7(@types/node@24.12.0) typescript: 6.0.2 @@ -980,35 +1067,67 @@ snapshots: '@rspack/binding-darwin-arm64@2.0.0-beta.8': optional: true + '@rspack/binding-darwin-arm64@2.0.0-beta.9': + optional: true + '@rspack/binding-darwin-x64@2.0.0-beta.8': optional: true + '@rspack/binding-darwin-x64@2.0.0-beta.9': + optional: true + '@rspack/binding-linux-arm64-gnu@2.0.0-beta.8': optional: true + '@rspack/binding-linux-arm64-gnu@2.0.0-beta.9': + optional: true + '@rspack/binding-linux-arm64-musl@2.0.0-beta.8': optional: true + '@rspack/binding-linux-arm64-musl@2.0.0-beta.9': + optional: true + '@rspack/binding-linux-x64-gnu@2.0.0-beta.8': optional: true + '@rspack/binding-linux-x64-gnu@2.0.0-beta.9': + optional: true + '@rspack/binding-linux-x64-musl@2.0.0-beta.8': optional: true + '@rspack/binding-linux-x64-musl@2.0.0-beta.9': + optional: true + '@rspack/binding-wasm32-wasi@2.0.0-beta.8': dependencies: '@napi-rs/wasm-runtime': 1.1.1 optional: true + '@rspack/binding-wasm32-wasi@2.0.0-beta.9': + dependencies: + '@napi-rs/wasm-runtime': 1.1.1 + optional: true + '@rspack/binding-win32-arm64-msvc@2.0.0-beta.8': optional: true + '@rspack/binding-win32-arm64-msvc@2.0.0-beta.9': + optional: true + '@rspack/binding-win32-ia32-msvc@2.0.0-beta.8': optional: true + '@rspack/binding-win32-ia32-msvc@2.0.0-beta.9': + optional: true + '@rspack/binding-win32-x64-msvc@2.0.0-beta.8': optional: true + '@rspack/binding-win32-x64-msvc@2.0.0-beta.9': + optional: true + '@rspack/binding@2.0.0-beta.8': optionalDependencies: '@rspack/binding-darwin-arm64': 2.0.0-beta.8 @@ -1022,15 +1141,34 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 2.0.0-beta.8 '@rspack/binding-win32-x64-msvc': 2.0.0-beta.8 + '@rspack/binding@2.0.0-beta.9': + optionalDependencies: + '@rspack/binding-darwin-arm64': 2.0.0-beta.9 + '@rspack/binding-darwin-x64': 2.0.0-beta.9 + '@rspack/binding-linux-arm64-gnu': 2.0.0-beta.9 + '@rspack/binding-linux-arm64-musl': 2.0.0-beta.9 + '@rspack/binding-linux-x64-gnu': 2.0.0-beta.9 + '@rspack/binding-linux-x64-musl': 2.0.0-beta.9 + '@rspack/binding-wasm32-wasi': 2.0.0-beta.9 + '@rspack/binding-win32-arm64-msvc': 2.0.0-beta.9 + '@rspack/binding-win32-ia32-msvc': 2.0.0-beta.9 + '@rspack/binding-win32-x64-msvc': 2.0.0-beta.9 + '@rspack/core@2.0.0-beta.8(@swc/helpers@0.5.20)': dependencies: '@rspack/binding': 2.0.0-beta.8 optionalDependencies: '@swc/helpers': 0.5.20 - '@rstest/adapter-rslib@0.2.1(@rslib/core@0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2))(@rstest/core@0.9.5(core-js@3.47.0))(typescript@6.0.2)': + '@rspack/core@2.0.0-beta.9(@swc/helpers@0.5.20)': dependencies: - '@rslib/core': 0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2) + '@rspack/binding': 2.0.0-beta.9 + optionalDependencies: + '@swc/helpers': 0.5.20 + + '@rstest/adapter-rslib@0.2.1(@rslib/core@0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2))(@rstest/core@0.9.5(core-js@3.47.0))(typescript@6.0.2)': + dependencies: + '@rslib/core': 0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(core-js@3.47.0)(typescript@6.0.2) '@rstest/core': 0.9.5(core-js@3.47.0) optionalDependencies: typescript: 6.0.2 @@ -1291,10 +1429,10 @@ snapshots: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - rsbuild-plugin-dts@0.20.1(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(@rsbuild/core@2.0.0-beta.10(core-js@3.47.0))(typescript@6.0.2): + rsbuild-plugin-dts@0.20.2(@microsoft/api-extractor@7.57.7(@types/node@24.12.0))(@rsbuild/core@2.0.0-beta.11(core-js@3.47.0))(typescript@6.0.2): dependencies: '@ast-grep/napi': 0.37.0 - '@rsbuild/core': 2.0.0-beta.10(core-js@3.47.0) + '@rsbuild/core': 2.0.0-beta.11(core-js@3.47.0) optionalDependencies: '@microsoft/api-extractor': 7.57.7(@types/node@24.12.0) typescript: 6.0.2