Skip to content

Commit 84859c4

Browse files
apeltopsxa
authored andcommitted
doc: fix typos
PR-URL: #42146 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Danielle Adams <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]>
1 parent 3df001f commit 84859c4

10 files changed

+10
-10
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ prints the current version of CoffeeScript per the module at the URL in
10031003

10041004
Sources that are in formats Node.js doesn’t understand can be converted into
10051005
JavaScript using the [`load` hook][load hook]. Before that hook gets called,
1006-
however, a [`resolve` hook][resolve hook] hook needs to tell Node.js not to
1006+
however, a [`resolve` hook][resolve hook] needs to tell Node.js not to
10071007
throw an error on unknown file types.
10081008

10091009
This is less performant than transpiling source files before running

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ Returns the value at the given percentile.
10581058
added: v17.4.0
10591059
-->
10601060

1061-
* `percentile` {number} A percentile value in the range (0, 100).
1061+
* `percentile` {number} A percentile value in the range (0, 100].
10621062
* Returns: {bigint}
10631063

10641064
Returns the value at the given percentile.

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3533,7 +3533,7 @@ Synchronous writes avoid problems such as output written with `console.log()` or
35333533
_**Warning**_: Synchronous writes block the event loop until the write has
35343534
completed. This can be near instantaneous in the case of output to a file, but
35353535
under high system load, pipes that are not being read at the receiving end, or
3536-
with slow terminals or file systems, its possible for the event loop to be
3536+
with slow terminals or file systems, it's possible for the event loop to be
35373537
blocked often enough and long enough to have severe negative performance
35383538
impacts. This may not be a problem when writing to an interactive terminal
35393539
session, but consider this particularly careful when doing production logging to

doc/api/readline.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ const { createInterface } = require('readline');
13231323
</tr>
13241324
<tr>
13251325
<td><kbd>Ctrl</kbd>+<kbd>E</kbd></td>
1326-
<td>Go to to end of line</td>
1326+
<td>Go to end of line</td>
13271327
<td></td>
13281328
</tr>
13291329
<tr>

doc/api/tls.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ To use session tickets across server restarts or load balancers, servers must
228228
all have the same ticket keys. There are three 16-byte keys internally, but the
229229
tls API exposes them as a single 48-byte buffer for convenience.
230230

231-
Its possible to get the ticket keys by calling [`server.getTicketKeys()`][] on
231+
It's possible to get the ticket keys by calling [`server.getTicketKeys()`][] on
232232
one server instance and then distribute them, but it is more reasonable to
233233
securely generate 48 bytes of secure random data and set them with the
234234
`ticketKeys` option of [`tls.createServer()`][]. The keys should be regularly

doc/api/vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ current V8 isolate, or the main context.
10471047
* `options` {Object} Optional.
10481048
* `mode` {string} Either `'summary'` or `'detailed'`. In summary mode,
10491049
only the memory measured for the main context will be returned. In
1050-
detailed mode, the measure measured for all contexts known to the
1050+
detailed mode, the memory measured for all contexts known to the
10511051
current V8 isolate will be returned.
10521052
**Default:** `'summary'`
10531053
* `execution` {string} Either `'default'` or `'eager'`. With default

doc/api/zlib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ for (let i = 0; i < 30000; ++i) {
117117

118118
In the preceding example, 30,000 deflate instances are created concurrently.
119119
Because of how some operating systems handle memory allocation and
120-
deallocation, this may lead to to significant memory fragmentation.
120+
deallocation, this may lead to significant memory fragmentation.
121121

122122
It is strongly recommended that the results of compression
123123
operations be cached to avoid duplication of effort.

doc/contributing/maintaining-openssl.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Details on the fork, as well as the latest sources, can be found at
2525
<https://github.com/quictls/openssl>.
2626

2727
Branches are used per OpenSSL version (for instance,
28-
<https://github.com/quictls/openssl/tree/OpenSSL_1_1_1j+quic)>.
28+
<https://github.com/quictls/openssl/tree/OpenSSL_1_1_1j+quic>).
2929

3030
## Requirements
3131

doc/contributing/pull-requests.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ check with the contributor to see if they intend to continue the work before
437437
checking if they would mind if you took it over (especially if it just has
438438
nits left). When doing so, it is courteous to give the original contributor
439439
credit for the work they started (either by preserving their name and email
440-
address in the commit log, or by using an `Author:` meta-data tag in the
440+
address) in the commit log, or by using an `Author:` meta-data tag in the
441441
commit.
442442

443443
### Approving a change

doc/contributing/static-analysis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ titled `Please add me to coverity`. A member of the build WG with admin
1313
access will verify that the requestor is an existing collaborator as listed in
1414
the [collaborators section](https://github.com/nodejs/node#collaborators)
1515
on the nodejs/node project repo. Once validated the requestor will added
16-
to to the coverity project.
16+
to the coverity project.

0 commit comments

Comments
 (0)