Skip to content
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

chore(dev-deps): bump ansis from 3.5.2 to 3.8.1 #72

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps ansis from 3.5.2 to 3.8.1.

Changelog

Sourced from ansis's changelog.

3.8.1 (2025-01-10)

  • refactor: optimize package size

3.8.0 (2025-01-09)

  • feat: 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

  • fix: if the function argument is an empty string should be returned an empty string w/o escape codes:

    ansis.red('') => '', w/o escape codes
    
  • refactor: optimize code by size

3.7.0 (2025-01-07)

  • fix: cast falsy values false, null, undefined, NaN to a string. In previous versions, the empty string '' was returned for falsy values.
  • fix: functions with argument 0 , e.g. ansis.red(0), returning empty string '', now return colored value '0'
  • test: add tests for function arguments with various types

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

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.5.2 to 3.8.1.
- [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:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2025

The following labels could not be found: dependencies.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 11, 2025

Looks like ansis is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 11, 2025
@dependabot dependabot bot deleted the dependabot-npm_and_yarn-ansis-3.8.1 branch January 11, 2025 05:33
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.

0 participants