Skip to content

Commit 8460a32

Browse files
aduh95targos
authored andcommitted
doc: deprecate using non-boolean values in the verbatim option
PR-URL: #38906 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
1 parent 3f284cf commit 8460a32

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/api/deprecations.md

+15
Original file line numberDiff line numberDiff line change
@@ -2784,6 +2784,19 @@ These properties are now available within the standard `detail` property
27842784
of the `PerformanceEntry` object. The existing accessors have been
27852785
deprecated and should no longer be used.
27862786

2787+
### DEP0153: Non boolean value for `verbatim` DNS lookup option
2788+
<!-- YAML
2789+
changes:
2790+
- version: REPLACEME
2791+
pr-url: https://github.com/nodejs/node/pull/38906
2792+
description: Documentation-only deprecation.
2793+
-->
2794+
2795+
Type: Documentation-only
2796+
2797+
Using a non-boolean value for `verbatim` option in [`dns.lookup()`][] and
2798+
[`dnsPromises.lookup()`][] is deprecated.
2799+
27872800
[Legacy URL API]: url.md#url_legacy_url_api
27882801
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf
27892802
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
@@ -2823,6 +2836,8 @@ deprecated and should no longer be used.
28232836
[`crypto.scrypt()`]: crypto.md#crypto_crypto_scrypt_password_salt_keylen_options_callback
28242837
[`decipher.final()`]: crypto.md#crypto_decipher_final_outputencoding
28252838
[`decipher.setAuthTag()`]: crypto.md#crypto_decipher_setauthtag_buffer_encoding
2839+
[`dns.lookup()`]: domain.md#dns_dns_lookup_hostname_options_callback
2840+
[`dnsPromises.lookup()`]: domain.md#dns_dnspromises_lookup_hostname_options
28262841
[`domain`]: domain.md
28272842
[`ecdh.setPublicKey()`]: crypto.md#crypto_ecdh_setpublickey_publickey_encoding
28282843
[`emitter.listenerCount(eventName)`]: events.md#events_emitter_listenercount_eventname

0 commit comments

Comments
 (0)