Skip to content

Commit 4bb0f30

Browse files
lpincaruyadorno
authored andcommitted
doc: move history entry to class description
Move the history entry for the `TextDecoder` class into the class description itself instead of its constructor. Refs: #55938 PR-URL: #55991 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]>
1 parent 6d02bd6 commit 4bb0f30

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

doc/api/util.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,10 @@ The full list of formats can be found in [modifiers][].
19641964
19651965
<!-- YAML
19661966
added: v8.3.0
1967+
changes:
1968+
- version: v11.0.0
1969+
pr-url: https://github.com/nodejs/node/pull/22281
1970+
description: The class is now available on the global object.
19671971
-->
19681972
19691973
An implementation of the [WHATWG Encoding Standard][] `TextDecoder` API.
@@ -2042,14 +2046,6 @@ is not supported.
20422046
20432047
### `new TextDecoder([encoding[, options]])`
20442048
2045-
<!-- YAML
2046-
added: v8.3.0
2047-
changes:
2048-
- version: v11.0.0
2049-
pr-url: https://github.com/nodejs/node/pull/22281
2050-
description: The class is now available on the global object.
2051-
-->
2052-
20532049
* `encoding` {string} Identifies the `encoding` that this `TextDecoder` instance
20542050
supports. **Default:** `'utf-8'`.
20552051
* `options` {Object}

0 commit comments

Comments
 (0)