Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix typos #42146

Merged
merged 6 commits into from Mar 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/esm.md
Expand Up @@ -1010,7 +1010,7 @@ prints the current version of CoffeeScript per the module at the URL in

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

This is less performant than transpiling source files before running
Expand Down
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Expand Up @@ -1076,7 +1076,7 @@ added:
- v16.14.0
-->

* `percentile` {number} A percentile value in the range (0, 100).
* `percentile` {number} A percentile value in the range (0, 100].
Mesteery marked this conversation as resolved.
Show resolved Hide resolved
* Returns: {bigint}

Returns the value at the given percentile.
Expand Down
2 changes: 1 addition & 1 deletion doc/api/process.md
Expand Up @@ -3540,7 +3540,7 @@ Synchronous writes avoid problems such as output written with `console.log()` or
_**Warning**_: Synchronous writes block the event loop until the write has
completed. This can be near instantaneous in the case of output to a file, but
under high system load, pipes that are not being read at the receiving end, or
with slow terminals or file systems, its possible for the event loop to be
with slow terminals or file systems, it's possible for the event loop to be
blocked often enough and long enough to have severe negative performance
impacts. This may not be a problem when writing to an interactive terminal
session, but consider this particularly careful when doing production logging to
Expand Down
2 changes: 1 addition & 1 deletion doc/api/readline.md
Expand Up @@ -1343,7 +1343,7 @@ const { createInterface } = require('readline');
</tr>
<tr>
<td><kbd>Ctrl</kbd>+<kbd>E</kbd></td>
<td>Go to to end of line</td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this was supposed to be

Suggested change
<td>Go to to end of line</td>
<td>Go to the end of line</td>

<td>Go to end of line</td>
<td></td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion doc/api/tls.md
Expand Up @@ -228,7 +228,7 @@ To use session tickets across server restarts or load balancers, servers must
all have the same ticket keys. There are three 16-byte keys internally, but the
tls API exposes them as a single 48-byte buffer for convenience.

Its possible to get the ticket keys by calling [`server.getTicketKeys()`][] on
It's possible to get the ticket keys by calling [`server.getTicketKeys()`][] on
one server instance and then distribute them, but it is more reasonable to
securely generate 48 bytes of secure random data and set them with the
`ticketKeys` option of [`tls.createServer()`][]. The keys should be regularly
Expand Down
2 changes: 1 addition & 1 deletion doc/api/vm.md
Expand Up @@ -1053,7 +1053,7 @@ current V8 isolate, or the main context.
* `options` {Object} Optional.
* `mode` {string} Either `'summary'` or `'detailed'`. In summary mode,
only the memory measured for the main context will be returned. In
detailed mode, the measure measured for all contexts known to the
detailed mode, the memory measured for all contexts known to the
current V8 isolate will be returned.
**Default:** `'summary'`
* `execution` {string} Either `'default'` or `'eager'`. With default
Expand Down
2 changes: 1 addition & 1 deletion doc/api/zlib.md
Expand Up @@ -117,7 +117,7 @@ for (let i = 0; i < 30000; ++i) {

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

It is strongly recommended that the results of compression
operations be cached to avoid duplication of effort.
Expand Down
2 changes: 1 addition & 1 deletion doc/contributing/maintaining-openssl.md
Expand Up @@ -25,7 +25,7 @@ Details on the fork, as well as the latest sources, can be found at
<https://github.com/quictls/openssl>.

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

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion doc/contributing/pull-requests.md
Expand Up @@ -437,7 +437,7 @@ check with the contributor to see if they intend to continue the work before
checking if they would mind if you took it over (especially if it just has
nits left). When doing so, it is courteous to give the original contributor
credit for the work they started (either by preserving their name and email
address in the commit log, or by using an `Author:` meta-data tag in the
address) in the commit log, or by using an `Author:` meta-data tag in the
commit.

### Approving a change
Expand Down
2 changes: 1 addition & 1 deletion doc/contributing/static-analysis.md
Expand Up @@ -13,4 +13,4 @@ titled `Please add me to coverity`. A member of the build WG with admin
access will verify that the requestor is an existing collaborator as listed in
the [collaborators section](https://github.com/nodejs/node#collaborators)
on the nodejs/node project repo. Once validated the requestor will added
to to the coverity project.
to the coverity project.