| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The verbatim default flipped to true in v17 (nodejs#39987), but the dnsPromises.lookup docs still say false. The order bullet right above it and the dns.lookup section both already say the addresses are not reordered by default, so this bullet was contradicting them. Signed-off-by: BIGSUS24 <152616194+BIGSUS24@users.noreply.github.com>
|
Review requested:
|
Sorry, something went wrong.
|
Fast-track has been requested by @Ethan-Arrowood. Please 👍 to approve. |
Sorry, something went wrong.
The verbatim default flipped to true in v17 (#39987), but the dnsPromises.lookup docs still say false. The order bullet right above it and the dns.lookup section both already say the addresses are not reordered by default, so this bullet was contradicting them. Signed-off-by: BIGSUS24 <152616194+BIGSUS24@users.noreply.github.com> PR-URL: #64658 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
The verbatim default flipped to true in v17 (#39987), but the dnsPromises.lookup docs still say false. The order bullet right above it and the dns.lookup section both already say the addresses are not reordered by default, so this bullet was contradicting them. Signed-off-by: BIGSUS24 <152616194+BIGSUS24@users.noreply.github.com> PR-URL: #64658 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
| Back | FazBrowse Home | New Git URL |
The verbatim option for dnsPromises.lookup() documents its default as false (addresses reordered), but that's stale. The default flipped to true in v17 (#39987), same as the callback dns.lookup().
You can see it contradicts itself already: the order bullet right above says verbatim (addresses are not reordered) by default, and the dns.lookup() section documents the same verbatim option as true. Source confirms it too — both paths start from DNS_ORDER_VERBATIM (lib/dns.js, lib/internal/dns/promises.js), with the global default set to 'verbatim' in lib/internal/dns/utils.js.
This just updates the dnsPromises.lookup() bullet to match. Docs only.