diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index 66cf66d4c..1be80629c 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -54,7 +54,7 @@ "@rsbuild/plugin-vue-jsx": "0.6.4", "@vant/eslint-config": "workspace:^", "@vant/touch-emulator": "workspace:^", - "@vitejs/plugin-vue": "^4.6.2", + "@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue-jsx": "^3.1.0", "@vue/babel-plugin-jsx": "^1.2.2", "autoprefixer": "^10.4.19", diff --git a/packages/vant/package.json b/packages/vant/package.json index 6d1371c56..9d9d77bc7 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -59,7 +59,7 @@ "@vant/cli": "workspace:*", "@vant/eslint-config": "workspace:*", "@vant/icons": "workspace:*", - "@vitejs/plugin-vue": "^4.6.2", + "@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue-jsx": "^3.1.0", "@vitest/coverage-istanbul": "^1.1.3", "@vue/runtime-core": "^3.4.23", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8565b376..fae1da240 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -83,8 +83,8 @@ importers: specifier: workspace:* version: link:../vant-icons '@vitejs/plugin-vue': - specifier: ^4.6.2 - version: 4.6.2(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) + specifier: ^5.0.4 + version: 5.0.4(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 version: 3.1.0(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) @@ -173,8 +173,8 @@ importers: specifier: workspace:^ version: link:../vant-touch-emulator '@vitejs/plugin-vue': - specifier: ^4.6.2 - version: 4.6.2(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) + specifier: ^5.0.4 + version: 5.0.4(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 version: 3.1.0(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5)) @@ -1060,11 +1060,11 @@ packages: vite: ^4.0.0 || ^5.0.0 vue: ^3.0.0 - '@vitejs/plugin-vue@4.6.2': - resolution: {integrity: sha512-kqf7SGFoG+80aZG6Pf+gsZIVvGSCKE98JbiWqcCV9cThtg91Jav0yvYFC9Zb+jKetNGF6ZKeoaxgZfND21fWKw==} - engines: {node: ^14.18.0 || >=16.0.0} + '@vitejs/plugin-vue@5.0.4': + resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} + engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: ^4.0.0 || ^5.0.0 + vite: ^5.0.0 vue: ^3.2.25 '@vitest/coverage-istanbul@1.5.0': @@ -1370,7 +1370,7 @@ packages: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} concat-map@0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} confbox@0.1.7: resolution: {integrity: sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA==} @@ -1518,95 +1518,6 @@ packages: es-module-lexer@1.5.0: resolution: {integrity: sha512-pqrTKmwEIgafsYZAGw9kszYzmagcE/n4dbgwGWLEXg7J4QFJVQRBld8j3Q3GNez79jzxZshq0bcT962QHOghjw==} - esbuild-android-arm64@0.13.15: - resolution: {integrity: sha512-m602nft/XXeO8YQPUDVoHfjyRVPdPgjyyXOxZ44MK/agewFFkPa8tUo6lAzSWh5Ui5PB4KR9UIFTSBKh/RrCmg==} - cpu: [arm64] - os: [android] - - esbuild-darwin-64@0.13.15: - resolution: {integrity: sha512-ihOQRGs2yyp7t5bArCwnvn2Atr6X4axqPpEdCFPVp7iUj4cVSdisgvEKdNR7yH3JDjW6aQDw40iQFoTqejqxvQ==} - cpu: [x64] - os: [darwin] - - esbuild-darwin-arm64@0.13.15: - resolution: {integrity: sha512-i1FZssTVxUqNlJ6cBTj5YQj4imWy3m49RZRnHhLpefFIh0To05ow9DTrXROTE1urGTQCloFUXTX8QfGJy1P8dQ==} - cpu: [arm64] - os: [darwin] - - esbuild-freebsd-64@0.13.15: - resolution: {integrity: sha512-G3dLBXUI6lC6Z09/x+WtXBXbOYQZ0E8TDBqvn7aMaOCzryJs8LyVXKY4CPnHFXZAbSwkCbqiPuSQ1+HhrNk7EA==} - cpu: [x64] - os: [freebsd] - - esbuild-freebsd-arm64@0.13.15: - resolution: {integrity: sha512-KJx0fzEDf1uhNOZQStV4ujg30WlnwqUASaGSFPhznLM/bbheu9HhqZ6mJJZM32lkyfGJikw0jg7v3S0oAvtvQQ==} - cpu: [arm64] - os: [freebsd] - - esbuild-linux-32@0.13.15: - resolution: {integrity: sha512-ZvTBPk0YWCLMCXiFmD5EUtB30zIPvC5Itxz0mdTu/xZBbbHJftQgLWY49wEPSn2T/TxahYCRDWun5smRa0Tu+g==} - cpu: [ia32] - os: [linux] - - esbuild-linux-64@0.13.15: - resolution: {integrity: sha512-eCKzkNSLywNeQTRBxJRQ0jxRCl2YWdMB3+PkWFo2BBQYC5mISLIVIjThNtn6HUNqua1pnvgP5xX0nHbZbPj5oA==} - cpu: [x64] - os: [linux] - - esbuild-linux-arm64@0.13.15: - resolution: {integrity: sha512-bYpuUlN6qYU9slzr/ltyLTR9YTBS7qUDymO8SV7kjeNext61OdmqFAzuVZom+OLW1HPHseBfJ/JfdSlx8oTUoA==} - cpu: [arm64] - os: [linux] - - esbuild-linux-arm@0.13.15: - resolution: {integrity: sha512-wUHttDi/ol0tD8ZgUMDH8Ef7IbDX+/UsWJOXaAyTdkT7Yy9ZBqPg8bgB/Dn3CZ9SBpNieozrPRHm0BGww7W/jA==} - cpu: [arm] - os: [linux] - - esbuild-linux-mips64le@0.13.15: - resolution: {integrity: sha512-KlVjIG828uFPyJkO/8gKwy9RbXhCEUeFsCGOJBepUlpa7G8/SeZgncUEz/tOOUJTcWMTmFMtdd3GElGyAtbSWg==} - cpu: [mips64el] - os: [linux] - - esbuild-linux-ppc64le@0.13.15: - resolution: {integrity: sha512-h6gYF+OsaqEuBjeesTBtUPw0bmiDu7eAeuc2OEH9S6mV9/jPhPdhOWzdeshb0BskRZxPhxPOjqZ+/OqLcxQwEQ==} - cpu: [ppc64] - os: [linux] - - esbuild-netbsd-64@0.13.15: - resolution: {integrity: sha512-3+yE9emwoevLMyvu+iR3rsa+Xwhie7ZEHMGDQ6dkqP/ndFzRHkobHUKTe+NCApSqG5ce2z4rFu+NX/UHnxlh3w==} - cpu: [x64] - os: [netbsd] - - esbuild-openbsd-64@0.13.15: - resolution: {integrity: sha512-wTfvtwYJYAFL1fSs8yHIdf5GEE4NkbtbXtjLWjM3Cw8mmQKqsg8kTiqJ9NJQe5NX/5Qlo7Xd9r1yKMMkHllp5g==} - cpu: [x64] - os: [openbsd] - - esbuild-sunos-64@0.13.15: - resolution: {integrity: sha512-lbivT9Bx3t1iWWrSnGyBP9ODriEvWDRiweAs69vI+miJoeKwHWOComSRukttbuzjZ8r1q0mQJ8Z7yUsDJ3hKdw==} - cpu: [x64] - os: [sunos] - - esbuild-windows-32@0.13.15: - resolution: {integrity: sha512-fDMEf2g3SsJ599MBr50cY5ve5lP1wyVwTe6aLJsM01KtxyKkB4UT+fc5MXQFn3RLrAIAZOG+tHC+yXObpSn7Nw==} - cpu: [ia32] - os: [win32] - - esbuild-windows-64@0.13.15: - resolution: {integrity: sha512-9aMsPRGDWCd3bGjUIKG/ZOJPKsiztlxl/Q3C1XDswO6eNX/Jtwu4M+jb6YDH9hRSUflQWX0XKAfWzgy5Wk54JQ==} - cpu: [x64] - os: [win32] - - esbuild-windows-arm64@0.13.15: - resolution: {integrity: sha512-zzvyCVVpbwQQATaf3IG8mu1IwGEiDxKkYUdA4FpoCHi1KtPa13jeScYDjlW0Qh+ebWzpKfR2ZwvqAQkSWNcKjA==} - cpu: [arm64] - os: [win32] - - esbuild@0.13.15: - resolution: {integrity: sha512-raCxt02HBKv8RJxE8vkTSCXGIyKHdEdGfUmiYb8wnabnaEmHzyW7DCHb5tEN0xU8ryqg5xw54mcwnYkC4x3AIw==} - hasBin: true - esbuild@0.20.2: resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} engines: {node: '>=12'} @@ -3567,7 +3478,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@4.6.2(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.4(vite@5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3))(vue@3.4.23(typescript@5.4.5))': dependencies: vite: 5.2.9(@types/node@18.19.31)(less@4.2.0)(terser@5.30.3) vue: 3.4.23(typescript@5.4.5) @@ -3783,9 +3694,7 @@ snapshots: '@xtuc/ieee754@1.2.0': {} - '@xtuc/long@4.2.2': - dependencies: - esbuild: 0.13.15 + '@xtuc/long@4.2.2': {} abab@2.0.6: {} @@ -4086,77 +3995,6 @@ snapshots: es-module-lexer@1.5.0: {} - esbuild-android-arm64@0.13.15: - optional: true - - esbuild-darwin-64@0.13.15: - optional: true - - esbuild-darwin-arm64@0.13.15: - optional: true - - esbuild-freebsd-64@0.13.15: - optional: true - - esbuild-freebsd-arm64@0.13.15: - optional: true - - esbuild-linux-32@0.13.15: - optional: true - - esbuild-linux-64@0.13.15: - optional: true - - esbuild-linux-arm64@0.13.15: - optional: true - - esbuild-linux-arm@0.13.15: - optional: true - - esbuild-linux-mips64le@0.13.15: - optional: true - - esbuild-linux-ppc64le@0.13.15: - optional: true - - esbuild-netbsd-64@0.13.15: - optional: true - - esbuild-openbsd-64@0.13.15: - optional: true - - esbuild-sunos-64@0.13.15: - optional: true - - esbuild-windows-32@0.13.15: - optional: true - - esbuild-windows-64@0.13.15: - optional: true - - esbuild-windows-arm64@0.13.15: - optional: true - - esbuild@0.13.15: - optionalDependencies: - esbuild-android-arm64: 0.13.15 - esbuild-darwin-64: 0.13.15 - esbuild-darwin-arm64: 0.13.15 - esbuild-freebsd-64: 0.13.15 - esbuild-freebsd-arm64: 0.13.15 - esbuild-linux-32: 0.13.15 - esbuild-linux-64: 0.13.15 - esbuild-linux-arm: 0.13.15 - esbuild-linux-arm64: 0.13.15 - esbuild-linux-mips64le: 0.13.15 - esbuild-linux-ppc64le: 0.13.15 - esbuild-netbsd-64: 0.13.15 - esbuild-openbsd-64: 0.13.15 - esbuild-sunos-64: 0.13.15 - esbuild-windows-32: 0.13.15 - esbuild-windows-64: 0.13.15 - esbuild-windows-arm64: 0.13.15 - esbuild@0.20.2: optionalDependencies: '@esbuild/aix-ppc64': 0.20.2