diff options
author | Livia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com> | 2022-05-24 12:27:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 12:27:17 +0300 |
commit | 38a39143d2d5dbff0421ca3448ada2ebe21144e4 (patch) | |
tree | 0e00a5cf3c9230b48d1fe5cb49a950c2eeb37273 /doc/api | |
parent | 9a3326f3327a35b818f5eb73db446be39bfff645 (diff) |
doc: make minor adjustments
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/async_context.md | 2 | ||||
-rw-r--r-- | doc/api/buffer.md | 2 | ||||
-rw-r--r-- | doc/api/corepack.md | 2 | ||||
-rw-r--r-- | doc/api/crypto.md | 2 | ||||
-rw-r--r-- | doc/api/fs.md | 2 | ||||
-rw-r--r-- | doc/api/https.md | 2 | ||||
-rw-r--r-- | doc/api/stream.md | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/async_context.md b/doc/api/async_context.md index bf9c35d9ba6..22cb77221e7 100644 --- a/doc/api/async_context.md +++ b/doc/api/async_context.md @@ -439,7 +439,7 @@ class DBQuery extends AsyncResource { } ``` -### Static method: `AsyncResource.bind(fn[, type, [thisArg]])` +### Static method: `AsyncResource.bind(fn[, type[, thisArg]])` <!-- YAML added: diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 35c63708df6..5757e93e314 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -521,7 +521,7 @@ added: The total size of the `Blob` in bytes. -### `blob.slice([start, [end, [type]]])` +### `blob.slice([start[, end[, type]]])` <!-- YAML added: diff --git a/doc/api/corepack.md b/doc/api/corepack.md index c5525108c41..87c515d3a24 100644 --- a/doc/api/corepack.md +++ b/doc/api/corepack.md @@ -57,7 +57,7 @@ successfully retrieved. When running outside of an existing project (for example when running `yarn init`), Corepack will by default use predefined versions roughly corresponding to the latest stable releases from each tool. Those versions can -be overriden by running the [`corepack prepare`][] command along with the +be overridden by running the [`corepack prepare`][] command along with the package manager version you wish to set: ```bash diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 4228abd800f..07ba17bd5b3 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2912,7 +2912,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js. This property is deprecated. Please use `crypto.setFips()` and `crypto.getFips()` instead. -### `crypto.checkPrime(candidate[, options, [callback]])` +### `crypto.checkPrime(candidate[, options[, callback]])` <!-- YAML added: v15.8.0 diff --git a/doc/api/fs.md b/doc/api/fs.md index c4e0251a797..382a7518131 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -556,7 +556,7 @@ changes: added: v10.0.0 --> -* Returns: {Promise} Fufills with `undefined` upon success. +* Returns: {Promise} Fulfills with `undefined` upon success. Request that all data for the open file descriptor is flushed to the storage device. The specific implementation is operating system and device specific. diff --git a/doc/api/https.md b/doc/api/https.md index 00d5e8b3edf..bc5c8a246dc 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -462,7 +462,7 @@ const options = { return err; } - // Pin the public key, similar to HPKP pin-sha25 pinning + // Pin the public key, similar to HPKP pin-sha256 pinning const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU='; if (sha256(cert.pubkey) !== pubkey256) { const msg = 'Certificate verification error: ' + diff --git a/doc/api/stream.md b/doc/api/stream.md index c78f802d4a9..f6e498e7a65 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2237,7 +2237,7 @@ result from the calculation on the previous element. It returns a promise for the final value of the reduction. The reducer function iterates the stream element-by-element which means that -there is no `concurrency` parameter or parallism. To perform a `reduce` +there is no `concurrency` parameter or parallelism. To perform a `reduce` concurrently, it can be chained to the [`readable.map`][] method. If no `initial` value is supplied the first chunk of the stream is used as the |