From 5cbc030a330b4c309c54491302a19fb95499e1cb Mon Sep 17 00:00:00 2001 From: Eiinu Date: Tue, 5 Dec 2023 11:58:59 +0800 Subject: [PATCH] chore(deps): bump vitest to 1.0 --- package.json | 6 +- pnpm-lock.yaml | 198 ++- .../__snapshots__/index.spec.ts.snap | 16 +- .../__snapshots__/address.spec.ts.snap | 46 +- .../__snapshots__/avatar.spec.tsx.snap | 16 +- .../__snapshots__/avatarcropper.spec.ts.snap | 36 +- .../__snapshots__/badge.spec.ts.snap | 22 +- .../__VUE/button/__tests__/button.spec.ts | 2 +- .../__snapshots__/calendar.spec.ts.snap | 834 +++++----- .../__snapshots__/index.spec.ts.snap | 98 +- .../__snapshots__/cascader.spec.ts.snap | 1478 ++++++++--------- .../__tests__/__snapshots__/cell.spec.ts.snap | 34 +- .../__snapshots__/index.spec.ts.snap | 2 +- .../__snapshots__/checkbox.spec.ts.snap | 6 +- .../__snapshots__/index.spec.ts.snap | 8 +- .../__snapshots__/collapse.spec.tsx.snap | 84 +- .../__snapshots__/configprovider.spec.ts.snap | 8 +- .../__snapshots__/function.spec.ts.snap | 4 +- .../__snapshots__/divider.spec.ts.snap | 2 +- .../__snapshots__/index.spec.ts.snap | 2 +- .../__snapshots__/index.spec.ts.snap | 32 +- .../__snapshots__/ellipsis.spec.ts.snap | 6 +- .../__tests__/__snapshots__/grid.spec.ts.snap | 90 +- .../__snapshots__/image.spec.ts.snap | 16 +- .../infiniteloading.spec.ts.snap | 8 +- .../__snapshots__/input.spec.ts.snap | 12 +- .../__snapshots__/index.spec.ts.snap | 8 +- .../__snapshots__/navbar.spec.ts.snap | 10 +- .../__snapshots__/noticebar.spec.ts.snap | 60 +- .../__snapshots__/notify.spec.ts.snap | 6 +- .../__snapshots__/overlay.spec.ts.snap | 4 +- .../__snapshots__/index.spec.ts.snap | 36 +- .../__snapshots__/index.spec.ts.snap | 8 +- .../__snapshots__/rate.spec.tsx.snap | 4 +- .../__snapshots__/searchbar.spec.ts.snap | 14 +- .../__snapshots__/skeleton.spec.ts.snap | 12 +- .../__snapshots__/space.spec.ts.snap | 26 +- .../__snapshots__/index.spec.ts.snap | 8 +- .../__snapshots__/switch.spec.ts.snap | 4 +- .../__snapshots__/index.spec.tsx.snap | 56 +- .../__snapshots__/trendarrow.spec.ts.snap | 4 +- .../__snapshots__/index.spec.ts.snap | 16 +- .../__snapshots__/video.spec.ts.snap | 34 +- vitest.config.ts | 1 + 44 files changed, 1702 insertions(+), 1675 deletions(-) diff --git a/package.json b/package.json index 220bd6fb54..1dd905a98e 100644 --- a/package.json +++ b/package.json @@ -85,8 +85,8 @@ "@types/node": "^18.18.5", "@vitejs/plugin-vue": "^4.5.0", "@vitejs/plugin-vue-jsx": "^3.1.0", - "@vitest/coverage-v8": "^0.34.6", - "@vitest/ui": "^0.34.6", + "@vitest/coverage-v8": "^1.0.1", + "@vitest/ui": "^1.0.1", "@vue/test-utils": "^2.4.1", "autoprefixer": "^10.4.16", "codesandbox": "^2.2.3", @@ -102,7 +102,7 @@ "typescript": "^5.2.2", "unplugin-vue-components": "^0.26.0", "vite": "^5.0.2", - "vitest": "^0.34.6", + "vitest": "^1.0.1", "vitest-canvas-mock": "^0.3.3", "vue": "^3.3.4", "vue-tsc": "^1.8.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fcfe008743..c6c57761d1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,11 +52,11 @@ importers: specifier: ^3.1.0 version: 3.1.0(vite@5.0.2)(vue@3.3.4) '@vitest/coverage-v8': - specifier: ^0.34.6 - version: 0.34.6(vitest@0.34.6) + specifier: ^1.0.1 + version: 1.0.1(vitest@1.0.1) '@vitest/ui': - specifier: ^0.34.6 - version: 0.34.6(vitest@0.34.6) + specifier: ^1.0.1 + version: 1.0.1(vitest@1.0.1) '@vue/test-utils': specifier: ^2.4.1 version: 2.4.1(vue@3.3.4) @@ -106,11 +106,11 @@ importers: specifier: ^0.8.0 version: 0.8.1(vite@5.0.2) vitest: - specifier: ^0.34.6 - version: 0.34.6(@vitest/ui@0.34.6)(sass@1.69.3) + specifier: ^1.0.1 + version: 1.0.1(@types/node@18.18.5)(@vitest/ui@1.0.1)(sass@1.69.3) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@0.34.6) + version: 0.3.3(vitest@1.0.1) vue: specifier: ^3.3.4 version: 3.3.4 @@ -3583,16 +3583,6 @@ packages: '@types/node': 18.18.5 dev: true - /@types/chai-subset@1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} - dependencies: - '@types/chai': 4.3.8 - dev: true - - /@types/chai@4.3.8: - resolution: {integrity: sha512-yW/qTM4mRBBcsA9Xw9FbcImYtFPY7sgr+G/O5RDYVmxiy9a+pE5FyoFUi8JYCZY5nicj8atrr1pcfPiYpeNGOA==} - dev: true - /@types/connect-history-api-fallback@1.5.1: resolution: {integrity: sha512-iaQslNbARe8fctL5Lk+DsmgWOM83lM+7FzP0eQUJs1jd3kBE8NWqBTIT2S8SqQOJjxvt2eyIjpOuYeRXq2AdMw==} dependencies: @@ -4128,74 +4118,76 @@ packages: vue: 3.3.9(typescript@5.2.2) dev: true - /@vitest/coverage-v8@0.34.6(vitest@0.34.6): - resolution: {integrity: sha512-fivy/OK2d/EsJFoEoxHFEnNGTg+MmdZBAVK9Ka4qhXR2K3J0DS08vcGVwzDtXSuUMabLv4KtPcpSKkcMXFDViw==} + /@vitest/coverage-v8@1.0.1(vitest@1.0.1): + resolution: {integrity: sha512-Z4a7ig4VjUCT/P+LRB3IZrBRXb9xWRUM8rSBH9cKgfrU1Oe01/K2WJKtGshOnQwXZoSfQtwCGpbnHmB/qJwjcw==} peerDependencies: - vitest: '>=0.32.0 <1' + vitest: ^1.0.0 dependencies: '@ampproject/remapping': 2.2.1 '@bcoe/v8-coverage': 0.2.3 - istanbul-lib-coverage: 3.2.0 + debug: 4.3.4 + istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.6 magic-string: 0.30.5 + magicast: 0.3.2 picocolors: 1.0.0 - std-env: 3.4.3 + std-env: 3.6.0 test-exclude: 6.0.0 - v8-to-istanbul: 9.1.3 - vitest: 0.34.6(@vitest/ui@0.34.6)(sass@1.69.3) + v8-to-istanbul: 9.2.0 + vitest: 1.0.1(@types/node@18.18.5)(@vitest/ui@1.0.1)(sass@1.69.3) transitivePeerDependencies: - supports-color dev: true - /@vitest/expect@0.34.6: - resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + /@vitest/expect@1.0.1: + resolution: {integrity: sha512-3cdrb/eKD/0tygDX75YscuHEHMUJ70u3UoLSq2eqhWks57AyzvsDQbyn53IhZ0tBN7gA8Jj2VhXiOV2lef7thw==} dependencies: - '@vitest/spy': 0.34.6 - '@vitest/utils': 0.34.6 + '@vitest/spy': 1.0.1 + '@vitest/utils': 1.0.1 chai: 4.3.10 dev: true - /@vitest/runner@0.34.6: - resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + /@vitest/runner@1.0.1: + resolution: {integrity: sha512-/+z0vhJ0MfRPT3AyTvAK6m57rzlew/ct8B2a4LMv7NhpPaiI2QLGyOBMB3lcioWdJHjRuLi9aYppfOv0B5aRQA==} dependencies: - '@vitest/utils': 0.34.6 - p-limit: 4.0.0 + '@vitest/utils': 1.0.1 + p-limit: 5.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@0.34.6: - resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + /@vitest/snapshot@1.0.1: + resolution: {integrity: sha512-wIPtPDGSxEZ+DpNMc94AsybX6LV6uN6sosf5TojyP1m2QbKwiRuLV/5RSsjt1oWViHsTj8mlcwrQQ1zHGO0fMw==} dependencies: magic-string: 0.30.5 pathe: 1.1.1 pretty-format: 29.7.0 dev: true - /@vitest/spy@0.34.6: - resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==} + /@vitest/spy@1.0.1: + resolution: {integrity: sha512-yXwm1uKhBVr/5MhVeSmtNqK+0q2RXIchJt8kokEKdrWLtkPeDgdbZ6SjR1VQGZuNdWL6sSBnLayIyVvcS0qLfA==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/ui@0.34.6(vitest@0.34.6): - resolution: {integrity: sha512-/fxnCwGC0Txmr3tF3BwAbo3v6U2SkBTGR9UB8zo0Ztlx0BTOXHucE0gDHY7SjwEktCOHatiGmli9kZD6gYSoWQ==} + /@vitest/ui@1.0.1(vitest@1.0.1): + resolution: {integrity: sha512-3hFMgy/RExKi7UlYEqqnZ65QALdkgXyW1k7Zn7PykVmVBcKe/aI4ZpZ006WeTWvnUWeR+37lbpUD0JhnmKn72A==} peerDependencies: - vitest: '>=0.30.1 <1' + vitest: ^1.0.0 dependencies: - '@vitest/utils': 0.34.6 - fast-glob: 3.3.1 + '@vitest/utils': 1.0.1 + fast-glob: 3.3.2 fflate: 0.8.1 flatted: 3.2.9 pathe: 1.1.1 picocolors: 1.0.0 sirv: 2.0.3 - vitest: 0.34.6(@vitest/ui@0.34.6)(sass@1.69.3) + vitest: 1.0.1(@types/node@18.18.5)(@vitest/ui@1.0.1)(sass@1.69.3) dev: true - /@vitest/utils@0.34.6: - resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + /@vitest/utils@1.0.1: + resolution: {integrity: sha512-MGPCHkzXbbAyscrhwGzh8uP1HPrTYLWaj1WTDtWSGrpe2yJWLRN9mF9ooKawr6NMOg9vTBtg2JqWLfuLC7Dknw==} dependencies: diff-sequences: 29.6.3 loupe: 2.3.7 @@ -4769,6 +4761,11 @@ packages: engines: {node: '>=0.4.0'} dev: true + /acorn-walk@8.3.0: + resolution: {integrity: sha512-FS7hV565M5l1R08MXqo8odwMTB02C2UqzB17RVgu9EyuYFBqJZ3/ZY97sQD5FewVu1UyDFc1yztUDrAwT0EypA==} + engines: {node: '>=0.4.0'} + dev: true + /acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} engines: {node: '>=0.4.0'} @@ -8167,6 +8164,17 @@ packages: merge2: 1.4.1 micromatch: 4.0.5 + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + /fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} @@ -9889,8 +9897,8 @@ packages: resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} dev: true - /istanbul-lib-coverage@3.2.0: - resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} + /istanbul-lib-coverage@3.2.2: + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} engines: {node: '>=8'} dev: true @@ -9898,7 +9906,7 @@ packages: resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} engines: {node: '>=10'} dependencies: - istanbul-lib-coverage: 3.2.0 + istanbul-lib-coverage: 3.2.2 make-dir: 4.0.0 supports-color: 7.2.0 dev: true @@ -9908,7 +9916,7 @@ packages: engines: {node: '>=10'} dependencies: debug: 4.3.4 - istanbul-lib-coverage: 3.2.0 + istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: - supports-color @@ -10521,6 +10529,14 @@ packages: engines: {node: '>=14'} dev: true + /local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + dependencies: + mlly: 1.4.2 + pkg-types: 1.0.3 + dev: true + /locate-path@3.0.0: resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} engines: {node: '>=6'} @@ -10712,6 +10728,14 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 + /magicast@0.3.2: + resolution: {integrity: sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==} + dependencies: + '@babel/parser': 7.23.4 + '@babel/types': 7.23.4 + source-map-js: 1.0.2 + dev: true + /make-dir@1.3.0: resolution: {integrity: sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==} engines: {node: '>=4'} @@ -11785,6 +11809,13 @@ packages: yocto-queue: 1.0.0 dev: true + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} @@ -13972,6 +14003,10 @@ packages: resolution: {integrity: sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==} dev: true + /std-env@3.6.0: + resolution: {integrity: sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg==} + dev: true + /stream-each@1.2.3: resolution: {integrity: sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==} dependencies: @@ -14567,8 +14602,8 @@ packages: resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} dev: true - /tinypool@0.7.0: - resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + /tinypool@0.8.1: + resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} engines: {node: '>=14.0.0'} dev: true @@ -15229,8 +15264,8 @@ packages: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} dev: true - /v8-to-istanbul@9.1.3: - resolution: {integrity: sha512-9lDD+EVI2fjFsMWXc6dy5JJzBsVTcQ2fVkfBvncZ6xJWG9wtBhOldG+mHkSL0+V1K/xgZz0JDO5UT5hFwHUghg==} + /v8-to-istanbul@9.2.0: + resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: '@jridgewell/trace-mapping': 0.3.19 @@ -15295,14 +15330,13 @@ packages: replace-ext: 1.0.1 dev: true - /vite-node@0.34.6(@types/node@18.18.5)(sass@1.69.3): - resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} - engines: {node: '>=v14.18.0'} + /vite-node@1.0.1(@types/node@18.18.5)(sass@1.69.3): + resolution: {integrity: sha512-Y2Jnz4cr2azsOMMYuVPrQkp3KMnS/0WV8ezZjCy4hU7O5mUHCAVOnFmoEvs1nvix/4mYm74Len8bYRWZJMNP6g==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: cac: 6.7.14 debug: 4.3.4 - mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 vite: 5.0.4(@types/node@18.18.5)(sass@1.69.3) @@ -15414,31 +15448,31 @@ packages: optionalDependencies: fsevents: 2.3.3 - /vitest-canvas-mock@0.3.3(vitest@0.34.6): + /vitest-canvas-mock@0.3.3(vitest@1.0.1): resolution: {integrity: sha512-3P968tYBpqYyzzOaVtqnmYjqbe13576/fkjbDEJSfQAkHtC5/UjuRHOhFEN/ZV5HVZIkaROBUWgazDKJ+Ibw+Q==} peerDependencies: vitest: '*' dependencies: jest-canvas-mock: 2.5.2 - vitest: 0.34.6(@vitest/ui@0.34.6)(sass@1.69.3) + vitest: 1.0.1(@types/node@18.18.5)(@vitest/ui@1.0.1)(sass@1.69.3) dev: true - /vitest@0.34.6(@vitest/ui@0.34.6)(sass@1.69.3): - resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} - engines: {node: '>=v14.18.0'} + /vitest@1.0.1(@types/node@18.18.5)(@vitest/ui@1.0.1)(sass@1.69.3): + resolution: {integrity: sha512-MHsOj079S28hDsvdDvyD1pRj4dcS51EC5Vbe0xvOYX+WryP8soiK2dm8oULi+oA/8Xa/h6GoJEMTmcmBy5YM+Q==} + engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': ^1.0.0 + '@vitest/ui': ^1.0.0 happy-dom: '*' jsdom: '*' - playwright: '*' - safaridriver: '*' - webdriverio: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true + '@types/node': + optional: true '@vitest/browser': optional: true '@vitest/ui': @@ -15447,37 +15481,29 @@ packages: optional: true jsdom: optional: true - playwright: - optional: true - safaridriver: - optional: true - webdriverio: - optional: true dependencies: - '@types/chai': 4.3.8 - '@types/chai-subset': 1.3.3 '@types/node': 18.18.5 - '@vitest/expect': 0.34.6 - '@vitest/runner': 0.34.6 - '@vitest/snapshot': 0.34.6 - '@vitest/spy': 0.34.6 - '@vitest/ui': 0.34.6(vitest@0.34.6) - '@vitest/utils': 0.34.6 - acorn: 8.10.0 - acorn-walk: 8.2.0 + '@vitest/expect': 1.0.1 + '@vitest/runner': 1.0.1 + '@vitest/snapshot': 1.0.1 + '@vitest/spy': 1.0.1 + '@vitest/ui': 1.0.1(vitest@1.0.1) + '@vitest/utils': 1.0.1 + acorn-walk: 8.3.0 cac: 6.7.14 chai: 4.3.10 debug: 4.3.4 - local-pkg: 0.4.3 + execa: 8.0.1 + local-pkg: 0.5.0 magic-string: 0.30.5 pathe: 1.1.1 picocolors: 1.0.0 - std-env: 3.4.3 + std-env: 3.6.0 strip-literal: 1.3.0 tinybench: 2.5.1 - tinypool: 0.7.0 + tinypool: 0.8.1 vite: 5.0.4(@types/node@18.18.5)(sass@1.69.3) - vite-node: 0.34.6(@types/node@18.18.5)(sass@1.69.3) + vite-node: 1.0.1(@types/node@18.18.5)(sass@1.69.3) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/src/packages/__VUE/actionsheet/__tests__/__snapshots__/index.spec.ts.snap b/src/packages/__VUE/actionsheet/__tests__/__snapshots__/index.spec.ts.snap index 296940b4e2..51e21701ea 100644 --- a/src/packages/__VUE/actionsheet/__tests__/__snapshots__/index.spec.ts.snap +++ b/src/packages/__VUE/actionsheet/__tests__/__snapshots__/index.spec.ts.snap @@ -2,19 +2,19 @@ exports[`should render sure actionsheet when use custom props 1`] = ` " - - + + - - - + + + - - + + 选项一 - 描述信息 + 描述信息 diff --git a/src/packages/__VUE/address/__tests__/__snapshots__/address.spec.ts.snap b/src/packages/__VUE/address/__tests__/__snapshots__/address.spec.ts.snap index 22ed9f57b5..c1489d4731 100644 --- a/src/packages/__VUE/address/__tests__/__snapshots__/address.spec.ts.snap +++ b/src/packages/__VUE/address/__tests__/__snapshots__/address.spec.ts.snap @@ -1,52 +1,52 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Address: choose address item 1`] = ` -" - - +" + + - - - - - - + + + + + - 请选择所在地区 - - + 请选择所在地区 + + - - - + + + 请选择 - + - -
    -
  • + +
      +
    • 北京
    • -
    • +
    • 广西
    • -
    • +
    • 江西
    • -
    • +
    • 四川
    • -
    • +
    • 浙江
      diff --git a/src/packages/__VUE/avatar/__tests__/__snapshots__/avatar.spec.tsx.snap b/src/packages/__VUE/avatar/__tests__/__snapshots__/avatar.spec.tsx.snap index 032c0c5176..885e23aff2 100644 --- a/src/packages/__VUE/avatar/__tests__/__snapshots__/avatar.spec.tsx.snap +++ b/src/packages/__VUE/avatar/__tests__/__snapshots__/avatar.spec.tsx.snap @@ -1,14 +1,14 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Avatar: avatar group render 1`] = ` -" - 1 - 2 - 3 - 4 - 5 - 99 +" + 1 + 2 + 3 + 4 + 5 + 99 " `; -exports[`Avatar: default slot 1`] = `""`; +exports[`Avatar: default slot 1`] = `""`; diff --git a/src/packages/__VUE/avatarcropper/__tests__/__snapshots__/avatarcropper.spec.ts.snap b/src/packages/__VUE/avatarcropper/__tests__/__snapshots__/avatarcropper.spec.ts.snap index b62e9fc16d..62dbf11e22 100644 --- a/src/packages/__VUE/avatarcropper/__tests__/__snapshots__/avatarcropper.spec.ts.snap +++ b/src/packages/__VUE/avatarcropper/__tests__/__snapshots__/avatarcropper.spec.ts.snap @@ -1,34 +1,34 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`layout default slot 1`] = ` -"
      -
      -
      -
      +"
      +