Skip to content

Commit f6d0c01

Browse files
RafaelGSSruyadorno
authored andcommitted
doc: stabilize util.styleText
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]>
1 parent 97c3835 commit f6d0c01

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/api/util.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -1913,14 +1913,19 @@ console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
19131913
19141914
## `util.styleText(format, text[, options])`
19151915
1916-
> Stability: 1.1 - Active development
1916+
> Stability: 2 - Stable.
19171917
19181918
<!-- YAML
19191919
added:
19201920
- v21.7.0
19211921
- v20.12.0
19221922
changes:
1923-
- version: v22.8.0
1923+
- version: REPLACEME
1924+
pr-url: https://github.com/nodejs/node/pull/56265
1925+
description: styleText is now stable.
1926+
- version:
1927+
- v22.8.0
1928+
- v20.18.0
19241929
pr-url: https://github.com/nodejs/node/pull/54389
19251930
description: Respect isTTY and environment variables
19261931
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.

0 commit comments

Comments
 (0)