vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
4.1.12 is the newest release of 4.x.
In short
1 deprecated1 new3 faster6 fixed
- Deprecated
browser: Inherit
isolateoption, deprecatebrowser.isolate/browser.fileParallelism
Security
2 advisories affect 4.0.7; 4.1.11 fixes them
- CriticalWhen Vitest UI server is listening, arbitrary file can be read and executedGHSA-5xrq-8626-4rwp · 1 Jun 2026Fixed in 4.1.0
- ModerateVitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect MockGHSA-82fw-gwwq-j7x9 · 8 Sep 2026Fixed in 4.1.11
Release note
Bug Fixes
Bind
processin case global is overwrittenCreate environment once per worker with
isolate: falseAdd Locator as a possible element type in
toContainElement()matcher- Deprecated
browser: Inherit
isolateoption, deprecatebrowser.isolate/browser.fileParallelism cli: Parse
--execArgvas arrayjsdom: Support
URL.createObjectURL,FormData.set(prop, blob)pool: Avoid
--requireargument when running in denotypecheck: Handle re-runs outside
tsc
Performance
pool: Sort test files by project by default
reporters: Optimize getting the tests stats
reporters: Remove unnecessary
Array.fromcall
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.