Repository navigation
Update dependency vitest to v4 [SECURITY] #798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
49382de
32fc91c
3ed763c
2943ccd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,10 +61,10 @@ | |
| "@celo/dev-utils": "workspace:^", | ||
| "@celo/typescript": "workspace:^", | ||
| "@size-limit/preset-small-lib": "^11.2.0", | ||
| "@vitest/coverage-v8": "^3.2.6", | ||
| "@vitest/coverage-v8": "^4.0.0", | ||
| "dotenv": "^8.2.0", | ||
| "size-limit": "^11.2.0", | ||
| "vitest": "^3.2.6" | ||
| "vitest": "^4.0.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Addressed in 3ed763c: |
||
| }, | ||
| "engines": { | ||
| "node": ">=20" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When
general_vi_testruns these workspaces withtest --coverage(.github/workflows/ci.yml:232-241), each still installs@vitest/coverage-v83.2.6 while Vitest now resolves to 4.1.11. The lockfile shows that the provider requires exactly Vitest 3.2.6 (yarn.lock:6783-6802) and Vitest 4.1.11 requests provider 4.1.11 (yarn.lock:16120); Yarn consequently reports incompatible peer dependencies, and coverage execution loads an incompatible provider. Upgrade@vitest/coverage-v8alongside Vitest in actions, core, and viem-account-ledger.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in 32fc91c:
@vitest/coverage-v8moved to^4.0.0in actions, core and viem-account-ledger;yarn whyshows a single 4.1.11 resolution next to vitest 4.1.11, and thefetchCachecrash is gone. Leaving the thread for a human to resolve.