@vitest/mocker
5.1.0 · 2 Nov 2026MIT190.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/mocker From 3.0.9 to 3.1.0
1 release in betweenevery note read
Security
2 advisories still affect 3.1.0
- Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mockmoderate · GHSA-82fw-gwwq-j7x9
- Vitest: Code injection via unauthenticated manual mock registrationmoderate · GHSA-qxg6-89mg-rqv8
Upgrading to 4.1.12 clears them.
Release by release
- New
Introduce
%$option to add number of the test to its title - New
Add
diff.maxDepthoption and set non-Infinityvalue as a default to reduce crash - New
Allow array element for
test.each/fortitle formatting - New
Add "configureVitest" plugin hook
- 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.