vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Your version
2.1.9 is the newest release of 2.x.
In short
1 new5 fixed
Security
2 advisories affect 2.0.3; 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
Features
ui: Show all suites/tests when parent matches
Bug Fixes
--inspect-brkstop on Windowsbrowser: Don't import from "vite"
browser: Allow immidiate reinvalidation of mocked dependencies
spy: Fix type error when assigning
vi.spyOntoMockInstanceof function overloadvite-node: Remove suffix slash on file protocol for window
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.