Skip to content

build: update dependency ansis from 4.2.0 to 4.3.0#42

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm/ansis-4.x
Open

build: update dependency ansis from 4.2.0 to 4.3.0#42
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm/ansis-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 14, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence OpenSSF
ansis 4.2.04.3.0 age adoption passing confidence OpenSSF Scorecard

Release Notes

webdiscus/ansis (ansis)

v4.3.0

Compare Source

  • feat: add support for OSC 8 hyperlink: link(url, text)
  • feat: add constructor overload to pass a mock globalThis object for controlled color auto-detection
    import { Ansis } from 'ansis';
    
    const color = new Ansis({
      process: {
        env: { FORCE_COLOR: '1' },
        argv: ['node', 'app.js'],
        stdout: { isTTY: false },
        platform: 'linux',
      },
    });
    
    console.log(color.level); // 1
  • fix(color-support): correctly handle edge cases using ENV variables and CLI flags
Fixed edge case Old behavior (bug) New behavior (correct)
FORCE_COLOR=1, NO_COLOR=1 disable color enable color (FORCE_COLOR takes precedence over NO_COLOR)
NO_COLOR=1, --color disable color enable color (CLI color flags take precedence over NO_COLOR)
FORCE_COLOR=1, --no-color disable color enable color (FORCE_COLOR has the highest priority)
--no-color --color disable color enable color (last flag wins)
--color with no detected colors truecolor 16 colors (auto-detect fallback uses the minimum color level, not truecolor)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • 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 bot Bot involvement dependency Additions or changes involving dependency labels May 14, 2026
@renovate renovate Bot requested a review from codeismyid as a code owner May 14, 2026 13:27
@renovate renovate Bot added renovate Anything from renovatebot bot Bot involvement dependency Additions or changes involving dependency labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Bot involvement dependency Additions or changes involving dependency renovate Anything from renovatebot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants