Skip to content

chore(deps): update dependency ansis to v4.3.0#3394

Merged
RobinTail merged 2 commits into
masterfrom
renovate/ansis-4.x-lockfile
May 12, 2026
Merged

chore(deps): update dependency ansis to v4.3.0#3394
RobinTail merged 2 commits into
masterfrom
renovate/ansis-4.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 12, 2026

This PR contains the following updates:

Package Change Age Confidence
ansis 4.2.04.3.0 age confidence

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 becomes conflicted, 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.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 12, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedansis@​4.2.0 ⏵ 4.3.01001005494100

View full report

@coveralls-official
Copy link
Copy Markdown

coveralls-official Bot commented May 12, 2026

Coverage Status

coverage: 100.0%. remained the same — renovate/ansis-4.x-lockfile into master

@renovate renovate Bot force-pushed the renovate/ansis-4.x-lockfile branch from 612f0ba to 47897f4 Compare May 12, 2026 19:13
@renovate renovate Bot force-pushed the renovate/ansis-4.x-lockfile branch from 47897f4 to e9e8db0 Compare May 12, 2026 19:25
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 12, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@RobinTail RobinTail merged commit 6837a4a into master May 12, 2026
13 checks passed
@RobinTail RobinTail deleted the renovate/ansis-4.x-lockfile branch May 12, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant