vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
Your version
0.34.6 is the newest release of 0.28.x.
In short
2 new1 faster5 fixed
Security
1 advisory affects 0.28.5; 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
Add --script option to vite-node
Inject executor directly into runner
Bug Fixes
Don't call "afterAll" hooks, if suite was skipped
Always display serialized error, even if it doesn't have stack
Clear mocks between tests
expect: Check for no 'throw' type in toHaveReturned
expect: Accept array index as number in toHaveProperty
Performance
Don't inline Vitest entry
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.