Skip to content

Commit

Permalink
dor: deprecate type coercion for dns.lookup options
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Jun 11, 2021
1 parent 9bb3a84 commit 82ffb69
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-integer value for `family` option, a non-number value for `hints`
option, a non-boolean value for `all` option, or a 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 82ffb69

Please sign in to comment.