Skip to content

Commit

Permalink
doc: deprecate type coercion for dns.lookup options
Browse files Browse the repository at this point in the history
PR-URL: #38906
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information
aduh95 authored and jasnell committed Aug 17, 2021
1 parent 58a45e3 commit f41893e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/api/deprecations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2786,7 +2786,7 @@ These properties are now available within the standard `detail` property
of the `PerformanceEntry` object. The existing accessors have been
deprecated and should no longer be used.

### DEP0153: Non boolean value for `verbatim` DNS lookup option
### DEP0153: `dns.lookup` and `dnsPromises.lookup` options type coercion
<!-- YAML
changes:
- version: REPLACEME
Expand All @@ -2796,8 +2796,10 @@ changes:

Type: Documentation-only

Using a non-boolean value for `verbatim` option in [`dns.lookup()`][] and
[`dnsPromises.lookup()`][] is deprecated.
Using a non-nullish non-integer value for `family` option, a non-nullish
non-number value for `hints` option, a non-nullish non-boolean value for `all`
option, or a non-nullish non-boolean value for `verbatim` option in
[`dns.lookup()`][] and [`dnsPromises.lookup()`][] is deprecated.

[Legacy URL API]: url.md#url_legacy_url_api
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
Expand Down

0 comments on commit f41893e

Please sign in to comment.