GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: deprecate `util.toUSVString` · nodejs/node@a5dd057

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • deprecations.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+16Lines changed: 16 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3392,6 +3392,20 @@ Type: Documentation-only
33923392
Calling [`util.promisify`][] on a function that returns a <Promise> will ignore
33933393
the result of said promise, which can lead to unhandled promise rejections.
33943394

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+
33953409
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
33963410
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
33973411
[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.
34143428
[`Server.getConnections()`]: net.md#servergetconnectionscallback
34153429
[`Server.listen({fd: <number>})`]: net.md#serverlistenhandle-backlog-callback
34163430
[`SlowBuffer`]: buffer.md#class-slowbuffer
3431+
[`String.prototype.toWellFormed`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed
34173432
[`WriteStream.open()`]: fs.md#class-fswritestream
34183433
[`assert.CallTracker`]: assert.md#class-assertcalltracker
34193434
[`assert`]: assert.md
@@ -3533,6 +3548,7 @@ the result of said promise, which can lead to unhandled promise rejections.
35333548
[`util.isUndefined()`]: util.md#utilisundefinedobject
35343549
[`util.log()`]: util.md#utillogstring
35353550
[`util.promisify`]: util.md#utilpromisifyoriginal
3551+
[`util.toUSVString()`]: util.md#utiltousvstringstring
35363552
[`util.types`]: util.md#utiltypes
35373553
[`util`]: util.md
35383554
[`worker.exitedAfterDisconnect`]: cluster.md#workerexitedafterdisconnect

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.