GeezerVison is showing github.com — docs: add references to punycode.md · nodejs/node@73c1999
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/punycode.md +5-1Lines changed: 5 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,9 @@ deprecated: v7.0.0 |
12 | 12 | **The version of the punycode module bundled in Node.js is being deprecated**. |
13 | 13 | In a future major version of Node.js this module will be removed. Users |
14 | 14 | currently depending on the `punycode` module should switch to using the |
15 | | -userland-provided [Punycode.js][] module instead. |
| 15 | +userland-provided [Punycode.js][] module instead. For punycode-based URL |
| 16 | +encoding, see [`url.domainToASCII`][] or, more generally, the |
| 17 | +[WHATWG URL API][]. |
16 | 18 |
|
17 | 19 | The `punycode` module is a bundled version of the [Punycode.js][] module. It |
18 | 20 | can be accessed using: |
@@ -150,3 +152,5 @@ Returns a string identifying the current [Punycode.js][] version number. |
150 | 152 |
|
151 | 153 | [Punycode]: https://tools.ietf.org/html/rfc3492 |
152 | 154 | [Punycode.js]: https://github.com/bestiejs/punycode.js |
| 155 | +[WHATWG URL API]: url.md#url_the_whatwg_url_api |
| 156 | +[`url.domainToASCII`]: url.md#url_url_domaintoascii_domain |