Skip to content

Commit 957c72c

Browse files
lpincamarco-ippolito
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 1498396 commit 957c72c

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
@@ -1879,6 +1879,10 @@ The full list of formats can be found in [modifiers][].
18791879
18801880
<!-- YAML
18811881
added: v8.3.0
1882+
changes:
1883+
- version: v11.0.0
1884+
pr-url: https://github.com/nodejs/node/pull/22281
1885+
description: The class is now available on the global object.
18821886
-->
18831887
18841888
An implementation of the [WHATWG Encoding Standard][] `TextDecoder` API.
@@ -1957,14 +1961,6 @@ is not supported.
19571961
19581962
### `new TextDecoder([encoding[, options]])`
19591963
1960-
<!-- YAML
1961-
added: v8.3.0
1962-
changes:
1963-
- version: v11.0.0
1964-
pr-url: https://github.com/nodejs/node/pull/22281
1965-
description: The class is now available on the global object.
1966-
-->
1967-
19681964
* `encoding` {string} Identifies the `encoding` that this `TextDecoder` instance
19691965
supports. **Default:** `'utf-8'`.
19701966
* `options` {Object}

0 commit comments

Comments
 (0)