vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
1 new11 fixed
Security
2 advisories affect 1.2.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
browser: Apply inlined workspace config to browser mode vite server
browser: Fix browser testing url for https
browser: Don't fail when calling vi.useFakeTimers
coverage:
thresholds.autoUpdateto work with arrow function configuration filesexpect: Implement chai inspect for
AsymmetricMatchervite-node: Externalize network imports
vitest: Handle single
await vi.hoistedvitest: Simplify hoist transform check regex to avoid expensive regex match
vitest: Correctly find module if it has a version query
vitest: Check color support for intercepted console logging
vitest: Use development/production conditions when resolving external modules
vitest: Throw a syntax error if vi.hoisted is directly exported
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.