@vitest/mocker
5.1.0 · 2 Nov 2026MIT190.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/mocker From 4.0.4 to 4.0.5
1 release in betweenevery note read
Security
2 advisories still affect 4.0.5
- 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
Pass testfiles at once when
--no-isolate --maxWorkers=1 - New
expect: Optimize checking the input type
- Fixed
Respect
ssr.noExternalwhen externalizing dependencies, fix Svelte and Astro - Fixed
Allow module in --config
- Fixed
browser: Allow
Locatortype in selectOptions element parameter - Fixed
module-runner: Don't return node builtins for
getBuiltinsunconditionally - Fixed
pool: Rename
groupIdtogroupOrderin error message
- 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.