vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.22.x.
In short
1 breaking4 new3 fixed
- Breaking
c8coverage support now require peer dependency@vitest/coverage-c8to be installed. Alternatively, you can install@vitest/coverage-istanbulto useistanbulfor coverage instead ofc8.
Security
1 advisory affects 0.22.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
Breaking Changes
- Breaking
c8coverage support now require peer dependency@vitest/coverage-c8to be installed. Alternatively, you can install@vitest/coverage-istanbulto useistanbulfor coverage instead ofc8.
Features
Add --no-color to cli
Support auto retry on Node segfault
--segfault-retrySupport
istanbulcoverage providercli: Support passing
--inspectand--inspect-brk
Bug Fixes
Handle undefined returns of module mocks, and update migration docs
Clear pattern when rerun all tests
reporter-junit: Remove trailing zeros in duration
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.