Skip to content

Commit ab51762

Browse files
LiviaMedeirosdanielleadams
authored andcommitted
doc: make minor adjustments
PR-URL: #43175 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]>
1 parent dca9242 commit ab51762

12 files changed

+13
-13
lines changed

BUILDING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ When modifying only the JS layer in `lib`, it is possible to externally load it
551551
without modifying the executable:
552552

553553
```console
554-
$ ./configure --node-builtin-modules-path $(pwd)
554+
$ ./configure --node-builtin-modules-path "$(pwd)"
555555
```
556556

557557
The resulting binary won't include any JS files and will try to load them from

doc/api/async_context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ class DBQuery extends AsyncResource {
439439
}
440440
```
441441

442-
### Static method: `AsyncResource.bind(fn[, type, [thisArg]])`
442+
### Static method: `AsyncResource.bind(fn[, type[, thisArg]])`
443443

444444
<!-- YAML
445445
added:

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ added: v15.7.0
509509

510510
The total size of the `Blob` in bytes.
511511

512-
### `blob.slice([start, [end, [type]]])`
512+
### `blob.slice([start[, end[, type]]])`
513513

514514
<!-- YAML
515515
added: v15.7.0

doc/api/corepack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ successfully retrieved.
5757
When running outside of an existing project (for example when running
5858
`yarn init`), Corepack will by default use predefined versions roughly
5959
corresponding to the latest stable releases from each tool. Those versions can
60-
be overriden by running the [`corepack prepare`][] command along with the
60+
be overridden by running the [`corepack prepare`][] command along with the
6161
package manager version you wish to set:
6262

6363
```bash

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
28942894
This property is deprecated. Please use `crypto.setFips()` and
28952895
`crypto.getFips()` instead.
28962896

2897-
### `crypto.checkPrime(candidate[, options, [callback]])`
2897+
### `crypto.checkPrime(candidate[, options[, callback]])`
28982898

28992899
<!-- YAML
29002900
added: v15.8.0

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ changes:
482482
added: v10.0.0
483483
-->
484484
485-
* Returns: {Promise} Fufills with `undefined` upon success.
485+
* Returns: {Promise} Fulfills with `undefined` upon success.
486486
487487
Request that all data for the open file descriptor is flushed to the storage
488488
device. The specific implementation is operating system and device specific.

doc/api/https.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ const options = {
444444
return err;
445445
}
446446

447-
// Pin the public key, similar to HPKP pin-sha25 pinning
447+
// Pin the public key, similar to HPKP pin-sha256 pinning
448448
const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=';
449449
if (sha256(cert.pubkey) !== pubkey256) {
450450
const msg = 'Certificate verification error: ' +

doc/api/stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ result from the calculation on the previous element. It returns a promise for
21112111
the final value of the reduction.
21122112

21132113
The reducer function iterates the stream element-by-element which means that
2114-
there is no `concurrency` parameter or parallism. To perform a `reduce`
2114+
there is no `concurrency` parameter or parallelism. To perform a `reduce`
21152115
concurrently, it can be chained to the [`readable.map`][] method.
21162116

21172117
If no `initial` value is supplied the first chunk of the stream is used as the

doc/contributing/collaborator-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ files also qualify as affecting the `node` binary:
238238
* `configure`
239239
* `configure.py`
240240
* `Makefile`
241-
* `vcbuilt.bat`
241+
* `vcbuild.bat`
242242

243243
</details>
244244

doc/contributing/commit-queue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ work for more complex pull requests. These are the currently known limitations
5050
of the commit queue:
5151

5252
1. All commits in a pull request must either be following commit message
53-
guidelines or be a valid [`fixup!`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupltcommitgt)
53+
guidelines or be a valid [`fixup!`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt)
5454
commit that will be correctly handled by the [`--autosquash`](https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---autosquash)
5555
option
5656
2. A CI must've ran and succeeded since the last change on the PR

0 commit comments

Comments
 (0)