Skip to content

📦 Package: Bump minimatch from 5 to 9 #5333

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Feature Request Checklist

Overview

Mocha currently depends an older major version of minimatch:

"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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions