vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.29.x.
In short
5 new4 fixed
Security
1 advisory affects 0.29.8; 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
Features
Allow accessing "vi" methods without context, don't fail when mocker is not available
Show browser console in the terminal
Playwright as browser provider
Implement
istanbulcoverage support for browser testing
Bug Fixes
Add generic to expect.objectContaining type
Do not fail, when primitive error is thrown
Handle cloning proxied classes w/ enumerable getters
Spy on popup apis like alert
Report coverage even when no tests found
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.