Skip to content

chore(deps): bump ava from 8.0.2 to 8.1.0 - #1795

Merged
arlac77 merged 1 commit into
masterfrom
dependabot/npm_and_yarn/ava-8.1.0
Oct 22, 2026
Merged

arlac77 merged 1 commit into
masterfrom
dependabot/npm_and_yarn/ava-8.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor

Bumps ava from 8.0.2 to 8.1.0.

Release notes

Sourced from ava's releases.

v8.1.0

Code block formatting for string snapshots

This release adds an overload for t.snapshot():

t.snapshot(expected, {formatAsCodeBlock}, message?)

The overload is only accepted when expected is a string. The string is stored verbatim and rendered as a fenced code block in the resulting .snap.md file. Set formatAsCodeBlock to true for a generic code block, or a non-empty language identifier string for syntax highlighting:

test('generates code', t => {
	const code = generate();
	t.snapshot(code, {formatAsCodeBlock: 'js'});
});

The resulting snapshots can only be read with AVA 8.1 or newer, but snapshots that do not contain code blocks are backwards compatible. And existing snapshots can still be read, of course.

Performance improvements

  • ~40% faster for many small test files (startup-bound)
  • ~30% faster for a single file with thousands of tests
  • ~50% faster for many files run concurrently

What's Changed

Full Changelog: avajs/ava@v8.0.2...v8.1.0

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ava](https://github.com/avajs/ava) from 8.0.2 to 8.1.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/ava@v8.0.2...v8.1.0)

---
updated-dependencies:
- dependency-name: ava
  dependency-version: 8.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: npm dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved automated PR

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file npm labels Oct 22, 2026
@arlac77
arlac77 merged commit 9bae546 into master Oct 22, 2026
5 of 6 checks passed
@arlac77
arlac77 deleted the dependabot/npm_and_yarn/ava-8.1.0 branch October 22, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant