diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index fc333e937d6..b31bfffc11b 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -4847,6 +4847,20 @@ Type: Documentation-only `node:sqlite`'s `StatementSync` class was renamed to `Statement`. `StatementSync` is kept as a deprecated alias. Use `Statement` instead. +### DEP0212: `util.TextDecoder` and `util.TextEncoder` + + + +Type: Documentation-only + +`node:util`'s `util.TextDecoder` and `util.TextEncoder` are deprecated. +Use global `TextDecoder` and `TextEncoder` instead. + [DEP0142]: #dep0142-repl_builtinlibs [DEP0156]: #dep0156-aborted-property-and-abort-aborted-event-in-http [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf diff --git a/doc/api/util.md b/doc/api/util.md index c30831019d0..176722568e4 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2928,6 +2928,7 @@ The full list of formats can be found in [modifiers][].