vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.26.x.
In short
1 new6 fixed
Security
1 advisory affects 0.26.3; 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
mock: Expose a
importOriginalhelper to the factory
Bug Fixes
Correctly automock nested interoped defaults
Start tracking module resolution as soon as possible for easier tracking
Don't hang when mocking module with circular dependency
Show list of tests when typechecking
api: Make api parse error stacks and return sourcePos in onTaskUpdate
coverage: Env-replacer to remove query params from sourcemaps filenames
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.