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>
This commit is contained in:
Livia Medeiros authored and Michaël Zasso committed 2022-07-31 09:44:18 +02:00
1 parent 07b7f8375e
commit ffee27216f
12 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -552,7 +552,7 @@ When modifying only the JS layer in `lib`, it is possible to externally load it
without modifying the executable:
```console
$ ./configure --node-builtin-modules-path $(pwd)
$ ./configure --node-builtin-modules-path "$(pwd)"
```
The resulting binary won't include any JS files and will try to load them from
+1 -1
View File
@@ -439,7 +439,7 @@ class DBQuery extends AsyncResource {
}
```
### Static method: `AsyncResource.bind(fn[, type, [thisArg]])`
### Static method: `AsyncResource.bind(fn[, type[, thisArg]])`
<!-- YAML
added:
+1 -1
View File
@@ -509,7 +509,7 @@ added: v15.7.0
The total size of the `Blob` in bytes.
### `blob.slice([start, [end, [type]]])`
### `blob.slice([start[, end[, type]]])`
<!-- YAML
added: v15.7.0
+1 -1
View File
@@ -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
+1 -1
View File
@@ -2894,7 +2894,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
+1 -1
View File
@@ -487,7 +487,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.
+1 -1
View File
@@ -444,7 +444,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: ' +
+1 -1
View File
@@ -2122,7 +2122,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
+1 -1
View File
@@ -238,7 +238,7 @@ files also qualify as affecting the `node` binary:
* `configure`
* `configure.py`
* `Makefile`
* `vcbuilt.bat`
* `vcbuild.bat`
</details>
+1 -1
View File
@@ -50,7 +50,7 @@ work for more complex pull requests. These are the currently known limitations
of the commit queue:
1. All commits in a pull request must either be following commit message
guidelines or be a valid [`fixup!`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupltcommitgt)
guidelines or be a valid [`fixup!`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt)
commit that will be correctly handled by the [`--autosquash`](https://git-scm.com/docs/git-rebase#Documentation/git-rebase.txt---autosquash)
option
2. A CI must've ran and succeeded since the last change on the PR
@@ -21,9 +21,9 @@ Currently, shared library support has only been tested on:
## Building with shared library option
On non-Windows platoforms, Node.js is built with the shared library
On non-Windows platforms, Node.js is built with the shared library
option by adding `--shared` to the configure step. On Windows
platofrms Node.js is built with the shared library option by
platforms Node.js is built with the shared library option by
adding `dll` to the vcbuild command line.
Once built there are two key components:
@@ -570,5 +570,5 @@ Supported options keys are:
[git-for-windows]: https://git-scm.com/download/win
[nghttp2.org]: https://nghttp2.org
[node-benchmark-compare]: https://github.com/targos/node-benchmark-compare
[t-test]: https://en.wikipedia.org/wiki/Student%27s_t-test#Equal_or_unequal_sample_sizes.2C_unequal_variances
[t-test]: https://en.wikipedia.org/wiki/Student%27s_t-test#Equal_or_unequal_sample_sizes%2C_unequal_variances_%28sX1_%3E_2sX2_or_sX2_%3E_2sX1%29
[wrk]: https://github.com/wg/wrk