Packages

@vitest/mocker

5.1.0 · 2 Nov 2026MIT190.8M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.6

18 Feb 2025Where it was published

3.2.7 is the newest release of 3.x.

In short

8 fixed

Security

2 advisories affect 3.0.6; 4.1.12 fixes them

Release note

The section about @vitest/mocker of a note shared by several packages.

Bug Fixes

  • Fix getMockedSystemTime for useFakeTimer

  • Compat for jest-image-snapshot

  • Ensure project names are readable in dark terminals

  • Exclude queueMicrotask from default fake timers to not break node fetch

  • Use tinyglobby instead of fast-glob

  • deps: Update all non-major dependencies

  • deps: Update all non-major dependencies

  • vite-node: Remove fake first line mapping on Vite 6

  • watch: Properly remove cache after removing existing test files

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.