Skip to content

Breaking change in v2.1 #26

@ljharb

Description

@ljharb

v2.0 of this package depends on strip-ansi v3, which supports node v0.10, which works fine with string-width's support of >= 4.

however, v2.1 of this package depends on strip-ansi v4, which requires >= 8, which means it's a breaking change in a minor version of this package. This breaks https://npmjs.com/salita, and every other package that depends on yargs 10.

Please release a v2 version of string-width that restores node 4 compatibility. The easiest is probably to revert strip-ansi to v3. (The most reliable would be a change in policy in ensuring that every dep supports as far back as is possible, but i realize that's not likely to happen)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions