Skip to content

Commit db8ff56

Browse files
authored
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 090aa8b commit db8ff56

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
@@ -1998,6 +1998,10 @@ The full list of formats can be found in [modifiers][].
19981998
19991999
<!-- YAML
20002000
added: v8.3.0
2001+
changes:
2002+
- version: v11.0.0
2003+
pr-url: https://github.com/nodejs/node/pull/22281
2004+
description: The class is now available on the global object.
20012005
-->
20022006
20032007
An implementation of the [WHATWG Encoding Standard][] `TextDecoder` API.
@@ -2076,14 +2080,6 @@ is not supported.
20762080
20772081
### `new TextDecoder([encoding[, options]])`
20782082
2079-
<!-- YAML
2080-
added: v8.3.0
2081-
changes:
2082-
- version: v11.0.0
2083-
pr-url: https://github.com/nodejs/node/pull/22281
2084-
description: The class is now available on the global object.
2085-
-->
2086-
20872083
* `encoding` {string} Identifies the `encoding` that this `TextDecoder` instance
20882084
supports. **Default:** `'utf-8'`.
20892085
* `options` {Object}

0 commit comments

Comments
 (0)