Skip to content

Commit df0ba1b

Browse files
RafaelGSSmarco-ippolito
authored andcommitted
doc: stabilize util.styleText
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>
1 parent ebb59be commit df0ba1b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/api/util.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,12 +1801,16 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
18011801
18021802
## `util.styleText(format, text[, options])`
18031803
1804-
> Stability: 1.1 - Active development
1804+
> Stability: 2 - Stable.
18051805
18061806
<!-- YAML
18071807
added: v20.12.0
18081808
changes:
1809-
- version: v20.18.0
1809+
- version: REPLACEME
1810+
pr-url: https://github.com/nodejs/node/pull/56265
1811+
description: styleText is now stable.
1812+
- version:
1813+
- v20.18.0
18101814
pr-url: https://github.com/nodejs/node/pull/54389
18111815
description: Respect isTTY and environment variables
18121816
such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR.

0 commit comments

Comments
 (0)