wrap-ansi icon indicating copy to clipboard operation
wrap-ansi copied to clipboard

Replace `strip-ansi` dependency with `util.stripVTControlCharacters`

Open silverwind opened this issue 11 months ago • 1 comments

Available since Node v16.11.0 and should do pretty much the same:

https://nodejs.org/api/util.html#utilstripvtcontrolcharactersstr

silverwind avatar Feb 06 '25 11:02 silverwind

It didn't support links until recently, so I don't think this makes sense until we can target the Node.js version that supports that. Node.js 22, I think.

sindresorhus avatar Feb 06 '25 11:02 sindresorhus