Packages

ava

8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed

Your version

5.0.1

25 Sep 2022Where it was published

5.3.1 is the newest release of 5.x.

In short

4 breaking6 new

  • Breaking

    Node.js 12 is no longer supported.

  • Breaking

    AVA now requires Node.js 14.19, 16.15 or 18. #3043

  • Breaking

    Type definition distribution assumes at least TypeScript 4.7. #3041

  • Breaking

    We're now exporting types rather than interfaces. #3096

Release note

Despite the major version bump this is a relatively minor release. Node.js 12 is no longer supported. The type definitions are now distributed to be compatible with TypeScript 4.7 or newer.

npm install --save-dev ava

Breaking Changes

  • Breaking

    AVA now requires Node.js 14.19, 16.15 or 18. #3043

  • Breaking

    Type definition distribution assumes at least TypeScript 4.7. #3041

  • Breaking

    We're now exporting types rather than interfaces. #3096

Improvements

  • Detect process.exit() called from tests

  • Improve test result accessibility

  • Parse for line numbers with latest supported ECMA version

  • Work around os.cpus() returning an empty array on unsupported platforms

  • Count timeouts separately from the timed out tests

  • Cap idle timeouts to the maximum possible value

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.