Skip to content

📦 Package: Bump supports-color from 8 to 10 #5335

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Feature Request Checklist

Overview

Mocha currently depends an older major version of supports-color:

"supports-color": "^8.1.1",

Suggested Solution

[email protected] 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 supports-color and haven't looked for them.

Additional Info

supports-color@10 still supports older Node.js than Mocha, so I don't believe we're blocked on that. However, it is an ESM-only package, so this could only happen once Mocha requires Node.js versions that include require(ESM) (^20.19.0 || >=22.12.0).

Metadata

Metadata

Labels

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions