Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Lau <rlau@redhat.com>2021-10-21 00:57:11 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-10-23 01:26:30 +0300
commit816e92e6968fe6b48f16f12f53736ffa797682b1 (patch)
tree28855862150e370d3d8c94d6d428f3421f16bbb2 /doc/api/cli.md
parent4c81b34428914b9d80f4189835d124e420515844 (diff)
doc: update for changed `--dns-result-order` default
Update documentation to match the changed `--dns-result-order` default value in Node.js 17. Refs: https://github.com/nodejs/node/pull/39987 PR-URL: https://github.com/nodejs/node/pull/40538 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r--doc/api/cli.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 7f97e50afd3..c01b397e836 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -207,6 +207,10 @@ code from strings throw an exception instead. This does not affect the Node.js
added:
- v16.4.0
- v14.18.0
+changes:
+ - version: v17.0.0
+ pr-url: https://github.com/nodejs/node/pull/39987
+ description: Changed default value to `verbatim`.
-->
Set the default value of `verbatim` in [`dns.lookup()`][] and
@@ -215,7 +219,7 @@ Set the default value of `verbatim` in [`dns.lookup()`][] and
* `ipv4first`: sets default `verbatim` `false`.
* `verbatim`: sets default `verbatim` `true`.
-The default is `ipv4first` and [`dns.setDefaultResultOrder()`][] have higher
+The default is `verbatim` and [`dns.setDefaultResultOrder()`][] have higher
priority than `--dns-result-order`.
### `--enable-fips`