vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.24.x.
In short
2 breaking2 new7 fixed
- Breaking
Use type module (revert #1411)
- Breaking
Drop support for Vite 2
Security
1 advisory affects 0.24.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
Use type module (revert #1411)
- Breaking
Drop support for Vite 2
Features
benchmark: Todo mode
inline-snapshot: Support comment
Bug Fixes
Run related test, even if test doesn't have dependencies
Check for asymmetricMatch before accessing
Check hook teardown return type, closes #2092
Don't stop watch mode, if non-object error is thrown, close #2106
Use correct source maps in stacktrace
Import CustomEventMap from vite for vite-node
jsdom: Use jsdom Blob instead of Node, if jsdom is enabled
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.