build: update dev-dependency ansis from 4.2.0 to 4.4.0 - #10
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm/ansis-4.x
branch
from
May 20, 2026 00:54
0ee8bd8 to
476e411
Compare
renovate
Bot
force-pushed
the
renovate/npm/ansis-4.x
branch
from
June 3, 2026 17:16
476e411 to
448ad36
Compare
renovate
Bot
force-pushed
the
renovate/npm/ansis-4.x
branch
from
September 7, 2026 22:41
448ad36 to
daf43fb
Compare
renovate
Bot
force-pushed
the
renovate/npm/ansis-4.x
branch
from
September 16, 2026 19:49
daf43fb to
328f842
Compare
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.
This PR contains the following updates:
4.2.0→4.4.0Release Notes
webdiscus/ansis (ansis)
v4.4.0Compare Source
fix(color-support): treat
TERM=dumbas no color before applyingCOLORTERM, #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.
v4.3.1Compare Source
fix: remove closing
resetANSI sequenceresetis now treated as a single SGR command, not as a paired style.This means
ansis.reset(value)prepends\x1b[0mand does not append a closing reset sequence.Before:
Now:
If a trailing reset is needed, add it explicitly:
The fix removes extra reset sequences in chained, nested, template literal, and multiline style compositions
where treating
resetas a paired style gave wrong output.fix:
strip()now removes OSC 8 hyperlink sequences generated bylink()ansis.strip(ansis.link(url, text))now returns plain textfix: prevent silent style leakage between Ansis instances created with different color levels
fix:
.extend()on one Ansis instance no longer overrides styles created on other instances with different color levelsrefactor: micro-optimisations to reduce code size
v4.3.0Compare Source
link(url, text?)for OSC 8 hyperlinks, supported by many terminal emulatorsglobalThisobject for controlled color auto-detectionFORCE_COLOR=1,NO_COLOR=1FORCE_COLORtakes precedence overNO_COLOR)NO_COLOR=1,--colorNO_COLOR)FORCE_COLOR=1,--no-colorFORCE_COLORhas the highest priority)--no-color --color--colorwith no detected colorsConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.