vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
Upgrading vitest From 0.30.1 to 0.31.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 7
- new
- 18
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.31.0
- Breaking0.31.0
Security
1 advisory still affects 0.31.0
- When Vitest UI server is listening, arbitrary file can be read and executedcritical · GHSA-5xrq-8626-4rwp
Upgrading to 3.2.6 clears it.
Release by release
- Breaking
Remove
browserfrom allowed pools insidepoolMatchGlobconfig option. Please, use Vitest workspaces for running tests in the browser. - Breaking
Move assertion declarations to expect package
- New
Update mock implementation to support ESM runtime, introduce "vi.hoisted"
- New
Add repeat method to tests
- Breaking
1 internal line (docs, tests, tooling) left out.
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.