0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Fix Vitest check fail again (#10266)

This commit is contained in:
Bjorn Lu 2024-02-29 00:59:48 +08:00 committed by GitHub
parent 2af8e9621f
commit f192083423
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 38 additions and 71 deletions

View file

@ -13,6 +13,6 @@
}, },
"dependencies": { "dependencies": {
"astro": "^4.4.6", "astro": "^4.4.6",
"vitest": "^1.2.2" "vitest": "^1.3.1"
} }
} }

View file

@ -492,8 +492,8 @@ importers:
specifier: ^4.4.6 specifier: ^4.4.6
version: link:../../packages/astro version: link:../../packages/astro
vitest: vitest:
specifier: ^1.2.2 specifier: ^1.3.1
version: 1.2.2(@types/node@18.19.4) version: 1.3.1(@types/node@18.19.4)
packages/astro: packages/astro:
dependencies: dependencies:
@ -8276,38 +8276,38 @@ packages:
vue: 3.4.3(typescript@5.2.2) vue: 3.4.3(typescript@5.2.2)
dev: false dev: false
/@vitest/expect@1.2.2: /@vitest/expect@1.3.1:
resolution: {integrity: sha512-3jpcdPAD7LwHUUiT2pZTj2U82I2Tcgg2oVPvKxhn6mDI2On6tfvPQTjAI4628GUGDZrCm4Zna9iQHm5cEexOAg==} resolution: {integrity: sha512-xofQFwIzfdmLLlHa6ag0dPV8YsnKOCP1KdAeVVh34vSjN2dcUiXYCD9htu/9eM7t8Xln4v03U9HLxLpPlsXdZw==}
dependencies: dependencies:
'@vitest/spy': 1.2.2 '@vitest/spy': 1.3.1
'@vitest/utils': 1.2.2 '@vitest/utils': 1.3.1
chai: 4.4.1 chai: 4.4.1
dev: false dev: false
/@vitest/runner@1.2.2: /@vitest/runner@1.3.1:
resolution: {integrity: sha512-JctG7QZ4LSDXr5CsUweFgcpEvrcxOV1Gft7uHrvkQ+fsAVylmWQvnaAr/HDp3LAH1fztGMQZugIheTWjaGzYIg==} resolution: {integrity: sha512-5FzF9c3jG/z5bgCnjr8j9LNq/9OxV2uEBAITOXfoe3rdZJTdO7jzThth7FXv/6b+kdY65tpRQB7WaKhNZwX+Kg==}
dependencies: dependencies:
'@vitest/utils': 1.2.2 '@vitest/utils': 1.3.1
p-limit: 5.0.0 p-limit: 5.0.0
pathe: 1.1.2 pathe: 1.1.2
dev: false dev: false
/@vitest/snapshot@1.2.2: /@vitest/snapshot@1.3.1:
resolution: {integrity: sha512-SmGY4saEw1+bwE1th6S/cZmPxz/Q4JWsl7LvbQIky2tKE35US4gd0Mjzqfr84/4OD0tikGWaWdMja/nWL5NIPA==} resolution: {integrity: sha512-EF++BZbt6RZmOlE3SuTPu/NfwBF6q4ABS37HHXzs2LUVPBLx2QoY/K0fKpRChSo8eLiuxcbCVfqKgx/dplCDuQ==}
dependencies: dependencies:
magic-string: 0.30.7 magic-string: 0.30.7
pathe: 1.1.2 pathe: 1.1.2
pretty-format: 29.7.0 pretty-format: 29.7.0
dev: false dev: false
/@vitest/spy@1.2.2: /@vitest/spy@1.3.1:
resolution: {integrity: sha512-k9Gcahssw8d7X3pSLq3e3XEu/0L78mUkCjivUqCQeXJm9clfXR/Td8+AP+VC1O6fKPIDLcHDTAmBOINVuv6+7g==} resolution: {integrity: sha512-xAcW+S099ylC9VLU7eZfdT9myV67Nor9w9zhf0mGCYJSO+zM2839tOeROTdikOi/8Qeusffvxb/MyBSOja1Uig==}
dependencies: dependencies:
tinyspy: 2.2.1 tinyspy: 2.2.1
dev: false dev: false
/@vitest/utils@1.2.2: /@vitest/utils@1.3.1:
resolution: {integrity: sha512-WKITBHLsBHlpjnDQahr+XK6RE7MiAsgrIkr0pGhQ9ygoxBfUeG0lUG5iLlzqjmKSlBv3+j5EGsriBzh+C3Tq9g==} resolution: {integrity: sha512-d3Waie/299qqRyHTm2DjADeTaNdNSVsnwHPWrs20JMpjh6eiVq7ggggweO8rc4arhf6rRkWuHKwvxGvejUXZZQ==}
dependencies: dependencies:
diff-sequences: 29.6.3 diff-sequences: 29.6.3
estree-walker: 3.0.3 estree-walker: 3.0.3
@ -11761,6 +11761,10 @@ packages:
/js-tokens@4.0.0: /js-tokens@4.0.0:
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
/js-tokens@8.0.3:
resolution: {integrity: sha512-UfJMcSJc+SEXEl9lH/VLHSZbThQyLpw1vLO1Lb+j4RWDvG3N2f7yj3PVQA3cmkTBNldJ9eFnM+xEXxHIXrYiJw==}
dev: false
/js-yaml@3.14.1: /js-yaml@3.14.1:
resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
hasBin: true hasBin: true
@ -15358,10 +15362,10 @@ packages:
engines: {node: '>=14.16'} engines: {node: '>=14.16'}
dev: true dev: true
/strip-literal@1.3.0: /strip-literal@2.0.0:
resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} resolution: {integrity: sha512-f9vHgsCWBq2ugHAkGMiiYY+AYG0D/cbloKKg0nhaaaSNsujdGIpVXCNsrJpCKr5M0f4aI31mr13UjY6GAuXCKA==}
dependencies: dependencies:
acorn: 8.11.3 js-tokens: 8.0.3
dev: false dev: false
/strnum@1.0.5: /strnum@1.0.5:
@ -16275,8 +16279,8 @@ packages:
unist-util-stringify-position: 4.0.0 unist-util-stringify-position: 4.0.0
vfile-message: 4.0.2 vfile-message: 4.0.2
/vite-node@1.2.2(@types/node@18.19.4): /vite-node@1.3.1(@types/node@18.19.4):
resolution: {integrity: sha512-1as4rDTgVWJO3n1uHmUYqq7nsFgINQ9u+mRcXpjeOMJUmviqNKjcZB7UfRZrlM7MjYXMKpuWp5oGkjaFLnjawg==} resolution: {integrity: sha512-azbRrqRxlWTJEVbzInZCTchx0X69M/XPTCz4H+TLvlTcR/xH/3hkRqhOakT41fMJCMzXTu4UvegkZiEoJAWvng==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
dependencies: dependencies:
@ -16284,7 +16288,7 @@ packages:
debug: 4.3.4(supports-color@8.1.1) debug: 4.3.4(supports-color@8.1.1)
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
vite: 5.1.2(@types/node@18.19.4) vite: 5.1.4(@types/node@18.19.4)(sass@1.69.6)
transitivePeerDependencies: transitivePeerDependencies:
- '@types/node' - '@types/node'
- less - less
@ -16340,42 +16344,6 @@ packages:
svgo: 3.2.0 svgo: 3.2.0
dev: false dev: false
/vite@5.1.2(@types/node@18.19.4):
resolution: {integrity: sha512-uwiFebQbTWRIGbCaTEBVAfKqgqKNKMJ2uPXsXeLIZxM8MVMjoS3j0cG8NrPxdDIadaWnPSjrkLWffLSC+uiP3Q==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
peerDependencies:
'@types/node': ^18.0.0 || >=20.0.0
less: '*'
lightningcss: ^1.21.0
sass: '*'
stylus: '*'
sugarss: '*'
terser: ^5.4.0
peerDependenciesMeta:
'@types/node':
optional: true
less:
optional: true
lightningcss:
optional: true
sass:
optional: true
stylus:
optional: true
sugarss:
optional: true
terser:
optional: true
dependencies:
'@types/node': 18.19.4
esbuild: 0.19.11
postcss: 8.4.35
rollup: 4.9.2
optionalDependencies:
fsevents: 2.3.3
dev: false
/vite@5.1.4(@types/node@18.19.4)(sass@1.69.6): /vite@5.1.4(@types/node@18.19.4)(sass@1.69.6):
resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
@ -16423,15 +16391,15 @@ packages:
vite: 5.1.4(@types/node@18.19.4)(sass@1.69.6) vite: 5.1.4(@types/node@18.19.4)(sass@1.69.6)
dev: false dev: false
/vitest@1.2.2(@types/node@18.19.4): /vitest@1.3.1(@types/node@18.19.4):
resolution: {integrity: sha512-d5Ouvrnms3GD9USIK36KG8OZ5bEvKEkITFtnGv56HFaSlbItJuYr7hv2Lkn903+AvRAgSixiamozUVfORUekjw==} resolution: {integrity: sha512-/1QJqXs8YbCrfv/GPQ05wAZf2eakUPLPa18vkJAKE7RXOKfVHqMZZ1WlTjiwl6Gcn65M5vpNUB6EFLnEdRdEXQ==}
engines: {node: ^18.0.0 || >=20.0.0} engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@edge-runtime/vm': '*' '@edge-runtime/vm': '*'
'@types/node': ^18.0.0 || >=20.0.0 '@types/node': ^18.0.0 || >=20.0.0
'@vitest/browser': ^1.0.0 '@vitest/browser': 1.3.1
'@vitest/ui': ^1.0.0 '@vitest/ui': 1.3.1
happy-dom: '*' happy-dom: '*'
jsdom: '*' jsdom: '*'
peerDependenciesMeta: peerDependenciesMeta:
@ -16449,13 +16417,12 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@types/node': 18.19.4 '@types/node': 18.19.4
'@vitest/expect': 1.2.2 '@vitest/expect': 1.3.1
'@vitest/runner': 1.2.2 '@vitest/runner': 1.3.1
'@vitest/snapshot': 1.2.2 '@vitest/snapshot': 1.3.1
'@vitest/spy': 1.2.2 '@vitest/spy': 1.3.1
'@vitest/utils': 1.2.2 '@vitest/utils': 1.3.1
acorn-walk: 8.3.2 acorn-walk: 8.3.2
cac: 6.7.14
chai: 4.4.1 chai: 4.4.1
debug: 4.3.4(supports-color@8.1.1) debug: 4.3.4(supports-color@8.1.1)
execa: 8.0.1 execa: 8.0.1
@ -16464,11 +16431,11 @@ packages:
pathe: 1.1.2 pathe: 1.1.2
picocolors: 1.0.0 picocolors: 1.0.0
std-env: 3.7.0 std-env: 3.7.0
strip-literal: 1.3.0 strip-literal: 2.0.0
tinybench: 2.6.0 tinybench: 2.6.0
tinypool: 0.8.2 tinypool: 0.8.2
vite: 5.1.2(@types/node@18.19.4) vite: 5.1.4(@types/node@18.19.4)(sass@1.69.6)
vite-node: 1.2.2(@types/node@18.19.4) vite-node: 1.3.1(@types/node@18.19.4)
why-is-node-running: 2.2.2 why-is-node-running: 2.2.2
transitivePeerDependencies: transitivePeerDependencies:
- less - less