@@ -3400,6 +3400,20 @@ Type: Runtime
3400
3400
Calling [ ` util.promisify ` ] [ ] on a function that returns a <Promise > will ignore
3401
3401
the result of said promise, which can lead to unhandled promise rejections.
3402
3402
3403
+ ### DEP0175: ` util.toUSVString `
3404
+
3405
+ <!-- YAML
3406
+ changes:
3407
+ - version: REPLACEME
3408
+ pr-url: https://github.com/nodejs/node/pull/49725
3409
+ description: Documentation-only deprecation.
3410
+ -->
3411
+
3412
+ Type: Documentation-only
3413
+
3414
+ The [ ` util.toUSVString() ` ] [ ] API is deprecated. Please use
3415
+ [ ` String.prototype.toWellFormed ` ] [ ] instead.
3416
+
3403
3417
[ NIST SP 800-38D ] : https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
3404
3418
[ RFC 6066 ] : https://tools.ietf.org/html/rfc6066#section-3
3405
3419
[ RFC 8247 Section 2.4 ] : https://www.rfc-editor.org/rfc/rfc8247#section-2.4
@@ -3422,6 +3436,7 @@ the result of said promise, which can lead to unhandled promise rejections.
3422
3436
[ `Server.getConnections()` ] : net.md#servergetconnectionscallback
3423
3437
[ `Server.listen({fd: <number>})` ] : net.md#serverlistenhandle-backlog-callback
3424
3438
[ `SlowBuffer` ] : buffer.md#class-slowbuffer
3439
+ [ `String.prototype.toWellFormed` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed
3425
3440
[ `WriteStream.open()` ] : fs.md#class-fswritestream
3426
3441
[ `assert.CallTracker` ] : assert.md#class-assertcalltracker
3427
3442
[ `assert` ] : assert.md
@@ -3541,6 +3556,7 @@ the result of said promise, which can lead to unhandled promise rejections.
3541
3556
[ `util.isUndefined()` ] : util.md#utilisundefinedobject
3542
3557
[ `util.log()` ] : util.md#utillogstring
3543
3558
[ `util.promisify` ] : util.md#utilpromisifyoriginal
3559
+ [ `util.toUSVString()` ] : util.md#utiltousvstringstring
3544
3560
[ `util.types` ] : util.md#utiltypes
3545
3561
[ `util` ] : util.md
3546
3562
[ `worker.exitedAfterDisconnect` ] : cluster.md#workerexitedafterdisconnect
0 commit comments