Packages

@vitest/mocker

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

Your version

3.1.0

31 Mar 2025Where it was published

3.2.7 is the newest release of 3.x.

In short

7 new4 fixed

Security

2 advisories affect 3.1.0; 4.1.12 fixes them

Release note

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

Features

  • Introduce %$ option to add number of the test to its title

  • Add diff.maxDepth option and set non-Infinity value as a default to reduce crash

  • Allow array element for test.each/for title formatting

  • Add "configureVitest" plugin hook

  • Support --configLoader CLI option

  • Added vitest-browser-lit to vitest init browser and docs

  • Use providers request interception for module mocking

Bug Fixes

  • Update test stats regularly

  • Fix vm tests flakiness

  • Set diff.expand: false as default

  • deps: Update all non-major dependencies

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.