From f182b9b29f6cdf0594498d4bd5b6efe562fc9ea6 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 17 Aug 2021 20:08:46 +0200 Subject: dns: runtime deprecate type coercion of `dns.lookup` options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/39793 Reviewed-By: James M Snell Reviewed-By: Matteo Collina Reviewed-By: Michaƫl Zasso --- doc/api/deprecations.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/api') diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index e25e855c085..c0f1d38d555 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2789,12 +2789,15 @@ deprecated and should no longer be used. ### DEP0153: `dns.lookup` and `dnsPromises.lookup` options type coercion -Type: Documentation-only +Type: Runtime 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` -- cgit v1.2.3