Packages

vitest

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

Your version

0.27.0

9 Jan 2023Where it was published

0.34.6 is the newest release of 0.27.x.

In short

1 breaking1 deprecated1 new1 faster7 fixed

  • Breaking

    Split vitest into separate packages, but still bundle them for the time being

  • Deprecated

    Deprecate "error" on result, store errors in "errors"

Security

1 advisory affects 0.27.0; 3.2.6 fixes them

Release note

Breaking Changes

  • Deprecated

    Deprecate "error" on result, store errors in "errors"

  • Breaking

    Split vitest into separate packages, but still bundle them for the time being

Features

  • coverage: report only changed files when using istanbul coverage with watch mode

Bug Fixes

  • Return mock path only when mocked

  • Allow mocking CJS module with interoped default

  • Avoid random ENOTEMPTY errors

  • Always inline assets and modules with special Vite queries

  • cli: Allow overrides reporter via cli option

  • coverage: Flaky c8 coverage caused by parallel sourcemap constructing

  • coverage: Validate extension, when reporting c8 coverage

Performance

  • Improve vi.mock performance

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.