| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 08a6a61 commit be85d5a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -773,6 +773,10 @@ one of the [DNS error codes][]. | |||
| 773 | 773 | added: | |
| 774 | 774 | - v16.4.0 | |
| 775 | 775 | - v14.18.0 | |
| 776 | + changes: | ||
| 777 | + - version: v17.0.0 | ||
| 778 | + pr-url: https://github.com/nodejs/node/pull/39987 | ||
| 779 | + description: Changed default value to `verbatim`. | ||
| 776 | 780 | --> | |
| 777 | 781 | ||
| 778 | 782 | * `order` {string} must be `'ipv4first'` or `'verbatim'`. | |
@@ -783,7 +787,7 @@ Set the default value of `verbatim` in [`dns.lookup()`][] and | |||
| 783 | 787 | * `ipv4first`: sets default `verbatim` `false`. | |
| 784 | 788 | * `verbatim`: sets default `verbatim` `true`. | |
| 785 | 789 | ||
| 786 | - The default is `ipv4first` and [`dns.setDefaultResultOrder()`][] have higher | ||
| 790 | + The default is `verbatim` and [`dns.setDefaultResultOrder()`][] have higher | ||
| 787 | 791 | priority than [`--dns-result-order`][]. When using [worker threads][], | |
| 788 | 792 | [`dns.setDefaultResultOrder()`][] from the main thread won't affect the default | |
| 789 | 793 | dns orders in workers. | |
@@ -1328,6 +1332,10 @@ is one of the [DNS error codes][]. | |||
| 1328 | 1332 | added: | |
| 1329 | 1333 | - v16.4.0 | |
| 1330 | 1334 | - v14.18.0 | |
| 1335 | + changes: | ||
| 1336 | + - version: v17.0.0 | ||
| 1337 | + pr-url: https://github.com/nodejs/node/pull/39987 | ||
| 1338 | + description: Changed default value to `verbatim`. | ||
| 1331 | 1339 | --> | |
| 1332 | 1340 | ||
| 1333 | 1341 | * `order` {string} must be `'ipv4first'` or `'verbatim'`. | |
@@ -1338,7 +1346,7 @@ Set the default value of `verbatim` in [`dns.lookup()`][] and | |||
| 1338 | 1346 | * `ipv4first`: sets default `verbatim` `false`. | |
| 1339 | 1347 | * `verbatim`: sets default `verbatim` `true`. | |
| 1340 | 1348 | ||
| 1341 | - The default is `ipv4first` and [`dnsPromises.setDefaultResultOrder()`][] have | ||
| 1349 | + The default is `verbatim` and [`dnsPromises.setDefaultResultOrder()`][] have | ||
| 1342 | 1350 | higher priority than [`--dns-result-order`][]. When using [worker threads][], | |
| 1343 | 1351 | [`dnsPromises.setDefaultResultOrder()`][] from the main thread won't affect the | |
| 1344 | 1352 | default dns orders in workers. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments