Packages

vitest

5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed

Upgrading vitest From 0.15.2 to 0.16.0

1 release in betweenevery note read

Other targets from 0.15.2Newest 0.x0.34.6Clears its advisory3.2.6Latest5.1.1
  1. 0.15.2yours
  2. 0.16.0target
1
change to make
0
advisories fixed
1
new
3
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.16.0

Security

1 advisory still affects 0.16.0

Upgrading to 3.2.6 clears it.

Release by release

  1. 0.16.0

    Migration needed24 Jun 20221 new · 3 fixes
    • Breaking

      Rename mock types to match jest's #1525

    • New

      VITEST_POOL_ID cannot be the same between different running specs #1531

    • Fixed

      Align hooks return types with their behaviour #1522

    • Fixed

      Replace ?& with ? when normalizing id #1529

    • Fixed

      ToFilePath with abs path in root #1538

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.