Skip to content

Replace strip-ansi with native stripVTControlCharacters - #21

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

sindresorhus merged 1 commit into
sindresorhus: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.

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