Skip to content

fix(deps): bump ansis from 3.3.2 to 3.6.0 #666

New issue

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

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

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2025

Bumps ansis from 3.3.2 to 3.6.0.

Release notes

Sourced from ansis's releases.

v3.5.2

Features

  • Optimised the npm package size from 10.3 kB to 7.0 kB.

    Now, Ansis is the smallest yet most powerful library with rich functionality. A slightly smaller is picocolors (6.4 kB), but it offers only basic functionality.

  • Added detection of the xterm-direct terminal as supportingtruecolor.
  • Added support for the COLORTERM environment variable with the following values: truecolor, 24bit, ansi256, ansi (16 colors).

Bug Fixes (TypeScript)

  • Fixed default import in TypeScript compiled with tsc: import ansis from 'ansis' now works so well as import * as ansis from 'ansis'.
  • Fixed the TS2339: Property 'strip' does not exist on type when the tsc option module is node16.

v3.4.0

Cumulative Release v3.3.2 - v3.4.0

Bug Fixes

  • Correct detect TTY on Windows platform.

Chore

  • Optimised the npm package to reduce size by ~1.1 kB, from 11.4 kB to 10.3 kB.
  • Added benchmarks for kolorist package.
  • Added new representative benchmarks by using combination of 1, 2, 3 and 4 styles.
  • Refactor: invisible code optimisations.
Changelog

Sourced from ansis's changelog.

3.6.0 (2025-01-04)

  • feat: remove undocumented pointless dummy function ansis(any)

    [!WARNING] This is not a BREAKING CHANGE because it was never officially documented!

    import ansis from 'ansis';
    ansis('text'); <= now will occur the ERROR TS2349: This expression is not callable.
    

    This warning applies only to projects where Chalk was replaced with Ansis and something like chalk('text') was used.

    Just replace ansis('text') with 'text'.

    The ansis('text') function was a dummy and did nothing except return the same input string.

  • chore: update license to current date

3.5.2 (2024-12-28)

  • fix: TS2339: Property 'strip' does not exist on type when the TS compiler option module is node16
  • refactor: optimize index.d.ts to reduce package size from 7.3 kB to 7.0 kB

3.5.1 (2024-12-26)

  • refactor: invisible code optimisation

3.5.0 (2024-12-26) release

  • refactor: optimise npm package to reduce size by 3 kB, from 10.3 kB to 7.3 kB
  • feat: add support the COLORTERM variable for values: truecolor, 24bit, ansi256, ansi (16 colors)
  • feat: add support the xterm-direct terminal to detect the truecolor
  • fix: remove detection environment variable GPG_TTY introduced in 3.5.0-beta.0 version, because it make no sense
  • fix: default import in TypeScript, compiled with tsc: import ansis from 'ansis' now works so well as import * as ansis from 'ansis'

3.5.0-beta.6 (2024-12-25)

  • refactor: optimise npm package to reduce the size
  • chore: update benchmarks with newest version
  • test: add more use cases

3.5.0-beta.5 (2024-12-24)

  • feat: detect xterm-direct terminal as supported the truecolor
  • feat: add support the COLORTERM variable for values: truecolor, 24bit, ansi256, ansi (16 colors)
  • docs: update readme for using COLORTERM with examples

3.5.0-beta.4 (2024-12-23)

  • docs: remove badges in readme for npm package to reduce package size

... (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)

Bumps [ansis](https://github.com/webdiscus/ansis) from 3.3.2 to 3.6.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)

---
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 added the dependencies Pull requests that update a dependency file label Jan 5, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2025

Superseded by #668.

@dependabot dependabot bot closed this Jan 11, 2025
@dependabot dependabot bot deleted the dependabot-npm_and_yarn-ansis-3.6.0 branch January 11, 2025 18:59
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants