Skip to content

chore(deps): update dependency ansis to v4.5.0 - #174

Merged
ReenigneArcher merged 1 commit into
masterfrom
renovate/ansis-4-x-lockfile
Nov 3, 2026
Merged

ReenigneArcher merged 1 commit into
masterfrom
renovate/ansis-4-x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 2, 2026

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
ansis 4.4.0 → 4.5.0 age confidence

Release Notes

webdiscus/ansis (ansis)

v4.5.0

Compare Source

  • fix(color-support): prevent colors in piped or redirected output when COLORTERM is set, #​54.

    Before:
    Ansis used to check COLORTERM before checking stdout.
    Apps can inherit COLORTERM from the parent terminal even when stdout goes to a pipe or file.
    This could add ANSI codes to that output.

    After: Ansis now checks the output environment first.
    COLORTERM only helps choose the color level when color output is enabled.

    Color output in supported non-TTY environments such as CI, PM2, and Next.js edge still works.

    Auto-detection behavior changes after the fix

    Environment Before After
    stdout is a TTY, COLORTERM=truecolor ✅ Level 3 ✅ Level 3
    stdout to a pipe or file, COLORTERM=truecolor ✅ Level 3 ❌ Level 0
    PM2 or Next.js edge, COLORTERM=truecolor ✅ Level 3 ✅ Level 3

    To explicitly enable colors in non-TTY environments, use FORCE_COLOR.

  • fix(color-support): detect the color level for FORCE_COLOR=true and --color in non-TTY output.

    Before:
    With FORCE_COLOR=true or --color, Ansis ignored Windows and TERM for a pipe or file.
    Without COLORTERM, it used 16 colors, even on Windows or with TERM=xterm-256color.

    After: Ansis uses Windows and TERM for any output when colors are enabled this way.

    Environment Before After
    FORCE_COLOR=true or --color, pipe or file, Windows ✅ Level 1 ✅ Level 3
    FORCE_COLOR=true or --color, pipe or file, TERM=xterm-256color ✅ Level 1 ✅ Level 2
    FORCE_COLOR=true or --color, pipe or file, COLORTERM=truecolor ✅ Level 3 ✅ Level 3

    FORCE_COLOR=1, 2 and 3 set the level directly. They work as before.


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "after 1am and before 8am"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file js labels Nov 2, 2026
@sonarqubecloud

sonarqubecloud Bot commented Nov 2, 2026

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (24ffab6) to head (db1af0b).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@      Coverage Diff      @@
##   master   #174   +/-   ##
=============================
=============================

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24ffab6...db1af0b. Read the comment docs.

@ReenigneArcher
ReenigneArcher merged commit a538df0 into master Nov 3, 2026
13 checks passed
@ReenigneArcher
ReenigneArcher deleted the renovate/ansis-4-x-lockfile branch November 3, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file js

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant