vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 1.5.0 to 1.6.1
5 releases in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 9
- new
- 27
- fixes
Security
1 advisory still affects 1.6.1
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
Upgrading to 3.2.6 clears it.
Fixes 1 advisory affecting 1.5.0
- Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listeningcritical · GHSA-9crc-q9x8-hgqq
Release by release
- Security
- Fixed
Backport #7317 to v1
- New
Support standalone mode
- New
Custom "snapshotEnvironment" option
- New
benchmark: Support comparing benchmark result
- New
browser: Allow injecting scripts
- New
- Fixed
Use package.json name for a workspace project if not provided
- Fixed
Backport jest iterable equality within object
- Fixed
browser: Support benchmark
- Fixed
reporter: Use default error formatter for JUnit
- Fixed
- Fixed
Check for null before storing in weakmap
- Fixed
- New
api:
startVitest()to acceptstdoutandstdin - Fixed
Close vite servers on all resolved projects
- Fixed
Fix default
import.meta.env.PROD: false - Fixed
Resolve cwd correctly when initiating projects
- New
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.