Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Bumps matcher from 3.0.0 to 6.0.0.

Release notes

Sourced from matcher's releases.

v6.0.0

Breaking

  • Require Node.js 20 f2c4926

sindresorhus/matcher@v5.0.0...v6.0.0

v5.0.0

Breaking

Improvements

  • Add allPatterns option (#26) c96447a
  • Make negated pattern position-insensitive (#30) 43d778c

sindresorhus/matcher@v4.0.0...v5.0.0

v4.0.0

Breaking

  • When passing an empty array of rules to matcher(), it would return the entire array of inputs with no filtering. Now it will return an empty array.
  • When passing an empty array of rules to matcher.isMatch(), it would always return true. Now it will always return false.
  • In certain cases it was possible to pass unsupported variable types to the functions and still receive a normal return value. This is no longer possible because of explicit type checks. This would have been very buggy to use, and should not have been used in production, but it is still a breaking change.

Improvements

  • matcher() now also supports passing a string instead of an array of strings. This simplifies the code base and makes the interface consistent with matcher.isMatch().
  • Both functions now fully support passing undefined variables to them. This was mostly supported before, but had several edge cases where it would crash the process. It was possible to ship code that seemed to work, but would crash under certain conditions.

Fixes

  • When passing unsupported variable types in the arrays of either function, they will now throw a proper TypeError with an explanation instead of crashing in all sorts of interesting ways.

sindresorhus/matcher@v3.0.0...v4.0.0

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [matcher](https://github.com/sindresorhus/matcher) from 3.0.0 to 6.0.0.
- [Release notes](https://github.com/sindresorhus/matcher/releases)
- [Commits](sindresorhus/matcher@v3.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: matcher
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant