chore: update vitest to v2.1.2

Signed-off-by: Florent Benoit <fbenoit@redhat.com>
This commit is contained in:
Florent Benoit 2024-10-07 11:27:07 +02:00 committed by Florent BENOIT
parent 504c1cb5bc
commit b35a4788ae
2 changed files with 171 additions and 15 deletions

View file

@ -135,7 +135,7 @@
"@types/validator": "^13.12.2",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/coverage-v8": "^2.1.2",
"@vitest/eslint-plugin": "^1.1.6",
"cross-env": "7.0.3",
"dts-for-context-bridge": "0.7.1",
@ -169,7 +169,7 @@
"typescript-eslint": "^8.8.0",
"validator": "^13.12.0",
"vite": "^5.4.8",
"vitest": "^2.0.5",
"vitest": "^2.1.2",
"xvfb-maybe": "^0.2.1"
},
"dependencies": {

View file

@ -181,11 +181,11 @@ importers:
specifier: ^8.8.0
version: 8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)
'@vitest/coverage-v8':
specifier: ^2.0.5
version: 2.0.5(vitest@2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))
specifier: ^2.1.2
version: 2.1.2(vitest@2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))
'@vitest/eslint-plugin':
specifier: ^1.1.6
version: 1.1.6(@typescript-eslint/utils@8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))
version: 1.1.6(@typescript-eslint/utils@8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))
cross-env:
specifier: 7.0.3
version: 7.0.3
@ -280,8 +280,8 @@ importers:
specifier: ^5.4.8
version: 5.4.8(@types/node@20.16.10)(terser@5.31.6)
vitest:
specifier: ^2.0.5
version: 2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
specifier: ^2.1.2
version: 2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
xvfb-maybe:
specifier: ^0.2.1
version: 0.2.1
@ -3938,10 +3938,14 @@ packages:
'@ungap/structured-clone@1.2.0':
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
'@vitest/coverage-v8@2.0.5':
resolution: {integrity: sha512-qeFcySCg5FLO2bHHSa0tAZAOnAUbp4L6/A5JDuj9+bt53JREl8hpLjLHEWF0e/gWc8INVpJaqA7+Ene2rclpZg==}
'@vitest/coverage-v8@2.1.2':
resolution: {integrity: sha512-b7kHrFrs2urS0cOk5N10lttI8UdJ/yP3nB4JYTREvR5o18cR99yPpK4gK8oQgI42BVv0ILWYUSYB7AXkAUDc0g==}
peerDependencies:
vitest: 2.0.5
'@vitest/browser': 2.1.2
vitest: 2.1.2
peerDependenciesMeta:
'@vitest/browser':
optional: true
'@vitest/eslint-plugin@1.1.6':
resolution: {integrity: sha512-sFuAnD9iycnOzLHHhNCULXeb6ejOSo5Lcq/ODhdlUOoUrXkQPcVeYqXurZMA3neOqf+wNCQ6YuU1zyoYH/WEcg==}
@ -3957,21 +3961,51 @@ packages:
'@vitest/expect@2.0.5':
resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==}
'@vitest/expect@2.1.2':
resolution: {integrity: sha512-FEgtlN8mIUSEAAnlvn7mP8vzaWhEaAEvhSXCqrsijM7K6QqjB11qoRZYEd4AKSCDz8p0/+yH5LzhZ47qt+EyPg==}
'@vitest/mocker@2.1.2':
resolution: {integrity: sha512-ExElkCGMS13JAJy+812fw1aCv2QO/LBK6CyO4WOPAzLTmve50gydOlWhgdBJPx2ztbADUq3JVI0C5U+bShaeEA==}
peerDependencies:
'@vitest/spy': 2.1.2
msw: ^2.3.5
vite: ^5.0.0
peerDependenciesMeta:
msw:
optional: true
vite:
optional: true
'@vitest/pretty-format@2.0.5':
resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==}
'@vitest/pretty-format@2.1.2':
resolution: {integrity: sha512-FIoglbHrSUlOJPDGIrh2bjX1sNars5HbxlcsFKCtKzu4+5lpsRhOCVcuzp0fEhAGHkPZRIXVNzPcpSlkoZ3LuA==}
'@vitest/runner@2.0.5':
resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==}
'@vitest/runner@2.1.2':
resolution: {integrity: sha512-UCsPtvluHO3u7jdoONGjOSil+uON5SSvU9buQh3lP7GgUXHp78guN1wRmZDX4wGK6J10f9NUtP6pO+SFquoMlw==}
'@vitest/snapshot@2.0.5':
resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==}
'@vitest/snapshot@2.1.2':
resolution: {integrity: sha512-xtAeNsZ++aRIYIUsek7VHzry/9AcxeULlegBvsdLncLmNCR6tR8SRjn8BbDP4naxtccvzTqZ+L1ltZlRCfBZFA==}
'@vitest/spy@2.0.5':
resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==}
'@vitest/spy@2.1.2':
resolution: {integrity: sha512-GSUi5zoy+abNRJwmFhBDC0yRuVUn8WMlQscvnbbXdKLXX9dE59YbfwXxuJ/mth6eeqIzofU8BB5XDo/Ns/qK2A==}
'@vitest/utils@2.0.5':
resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==}
'@vitest/utils@2.1.2':
resolution: {integrity: sha512-zMO2KdYy6mx56btx9JvAqAZ6EyS3g49krMPPrgOp1yxGZiA93HumGk+bZ5jIZtOg5/VBYl5eBmGRQHqq4FG6uQ==}
'@webassemblyjs/ast@1.12.1':
resolution: {integrity: sha512-EKfMUOPRRUTy5UII4qJDGPpqfwjOmZ5jeGFwid9mnoqIFK+e0vqoi1qH56JpmZSzEL53jKnNzScdmftJyG5xWg==}
@ -10702,6 +10736,11 @@ packages:
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
vite-node@2.1.2:
resolution: {integrity: sha512-HPcGNN5g/7I2OtPjLqgOtCRu/qhVvBxTUD3qzitmL0SrG1cWFzxzhMDWussxSbrRYWqnKf8P2jiNhPMSN+ymsQ==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
vite@5.4.8:
resolution: {integrity: sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==}
engines: {node: ^18.0.0 || >=20.0.0}
@ -10766,6 +10805,31 @@ packages:
jsdom:
optional: true
vitest@2.1.2:
resolution: {integrity: sha512-veNjLizOMkRrJ6xxb+pvxN6/QAWg95mzcRjtmkepXdN87FNfxAss9RKe2far/G9cQpipfgP2taqg0KiWsquj8A==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': 2.1.2
'@vitest/ui': 2.1.2
happy-dom: '*'
jsdom: '*'
peerDependenciesMeta:
'@edge-runtime/vm':
optional: true
'@types/node':
optional: true
'@vitest/browser':
optional: true
'@vitest/ui':
optional: true
happy-dom:
optional: true
jsdom:
optional: true
vue-eslint-parser@9.4.3:
resolution: {integrity: sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==}
engines: {node: ^14.17.0 || >=16.0.0}
@ -15075,11 +15139,11 @@ snapshots:
'@ungap/structured-clone@1.2.0': {}
'@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))':
'@vitest/coverage-v8@2.1.2(vitest@2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))':
dependencies:
'@ampproject/remapping': 2.3.0
'@bcoe/v8-coverage': 0.2.3
debug: 4.3.6
debug: 4.3.7
istanbul-lib-coverage: 3.2.2
istanbul-lib-report: 3.0.1
istanbul-lib-source-maps: 5.0.6
@ -15089,15 +15153,15 @@ snapshots:
std-env: 3.7.0
test-exclude: 7.0.1
tinyrainbow: 1.2.0
vitest: 2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
vitest: 2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
transitivePeerDependencies:
- supports-color
'@vitest/eslint-plugin@1.1.6(@typescript-eslint/utils@8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))':
'@vitest/eslint-plugin@1.1.6(@typescript-eslint/utils@8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2))(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)(vitest@2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6))':
dependencies:
'@typescript-eslint/utils': 8.8.0(eslint@9.12.0(jiti@1.21.6))(typescript@5.6.2)
eslint: 9.12.0(jiti@1.21.6)
vitest: 2.0.5(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
vitest: 2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6)
optionalDependencies:
typescript: 5.6.2
@ -15108,25 +15172,59 @@ snapshots:
chai: 5.1.1
tinyrainbow: 1.2.0
'@vitest/expect@2.1.2':
dependencies:
'@vitest/spy': 2.1.2
'@vitest/utils': 2.1.2
chai: 5.1.1
tinyrainbow: 1.2.0
'@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.10)(terser@5.31.6))':
dependencies:
'@vitest/spy': 2.1.2
estree-walker: 3.0.3
magic-string: 0.30.11
optionalDependencies:
vite: 5.4.8(@types/node@20.16.10)(terser@5.31.6)
'@vitest/pretty-format@2.0.5':
dependencies:
tinyrainbow: 1.2.0
'@vitest/pretty-format@2.1.2':
dependencies:
tinyrainbow: 1.2.0
'@vitest/runner@2.0.5':
dependencies:
'@vitest/utils': 2.0.5
pathe: 1.1.2
'@vitest/runner@2.1.2':
dependencies:
'@vitest/utils': 2.1.2
pathe: 1.1.2
'@vitest/snapshot@2.0.5':
dependencies:
'@vitest/pretty-format': 2.0.5
magic-string: 0.30.11
pathe: 1.1.2
'@vitest/snapshot@2.1.2':
dependencies:
'@vitest/pretty-format': 2.1.2
magic-string: 0.30.11
pathe: 1.1.2
'@vitest/spy@2.0.5':
dependencies:
tinyspy: 3.0.0
'@vitest/spy@2.1.2':
dependencies:
tinyspy: 3.0.0
'@vitest/utils@2.0.5':
dependencies:
'@vitest/pretty-format': 2.0.5
@ -15134,6 +15232,12 @@ snapshots:
loupe: 3.1.1
tinyrainbow: 1.2.0
'@vitest/utils@2.1.2':
dependencies:
'@vitest/pretty-format': 2.1.2
loupe: 3.1.1
tinyrainbow: 1.2.0
'@webassemblyjs/ast@1.12.1':
dependencies:
'@webassemblyjs/helper-numbers': 1.11.6
@ -23368,6 +23472,23 @@ snapshots:
- supports-color
- terser
vite-node@2.1.2(@types/node@20.16.10)(terser@5.31.6):
dependencies:
cac: 6.7.14
debug: 4.3.7
pathe: 1.1.2
vite: 5.4.8(@types/node@20.16.10)(terser@5.31.6)
transitivePeerDependencies:
- '@types/node'
- less
- lightningcss
- sass
- sass-embedded
- stylus
- sugarss
- supports-color
- terser
vite@5.4.8(@types/node@20.16.10)(terser@5.31.6):
dependencies:
esbuild: 0.21.5
@ -23460,6 +23581,41 @@ snapshots:
- supports-color
- terser
vitest@2.1.2(@types/node@20.16.10)(jsdom@25.0.1)(terser@5.31.6):
dependencies:
'@vitest/expect': 2.1.2
'@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.8(@types/node@20.16.10)(terser@5.31.6))
'@vitest/pretty-format': 2.1.2
'@vitest/runner': 2.1.2
'@vitest/snapshot': 2.1.2
'@vitest/spy': 2.1.2
'@vitest/utils': 2.1.2
chai: 5.1.1
debug: 4.3.7
magic-string: 0.30.11
pathe: 1.1.2
std-env: 3.7.0
tinybench: 2.9.0
tinyexec: 0.3.0
tinypool: 1.0.1
tinyrainbow: 1.2.0
vite: 5.4.8(@types/node@20.16.10)(terser@5.31.6)
vite-node: 2.1.2(@types/node@20.16.10)(terser@5.31.6)
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 20.16.10
jsdom: 25.0.1
transitivePeerDependencies:
- less
- lightningcss
- msw
- sass
- sass-embedded
- stylus
- sugarss
- supports-color
- terser
vue-eslint-parser@9.4.3(eslint@9.12.0(jiti@1.21.6)):
dependencies:
debug: 4.3.7