doc: fix typos in documentation · nodejs/node@f2cd6df · GitHub
Skip to content

Commit f2cd6df

Browse files
greenheadHQaduh95
authored andcommitted
doc: fix typos in documentation
Signed-off-by: greenhead <shren0812@gmail.com> PR-URL: #64900 Reviewed-By: Mike McCready <66998419+MikeMcC399@users.noreply.github.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Tim Perry <pimterry@gmail.com>
1 parent ba27e72 commit f2cd6df

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion

doc/api/errors.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ New HTTP/2 Streams may not be opened after the `Http2Session` has received a
14821482

14831483
### `ERR_HTTP2_HEADERS_AFTER_RESPOND`
14841484

1485-
An additional headers was specified after an HTTP/2 response was initiated.
1485+
Additional headers were specified after an HTTP/2 response was initiated.
14861486

14871487
<a id="ERR_HTTP2_HEADERS_SENT"></a>
14881488

@@ -2765,7 +2765,7 @@ A QUIC session failed because version negotiation is required.
27652765

27662766
### `ERR_REQUIRE_ASYNC_MODULE`
27672767

2768-
When trying to `require()` a [ES Module][], the module turns out to be asynchronous.
2768+
When trying to `require()` an [ES Module][], the module turns out to be asynchronous.
27692769
That is, it contains top-level await.
27702770

27712771
To see where the top-level await is, use
@@ -2776,7 +2776,7 @@ before looking for the top-level awaits).
27762776

27772777
### `ERR_REQUIRE_CYCLE_MODULE`
27782778

2779-
When trying to `require()` a [ES Module][], a CommonJS to ESM or ESM to CommonJS edge
2779+
When trying to `require()` an [ES Module][], a CommonJS to ESM or ESM to CommonJS edge
27802780
participates in an immediate cycle.
27812781
This is not allowed because ES Modules cannot be evaluated while they are
27822782
already being evaluated.

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ added:
11861186
- v12.16.0
11871187
-->
11881188

1189-
* Type: {boolean} Whether the request is send through a reused socket.
1189+
* Type: {boolean} Whether the request is sent through a reused socket.
11901190

11911191
When sending request through a keep-alive enabled agent, the underlying socket
11921192
might be reused. But if server closes connection at unfortunate time, client

doc/api/net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2089,7 +2089,7 @@ Creates a new TCP or [IPC][] server.
20892089
If `allowHalfOpen` is set to `true`, when the other end of the socket
20902090
signals the end of transmission, the server will only send back the end of
20912091
transmission when [`socket.end()`][] is explicitly called. For example, in the
2092-
context of TCP, when a FIN packed is received, a FIN packed is sent
2092+
context of TCP, when a FIN packet is received, a FIN packet is sent
20932093
back only when [`socket.end()`][] is explicitly called. Until then the
20942094
connection is half-closed (non-readable but still writable). See [`'end'`][]
20952095
event and [RFC 1122][half-closed] (section 4.2.2.13) for more information.

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3244,7 +3244,7 @@ const { platform } = require('node:process');
32443244
console.log(`This platform is ${platform}`);
32453245
```
32463246
3247-
The value `'android'` may also be returned if the Node.js is built on the
3247+
The value `'android'` may also be returned if Node.js is built on the
32483248
Android operating system. However, Android support in Node.js
32493249
[is experimental][Android building].
32503250

doc/api/punycode.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)