vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
4.1.12 is the newest release of 4.x.
In short
1 new11 fixed
Security
1 advisory affects 4.1.5; 4.1.11 fixes them
- ModerateVitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect MockGHSA-82fw-gwwq-j7x9 · 8 Sep 2026Fixed in 4.1.11
Release note
Experimental Features
coverage: Istanbul to support
instrumenteroption
Bug Fixes
--project negation excludes browser instances
Project color label on html reporter
Fix
vi.defineHelpercalled as object methodAlias
agentreporter tominimalRespect diff config options in soft assertions
Respect diff config options in soft assertions "
ast-collect: Recognize _vi_import prefix in static test discovery
coverage: Descriptive error message when reports directory is removed during test run
snapshot: Increase default snapshot max output length
ui: Fix jsx/tsx syntax highlight
web-worker: Support MessagePort objects referenced inside postMessage data
api: Make test-specification options writable
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.