Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #51 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 595 601 +6
Branches 87 89 +2
=========================================
+ Hits 595 601 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix(color-support): treat
TERM=dumbas no color before applyingCOLORTERM,TERM=dumbis ignored whenCOLORTERMis set #49.COLORTERMis a color level hint.When
TERM=dumb, Ansis now disables ANSI color output even if color environment variables such asCOLORTERM=truecolorwere inherited from a parent process (e.g. in Emacs M-x compile).FORCE_COLORkeeps the highest priority and can still explicitly enable colors.Auto-detection behavior changes after the fix
TERM=dumbTERM=dumbnow has higher priority inautoDetectLevel.TERM=dumb+COLORTERM=truecolorCOLORTERMno longer overridesTERM=dumb.TERM=dumb+ CITERM=dumb.TERM=dumb+ PM2TERM=dumb.TERM=dumb+ Next.js runtimeTERM=dumb.COLORTERMwithoutTERM=dumbTERM=dumbTERM=dumbTERM=dumb*- Depends on additional conditions.test(color-support): add regression coverage for
TERM=dumbwith inheritedCOLORTERM=truecolorThe tests also cover PM2 and Next.js edge behavior where
stdout.isTTYis not exposed.test: add a manual color support checker
Run
npm run color-checkerto print the environment values used by color detection and visually inspect ANSI 16, ANSI 256, and Truecolor rendering.test(deno): run CI against Deno 2.3+ and the current LTS
Deno 2.0-2.2 are no longer tested in the CI matrix because they cannot use the same
deno.lockv5 format as Deno 2.3+.Runtime compatibility with Deno 2.0-2.2 remains supported.