Skip to content

Conversation

@Namchee
Copy link
Contributor

@Namchee Namchee commented Aug 10, 2025

Overview

Closes #206

This pull request adds a remark about util.stripVTControlCharacter behavior on certain Node version. Can confirm that the behavior is fixed on Node v22.10

> node
Welcome to Node.js v22.10.0.
Type ".help" for more information.
> util.stripVTControlCharacters('\x1b]8;;http://example.com\x1b\\This is a link\x1b]8;;\x1b\\ hello')
'This is a link hello'

# ...

> node
Welcome to Node.js v22.9.0.
Type ".help" for more information.
> util.stripVTControlCharacters('\x1b]8;;http://example.com\x1b\\This is a link\x1b]8;;\x1b\\ hello')
'ttp://example.com\x1B\\This is a link;;\x1B\\ hello'

@43081j 43081j merged commit 0880952 into es-tooling:main Nov 11, 2025
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.

Should mention differences between Node.js versions about stripVTControlCharacters

2 participants