Packages

ansis

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

Upgrading ansis From 3.0.0 to 3.17.0

26 releases in betweenevery note read

Other targets from 3.0.0Latest4.5.0
  1. 3.0.0yours
  2. 11 releases
  3. 3.5.0breaking
  4. 13 releases
  5. 3.17.0target

Before you upgrade

Tick each one off as you go
  • breaking3.5.0

Release by release

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

  2. 3.15.0

    16 Feb 20251 new
    • new

      Reduce the package size by ~200 bytes.

  3. 3.14.0

    12 Feb 20256 new · 3 fixes
    • new

      Added support for chromium-based browsers.\ Now you can use truecolor in the consoles of Chrome, Edge, Opera, Brave, Vivaldi and other Chromium-based browsers. Browsers that do not support ANSI codes will display black and white text.

    • new

      Added support for \n as a newline in template literals, e.g.: green`Hello\nWorld` renders:

    • new

      Function ansis.reset() returns the reset escape code \e[0m.

    • new

      Removed undocumented pointless dummy function ansis(any).

  4. 3.12.0

    10 Feb 20251 new
    • new

      Add support for \n as a newline in template literals, e.g.: green`Hello\nWorld` renders:

  5. 3.11.0

    9 Feb 20251 new
    • new

      Add support for legacy Node.js v14 (in package.json for npm was changed the engines to "node": ">=14")

  6. 3.10.0

    27 Jan 20252 new
    • new

      ansis.reset() returns the reset escape code \e[0m

    • new

      Micro optimisations for slight performance improvements

  7. 3.9.0

    13 Jan 20251 new
    • new

      Revert handling of null and undefined values to empty string as before v3.7.0, #25

  8. 3.8.1nothing new or fixed in the note

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