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 <yagiz@nizipli.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
  • Loading branch information
RafaelGSS authored and ruyadorno committed Dec 20, 2024
1 parent b7ce626 commit 4a8f042
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 4a8f042

Please sign in to comment.