vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
10 fixed
Security
2 advisories affect 1.1.1; 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 crash when using happy-dom or jsdom environment on Yarn PnP workspaces
Don't fail if
inline: trueis setCorrect option name
--no-parallelismMatch jest json output by making json reporter output ndjson-compatible
runner: Reset "current test" state on dynamic
skipvitest: Don't hang when mocking files with cyclic dependencies
vitest: Initialize snapshot state only once for each file suite
vitest: Fix file snapshots in skipped suites considered obsolete
vitest: Show
beforeAll/afterAllerrors in junit reportervm-threads: Tests not cancelled on key press, cancelled tests shown twice
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.