Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(deps): bump ansis from 3.10.0 to 3.17.0 #671

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2025

Bumps ansis from 3.10.0 to 3.17.0.

Release notes

Sourced from ansis's releases.

v3.17.0

Features

Added support for typescript < 5.6 to fix TS2526 error. This update fixes the TS2526 error in older TypeScript versions (< 5.6):

A 'this' type is available only in a non-static member of a class or interface.

[!NOTE] If you are already using TypeScript >= 5.6, this update is not required.

v3.16.0

Chore

  • Reverted the full text of ISC license.
  • Refactored code to reduce the package size.
  • Micro optimisations for named exports.

Test

  • Added tests for tsup bundler.

v3.14.0

Cumulative Release v3.6.0 - v3.14.0

Features

  • Added support for chromium-based browsers.
    Now you can use truecolor in the consoles of Chrome, Edge, Opera, Brave, Vivaldi and other Chromium-based browsers. Browsers that do not support ANSI codes will display black and white text.

  • Added support for \n as a newline in template literals, e.g.: green`Hello\nWorld` renders:

    Hello
    World
    
  • Function ansis.reset() returns the reset escape code \e[0m.

  • Enforce a specific color support by a FORCE_COLOR value:

    • false - Disables colors
    • 0 - Disables colors
    • true (or unset) - Auto detects the supported colors (if no color detected, enforce truecolor)
    • 1 - Enables 16 colors
    • 2 - Enables 256 colors
    • 3 - Enables truecolor

... (truncated)

Changelog

Sourced from ansis's changelog.

3.17.0 (2025-03-02)

  • feat: add support for typescript < 5.6 to fix TS2526 error:
    A 'this' type is available only in a non-static member of a class or interface.
    
    NOTE: If you are already using TypeScript >= 5.6, this update is not required.

3.16.0 (2025-02-21)

  • chore: after testing bump version to release version 3.16.0

3.16.0-beta.3 (2025-02-21)

3.16.0-beta.0 (2025-02-19)

  • refactor: micro optimisations for named exports to slight reduce the package size by ~40 bytes.

3.15.0 (2025-02-16)

  • feat: reduce the package size by ~200 bytes.
  • refactor: invisible micro optimisations.
  • chore: after testing in many projects bump v3.15.0-beta.2 to release v3.15.0.
  • chore: update dev dependencies.
  • test: add tests for tsup bundler.

3.15.0-beta.2 (2025-02-15)

  • refactor: slight reduce the package size

3.15.0-beta.1 (2025-02-15)

  • feat: remove "main" from package.json, since Ansis is a dual package using "exports".
    Note:
    • requires Node >= v12.7.0 to support "exports".
    • npm does not require "main" for publishing a package.
    • Node.js prioritizes "exports" over "main" when resolving modules.
    • Modern bundlers and tools (like Webpack, Rollup, and TypeScript) also use "exports".
  • docs: add to README the Compatibility Check for tools and browsers.

3.15.0-beta.0 (2025-02-14)

  • feat: reduce the package size by ~100 bytes
  • refactor: invisible micro optimisations

3.14.0 (2025-02-13)

  • feat: add support for chromium-based browsers.\

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 8, 2025
Bumps [ansis](https://github.com/webdiscus/ansis) from 3.10.0 to 3.17.0.
- [Release notes](https://github.com/webdiscus/ansis/releases)
- [Changelog](https://github.com/webdiscus/ansis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/ansis/commits/v3.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-ansis-3.17.0 branch from eb9eed8 to 1f733b7 Compare March 17, 2025 21:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants