vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
2.1.9 is the newest release of 2.x.
In short
1 faster9 fixed
Security
2 advisories affect 2.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 2.1.9
Release note
Bug Fixes
browser: Remove @vitest/runner > pretty-format from prebundling because it doesn't exist
browser: Inline pretty-format and replace picocolors with tinyrainbow
browser: Remove
crypto.randomUUIDfrom the clientbrowser: Correctly overwrite loupe require
browser: Dedupe @vitest/browser/client
browser: Don't release keyboard automatically
ui: Test files notified only when running
ui: Encode html entities in task name
web-worker: Peer dependency version on
vitest
Performance
browser: Don't import msw if no modules are mocked
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.