Packages

ansis

4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed

Upgrading ansis From 1.4.0 to 1.5.6

7 releases in betweenevery note read

Other targets from 1.4.0Latest4.5.0
1
change to make
0
advisories fixed
7
new
7
fixes

Before you upgrade

Tick each one off as you go
  • deprecated1.5.0

Release by release

  1. 1.5.6nothing new or fixed in the note

  2. 1.5.5

    22 Sep 20227 new · 3 fixes
    • new

      Added support for nested template literal syntax:

    • new

      Added named export of colors with support for chained syntax:

    • new

      Added extending of base colors with named custom truecolor:

    • new

      Added the strip() method to remove all ANSI codes from string

  3. 1.5.4

    14 Sep 20221 fix
    • fixed

      Visible style with nested template strings

  4. 1.5.3

    14 Sep 20221 fix
    • fixed

      Set correct aliases for bgAnsi and fg methods by named export

  5. 1.5.2

    9 Sep 20221 fix
    • fixed

      Regard the value of the environment variable FORCE_COLOR=0 to force disable colors

  6. 1.5.1

    8 Sep 20221 fix
    • fixed

      Add missing export for CJS mode in package.json

  7. 1.5.0

    Deprecation8 Sep 2022
    • deprecated

      DEPRECATE v1.5.0, because missing exports main for CJS mode, fixed in v1.5.1

11 internal lines (docs, tests, tooling) left out.