vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 1.3.1 to 1.4.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 18
- fixes
Before you upgrade
Tick each one off as you go- Deprecated1.4.0
Security
2 advisories still affect 1.4.0
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
- Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listeningcritical · GHSA-9crc-q9x8-hgqq
Upgrading to 3.2.6 clears them.
Release by release
- Deprecated
config: Deprecate
cache.diroption - New
Throw error when using snapshot assertion with
not - New
Add a flag to include test location in tasks
- New
cli: Support wildcards in
--projectoption
- Deprecated
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.