DEP0153: dns.lookup 和 dnsPromises.lookup 选项类型强制转换
类型: 仅文档
为 family
选项使用非空非整数值,为 hints
选项使用非空非数字值,为 all
选项使用非空非布尔值,或为 verbatim
选项使用非空非布尔值在 dns.lookup()
和 dnsPromises.lookup()
中已弃用。
Type: Documentation-only
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.