New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

ansis

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansis - npm Package Versions

webdiscus
published 4.0.0-beta.2 •
webdiscus
published 4.0.0-beta.1 •

Changelog

Source

4.0.0-beta.1 (2025-03-03)

  • feat: add support for escape sequences in template literals.
    The template tag now returns the same result as the standard function call.
    • Example \n without escape:
      red`prev\nnext`
      
      Output:
      prev
      next
      
    • Example \n with escape:
      red`prev\\next`
      
      Output:
      prev\next
      
  • feat(BREAKING CHANGE): remove of non-standard strike style (alias for strikethrough)
    • No usage of ansis.strike() was found in public GitHub repositories.
    • Most popular packages use the standard strikethrough style name.

Migration to v4

If you still use ansis.strike, replace it with the standard ansis.strikethrough.

webdiscus
published 4.0.0-beta.0 •

Changelog

Source

4.0.0-beta.0 (2025-03-02)

Deprecated.

webdiscus
published 3.17.0 •

Changelog

Source

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.
webdiscus
published 3.16.0 •

Changelog

Source

3.16.0 (2025-02-21)

  • chore: after testing bump version to release version 3.16.0
webdiscus
published 3.16.0-beta.3 •

Changelog

Source

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

  • chore: revert the full text of ISC license from https://opensource.org/license/isc-license-txt
webdiscus
published 3.16.0-beta.2 •
webdiscus
published 3.16.0-beta.1 •
webdiscus
published 3.16.0-beta.0 •

Changelog

Source

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

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

Changelog

Source

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.