chore: upgrade vitest to v0.34.3
This commit is contained in:
parent
97b4570bd2
commit
4ead7150f0
@ -86,7 +86,7 @@
|
|||||||
"ts-jest": "^29.1.1",
|
"ts-jest": "^29.1.1",
|
||||||
"typescript": "5.1.3",
|
"typescript": "5.1.3",
|
||||||
"vite": "^4.4.1",
|
"vite": "^4.4.1",
|
||||||
"vitest": "^0.33.0"
|
"vitest": "^0.34.3"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.14.2",
|
"node": "18.14.2",
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-error-boundary": "^4.0.10",
|
"react-error-boundary": "^4.0.10",
|
||||||
"react-i18next": "^11.15.1",
|
"react-i18next": "^11.15.1",
|
||||||
"vitest": "^0.33.0"
|
"vitest": "0.x"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@nocobase/actions": "0.x",
|
"@nocobase/actions": "0.x",
|
||||||
|
@ -28,10 +28,12 @@ export default defineConfig({
|
|||||||
exclude: ['**/node_modules/**', '**/dist/**', '**/lib/**', '**/es/**', '**/{vitest,commitlint}.config.*'],
|
exclude: ['**/node_modules/**', '**/dist/**', '**/lib/**', '**/es/**', '**/{vitest,commitlint}.config.*'],
|
||||||
testTimeout: 300000,
|
testTimeout: 300000,
|
||||||
bail: 1,
|
bail: 1,
|
||||||
deps: {
|
|
||||||
inline: ['@juggle/resize-observer', 'clsx'],
|
|
||||||
},
|
|
||||||
// 在 GitHub Actions 中不输出日志
|
// 在 GitHub Actions 中不输出日志
|
||||||
silent: !!process.env.GITHUB_ACTIONS,
|
silent: !!process.env.GITHUB_ACTIONS,
|
||||||
|
server: {
|
||||||
|
deps: {
|
||||||
|
inline: ['@juggle/resize-observer', 'clsx'],
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
76
yarn.lock
76
yarn.lock
@ -6755,39 +6755,44 @@
|
|||||||
"@babel/plugin-transform-react-jsx-source" "^7.22.5"
|
"@babel/plugin-transform-react-jsx-source" "^7.22.5"
|
||||||
react-refresh "^0.14.0"
|
react-refresh "^0.14.0"
|
||||||
|
|
||||||
"@vitest/expect@0.33.0":
|
"@vitest/expect@0.34.3":
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/@vitest/expect/-/expect-0.33.0.tgz#f48652591f3573ad6c2db828ad358d5c078845d3"
|
resolved "https://registry.npmmirror.com/@vitest/expect/-/expect-0.34.3.tgz#576e1fd6a3a8b8b7a79a06477f3d450a77d67852"
|
||||||
|
integrity sha512-F8MTXZUYRBVsYL1uoIft1HHWhwDbSzwAU9Zgh8S6WFC3YgVb4AnFV2GXO3P5Em8FjEYaZtTnQYoNwwBrlOMXgg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vitest/spy" "0.33.0"
|
"@vitest/spy" "0.34.3"
|
||||||
"@vitest/utils" "0.33.0"
|
"@vitest/utils" "0.34.3"
|
||||||
chai "^4.3.7"
|
chai "^4.3.7"
|
||||||
|
|
||||||
"@vitest/runner@0.33.0":
|
"@vitest/runner@0.34.3":
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/@vitest/runner/-/runner-0.33.0.tgz#0b1a4d04ff8bc5cdad73920eac019d99550edf9d"
|
resolved "https://registry.npmmirror.com/@vitest/runner/-/runner-0.34.3.tgz#ce09b777d133bbcf843e1a67f4a743365764e097"
|
||||||
|
integrity sha512-lYNq7N3vR57VMKMPLVvmJoiN4bqwzZ1euTW+XXYH5kzr3W/+xQG3b41xJn9ChJ3AhYOSoweu974S1V3qDcFESA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vitest/utils" "0.33.0"
|
"@vitest/utils" "0.34.3"
|
||||||
p-limit "^4.0.0"
|
p-limit "^4.0.0"
|
||||||
pathe "^1.1.1"
|
pathe "^1.1.1"
|
||||||
|
|
||||||
"@vitest/snapshot@0.33.0":
|
"@vitest/snapshot@0.34.3":
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-0.33.0.tgz#4400a90c48907808122b573053a2112a832b3698"
|
resolved "https://registry.npmmirror.com/@vitest/snapshot/-/snapshot-0.34.3.tgz#cb4767aa44711a1072bd2e06204b659275c4f0f2"
|
||||||
|
integrity sha512-QyPaE15DQwbnIBp/yNJ8lbvXTZxS00kRly0kfFgAD5EYmCbYcA+1EEyRalc93M0gosL/xHeg3lKAClIXYpmUiQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
magic-string "^0.30.1"
|
magic-string "^0.30.1"
|
||||||
pathe "^1.1.1"
|
pathe "^1.1.1"
|
||||||
pretty-format "^29.5.0"
|
pretty-format "^29.5.0"
|
||||||
|
|
||||||
"@vitest/spy@0.33.0":
|
"@vitest/spy@0.34.3":
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/@vitest/spy/-/spy-0.33.0.tgz#366074d3cf9cf1ed8aeaa76e50e78c799fb242eb"
|
resolved "https://registry.npmmirror.com/@vitest/spy/-/spy-0.34.3.tgz#d4cf25e6ca9230991a0223ecd4ec2df30f0784ff"
|
||||||
|
integrity sha512-N1V0RFQ6AI7CPgzBq9kzjRdPIgThC340DGjdKdPSE8r86aUSmeliTUgkTqLSgtEwWWsGfBQ+UetZWhK0BgJmkQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
tinyspy "^2.1.1"
|
tinyspy "^2.1.1"
|
||||||
|
|
||||||
"@vitest/utils@0.33.0":
|
"@vitest/utils@0.34.3":
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/@vitest/utils/-/utils-0.33.0.tgz#6b9820cb8f128d649da6f78ecaa9b73d6222b277"
|
resolved "https://registry.npmmirror.com/@vitest/utils/-/utils-0.34.3.tgz#6e243189a358b736b9fc0216e6b6979bc857e897"
|
||||||
|
integrity sha512-kiSnzLG6m/tiT0XEl4U2H8JDBjFtwVlaE8I3QfGiMFR0QvnRDfYfdP3YvTBWM/6iJDAyaPY6yVQiCTUc7ZzTHA==
|
||||||
dependencies:
|
dependencies:
|
||||||
diff-sequences "^29.4.3"
|
diff-sequences "^29.4.3"
|
||||||
loupe "^2.3.6"
|
loupe "^2.3.6"
|
||||||
@ -22183,9 +22188,10 @@ tinycolor2@^1.6.0:
|
|||||||
version "1.6.0"
|
version "1.6.0"
|
||||||
resolved "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.6.0.tgz#f98007460169b0263b97072c5ae92484ce02d09e"
|
resolved "https://registry.npmmirror.com/tinycolor2/-/tinycolor2-1.6.0.tgz#f98007460169b0263b97072c5ae92484ce02d09e"
|
||||||
|
|
||||||
tinypool@^0.6.0:
|
tinypool@^0.7.0:
|
||||||
version "0.6.0"
|
version "0.7.0"
|
||||||
resolved "https://registry.npmmirror.com/tinypool/-/tinypool-0.6.0.tgz#c3640b851940abe2168497bb6e43b49fafb3ba7b"
|
resolved "https://registry.npmmirror.com/tinypool/-/tinypool-0.7.0.tgz#88053cc99b4a594382af23190c609d93fddf8021"
|
||||||
|
integrity sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==
|
||||||
|
|
||||||
tinyspy@^2.1.1:
|
tinyspy@^2.1.1:
|
||||||
version "2.1.1"
|
version "2.1.1"
|
||||||
@ -23240,9 +23246,10 @@ vinyl@^2.0.0, vinyl@^2.2.0:
|
|||||||
remove-trailing-separator "^1.0.1"
|
remove-trailing-separator "^1.0.1"
|
||||||
replace-ext "^1.0.0"
|
replace-ext "^1.0.0"
|
||||||
|
|
||||||
vite-node@0.33.0:
|
vite-node@0.34.3:
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/vite-node/-/vite-node-0.33.0.tgz#c6a3a527e0b8090da7436241bc875760ae0eef28"
|
resolved "https://registry.npmmirror.com/vite-node/-/vite-node-0.34.3.tgz#de134fe38bc1555ac8ab5e489d7df6159a3e1a4c"
|
||||||
|
integrity sha512-+0TzJf1g0tYXj6tR2vEyiA42OPq68QkRZCu/ERSo2PtsDJfBpDyEfuKbRvLmZqi/CgC7SCBtyC+WjTGNMRIaig==
|
||||||
dependencies:
|
dependencies:
|
||||||
cac "^6.7.14"
|
cac "^6.7.14"
|
||||||
debug "^4.3.4"
|
debug "^4.3.4"
|
||||||
@ -23292,18 +23299,19 @@ vite@^4.4.1:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
fsevents "~2.3.2"
|
fsevents "~2.3.2"
|
||||||
|
|
||||||
vitest@^0.33.0:
|
vitest@0.x, vitest@^0.34.3:
|
||||||
version "0.33.0"
|
version "0.34.3"
|
||||||
resolved "https://registry.npmmirror.com/vitest/-/vitest-0.33.0.tgz#e2be6153aec1d30e3460ac6d64265bf72da2551c"
|
resolved "https://registry.npmmirror.com/vitest/-/vitest-0.34.3.tgz#863d61c133d01b16e49fd52d380c09fa5ac03188"
|
||||||
|
integrity sha512-7+VA5Iw4S3USYk+qwPxHl8plCMhA5rtfwMjgoQXMT7rO5ldWcdsdo3U1QD289JgglGK4WeOzgoLTsGFu6VISyQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/chai" "^4.3.5"
|
"@types/chai" "^4.3.5"
|
||||||
"@types/chai-subset" "^1.3.3"
|
"@types/chai-subset" "^1.3.3"
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
"@vitest/expect" "0.33.0"
|
"@vitest/expect" "0.34.3"
|
||||||
"@vitest/runner" "0.33.0"
|
"@vitest/runner" "0.34.3"
|
||||||
"@vitest/snapshot" "0.33.0"
|
"@vitest/snapshot" "0.34.3"
|
||||||
"@vitest/spy" "0.33.0"
|
"@vitest/spy" "0.34.3"
|
||||||
"@vitest/utils" "0.33.0"
|
"@vitest/utils" "0.34.3"
|
||||||
acorn "^8.9.0"
|
acorn "^8.9.0"
|
||||||
acorn-walk "^8.2.0"
|
acorn-walk "^8.2.0"
|
||||||
cac "^6.7.14"
|
cac "^6.7.14"
|
||||||
@ -23316,9 +23324,9 @@ vitest@^0.33.0:
|
|||||||
std-env "^3.3.3"
|
std-env "^3.3.3"
|
||||||
strip-literal "^1.0.1"
|
strip-literal "^1.0.1"
|
||||||
tinybench "^2.5.0"
|
tinybench "^2.5.0"
|
||||||
tinypool "^0.6.0"
|
tinypool "^0.7.0"
|
||||||
vite "^3.0.0 || ^4.0.0"
|
vite "^3.0.0 || ^4.0.0"
|
||||||
vite-node "0.33.0"
|
vite-node "0.34.3"
|
||||||
why-is-node-running "^2.2.2"
|
why-is-node-running "^2.2.2"
|
||||||
|
|
||||||
vizion@~2.2.1:
|
vizion@~2.2.1:
|
||||||
|
Loading…
Reference in New Issue
Block a user