diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 07ea8dc7a23d1c..aca38c89379437 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3392,6 +3392,20 @@ Type: Documentation-only Calling [`util.promisify`][] on a function that returns a will ignore the result of said promise, which can lead to unhandled promise rejections. +### DEP0175: `util.toUSVString` + + + +Type: Documentation-only + +The [`util.toUSVString()`][] API is deprecated. Please use +[`String.prototype.toWellFormed`][] instead. + [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 [RFC 8247 Section 2.4]: https://www.rfc-editor.org/rfc/rfc8247#section-2.4 @@ -3414,6 +3428,7 @@ the result of said promise, which can lead to unhandled promise rejections. [`Server.getConnections()`]: net.md#servergetconnectionscallback [`Server.listen({fd: })`]: net.md#serverlistenhandle-backlog-callback [`SlowBuffer`]: buffer.md#class-slowbuffer +[`String.prototype.toWellFormed`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed [`WriteStream.open()`]: fs.md#class-fswritestream [`assert.CallTracker`]: assert.md#class-assertcalltracker [`assert`]: assert.md @@ -3533,6 +3548,7 @@ the result of said promise, which can lead to unhandled promise rejections. [`util.isUndefined()`]: util.md#utilisundefinedobject [`util.log()`]: util.md#utillogstring [`util.promisify`]: util.md#utilpromisifyoriginal +[`util.toUSVString()`]: util.md#utiltousvstringstring [`util.types`]: util.md#utiltypes [`util`]: util.md [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect