-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Feature Request Checklist
- I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faq
label, but none matched my issue. - I want to provide a PR to resolve this
Overview
Mocha currently depends an older major version of minimatch
:
Line 107 in 5cf2b09
"minimatch": "^5.1.6", |
Suggested Solution
minimatch@10.0.1
is the latest. It'd be nice to bump to that, so users aren't stuck on a dep that's many major versions behind.
Alternatives
This isn't critical and I don't think we need to do it. But it's nice ecosystem cleanup in general.
I don't know of popular alternatives to minimatch
and haven't looked for them.
Additional Info
minimatch@10
requires Node.js 20 || >=22. So we're blocked on upgrading to 10 until Mocha drops support for Node.js 18 and 21.
Note: minimatch@9
still supports "node": ">=16 || 14 >=14.17"
. We could bump to 9 in the current major, then file a followup for 10 that lands later on? I'm in favor of that. But putting this one issue up in triage for discussion.