doc: make minor adjustments · nodejs/node@3082c75 · GitHub
Skip to content

Commit 3082c75

Browse files
LiviaMedeirosbengl
authored andcommitted
doc: make minor adjustments
PR-URL: #43175 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
1 parent 6ee9fb1 commit 3082c75

12 files changed

Lines changed: 13 additions & 13 deletions

BUILDING.md

Lines changed: 1 addition & 1 deletion

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
@@ -521,7 +521,7 @@ added:
521521

522522
The total size of the `Blob` in bytes.
523523

524-
### `blob.slice([start, [end, [type]]])`
524+
### `blob.slice([start[, end[, type]]])`
525525

526526
<!-- YAML
527527
added:

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
@@ -2906,7 +2906,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
29062906
This property is deprecated. Please use `crypto.setFips()` and
29072907
`crypto.getFips()` instead.
29082908

2909-
### `crypto.checkPrime(candidate[, options, [callback]])`
2909+
### `crypto.checkPrime(candidate[, options[, callback]])`
29102910

29112911
<!-- YAML
29122912
added: v15.8.0

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ changes:
556556
added: v10.0.0
557557
-->
558558
559-
* Returns: {Promise} Fufills with `undefined` upon success.
559+
* Returns: {Promise} Fulfills with `undefined` upon success.
560560
561561
Request that all data for the open file descriptor is flushed to the storage
562562
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
@@ -462,7 +462,7 @@ const options = {
462462
return err;
463463
}
464464

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

doc/api/stream.md

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

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

22252225
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

0 commit comments

Comments
 (0)