string-width breaking changes

npm

9 curated breaking changes across major versions of string-width. Use this as a migration checklist before bumping dependencies.

9
changes
Breaking changes by transition
  • v7.2.0 \u2192 v8.0.0breaking

    Require Node.js 20 fbea7e5

  • v6.1.0 \u2192 v7.0.0breaking

    Require Node.js 18 97b50e8

  • v5.1.2 \u2192 v6.0.0breaking

    Require Node.js 16 (#47) f85812f **This release is not compatible with Firefox. If you need Firefox support, stay on v5.**

  • v4.2.2 \u2192 v5.0.0breaking

    Require Node.js 12 cec9757

  • v4.2.2 \u2192 v5.0.0breaking

    This package is now pure ESM. Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). https://github.com/sindresorhus/string-width/compare/v4.2.2...v5.0.0

  • v3.1.0 \u2192 v4.0.0breaking

    Require Node.js 8 855b046 Enhancements:

  • v3.1.0 \u2192 v4.0.0breaking

    Add TypeScript definition (#21) bd7822c https://github.com/sindresorhus/string-width/compare/v3.1.0...v4.0.0

  • unknown \u2192 v3.0.0breaking

    Require Node.js 6 5b6b7ca Other:

  • unknown \u2192 v3.0.0breaking

    Support emoji (#17) 0bc308a

API access

Get this data programmatically \u2014 free, no authentication.

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