Skip to content

[TASK]: Bump pixelmatch from 7.2.0 to 8.0.0 in the dependencies group across 1 directory - #7

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dependencies-81d8b7ae35
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/dependencies-81d8b7ae35

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 11, 2026 •

Copy link
Copy Markdown

Bumps the dependencies group with 1 update in the / directory: pixelmatch.

Updates pixelmatch from 7.2.0 to 8.0.0

Release notes

Sourced from pixelmatch's releases.

v8.0.0

A major update: a new, much more accurate color difference metric (replacing the one used since 2015), and two new options for handling noise and irrelevant regions in tests.

🎯 New color difference metric

Colors are now compared using the OKLab color space and the HyAB distance instead of YIQ. It's much closer to how people perceive color differences, so you get fewer false positives and fewer missed changes (#127). The math is more involved, but it's heavily optimized, so pixelmatch runs nearly as fast as before.

🪟 windowSize option

Returns the largest number of differing pixels in any N×N square instead of the total count. Scattered noise like GPU dithering or font anti-aliasing stays low, while real changes, which are usually compact, stand out:

if (pixelmatch(img1, img2, null, width, height, {windowSize: 16}) > 28) throw new Error('changed');

🙈 ignoreMask option

A per-pixel mask of areas to skip, like timestamps or animations. (#171 by @​Venefilyn, closes #163)

Other improvements

  • More reliable anti-aliasing detection on images with transparency.
  • Colors that differ only in transparency are much less likely to be missed.

⚠️ Upgrading from v7

The API is unchanged, and threshold keeps its scale (0 to 1, where 1 is black vs. white) and 0.1 default. But diff counts will differ because of the new metric. If your tests rely on exact counts or a tuned threshold, re-check them.

Commits
  • bddb613 8.0.0
  • a59be42 clarify what threshold means
  • 0cbe435 validate ignoreMask as pixel data
  • ebd9a84 add lightness helper
  • 3ab6cb5 improve checkerboard algorithm
  • 2b55b69 minor cleanup
  • 8856bdc feat: Add options.ignoreMask of pixels to skip (#171)
  • b280005 fix sensitivity around dark & other edge cases
  • c6fee35 blend with white rather than grey in AA check
  • 63ab459 add windowSize option for sliding window diff counts
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the dependencies group with 1 update in the / directory: [pixelmatch](https://github.com/mapbox/pixelmatch).


Updates `pixelmatch` from 7.2.0 to 8.0.0
- [Release notes](https://github.com/mapbox/pixelmatch/releases)
- [Commits](mapbox/pixelmatch@v7.2.0...v8.0.0)

---
updated-dependencies:
- dependency-name: pixelmatch
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 11, 2026
@benjaminkott

Copy link
Copy Markdown
Owner

Updated on main in 94341ba.

@dependabot @github

dependabot Bot commented on behalf of github Oct 11, 2026

Copy link
Copy Markdown
Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@benjaminkott
benjaminkott deleted the dependabot/npm_and_yarn/dependencies-81d8b7ae35 branch October 11, 2026 15:07
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant