Packages

@vitest/mocker

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

Your version

3.1.2

21 Apr 2025Where it was published

3.2.7 is the newest release of 3.x.

In short

1 new8 fixed

Security

2 advisories affect 3.1.2; 4.1.12 fixes them

Release note

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

Bug Fixes

  • Add global chai variable in vitest/globals (fix: #7474)

  • Prevent modifying test.exclude when same object passed in coverage.exclude

  • Fix already hoisted mock

  • Fix test.scoped inheritance

  • Remove pointer-events-none after resizing the left panel

  • Default to run mode when stdin is not a TTY

  • Use happy-dom/jsdom types for envionmentOptions

  • deps: Update all non-major dependencies - in #7765

  • deps: Update all non-major dependencies - in #7831

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.