Skip to content

build(deps-dev): bump ava from 6.4.1 to 8.0.0#1350

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/ava-7.0.0
Open

build(deps-dev): bump ava from 6.4.1 to 8.0.0#1350
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/ava-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 5, 2026

Bumps ava from 6.4.1 to 8.0.0.

Release notes

Sourced from ava's releases.

v8.0.0

Breaking Changes

AVA now expects Node.js 22.20, 24.12 or newer.

Internally AVA is now fully ESM. This is possible now that Node.js supports loading ES modules using require() calls and simplifies AVA's types and internals.

If you use AVA from a CommonJS project you'll have to update your imports:

-const test = require('ava');
+const {default: test} = require('ava');

We expect an increasing number of projects to be ESM only. As per the above, CommonJS is still supported, but we don't expect cjs extensions to be used. The default file extensions are now js and mjs. Specify extensions: ['cjs', 'js', 'mjs'] for AVA to run test files with the cjs extension.

All test files (and those loaded through AVA's require config) are now loaded via import(). Use customization hooks for transpilation. The object form of the extensions configuration is no longer supported.

If you use AVA with @​ava/typescript you must upgrade that package to v7.

New Features

There's two new test modifiers courtesy of @​sindresorhus: test.skipIf() to skip a test based on a runtime condition. test.runIf() is the inverse: the test only runs when the condition is true.

test.skipIf(process.platform === 'win32')('not on Windows', t => {
	t.pass();
});
test.runIf(process.platform === 'linux')('Linux only', t => {
t.pass();
});

These work with other modifiers like .serial and .failing:

test.serial.skipIf(process.platform === 'win32')('serial, not on Windows', t => {
	t.pass();
});
test.failing.skipIf(process.platform === 'win32')('expected failure, not on Windows', t => {
t.fail();
});

Other Changes

  • Watch mode now ignores changes to *.tsbuildinfo files
  • TAP reporter is more defensive when restoring the original error name, thanks to @​ninper00 in avajs/ava#3415

... (truncated)

Commits
  • fe31286 v8.0.0
  • 7bdbabb Improve error when throwsAsync/notThrowsAsync is not awaited (#3436)
  • a304990 Full ESM internals; bias away from CJS; require @​ava/typescript@​7
  • d012c64 Update release process documentation (#3435)
  • 2cea71e CI tweaks (#3438)
  • 27e9c84 Remove Node.js 20 support; update dependencies prior to release (#3432)
  • 012fa15 Run all release steps using Launchpad app (#3434)
  • e805506 Watch mode refinements (#3433)
  • d1bb28b Add descriptions for teardown, runIf, skipIf, and todo functions in type defi...
  • 8801c7a Add test.skipIf() and test.runIf()
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for ava since your current version.


@dependabot dependabot Bot added dependencies Automated dependency update javascript Pull requests that update Javascript code labels Apr 5, 2026
@d3xter666 d3xter666 changed the title build(deps-dev): bump ava from 6.4.1 to 7.0.0 build(deps-dev): Bump ava from 6.4.1 to 7.0.0 Apr 14, 2026
@d3xter666 d3xter666 added the blocked Pull requests that are blocked label Apr 14, 2026
@dependabot dependabot Bot changed the title build(deps-dev): Bump ava from 6.4.1 to 7.0.0 build(deps-dev): bump ava from 6.4.1 to 7.0.0 Apr 17, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/ava-7.0.0 branch from 08afbb7 to 6d40669 Compare April 17, 2026 08:33
Bumps [ava](https://github.com/avajs/ava) from 6.4.1 to 8.0.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/ava@v6.4.1...v8.0.0)

---
updated-dependencies:
- dependency-name: ava
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): bump ava from 6.4.1 to 7.0.0 build(deps-dev): bump ava from 6.4.1 to 8.0.0 Apr 29, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/ava-7.0.0 branch from 6d40669 to edc78bd Compare April 29, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Pull requests that are blocked dependencies Automated dependency update javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant