Skip to content

supports-color (npm)

Detect whether a terminal supports color

Advisories
1
Latest version
11.0.0
Released Jul 26, 2026
License
MIT
OpenSSF Scorecard
4.2 / 10

How to fix

Upgrading to the latest version is recommended.

Upgrade commands
npm
npm install supports-color@11.0.0
yarn
yarn add supports-color@11.0.0
pnpm
pnpm add supports-color@11.0.0

Known vulnerabilities

AdvisorySeverityAffectedFixed in
MAL-2025-46981
Malicious code in supports-color (npm)
Not rated yet No fix yet

Source: git+https://github.com/chalk/supports-color.git

Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor