vitest
5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.14.x.
In short
4 breaking2 new3 fixed
- Breaking
vite-node: use
.mjsfor esm build - Breaking
- Breaking
vite-node: respect ssr field, allow inlining everything
- Breaking
Improve watcher performance, add forceRerunTriggers option,
watchIgnoreis renamed towatchExcludeand now accepts only glob patterns
Security
1 advisory affects 0.14.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
Release note
Breaking Changes
- Breaking
vite-node: use
.mjsfor esm build - Breaking
Remove
"type": "module"from vitest/package.json (#1411) (b4a9b0b), closes #325 - Breaking
vite-node: respect ssr field, allow inlining everything
- Breaking
Improve watcher performance, add forceRerunTriggers option,
watchIgnoreis renamed towatchExcludeand now accepts only glob patterns
Bug Fixes
Repair TestFunction return type.
Don't escape quotes for objects in difference view
types: add callable type to vi.spyOn
types: add explicit extension for ESM compatibility
vite-node: Prevent crash when passing single module as 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.