npm / supports-color
supports-color
What changed in supports-color 6 to 11, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
7 breaking2 new APIs and options3 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsupports-color 112 changes
Breaking changes 1
Node.js 22 is now required to use supports-color.
Behavior and default changes 1
Numeric FORCE_COLOR values are treated as an exact color level.
supports-color 102 changes
Breaking changes 1
Node.js 18 is now required.
Behavior and default changes 1
CircleCI environments now return level 3 color support.
supports-color 93 changes
Breaking changes 3
The supportsColor.supportsColor() export moved to the named export createSupportsColor.
Node.js 12 is now required to use the package.
The package is now pure ESM, changing how developers import it.
supports-color 82 changes
New APIs and options 1
An option was added to ignore process.argv when determining color support.
Behavior and default changes 1
supports-color now detects Google Chrome.
supports-color 71 changes
Breaking changes 1
Node.js 8 is now required.
supports-color 62 changes
Breaking changes 1
TERM=dumb now has higher priority when determining color support.
New APIs and options 1
The FORCE_COLOR environment variable can set the support level.