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/api
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2021-06-02 20:40:44 +0300
committerJames M Snell <jasnell@gmail.com>2021-08-17 20:20:04 +0300
commit58a45e3c9172f9bf0307471f939906be420166b6 (patch)
tree82b3a899a8aff0ee0a97afc22136c88ea72e8fe4 /doc/api
parentfae352a0f5b37e2b4a1b0c636cc786b4a3e6e496 (diff)
doc: deprecate using non-boolean values in the `verbatim` option
PR-URL: https://github.com/nodejs/node/pull/38906 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/deprecations.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index d3db9660fb3..72749a0b4f6 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -2786,6 +2786,19 @@ 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
+<!-- YAML
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/38906
+ description: Documentation-only deprecation.
+-->
+
+Type: Documentation-only
+
+Using 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
[RFC 6066]: https://tools.ietf.org/html/rfc6066#section-3
@@ -2825,6 +2838,8 @@ deprecated and should no longer be used.
[`crypto.scrypt()`]: crypto.md#crypto_crypto_scrypt_password_salt_keylen_options_callback
[`decipher.final()`]: crypto.md#crypto_decipher_final_outputencoding
[`decipher.setAuthTag()`]: crypto.md#crypto_decipher_setauthtag_buffer_encoding
+[`dns.lookup()`]: domain.md#dns_dns_lookup_hostname_options_callback
+[`dnsPromises.lookup()`]: domain.md#dns_dnspromises_lookup_hostname_options
[`domain`]: domain.md
[`ecdh.setPublicKey()`]: crypto.md#crypto_ecdh_setpublickey_publickey_encoding
[`emitter.listenerCount(eventName)`]: events.md#events_emitter_listenercount_eventname