Skip to content

Commit

Permalink
doc: stabilize util.styleText
Browse files Browse the repository at this point in the history
PR-URL: #56265
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Adrian Estrada <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
RafaelGSS authored and ruyadorno committed Dec 21, 2024
1 parent d4aabcf commit 753829f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -1913,14 +1913,19 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
## `util.styleText(format, text[, options])`
> Stability: 1.1 - Active development
> Stability: 2 - Stable.
<!-- YAML
added:
- v21.7.0
- v20.12.0
changes:
- version: v22.8.0
- version: REPLACEME
pr-url: https://github.com/nodejs/node/pull/56265
description: styleText is now stable.
- version:
- v22.8.0
- v20.18.0
pr-url: https://github.com/nodejs/node/pull/54389
description: Respect isTTY and environment variables
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
Expand Down

0 comments on commit 753829f

Please sign in to comment.