vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 2.1.2 to 2.1.3
1 release in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 14
- fixes
Before you upgrade
Tick each one off as you go- Deprecated2.1.3
- Deprecated2.1.3
Security
3 advisories still affect 2.1.3
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
- Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mockmoderate · GHSA-82fw-gwwq-j7x9
- Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listeningcritical · GHSA-9crc-q9x8-hgqq
Upgrading to 4.1.11 clears them.
Release by release
- Deprecated
vitest: Deprecate UserConfig in favor of ViteUserConfig
- Deprecated
vitest: Deprecate old task types and node-reliant types
- New
Reuse full name in reported tasks, update generator types
- Fixed
Fix error diff of
toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy
- 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.