GeezerVison is showing github.com — doc: fix typos in documentation · nodejs/node@3da9d77
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/crypto.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4995,7 +4995,7 @@ HKDF is a simple key derivation function defined in RFC 5869. The given `ikm`, | 4995 | 4995 | `salt` and `info` are used with the `digest` to derive a key of `keylen` bytes. | 4996 | 4996 |
| 4997 | 4997 | The supplied `callback` function is called with two arguments: `err` and | 4998 | | -`derivedKey`. If an errors occurs while deriving the key, `err` will be set; | | 4998 | +`derivedKey`. If an error occurs while deriving the key, `err` will be set; | 4999 | 4999 | otherwise `err` will be `null`. The successfully generated `derivedKey` will | 5000 | 5000 | be passed to the callback as an {ArrayBuffer}. An error will be thrown if any | 5001 | 5001 | of the input arguments specify invalid values or types. | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/errors.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1506,7 +1506,7 @@ New HTTP/2 Streams may not be opened after the `Http2Session` has received a | 1506 | 1506 |
| 1507 | 1507 | ### `ERR_HTTP2_HEADERS_AFTER_RESPOND` | 1508 | 1508 |
| 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. | 1510 | 1510 |
| 1511 | 1511 | <a id="ERR_HTTP2_HEADERS_SENT"></a> | 1512 | 1512 |
| @@ -2810,7 +2810,7 @@ changes: | 2810 | 2810 | description: Added the `requireStack` and `topLevelAwaitLocations` properties. | 2811 | 2811 | --> | 2812 | 2812 |
| 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. | 2814 | 2814 | That is, it contains top-level await. | 2815 | 2815 |
| 2816 | 2816 | When uncaught, the flag `--experimental-print-required-tla` prints | @@ -2832,7 +2832,7 @@ This error has the following additional non-enumerable properties: | 2832 | 2832 |
| 2833 | 2833 | ### `ERR_REQUIRE_CYCLE_MODULE` | 2834 | 2834 |
| 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 | 2836 | 2836 | participates in an immediate cycle. | 2837 | 2837 | This is not allowed because ES Modules cannot be evaluated while they are | 2838 | 2838 | already being evaluated. | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/http.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1189,7 +1189,7 @@ added: | 1189 | 1189 | - v12.16.0 | 1190 | 1190 | --> | 1191 | 1191 |
| 1192 | | -* Type: {boolean} Whether the request is send through a reused socket. | | 1192 | +* Type: {boolean} Whether the request is sent through a reused socket. | 1193 | 1193 |
| 1194 | 1194 | When sending request through a keep-alive enabled agent, the underlying socket | 1195 | 1195 | might be reused. But if server closes connection at unfortunate time, client | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/net.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2135,7 +2135,7 @@ Creates a new TCP or [IPC][] server. | 2135 | 2135 | If `allowHalfOpen` is set to `true`, when the other end of the socket | 2136 | 2136 | signals the end of transmission, the server will only send back the end of | 2137 | 2137 | transmission when [`socket.end()`][] is explicitly called. For example, in the | 2138 | | -context of TCP, when a FIN packed is received, a FIN packed is sent | | 2138 | +context of TCP, when a FIN packet is received, a FIN packet is sent | 2139 | 2139 | back only when [`socket.end()`][] is explicitly called. Until then the | 2140 | 2140 | connection is half-closed (non-readable but still writable). See [`'end'`][] | 2141 | 2141 | event and [RFC 1122][half-closed] (section 4.2.2.13) for more information. | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/process.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3289,7 +3289,7 @@ const { platform } = require('node:process'); | 3289 | 3289 | console.log(`This platform is ${platform}`); | 3290 | 3290 | ``` | 3291 | 3291 |
| 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 | 3293 | 3293 | Android operating system. However, Android support in Node.js | 3294 | 3294 | [is experimental][Android building]. | 3295 | 3295 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/punycode.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -101,7 +101,7 @@ added: v0.6.1 | 101 | 101 |
| 102 | 102 | The `punycode.toUnicode()` method converts a string representing a domain name | 103 | 103 | containing [Punycode][] encoded characters into Unicode. Only the [Punycode][] | 104 | | -encoded parts of the domain name are be converted. | | 104 | +encoded parts of the domain name are converted. | 105 | 105 |
| 106 | 106 | ```js | 107 | 107 | // decode domain names | |
|