vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.34.6 is the newest release of 0.4.x.
In short
3 new4 fixed
Security
1 advisory affects 0.4.0; 3.2.6 fixes them
- CriticalWhen Vitest UI server is listening, arbitrary file can be read and executedGHSA-5xrq-8626-4rwp · 1 Jun 2026Fixed in 3.2.6
Release note
Bug Fixes
Fix error if toMatchInlineSnapshot is called on resolves/rejects
Flush coverage after every test file (fix #771)
Put envs from .env files on process.env
Set mode before running Vite
Features
Add VITEST_WORKER_ID env
Allow reassigning
defineglobalsCoverage threshold
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.