Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0c063a1

Browse filesBrowse files
RaisinTendanielleadams
authored andcommitted
doc,url: clarify domainTo* when built without ICU
Continuation of: #35099 Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: #38789 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 4e11971 commit 0c063a1
Copy full SHA for 0c063a1

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/url.md‎

Copy file name to clipboardExpand all lines: doc/api/url.md
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,9 @@ invalid domain, the empty string is returned.
942942

943943
It performs the inverse operation to [`url.domainToUnicode()`][].
944944

945+
This feature is only available if the `node` executable was compiled with
946+
[ICU][] enabled. If not, the domain names are passed through unchanged.
947+
945948
```mjs
946949
import url from 'url';
947950

@@ -979,6 +982,9 @@ domain, the empty string is returned.
979982

980983
It performs the inverse operation to [`url.domainToASCII()`][].
981984

985+
This feature is only available if the `node` executable was compiled with
986+
[ICU][] enabled. If not, the domain names are passed through unchanged.
987+
982988
```mjs
983989
import url from 'url';
984990

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.