@@ -3392,6 +3392,20 @@ Type: Documentation-only |
3392 | 3392 | Calling [`util.promisify`][] on a function that returns a <Promise> will ignore |
3393 | 3393 | the result of said promise, which can lead to unhandled promise rejections. |
3394 | 3394 |
|
| 3395 | +### DEP0175: `util.toUSVString` |
| 3396 | + |
| 3397 | +<!-- YAML |
| 3398 | +changes: |
| 3399 | + - version: REPLACEME |
| 3400 | + pr-url: https://github.com/nodejs/node/pull/49725 |
| 3401 | + description: Documentation-only deprecation. |
| 3402 | +--> |
| 3403 | + |
| 3404 | +Type: Documentation-only |
| 3405 | + |
| 3406 | +The [`util.toUSVString()`][] API is deprecated. Please use |
| 3407 | +[`String.prototype.toWellFormed`][] instead. |
| 3408 | + |
3395 | 3409 | [NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf |
3396 | 3410 | [RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3 |
3397 | 3411 | [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. |
3414 | 3428 | [`Server.getConnections()`]: net.md#servergetconnectionscallback |
3415 | 3429 | [`Server.listen({fd: <number>})`]: net.md#serverlistenhandle-backlog-callback |
3416 | 3430 | [`SlowBuffer`]: buffer.md#class-slowbuffer |
| 3431 | +[`String.prototype.toWellFormed`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed |
3417 | 3432 | [`WriteStream.open()`]: fs.md#class-fswritestream |
3418 | 3433 | [`assert.CallTracker`]: assert.md#class-assertcalltracker |
3419 | 3434 | [`assert`]: assert.md |
@@ -3533,6 +3548,7 @@ the result of said promise, which can lead to unhandled promise rejections. |
3533 | 3548 | [`util.isUndefined()`]: util.md#utilisundefinedobject |
3534 | 3549 | [`util.log()`]: util.md#utillogstring |
3535 | 3550 | [`util.promisify`]: util.md#utilpromisifyoriginal |
| 3551 | +[`util.toUSVString()`]: util.md#utiltousvstringstring |
3536 | 3552 | [`util.types`]: util.md#utiltypes |
3537 | 3553 | [`util`]: util.md |
3538 | 3554 | [`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect |
|