From 9aa4fcc052e7f92e2cb67f0eb9d1971a86b452cf Mon Sep 17 00:00:00 2001 From: Rich Trott <rtrott@gmail.com> Date: Sun, 12 Jan 2020 07:20:36 -0800 Subject: [PATCH] doc: standardize on "host name" in deprecations.md Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: https://github.com/nodejs/node/pull/31326 Refs: https://github.com/nodejs/node/pull/31073 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> --- doc/api/deprecations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 0b27d3a5a91d4e..75170482015ab7 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2270,7 +2270,7 @@ The `_handle` property has been removed because improper use of the native object can lead to crashing the application. <a id="DEP0118"></a> -### DEP0118: `dns.lookup()` support for a falsy hostname +### DEP0118: `dns.lookup()` support for a falsy host name <!-- YAML changes: - version: v11.0.0 @@ -2280,7 +2280,7 @@ changes: Type: Runtime -Previous versions of Node.js supported `dns.lookup()` with a falsy hostname +Previous versions of Node.js supported `dns.lookup()` with a falsy host name like `dns.lookup(false)` due to backward compatibility. This behavior is undocumented and is thought to be unused in real world apps. It will become an error in future versions of Node.js.