Packages

@vitest/mocker

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

Upgrading @vitest/mocker From 3.1.0 to 3.2.7

12 releases in betweenevery note read

Other targets from 3.1.0Clears its 2 advisories4.1.12Latest5.1.0
  1. 3.1.0yours
  2. 11 releases
  3. 3.2.7target

Before you upgrade

Tick each one off as you go
  • Deprecated3.2.0

Security

Release by release

  1. 3.2.7

    6 Jul 20261 fix
    • Fixed

      browser: Check fs access in builtin commands [backport to v3]

  2. 3.2.6

    1 Jun 20261 fix
    • Fixed

      Pin last supported vite-node version

  3. 3.2.5

    1 Jun 20261 new · 1 fix
    • New

      api: Add allowWrite and allowExec options to api [backport to v3]

    • Fixed

      browser: Disable client cdp API when allowWrite/allowExec: false [backport to v3]

  4. 3.2.4

    17 Jun 20253 fixes
    • Fixed

      Use correct path for optimisation of strip-literal

    • Fixed

      Print uint and buffer as a simple string

    • Fixed

      deps: Update all non-major dependencies - in #8123

  5. 3.2.3

    9 Jun 20253 fixes
    • Fixed

      Rerun tests when project's setup file is changed

    • Fixed

      Revert expect.any return type

    • Fixed

      Run only the name plugin last, not all config plugins

  6. 3.2.2

    5 Jun 20251 new
    • New

      Support rolldown-vite

  7. 3.2.1

    3 Jun 20253 fixes
    • Fixed

      Use sha1 instead of md5 for hashing

    • Fixed

      expect: Fix chai import in dts

    • Fixed

      expect: Export DeeplyAllowMatchers

  8. 3.2.0

    Deprecation2 Jun 202510 new · 9 fixes
    • Deprecated

      Deprecate workspace in favor of projects

    • New

      Provide ctx.signal

    • New

      Support custom colors for test.name

    • New

      Add vi.mockObject to automock any object

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.