@vitest/mocker
5.1.0 · 2 Nov 2026MIT190.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitest/mocker From 4.1.7 to 4.1.12
5 releases in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 0
- new
- 14
- fixes
Security
Fixes 2 advisories affecting 4.1.7
- 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
Release by release
- Fixed
mocker: Harden manual and redirect mocks [backport to v4]
- Fixed
- Fixed
Revive global concurrency limit for test lifecycle [backport to v4]
- Fixed
browser: Encode iframeId in tester iframe URL [backport to v4]
- Fixed
browser: Trigger playwright/chromium gc on lower disk availability [backport to v4]
- Fixed
mocker: Restrict redirect mocks to the fs allowlist [backport to v4]
- Fixed
- Fixed
browser: Check fs access in builtin commands [backport to v4]
- Fixed
vm: Fix external module resolve error with deps optimizer query for encoded URI [backport to v4]
- Fixed
- Fixed
Fix
importOriginalwith optimizer and query import [backport to v4] - by Hiroshi Ogawa, David Harris, Codexand Vladimir in #10546 - Fixed
browser: Wait for orchestrator readiness before resolving browser sessions [backport to v4] - by Vladimir and Séamus O'Connor in #10555
- Fixed
- Fixed
mocker: Hoist vi.mock() for vite-plus/test imports [backport to v4] - by Hiroshi Ogawa, LongYinan, Claude Opus 4.8 and Vladimir in #10548
- Fixed
- Fixed
- Fixed
browser: Disable client
cdpAPI whenallowWrite/allowExec: false[backport to v4] - Fixed
browser: Remove orphaned Playwright route when same module is mocked via multiple ids [backport to v4]
- Fixed
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.