vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
9 fixed
Security
2 advisories affect 1.0.2; 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
- CriticalVitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listeningGHSA-9crc-q9x8-hgqq · 4 Feb 2025Fixed in 1.6.1
Release note
Bug Fixes
Don't check if vite is installed
Fix ensurePackageInstalled on Yarn PnP
Apply
stripSnapshotIndentationfor thrown snapshotcli: Prompted packages fail to install
expect: Apply
URLequality check only whenURLis availablerunner: Improve fixture error messages
runner: Fix fixture cleanup when test times out
vitest: Support new Request('/api') in happy-dom
vitest: Skip processing getter in auto-mocked constructor call
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.