vitest
5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed
0.34.6 is the newest release of 0.30.x.
In short
9 fixed
Security
1 advisory affects 0.30.1; 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
Bug Fixes
Do not rely on global
performanceandAggregateErrorAllow workspace without a config in the root
test.eachrespectschaiConfigUse relative paths in source map's "sources" field
types: Allow augmenting jest namespace for custom assertions
types: Publish utils and snapshot .d.ts files for typescript
snapshot:
toMatchFileSnapshotensure dir existssnapshot: Improve
skipWritingchecksnapshot: Normalize EOL for
toMatchFileSnapshot
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.