vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 0.3.6 to 0.4.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
1 advisory still affects 0.4.0
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
Upgrading to 3.2.6 clears it.
Release by release
- New
Add VITEST_WORKER_ID env
- New
Allow reassigning
defineglobals - New
Coverage threshold
- Fixed
Fix error if toMatchInlineSnapshot is called on resolves/rejects
- Fixed
Flush coverage after every test file (fix #771)
- Fixed
Put envs from .env files on process.env
- Fixed
Set mode before running Vite
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.