doc: stabilize util.styleText · nodejs/node@f6d0c01

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.