vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.32.x.
In short
3 new10 fixed1 internal
Security
1 advisory affects 0.32.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
Release note
Features
Export
registerConsoleShortcutsfromvitest/nodeexpect: Support
expect.unreachablerunner:
describe/testname support anonymous function
Bug Fixes
Avoid call stack recursion with large error (fix: #3060)
Automatically remove define related configuration
Import
performancefromperf_hooksRevert concordance diff, use jest's diff output
browser: Change optimized deps to use
vitestbrowser: Access vi_inject only if it was injected
mocker: Respect namespace import when hoisting vi.mock
ui: Navigate to dashboard when re-running tests from coverage page
vite-node: Correctly resolve virtual modules
vite-node: Fix errors caused by commonjs export circular references
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.