vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
3.2.7 is the newest release of 3.x.
In short
18 fixed
Security
2 advisories affect 3.0.6; 4.1.11 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
- ModerateVitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect MockGHSA-82fw-gwwq-j7x9 · 8 Sep 2026Fixed in 4.1.11
Release note
Bug Fixes
Fix
getMockedSystemTimeforuseFakeTimerCompat for jest-image-snapshot
Ensure project names are readable in dark terminals
Exclude
queueMicrotaskfrom default fake timers to not break node fetchUse
tinyglobbyinstead offast-globbrowser: Fix mocking modules out of root
browser: Fix
toHaveClasstypingbrowser: Relax locator selectors methods
browser: Resolve thread count from
maxWorkersbrowser: Cleanup timeout on resolve and give more information in the error
coverage:
vite-nodeto pass correct execution wrapper offsetcoverage: Preserve moduleExecutionInfo in non-isolated runs
deps: Update all non-major dependencies
deps: Update all non-major dependencies
init: Invalid browser config
reporters: Render tasks in tree when in TTY
vite-node: Remove fake first line mapping on Vite 6
watch: Properly remove cache after removing existing test files
workspace: Forward
inspectrelated cli options
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.