Skip to content

Commit d50efc6

Browse files
authored
doc: fix typos
PR-URL: nodejs#42146 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Danielle Adams <adamzdanielle@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
1 parent b67300f commit d50efc6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

doc/api/esm.md

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

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

10161016
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
@@ -1076,7 +1076,7 @@ added:
10761076
- v16.14.0
10771077
-->
10781078

1079-
* `percentile` {number} A percentile value in the range (0, 100).
1079+
* `percentile` {number} A percentile value in the range (0, 100].
10801080
* Returns: {bigint}
10811081

10821082
Returns the value at the given percentile.

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3540,7 +3540,7 @@ Synchronous writes avoid problems such as output written with `console.log()` or
35403540
_**Warning**_: Synchronous writes block the event loop until the write has
35413541
completed. This can be near instantaneous in the case of output to a file, but
35423542
under high system load, pipes that are not being read at the receiving end, or
3543-
with slow terminals or file systems, its possible for the event loop to be
3543+
with slow terminals or file systems, it's possible for the event loop to be
35443544
blocked often enough and long enough to have severe negative performance
35453545
impacts. This may not be a problem when writing to an interactive terminal
35463546
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
@@ -1343,7 +1343,7 @@ const { createInterface } = require('readline');
13431343
</tr>
13441344
<tr>
13451345
<td><kbd>Ctrl</kbd>+<kbd>E</kbd></td>
1346-
<td>Go to to end of line</td>
1346+
<td>Go to end of line</td>
13471347
<td></td>
13481348
</tr>
13491349
<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
@@ -1053,7 +1053,7 @@ current V8 isolate, or the main context.
10531053
* `options` {Object} Optional.
10541054
* `mode` {string} Either `'summary'` or `'detailed'`. In summary mode,
10551055
only the memory measured for the main context will be returned. In
1056-
detailed mode, the measure measured for all contexts known to the
1056+
detailed mode, the memory measured for all contexts known to the
10571057
current V8 isolate will be returned.
10581058
**Default:** `'summary'`
10591059
* `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)