Packages

ansis

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

Upgrading ansis From 3.0.0 to 4.5.0

33 releases in betweenevery note read

Other targets from 3.0.0Newest 3.x3.17.0
  1. 3.0.0yours
  2. 11 releases
  3. 3.5.0breaking
  4. 14 releases
  5. 4.0.0major
  6. 5 releases
  7. 4.5.0target
  8. 3 pre

Before you upgrade

Tick each one off as you go
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0
  • breaking4.0.0

Release by release

  1. 4.5.0

    1 Nov 20262 fixes
    • fixed

      color-support: prevent colors in piped or redirected output when COLORTERM is set, #54

    • fixed

      color-support: detect the color level for FORCE_COLOR=true and --color in non-TTY output

  2. 4.3.1 – 4.4.02 releases, nothing new or fixed in the notes

  3. 4.3.0

    11 May 20262 new
    • new

      Added link(url, text?) for OSC 8 hyperlinks, supported by many terminal emulators, #44

    • new

      Added constructor overload to pass a mock globalThis object for controlled color auto-detection, #47

  4. 4.2.0nothing new or fixed in the note

  5. 4.1.0

    28 May 20254 new
    • new

      0 - no colors,

    • new

      1 - 16 colors,

    • new

      2 - 256 colors,

    • new

      3 - truecolor.

  6. 4.0.0

    Migration needed8 May 20252 new · 2 fixes
    • breaking

      The strike style was rarely (if ever) used and added unnecessary redundancy.

    • breaking

      No usage of ansis.strike() was found in public GitHub repositories.

    • breaking

      Other ANSI libraries use the standard strikethrough name exclusively.

    • breaking

      90 - officially "bright black" foreground (i.e., gray) in terminal specs.

  7. 3.16.0 – 3.17.02 releases, nothing new or fixed in the notes

  8. 3.15.0

    16 Feb 20251 new
    • new

      Reduce the package size by ~200 bytes.

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