diff --git a/packages/vant/package.json b/packages/vant/package.json index 74ba4c091..5044121b4 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -61,7 +61,7 @@ "@vant/icons": "workspace:*", "@vitejs/plugin-vue": "^5.0.5", "@vitejs/plugin-vue-jsx": "^3.1.0", - "@vitest/coverage-istanbul": "^1.5.3", + "@vitest/coverage-istanbul": "^1.6.0", "@vue/runtime-core": "^3.4.27", "@vue/test-utils": "^2.4.6", "csstype": "^3.1.3", @@ -69,7 +69,7 @@ "jsdom": "^22.1.0", "typescript": "^5.4.5", "vite": "^5.2.12", - "vitest": "^1.5.3", + "vitest": "^1.6.0", "vitest-canvas-mock": "^0.3.3", "vue": "^3.4.27", "vue-router": "^4.3.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8325016c7..26e73e0ae 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -89,8 +89,8 @@ importers: specifier: ^3.1.0 version: 3.1.0(vite@5.2.12(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-istanbul': - specifier: ^1.5.3 - version: 1.5.3(vitest@1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)) + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)) '@vue/runtime-core': specifier: ^3.4.27 version: 3.4.27 @@ -113,11 +113,11 @@ importers: specifier: ^5.2.12 version: 5.2.12(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0) vitest: - specifier: ^1.5.3 - version: 1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) + specifier: ^1.6.0 + version: 1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)) + version: 0.3.3(vitest@1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)) vue: specifier: ^3.4.27 version: 3.4.27(typescript@5.4.5) @@ -976,43 +976,36 @@ packages: resolution: {integrity: sha512-XzOsnD6lGDP+k+vGgTYAryVGu8N89qpjMN5BVFUj75dGVFP3FzIVAufJAraxirpDwEQZA7Gjs0Vo5p4UmnnjsA==} cpu: [arm64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.15.0': resolution: {integrity: sha512-+ScJA4Epbx/ZQGjDnbvTAcb8ZD06b+TlIka2UkujbKf1I/A+yrvEcJwG3/27zMmvcWMQyeCJhbL9TlSjzL0B7Q==} cpu: [arm64] os: [linux] - libc: [musl] '@rollup/rollup-linux-powerpc64le-gnu@4.15.0': resolution: {integrity: sha512-1cUSvYgnyTakM4FDyf/GxUCDcqmj/hUh1NOizEOJU7+D5xEfFGCxgcNOs3hYBeRMUCcGmGkt01EhD3ILgKpGHQ==} cpu: [ppc64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.15.0': resolution: {integrity: sha512-3A1FbHDbBUvpJXFAZwVsiROIcstVHP9AX/cwnyIhAp+xyQ1cBCxywKtuzmw0Av1MDNNg/y/9dDHtNypfRa8bdw==} cpu: [riscv64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.15.0': resolution: {integrity: sha512-hYPbhg9ow6/mXIkojc8LOeiip2sCTuw1taWyoOXTOWk9vawIXz8x7B4KkgWUAtvAElssxhSyEXr2EZycH/FGzQ==} cpu: [s390x] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.15.0': resolution: {integrity: sha512-511qln5mPSUKwv7HI28S1jCD1FK+2WbX5THM9A9annr3c1kzmfnf8Oe3ZakubEjob3IV6OPnNNcesfy+adIrmw==} cpu: [x64] os: [linux] - libc: [glibc] '@rollup/rollup-linux-x64-musl@4.15.0': resolution: {integrity: sha512-4qKKGTDIv2bQZ+afhPWqPL+94+dLtk4lw1iwbcylKlLNqQ/Yyjof2CFYBxf6npiDzPV+zf4EWRiHb26/4Vsm9w==} cpu: [x64] os: [linux] - libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.15.0': resolution: {integrity: sha512-nEtaFBHp1OnbOf+tz66DtID579sNRHGgMC23to8HUyVuOCpCMD0CvRNqiDGLErLNnwApWIUtUl1VvuovCWUxwg==} @@ -1076,25 +1069,21 @@ packages: resolution: {integrity: sha512-jcengiNNBm/5u3gUzVduqMBJ2uzUgUE7e9D4WK/gHXSYkk0m25iLxLhDCSnWQKxAgv8Tu71zkOUsiliZqjqJdA==} cpu: [arm64] os: [linux] - libc: [glibc] '@rspack/binding-linux-arm64-musl@0.7.0': resolution: {integrity: sha512-CHeuGNeztufbHChQ6TyBin4R0iDE0c10J4/7XoX6DiDlDLoFRdB5OF55UeD9g+W/dj1MeZfkW38kezjQdi/vSg==} cpu: [arm64] os: [linux] - libc: [musl] '@rspack/binding-linux-x64-gnu@0.7.0': resolution: {integrity: sha512-p0fQaiy9Sdyu3GTd8dfvOeAfyM9y08XuRAQdGDy5AcxZvbHZW/h7Jww5bXdbzIf49p8ojEvLG7qfg953a81n4A==} cpu: [x64] os: [linux] - libc: [glibc] '@rspack/binding-linux-x64-musl@0.7.0': resolution: {integrity: sha512-+PwF/Kw40i9+zze/Ys2OhyN2fKcnYGo2V3cp9xTn+8R+CzQhZh9cAU/1DVDJpnTs0p9wKktAp8nIQTcVrWzK7A==} cpu: [x64] os: [linux] - libc: [musl] '@rspack/binding-win32-arm64-msvc@0.7.0': resolution: {integrity: sha512-OJj6JHAzdvPeKagLnFcHRTd7/ybERTj7hoAWsagdLsYAB8i/hBIah4U92RArYfQJLkvZbqsiimhGTwTZPh0Miw==} @@ -1262,25 +1251,25 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitest/coverage-istanbul@1.5.3': - resolution: {integrity: sha512-mZrrqe5cgZJ5MsewF68xBwfPCeWPAoUn5HfZDIL1msv+EIJ/ifqF9aeZ/Q4kErtHS9RTBdCmkNC2dlx0F5lEKw==} + '@vitest/coverage-istanbul@1.6.0': + resolution: {integrity: sha512-h/BwpXehkkS0qsNCS00QxiupAqVkNi0WT19BR0dQvlge5oHghoSVLx63fABYFoKxVb7Ue7+k6V2KokmQ1zdMpg==} peerDependencies: - vitest: 1.5.3 + vitest: 1.6.0 - '@vitest/expect@1.5.3': - resolution: {integrity: sha512-y+waPz31pOFr3rD7vWTbwiLe5+MgsMm40jTZbQE8p8/qXyBX3CQsIXRx9XK12IbY7q/t5a5aM/ckt33b4PxK2g==} + '@vitest/expect@1.6.0': + resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} - '@vitest/runner@1.5.3': - resolution: {integrity: sha512-7PlfuReN8692IKQIdCxwir1AOaP5THfNkp0Uc4BKr2na+9lALNit7ub9l3/R7MP8aV61+mHKRGiqEKRIwu6iiQ==} + '@vitest/runner@1.6.0': + resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} - '@vitest/snapshot@1.5.3': - resolution: {integrity: sha512-K3mvIsjyKYBhNIDujMD2gfQEzddLe51nNOAf45yKRt/QFJcUIeTQd2trRvv6M6oCBHNVnZwFWbQ4yj96ibiDsA==} + '@vitest/snapshot@1.6.0': + resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} - '@vitest/spy@1.5.3': - resolution: {integrity: sha512-Llj7Jgs6lbnL55WoshJUUacdJfjU2honvGcAJBxhra5TPEzTJH8ZuhI3p/JwqqfnTr4PmP7nDmOXP53MS7GJlg==} + '@vitest/spy@1.6.0': + resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} - '@vitest/utils@1.5.3': - resolution: {integrity: sha512-rE9DTN1BRhzkzqNQO+kw8ZgfeEBCLXiHJwetk668shmNBpSagQxneT5eSqEBLP+cqSiAeecvQmbpFfdMyLcIQA==} + '@vitest/utils@1.6.0': + resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} '@vue/babel-helper-vue-transform-on@1.2.2': resolution: {integrity: sha512-nOttamHUR3YzdEqdM/XXDyCSdxMA9VizUKoroLX6yTyRtggzQMHXcmwh8a7ZErcJttIBIc9s68a1B8GZ+Dmvsw==} @@ -1397,7 +1386,7 @@ packages: resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} '@xtuc/long@4.2.2': - resolution: {integrity: sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=} + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} @@ -2862,8 +2851,8 @@ packages: varint@6.0.0: resolution: {integrity: sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==} - vite-node@1.5.3: - resolution: {integrity: sha512-axFo00qiCpU/JLd8N1gu9iEYL3xTbMbMrbe5nDp9GL0nb6gurIdZLkkFogZXWnE8Oyy5kfSLwNVIcVsnhE7lgQ==} + vite-node@1.6.0: + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -2900,15 +2889,15 @@ packages: peerDependencies: vitest: '*' - vitest@1.5.3: - resolution: {integrity: sha512-2oM7nLXylw3mQlW6GXnRriw+7YvZFk/YNV8AxIC3Z3MfFbuziLGWP9GPxxu/7nRlXhqyxBikpamr+lEEj1sUEw==} + vitest@1.6.0: + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.5.3 - '@vitest/ui': 1.5.3 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -3226,7 +3215,7 @@ snapshots: '@babel/helper-member-expression-to-functions@7.23.0': dependencies: - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@babel/helper-member-expression-to-functions@7.24.6': dependencies: @@ -3238,7 +3227,7 @@ snapshots: '@babel/helper-module-imports@7.24.3': dependencies: - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@babel/helper-module-imports@7.24.6': dependencies: @@ -3264,7 +3253,7 @@ snapshots: '@babel/helper-optimise-call-expression@7.22.5': dependencies: - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@babel/helper-optimise-call-expression@7.24.6': dependencies: @@ -3290,7 +3279,7 @@ snapshots: '@babel/helper-simple-access@7.22.5': dependencies: - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@babel/helper-simple-access@7.24.6': dependencies: @@ -3298,7 +3287,7 @@ snapshots: '@babel/helper-skip-transparent-expression-wrappers@7.22.5': dependencies: - '@babel/types': 7.24.5 + '@babel/types': 7.24.6 '@babel/helper-skip-transparent-expression-wrappers@7.24.6': dependencies: @@ -3479,8 +3468,8 @@ snapshots: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.24.5 - '@babel/parser': 7.24.5 - '@babel/types': 7.24.5 + '@babel/parser': 7.24.6 + '@babel/types': 7.24.6 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: @@ -4049,7 +4038,7 @@ snapshots: vite: 5.2.12(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-istanbul@1.5.3(vitest@1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0))': + '@vitest/coverage-istanbul@1.6.0(vitest@1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0))': dependencies: debug: 4.3.4 istanbul-lib-coverage: 3.2.2 @@ -4060,33 +4049,33 @@ snapshots: magicast: 0.3.4 picocolors: 1.0.1 test-exclude: 6.0.0 - vitest: 1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) + vitest: 1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) transitivePeerDependencies: - supports-color - '@vitest/expect@1.5.3': + '@vitest/expect@1.6.0': dependencies: - '@vitest/spy': 1.5.3 - '@vitest/utils': 1.5.3 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 chai: 4.4.1 - '@vitest/runner@1.5.3': + '@vitest/runner@1.6.0': dependencies: - '@vitest/utils': 1.5.3 + '@vitest/utils': 1.6.0 p-limit: 5.0.0 pathe: 1.1.2 - '@vitest/snapshot@1.5.3': + '@vitest/snapshot@1.6.0': dependencies: magic-string: 0.30.10 pathe: 1.1.2 pretty-format: 29.7.0 - '@vitest/spy@1.5.3': + '@vitest/spy@1.6.0': dependencies: tinyspy: 2.2.1 - '@vitest/utils@1.5.3': + '@vitest/utils@1.6.0': dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -4151,7 +4140,7 @@ snapshots: '@vue/compiler-core@3.4.26': dependencies: - '@babel/parser': 7.24.5 + '@babel/parser': 7.24.6 '@vue/shared': 3.4.26 entities: 4.5.0 estree-walker: 2.0.2 @@ -4981,7 +4970,7 @@ snapshots: istanbul-lib-instrument@6.0.2: dependencies: '@babel/core': 7.24.6 - '@babel/parser': 7.24.4 + '@babel/parser': 7.24.6 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.0 @@ -5154,8 +5143,8 @@ snapshots: magicast@0.3.4: dependencies: - '@babel/parser': 7.24.4 - '@babel/types': 7.24.0 + '@babel/parser': 7.24.6 + '@babel/types': 7.24.6 source-map-js: 1.2.0 make-dir@2.1.0: @@ -5731,7 +5720,7 @@ snapshots: varint@6.0.0: {} - vite-node@1.5.3(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0): + vite-node@1.6.0(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0): dependencies: cac: 6.7.14 debug: 4.3.4 @@ -5759,18 +5748,18 @@ snapshots: less: 4.2.0 terser: 5.31.0 - vitest-canvas-mock@0.3.3(vitest@1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)): + vitest-canvas-mock@0.3.3(vitest@1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0)): dependencies: jest-canvas-mock: 2.5.2 - vitest: 1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) + vitest: 1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0) - vitest@1.5.3(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0): + vitest@1.6.0(@types/node@18.19.33)(jsdom@22.1.0)(less@4.2.0)(terser@5.31.0): dependencies: - '@vitest/expect': 1.5.3 - '@vitest/runner': 1.5.3 - '@vitest/snapshot': 1.5.3 - '@vitest/spy': 1.5.3 - '@vitest/utils': 1.5.3 + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 acorn-walk: 8.3.2 chai: 4.4.1 debug: 4.3.4 @@ -5784,7 +5773,7 @@ snapshots: tinybench: 2.7.0 tinypool: 0.8.4 vite: 5.2.12(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0) - vite-node: 1.5.3(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0) + vite-node: 1.6.0(@types/node@18.19.33)(less@4.2.0)(terser@5.31.0) why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 18.19.33