ava
8.4.0 · 7 Nov 2026MIT575.3k / weekRepositoryHomepagenpmAtom feed
Upgrading ava From 1.2.1 to 1.4.1
4 releases in betweennotes for 2
- ?
- changes to make
- 0
- advisories fixed
- ?
- new
- 5+
- fixes
Counted from 2 of 4 release notes. Advisories are counted from the advisory database, in full.
Release by release
- Fixed
Filtered tests (when using
--match,.skip()or.only()) are no longer included in the list of pending tests when timeouts occur or when you interrupt a test run. Thanks @vancouverwill! 23e302a8dc35d03ba82916bd6591822a28d499d1 - Fixed
We're now shimming all TTY methods in the worker processes, thanks to @okyantoro. c1f6fdfed61c99c1144cff56b58d113810c630c8
- Fixed
1.4.0no release note
- Fixed
We've fixed a rather embarrasing bug with
t.throws()andt.throwsAsync(). If you'd set acodeexpectation to a number we never actually checked that the thrown error had such a code! Thanks to @qlonik for both spotting and fixing this. 82daa5e373ef0587693927acc63ce5590e8d8eb2 - Fixed
1.2.0 contained a regression which meant that if you faked
clearTimeout(), you'd break AVA. That's now been fixed. 40f331c27e70690e724f9ddc893fed0556058987 - Fixed
Snapshot files are now recognized as source files, so if you're using watch mode and you delete one, AVA won't rerun all your test files. d066f6fbc06ab2fa2d391ff373f5f09b2585b900
- Fixed
1.3.0no release note
1 internal line (docs, tests, tooling) left out.
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.