Skip to content

Replace strip-ansi with native stripVTControlCharacters#21

Merged
sindresorhus merged 1 commit intosindresorhus:mainfrom
bjnewman:replace-strip-ansi-with-native
Jan 21, 2026
Merged

Replace strip-ansi with native stripVTControlCharacters#21
sindresorhus merged 1 commit intosindresorhus:mainfrom
bjnewman:replace-strip-ansi-with-native

Conversation

@bjnewman
Copy link
Copy Markdown
Contributor

This removes the strip-ansi dependency in favor of Node.js's built-in util.stripVTControlCharacters(), available since Node 16.11.

The engine requirement is bumped from >=16 to >=16.11 to match.

This aligns with the e18e ecosystem cleanup effort and reduces the dependency tree for the 50+ packages that depend on string-length.

@sindresorhus sindresorhus merged commit 799f8f6 into sindresorhus:main Jan 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants