Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8055f78

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
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: #31326 Refs: #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>
1 parent 6e9f0da commit 8055f78
Copy full SHA for 8055f78

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ The `_handle` property has been removed because improper use of the native
22702270
object can lead to crashing the application.
22712271
22722272
<a id="DEP0118"></a>
2273-
### DEP0118: `dns.lookup()` support for a falsy hostname
2273+
### DEP0118: `dns.lookup()` support for a falsy host name
22742274
<!-- YAML
22752275
changes:
22762276
- version: v11.0.0
@@ -2280,7 +2280,7 @@ changes:
22802280
22812281
Type: Runtime
22822282
2283-
Previous versions of Node.js supported `dns.lookup()` with a falsy hostname
2283+
Previous versions of Node.js supported `dns.lookup()` with a falsy host name
22842284
like `dns.lookup(false)` due to backward compatibility.
22852285
This behavior is undocumented and is thought to be unused in real world apps.
22862286
It will become an error in future versions of Node.js.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.