diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index acbadb5c3d1e03..a577126ddbef73 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3360,6 +3360,21 @@ Type: Runtime In a future version of Node.js, the `asyncResource` property will no longer be added when a function is bound to an `AsyncResource`. +### DEP0173: `util.toUSVString` + + + +Type: Documentation-only + +[`util.toUSVString()`][] is replaced with [`String.prototype.toWellFormed`][] +after V8 11.3. It is recommended to use the built-in function for performance +reasons. + [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 @@ -3382,6 +3397,7 @@ be added when a function is bound to an `AsyncResource`. [`Server.getConnections()`]: net.md#servergetconnectionscallback [`Server.listen({fd: })`]: net.md#serverlistenhandle-backlog-callback [`SlowBuffer`]: buffer.md#class-slowbuffer +[`String.prototype.toWellFormed`]: https://chromestatus.com/feature/5200195346759680 [`WriteStream.open()`]: fs.md#class-fswritestream [`assert`]: assert.md [`asyncResource.runInAsyncScope()`]: async_context.md#asyncresourceruninasyncscopefn-thisarg-args @@ -3498,6 +3514,7 @@ be added when a function is bound to an `AsyncResource`. [`util.isSymbol()`]: util.md#utilissymbolobject [`util.isUndefined()`]: util.md#utilisundefinedobject [`util.log()`]: util.md#utillogstring +[`util.toUSVString()`]: util.md#utiltousvstringstring [`util.types`]: util.md#utiltypes [`util`]: util.md [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect