Packages

@vitest/mocker

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

Your version

2.1.4

28 Oct 2024Where it was published

2.1.9 is the newest release of 2.x.

In short

1 faster1 fixed1 internal

Security

2 advisories affect 2.1.4; 4.1.12 fixes them

Release note

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

Features

This patch release includes a non-breaking feature for the experimental Browser Mode that doesn't follow SemVer. If you want to avoid picking up releases like this, make sure to pin the Vitest version in your package.json. See npm's documentation about semver for more information.

Bug Fixes

  • mocker: Remove spy from peer dependencies

Performance

  • Use hash to replace createHash

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.