Skip to content

Bump ansis from 4.3.1 to 4.4.0 - #69

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/ansis-4.4.0
Sep 17, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/ansis-4.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 17, 2026

Copy link
Copy Markdown
Contributor

Bumps ansis from 4.3.1 to 4.4.0.

Release notes

Sourced from ansis's releases.

v4.4.0

Bug fixes

1. TERM=dumb now disables colors during auto-detection

Ansis now treats TERM=dumb as no color before applying COLORTERM, CI detection, PM2, Next.js runtime detection, and platform-specific defaults, #49.

Before, COLORTERM=truecolor or other later auto-detection checks could still enable colors even when the environment reported TERM=dumb. This could produce visible ANSI escape codes in environments such as Emacs M-x compile.

COLORTERM remains a color capability hint. FORCE_COLOR keeps the highest priority and can still explicitly enable colors.

Use case v4.3.1 v4.4.0 Notes
TERM=dumb ✅ may allow colors * ❌ no color TERM=dumb now has higher priority in autoDetectLevel.
TERM=dumb + COLORTERM=truecolor ✅ allow colors ❌ no color COLORTERM no longer overrides TERM=dumb.
TERM=dumb + CI ✅ allow colors ❌ no color CI detection runs after TERM=dumb.
TERM=dumb + PM2 ✅ may allow colors * ❌ no color PM2 detection runs after TERM=dumb.
TERM=dumb + Next.js runtime ✅ may allow colors * ❌ no color Next.js detection runs after TERM=dumb.
COLORTERM without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
CI without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
PM2 without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
Next.js without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.

* - Depends on additional conditions.

Tests and CI

  • Added regression coverage for TERM=dumb with inherited COLORTERM=truecolor.
  • Added coverage for PM2 and Next.js runtime behavior where stdout.isTTY is not exposed.
  • Added a manual color checker. Run npm run color-checker to print the environment values used by color detection and visually inspect ANSI 16, ANSI 256, and Truecolor rendering.
  • Updated Deno CI to test Deno 2.3+ and the current LTS. Runtime compatibility with Deno 2.0-2.2 remains supported.
Changelog

Sourced from ansis's changelog.

4.4.0 (2026-09-13)

  • fix(color-support): treat TERM=dumb as no color before applying COLORTERM, #49.

    COLORTERM is a color level hint. When TERM=dumb, Ansis now disables ANSI color output even if color environment variables such as COLORTERM=truecolor were inherited from a parent process (e.g. in Emacs M-x compile).

    FORCE_COLOR keeps the highest priority and can still explicitly enable colors.

    Auto-detection behavior changes after the fix

    Use case v4.3.1 v4.4.0 Notes
    TERM=dumb ✅ may allow colors * ❌ no color TERM=dumb now has higher priority in autoDetectLevel.
    TERM=dumb + COLORTERM=truecolor ✅ allow colors ❌ no color COLORTERM no longer overrides TERM=dumb.
    TERM=dumb + CI ✅ allow colors ❌ no color CI detection runs after TERM=dumb.
    TERM=dumb + PM2 ✅ may allow colors * ❌ no color PM2 detection runs after TERM=dumb.
    TERM=dumb + Next.js runtime ✅ may allow colors * ❌ no color Next.js detection runs after TERM=dumb.
    COLORTERM without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
    CI without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
    PM2 without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.
    Next.js without TERM=dumb ✅ allow colors ✅ allow colors Unchanged.

    * - Depends on additional conditions.

  • test(color-support): add regression coverage for TERM=dumb with inherited COLORTERM=truecolor

    The tests also cover PM2 and Next.js edge behavior where stdout.isTTY is not exposed.

  • test: add a manual color support checker

    Run npm run color-checker to 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.lock v5 format as Deno 2.3+. Runtime compatibility with Deno 2.0-2.2 remains supported.

Commits
  • 670e062 docs: add description of TERM env variable
  • d5b557c Merge pull request #51 from webdiscus/next
  • a724646 fix(color-support): treat TERM=dumb as no color before applying COLORTERM...
  • 7985966 Merge pull request #48 from PingouinFerreux/fix/star-history-chart
  • 7cf8889 docs: fix broken star history chart in readme
  • 678da3a test: add tests to to control level in files usied ansis
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ansis](https://github.com/webdiscus/ansis) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](webdiscus/ansis@v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: ansis
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 17, 2026
@github-actions
github-actions Bot enabled auto-merge September 17, 2026 00:13
@github-actions
github-actions Bot merged commit d118309 into main Sep 17, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/ansis-4.4.0 branch September 17, 2026 00:14
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants