Packages

@vitest/expect

5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitest/expect from 2.0.1 to 2.1.9

14 releases in betweenevery note read

Other targets from 2.0.1Latest5.0.5

Before you upgrade

Tick each one off as you go
  • breaking2.1.7
  • breaking2.1.5
  • breaking2.1.0
  • breaking2.1.0
  • breaking2.1.0
  • breaking2.1.0
  • deprecated2.1.3
  • deprecated2.1.3

Security

Release by release

  1. 2.1.9

    3 Feb 20252 fixes
    • fixed

      Backport #7317 to v2

    • fixed

      (backport #7340 to v2) restrict served files from /__screenshot-error

  2. 2.1.8

    2 Dec 20241 fix
    • fixed

      Support Node 21

  3. 2.1.7

    2 Dec 20241 fix
    • fixed

      Revert support for Vite 6

  4. 2.1.6

    26 Nov 20241 new
    • new

      Support Vite 6

  5. 2.1.5

    13 Nov 20241 new · 16 fixes
    • new

      Limit workspace project concurrency to available cores

    • fixed

      dangerouslyIgnoreUnhandledErrors without base reporter

    • fixed

      Capture unhandledRejection even when base reporter is not used

    • fixed

      Don't change the working directory when loading workspace projects

  6. 2.1.4

    28 Oct 20242 new · 16 fixes
    • new

      browser: Allow custom HTML path, respect plugins transformIndexHtml

    • new

      Use hash to replace createHash

    • fixed

      windows: Don't normalize drive case letter in root

    • fixed

      browser: Fix default browser port

  7. 2.1.3

    14 Oct 20241 new · 14 fixes
    • new

      Reuse full name in reported tasks, update generator types

    • fixed

      Fix error diff of toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy

    • fixed

      browser: Provide aria role intellisense

    • fixed

      browser: Not.toBeInTheDocument works with locators API

  8. 2.1.2

    2 Oct 202426 fixes
    • fixed

      Move Vitest.setServer to post configureServer hook to enable import analysis for workspace config loading

    • fixed

      benchmark: Clear BenchmarkResult.samples array to reduce memory usage

    • fixed

      browser: Fix dynamic import inside worker

    • fixed

      browser: Fix browser mock factory event race condition

2 internal lines (docs, tests, tooling) left out.