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
path: root/doc
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-01-07 14:00:10 +0300
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2022-04-12 06:50:11 +0300
commit08773e3c0498ff04395f0f8b10c5e8bda096b0bf (patch)
treebc99c600d93a6e5987a2222610861e904b49f880 /doc
parent3a26db9697a09915a0d541d97f047fc9c02bb452 (diff)
dns: remove `dns.lookup` and `dnsPromises.lookup` options type coercion
PR-URL: https://github.com/nodejs/node/pull/41431 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/deprecations.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 507ef307e60..f0711531809 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -2943,6 +2943,9 @@ deprecated and should no longer be used.
<!-- YAML
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/41431
+ description: End-of-Life.
- version: v17.0.0
pr-url: https://github.com/nodejs/node/pull/39793
description: Runtime deprecation.
@@ -2951,12 +2954,13 @@ changes:
description: Documentation-only deprecation.
-->
-Type: Runtime
+Type: End-of-Life
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.
+[`dns.lookup()`][] and [`dnsPromises.lookup()`][] throws an
+`ERR_INVALID_ARG_TYPE` error.
### DEP0154: RSA-PSS generate key pair options