Skip to content

Conversation

@RobinTail
Copy link

Reducing dependencies, similar to eslint/eslint#18982 .

The method exists since v16.11
https://nodejs.org/api/util.html#utilstripvtcontrolcharactersstr

string-width min Node version is 18.

@RobinTail RobinTail marked this pull request as ready for review October 3, 2024 23:29
@RobinTail
Copy link
Author

@sindresorhus , please review

@sindresorhus
Copy link
Owner

This would be a regression until nodejs/node#54865 is available in a Node.js release we can target, so at the earliest Node.js 22.

@RobinTail
Copy link
Author

Got it, thank you

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