diff --git a/package.json b/package.json index 18634ce90..f54034a76 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,5 @@ "husky": "^8.0.1", "nano-staged": "^0.8.0", "prettier": "^3.0.0" - }, - "pnpm": { - "overrides": { - "@rspack/core": "0.4.2" - } } } diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 651b4e270..8e074627b 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -48,10 +48,10 @@ "dependencies": { "@babel/core": "^7.23.2", "@babel/preset-typescript": "^7.23.2", - "@rsbuild/core": "0.2.2", - "@rsbuild/plugin-babel": "0.2.2", - "@rsbuild/plugin-vue": "0.2.2", - "@rsbuild/plugin-vue-jsx": "0.2.2", + "@rsbuild/core": "0.2.8", + "@rsbuild/plugin-babel": "0.2.8", + "@rsbuild/plugin-vue": "0.2.8", + "@rsbuild/plugin-vue-jsx": "0.2.8", "@vant/eslint-config": "workspace:^", "@vant/touch-emulator": "workspace:^", "@vitejs/plugin-vue": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 02df0af29..8538c1130 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,9 +4,6 @@ settings: autoInstallPeers: false excludeLinksFromLockfile: false -overrides: - '@rspack/core': 0.4.2 - importers: .: @@ -155,17 +152,17 @@ importers: specifier: ^7.23.2 version: 7.23.2(@babel/core@7.23.2) '@rsbuild/core': - specifier: 0.2.2 - version: 0.2.2 + specifier: 0.2.8 + version: 0.2.8 '@rsbuild/plugin-babel': - specifier: 0.2.2 - version: 0.2.2 + specifier: 0.2.8 + version: 0.2.8 '@rsbuild/plugin-vue': - specifier: 0.2.2 - version: 0.2.2(@rsbuild/core@0.2.2)(esbuild@0.18.20)(vue@3.3.4) + specifier: 0.2.8 + version: 0.2.8(@rsbuild/core@0.2.8)(esbuild@0.18.20)(vue@3.3.4) '@rsbuild/plugin-vue-jsx': - specifier: 0.2.2 - version: 0.2.2(@babel/core@7.23.2)(@rsbuild/core@0.2.2) + specifier: 0.2.8 + version: 0.2.8(@babel/core@7.23.2)(@rsbuild/core@0.2.8) '@vant/eslint-config': specifier: workspace:^ version: link:../vant-eslint-config @@ -966,50 +963,50 @@ packages: resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} dev: true - /@rsbuild/core@0.2.2: - resolution: {integrity: sha512-ioD1SVb5DJacIgH2riodxf6SbRBKPLZ+7Kf/M0tlH9Yc+i1/6ULPiLZ4OxBBUNHWKg1F8mt2VhOPTVlOlGab/A==} + /@rsbuild/core@0.2.8: + resolution: {integrity: sha512-wl9u0ZRlCfBn9mQ+1TuFbT1gi3hYy7yw8zv8i/R0v2s4ydFkUuHFMIVbeBt0peKLLKRmYS3rYF/RcXUVhbfsyQ==} engines: {node: '>=14.0.0'} hasBin: true dependencies: - '@rsbuild/shared': 0.2.2 - '@rspack/core': 0.4.2 + '@rsbuild/shared': 0.2.8 + '@rspack/core': 0.4.4 core-js: 3.32.2 html-webpack-plugin: /html-rspack-plugin@5.5.7 postcss: 8.4.31 dev: false - /@rsbuild/plugin-babel@0.2.2: - resolution: {integrity: sha512-g7UzCm9QBD8fINO6xTbF4A1MMfVCemvFICaCmvFhOXnUAImmi3J+ByymrAoB1ynWQa++vgvqb0oaDnqvn3Gr+w==} + /@rsbuild/plugin-babel@0.2.8: + resolution: {integrity: sha512-G9xqPNOzD+hhH/ck8o+B7ginToZU9ZOv2J3dDOj7UrqpGeEp6JYFxflhQU69rLBw+FfxCghHtQzj66BccTOnmw==} dependencies: '@babel/core': 7.23.2 '@babel/preset-typescript': 7.23.2(@babel/core@7.23.2) - '@rsbuild/shared': 0.2.2 + '@rsbuild/shared': 0.2.8 '@types/babel__core': 7.20.5 upath: 2.0.1 transitivePeerDependencies: - supports-color dev: false - /@rsbuild/plugin-vue-jsx@0.2.2(@babel/core@7.23.2)(@rsbuild/core@0.2.2): - resolution: {integrity: sha512-Ysd7D1NhAxSamFKEfZWBpHaizIfOtRekm2M0wO2BXzIju6IGzGzBJmI8X7N1qp8br14v8fO7J0MvIrq2XladFg==} + /@rsbuild/plugin-vue-jsx@0.2.8(@babel/core@7.23.2)(@rsbuild/core@0.2.8): + resolution: {integrity: sha512-/A/hD3kAttJf4wLCVdtR/uhvfBOXsqsoulvrI1P8Tjb8mASEKXn5NDs/QxAF4oOuNoMCN37uilHkW+piF+Obkg==} peerDependencies: '@rsbuild/core': 0.x dependencies: - '@rsbuild/core': 0.2.2 - '@rsbuild/plugin-babel': 0.2.2 + '@rsbuild/core': 0.2.8 + '@rsbuild/plugin-babel': 0.2.8 '@vue/babel-plugin-jsx': 1.1.1(@babel/core@7.23.2) transitivePeerDependencies: - '@babel/core' - supports-color dev: false - /@rsbuild/plugin-vue@0.2.2(@rsbuild/core@0.2.2)(esbuild@0.18.20)(vue@3.3.4): - resolution: {integrity: sha512-qT54s3ME6caGXXUFTASh/lU1puD6Wjom5XGJrvPeFgOL15iQuIwRYQ7YcK8iYsmOkL3FxN0wFYPA7QaUVc6nZw==} + /@rsbuild/plugin-vue@0.2.8(@rsbuild/core@0.2.8)(esbuild@0.18.20)(vue@3.3.4): + resolution: {integrity: sha512-ezn3OaZs9nsaaZJopH5d8EfGnunezGOuC91aojFspTPTU+zrVzVJuvf4vU8YwLBYcvo/mR+O62b6RhUiWOhf2w==} peerDependencies: '@rsbuild/core': 0.x dependencies: - '@rsbuild/core': 0.2.2 - '@rsbuild/shared': 0.2.2 + '@rsbuild/core': 0.2.8 + '@rsbuild/shared': 0.2.8 vue-loader: 17.3.1(vue@3.3.4)(webpack@5.89.0) webpack: 5.89.0(esbuild@0.18.20) transitivePeerDependencies: @@ -1021,115 +1018,110 @@ packages: - webpack-cli dev: false - /@rsbuild/shared@0.2.2: - resolution: {integrity: sha512-Vom6tkImWSVdycXOaju6niU8Hh2/QwJTYutzLv7cIXFaWnmia1kZ3FRJ1EEmVhTTv5M4f/R0Pf67b8ek60ylNg==} + /@rsbuild/shared@0.2.8: + resolution: {integrity: sha512-87bdIgWYtFxDZGzFoJz21+RqMVLGXN40k6a00ldmaP4D+R95v/+S5NSvreG4im/kOo12RcW0LzuqE3QE0vtT6Q==} dependencies: - '@rspack/core': 0.4.2 + '@rspack/core': 0.4.4 caniuse-lite: 1.0.30001565 lodash: 4.17.21 postcss: 8.4.31 dev: false - /@rspack/binding-darwin-arm64@0.4.2: - resolution: {integrity: sha512-DLchrjW1tTTFjtysgqKo6O+RBr4nq7wT4C+wHYqMqByPfQ6m0WtuSORFRDBHBEWt5RQvcjt+mSDO76imiBzSyg==} + /@rspack/binding-darwin-arm64@0.4.4: + resolution: {integrity: sha512-40HUmnT/zHBcajcdTtIzorI1zpGZCpJBnis2rR3DzmBnD1fDLgu7PcW7iE11/MPmdwOYAZbCSzTZwe8hv0Skxw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /@rspack/binding-darwin-x64@0.4.2: - resolution: {integrity: sha512-NpGwHYcHxMwkdnn+g3LKCIcbogYrxvI3lHZZuZdbBf9tIOzYBgSq6RRmfIHIl/WQ9UVcnwjpb1zxUganmwhi7Q==} + /@rspack/binding-darwin-x64@0.4.4: + resolution: {integrity: sha512-8vXoqA0S+D7LnwGAsO5dEpxKV3np/iONPvwRhVl2cBtsFKYmnh3jG0oxtDamCUUw38Jc3VZQTeH7kUt5F8HB5g==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-arm64-gnu@0.4.2: - resolution: {integrity: sha512-m8kaD2EfdNHoHWZrnhYRvq/AP2K9ztrfeYLUC9qF8lDJW0cnI/easUigr0sfoPqml7iVVwsepKOQmjsDMvKT3A==} + /@rspack/binding-linux-arm64-gnu@0.4.4: + resolution: {integrity: sha512-lmLy9W14WcVjI1PuZVeq0TAGNFoeYjQswQHl0KCDURcxaBbVqGcNjPovhbib+5w9Gj4jQqqnVIUHs86vIqDwHQ==} cpu: [arm64] os: [linux] - libc: [glibc] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-arm64-musl@0.4.2: - resolution: {integrity: sha512-k5JhGPYjeZYDV819eNVrA1ajr/q+dBOb1mAwzuzgDJn38sMPLjj589XjlopuzY+JrpsQtP0p2iC/Yi+HPyYRmw==} + /@rspack/binding-linux-arm64-musl@0.4.4: + resolution: {integrity: sha512-wnranY+QPbGzrkfNneZkq839imrt+pfup1RpynfgrvjiWApDwvagTi9S8M7Og3u9m1CmJDrBq6yXgy4ffweygQ==} cpu: [arm64] os: [linux] - libc: [musl] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-x64-gnu@0.4.2: - resolution: {integrity: sha512-Su5AgvdSg4QNHeem3mFNY9VlaRKyK+sHjK+/RefP/l3sCRKUcGDLXcf8wUBy8//Mt/yJ88Z6jzB38vpFlnwsCA==} + /@rspack/binding-linux-x64-gnu@0.4.4: + resolution: {integrity: sha512-J0n+91NL9quEWYaStFitXC3+rbM+wklxCEHvkwfuzC46fGcG9673aTVfcrod1fx2jTHHaftXKb5Hpru77W0JAA==} cpu: [x64] os: [linux] - libc: [glibc] requiresBuild: true dev: false optional: true - /@rspack/binding-linux-x64-musl@0.4.2: - resolution: {integrity: sha512-1xEBR719aSxpgARpnhSOpyFYOEqLCdfdz+KaeMt5NCl4FJ0p/Ob6h27GRcWdK91MQgCV2/4az6THiN5YKGTM7A==} + /@rspack/binding-linux-x64-musl@0.4.4: + resolution: {integrity: sha512-ulIhvLzimHB5Ggp9TRJEFvyak/7OPzeVxFdP8nYNBHzPoYiqnK2MQUVOK7CT2hTpco1QJbh3jZTZxzdKIY5asw==} cpu: [x64] os: [linux] - libc: [musl] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-arm64-msvc@0.4.2: - resolution: {integrity: sha512-7iKlOtp2AQjPEA81tSxf9rKu1gE7b+rkMiJnnlzqfDjUvUk4zD71F6BdY9jXXiPjCTUfL5Oym8f1OMkjZsrjDA==} + /@rspack/binding-win32-arm64-msvc@0.4.4: + resolution: {integrity: sha512-t4u3jlx+0LDOY7Y8m9tLDHAsPN9aiyz/5NDHKqdDeke5NJZ2A4jbv+h/dvcyGH+Nxj056XW1aa9wzvzT9jb//A==} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-ia32-msvc@0.4.2: - resolution: {integrity: sha512-XXy3/I/TqpLTrHPqrfWkqzZC53gGqJ6BHuPkCRJQFVgJI9zdBADqumj7A2s7VuH411zZQrCQVa/YBWxXWlScxA==} + /@rspack/binding-win32-ia32-msvc@0.4.4: + resolution: {integrity: sha512-ijw4bmB8Zh8BkawPqIc8Q7VWr6bSw9trMqTtXwHrXAyKYCdyXMCYsGnj7Rc6CKKrV6D6nsDXtA8ANFqoKCuvyw==} cpu: [ia32] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding-win32-x64-msvc@0.4.2: - resolution: {integrity: sha512-OIMbPhhlGxwr6j4hQ7zeQAGMu217ZeV+/2PY+yQddgHUv/eFwH9MFhBZQc+k5Ad8+hurdyrLwOHGqjvo00ri/Q==} + /@rspack/binding-win32-x64-msvc@0.4.4: + resolution: {integrity: sha512-jpJPjfNTEbHBCOuZotXhpBpR0C1jTvHh6wlgPjP286JXaAhGv/PEzriuRdXw0RSet1tf1vqn/V4lFU5hZbXZIA==} cpu: [x64] os: [win32] requiresBuild: true dev: false optional: true - /@rspack/binding@0.4.2: - resolution: {integrity: sha512-2Rb4cmDxHOqAoExiB7RZGyMUp17kDUkcHoPIi3W803mclqwHU9XpLdIMggy0J2Ig2Kp8TCF0tpoUSu2UhgXQgA==} + /@rspack/binding@0.4.4: + resolution: {integrity: sha512-CrZH2Vpf4Axi23GlD8qesyxmpplkYo6o5MlPuUtqNGrIA3JpPSRtBVLOE1NsMZ3+hnDHJ5GWtWoWkEB0p3beBA==} optionalDependencies: - '@rspack/binding-darwin-arm64': 0.4.2 - '@rspack/binding-darwin-x64': 0.4.2 - '@rspack/binding-linux-arm64-gnu': 0.4.2 - '@rspack/binding-linux-arm64-musl': 0.4.2 - '@rspack/binding-linux-x64-gnu': 0.4.2 - '@rspack/binding-linux-x64-musl': 0.4.2 - '@rspack/binding-win32-arm64-msvc': 0.4.2 - '@rspack/binding-win32-ia32-msvc': 0.4.2 - '@rspack/binding-win32-x64-msvc': 0.4.2 + '@rspack/binding-darwin-arm64': 0.4.4 + '@rspack/binding-darwin-x64': 0.4.4 + '@rspack/binding-linux-arm64-gnu': 0.4.4 + '@rspack/binding-linux-arm64-musl': 0.4.4 + '@rspack/binding-linux-x64-gnu': 0.4.4 + '@rspack/binding-linux-x64-musl': 0.4.4 + '@rspack/binding-win32-arm64-msvc': 0.4.4 + '@rspack/binding-win32-ia32-msvc': 0.4.4 + '@rspack/binding-win32-x64-msvc': 0.4.4 dev: false - /@rspack/core@0.4.2: - resolution: {integrity: sha512-D5gKawtOMnzp0JIk62t09WrgqU1TR1X44km8mWZqGs5EunQVCvE5wW785cGOXgfuV8yxFXUKEqdHPg5Cp9fvEg==} + /@rspack/core@0.4.4: + resolution: {integrity: sha512-SL6g6ZPPOqPI1wuQrZlSXD73HUg7GO5+wFRSATRak9hZ3wzSvYmD0kRGSCc6Kpndn21pmMLeOXNHbk2bL+x37g==} engines: {node: '>=16.0.0'} dependencies: - '@rspack/binding': 0.4.2 + '@rspack/binding': 0.4.4 '@swc/helpers': 0.5.1 browserslist: 4.21.10 compare-versions: 6.0.0-rc.1 enhanced-resolve: 5.12.0 - fast-querystring: 1.1.2 graceful-fs: 4.2.10 json-parse-even-better-errors: 3.0.1 neo-async: 2.6.2 @@ -1708,7 +1700,7 @@ packages: dev: false /@xtuc/long@4.2.2: - resolution: {integrity: sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=} + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} dependencies: esbuild: 0.13.15 dev: false @@ -2569,10 +2561,6 @@ packages: engines: {node: '>=0.8.x'} dev: false - /fast-decode-uri-component@1.0.1: - resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} - dev: false - /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -2593,12 +2581,6 @@ packages: /fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - /fast-querystring@1.1.2: - resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==} - dependencies: - fast-decode-uri-component: 1.0.1 - dev: false - /fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} dependencies: