ansi-styles breaking changes

npm

14 curated breaking changes across major versions of ansi-styles. Use this as a migration checklist before bumping dependencies.

14
changes
Breaking changes by transition
  • v5.2.0 \u2192 v6.0.0breaking

    This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). https://github.com/chalk/ansi-styles/compare/v5.2.0...v6.0.0

  • v5.2.0 \u2192 v6.0.0breaking

    Require Node.js 12 b23ef5d

  • v4.3.0 \u2192 v5.0.0breaking

    These color types added bloat and were rarely used. As a result, this package should now be lighter and faster to import.

  • v4.3.0 \u2192 v5.0.0breaking

    If you need those colors, you can use [`color-convert`](https://github.com/Qix-/color-convert), which is what we used to depend on.

  • v4.3.0 \u2192 v5.0.0breaking

    Remove support for `hsv`, `hwb`, `ansi`, and CSS keyword colors

  • v3.0.0 \u2192 v4.0.0breaking

    Require Node.js 8 aa974fb Enhancements:

  • v3.0.0 \u2192 v4.0.0breaking

    Add bright black color (#49) fb5b656 https://github.com/chalk/ansi-styles/compare/v3.2.1...v4.0.0

  • unknown \u2192 v3.0.0breaking

    ansiStyles.modifier ```

  • unknown \u2192 v3.0.0breaking

    ansiStyles.modifiers

  • 3.0.0 \u2192 4.0.0breaking

    Require Node.js 8 aa974fb

  • 3.0.0 \u2192 4.0.0breaking

    Add bright black color (#49) fb5b656

  • unknown \u2192 3.0.0breaking

    ansiStyles.modifiers

  • unknown \u2192 3.0.0breaking

    ansiStyles.bgColors

  • unknown \u2192 3.0.0breaking

    ansiStyles.colors

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/npm/ansi-styles
ansi-styles breaking changes — npm migration guide | DepScope