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

Commit 335c28c

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 d4bed8c commit 335c28c

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
@@ -1506,7 +1506,7 @@ New HTTP/2 Streams may not be opened after the `Http2Session` has received a
15061506

15071507
### `ERR_HTTP2_HEADERS_AFTER_RESPOND`
15081508

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

15111511
<a id="ERR_HTTP2_HEADERS_SENT"></a>
15121512

@@ -2810,7 +2810,7 @@ changes:
28102810
description: Added the `requireStack` and `topLevelAwaitLocations` properties.
28112811
-->
28122812

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

28162816
When uncaught, the flag `--experimental-print-required-tla` prints
@@ -2832,7 +2832,7 @@ This error has the following additional non-enumerable properties:
28322832

28332833
### `ERR_REQUIRE_CYCLE_MODULE`
28342834

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

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ added:
11891189
- v12.16.0
11901190
-->
11911191

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

11941194
When sending request through a keep-alive enabled agent, the underlying socket
11951195
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
@@ -2093,7 +2093,7 @@ Creates a new TCP or [IPC][] server.
20932093
If `allowHalfOpen` is set to `true`, when the other end of the socket
20942094
signals the end of transmission, the server will only send back the end of
20952095
transmission when [`socket.end()`][] is explicitly called. For example, in the
2096-
context of TCP, when a FIN packed is received, a FIN packed is sent
2096+
context of TCP, when a FIN packet is received, a FIN packet is sent
20972097
back only when [`socket.end()`][] is explicitly called. Until then the
20982098
connection is half-closed (non-readable but still writable). See [`'end'`][]
20992099
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
@@ -3289,7 +3289,7 @@ const { platform } = require('node:process');
32893289
console.log(`This platform is ${platform}`);
32903290
```
32913291
3292-
The value `'android'` may also be returned if the Node.js is built on the
3292+
The value `'android'` may also be returned if Node.js is built on the
32933293
Android operating system. However, Android support in Node.js
32943294
[is experimental][Android building].
32953295

doc/api/punycode.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)