chalk/test
Varun Chawla 8255f6a1a5 Fix FORCE_COLOR to set exact level instead of minimum
Previously, FORCE_COLOR was used as a floor value and terminal
detection could return a higher level. For example, FORCE_COLOR=1
on a truecolor terminal would still give level 3.

Now when FORCE_COLOR is set to a specific level (1, 2, or 3), that
exact level is returned without further terminal capability checks.

Fixes #624
2026-02-13 00:54:25 -08:00
..
_fixture.js Add named exports (#432) 2021-04-17 19:33:03 +07:00
_force-color-fixture.js Fix FORCE_COLOR to set exact level instead of minimum 2026-02-13 00:54:25 -08:00
chalk.js Re-export types from supports-color (#526) 2021-11-21 13:51:24 +07:00
force-color.js Fix FORCE_COLOR to set exact level instead of minimum 2026-02-13 00:54:25 -08:00
instance.js Add named exports (#432) 2021-04-17 19:33:03 +07:00
level.js Meta tweaks 2022-10-05 21:43:01 +07:00
no-color-support.js Require Node.js 12 and move to ESM 2021-04-16 16:22:53 +07:00
visible.js Add named exports (#432) 2021-04-17 19:33:03 +07:00