Packages

@vitest/mocker

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

Upgrading @vitest/mocker From 4.1.12 to 5.0.3

4 releases in betweenevery note read

Other targets from 4.1.12Latest5.1.0
  1. 4.1.12yours
  2. 5.0.0major
  3. 5.0.1
  4. 5.0.2
  5. 5.0.3target
  6. 2 pre

Before you upgrade

Tick each one off as you go
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0
  • Breaking5.0.0

Release by release

  1. 5.0.3

    30 Sep 20266 fixes
    • Fixed

      Isolate result.status between repeats runs

    • Fixed

      Don't print an interceptor warning in browser mode

    • Fixed

      Don't retry when test.fails expectedly failed

    • Fixed

      Scope cache key generators to projects

    • Fixed

      deps: Pin why-is-node-running to 3.2.1 to avoid users running into ERR_PNPM_TRUST_DOWNGRADE

    • Fixed

      vitest: Remove root temp dir on close

  2. 5.0.2

    25 Sep 20261 fix
    • Fixed

      Bind process in case global is overwritten

  3. 5.0.1

    Deprecation15 Sep 20269 fixes
    • Deprecated

      Warn when deprecated deps.optimizer.web is used

    • Fixed

      Exit 1 when vitest list fails collection

    • Fixed

      Keep parse error details in static collection

    • Fixed

      Avoid recursive prototype in automocking

  4. 5.0.0

    Migration needed3 Sep 202663 new · 138 fixes
    • Breaking

      Replace loupe.inspect with pretty-format

    • Breaking

      Remove quotes from string values in test.for/each title $ variable (take 2)

    • Breaking

      Default attachmentsDir from .vitest-attachements/ to .vitest/attachments/

    • Breaking

      Remove sequential test/suite options in favor of concurrent

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.