vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
1.6.1 is the newest release of 1.x.
In short
5 new8 fixed
Security
2 advisories affect 1.1.0; 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
Features
Add es-main compatibility to vite-node
Add
--workspaceoption, fix root resolution in workspacesAdd
--no-file-parallelism,--maxWorkers,--minWorkersflagsAdd
--no-isolateflag to improve performance, add documentation about performanceAdd
--excludeCLI flag
Bug Fixes
Correctly reset provided values
expect: Fix
toHavePropertyassertion error diffrunner: Handle fixture teardown error
types:
defineWorkspacefix intellisense and report type errorsui: Escape html for console log view
ui: Fix coverage iframe url for html report preview
ui: Show file item when search filter matches only test cases
vitest: Pass down CLI options to override workspace configs
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.