Skip to content

Commit bc5771e

Browse files
BeniCheniaddaleax
authored andcommitted
doc: correct typos in various docs
PR-URL: #26312 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 123fad6 commit bc5771e

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2107,7 +2107,7 @@ otherwise `err` will be `null`. By default, the successfully generated
21072107
thrown if any of the input arguments specify invalid values or types.
21082108

21092109
If `digest` is `null`, `'sha1'` will be used. This behavior is deprecated,
2110-
please specify a `digest` explicitely.
2110+
please specify a `digest` explicitly.
21112111

21122112
The `iterations` argument must be a number set as high as possible. The
21132113
higher the number of iterations, the more secure the derived key will be,
@@ -2173,7 +2173,7 @@ If an error occurs an `Error` will be thrown, otherwise the derived key will be
21732173
returned as a [`Buffer`][].
21742174

21752175
If `digest` is `null`, `'sha1'` will be used. This behavior is deprecated,
2176-
please specify a `digest` explicitely.
2176+
please specify a `digest` explicitly.
21772177

21782178
The `iterations` argument must be a number set as high as possible. The
21792179
higher the number of iterations, the more secure the derived key will be,

doc/api/n-api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ typedef void (*napi_finalize)(napi_env env,
378378

379379
#### napi_async_execute_callback
380380
Function pointer used with functions that support asynchronous
381-
operations. Callback functions must statisfy the following signature:
381+
operations. Callback functions must satisfy the following signature:
382382

383383
```C
384384
typedef void (*napi_async_execute_callback)(napi_env env, void* data);
@@ -391,7 +391,7 @@ calls should be made in `napi_async_complete_callback` instead.
391391

392392
#### napi_async_complete_callback
393393
Function pointer used with functions that support asynchronous
394-
operations. Callback functions must statisfy the following signature:
394+
operations. Callback functions must satisfy the following signature:
395395

396396
```C
397397
typedef void (*napi_async_complete_callback)(napi_env env,

doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ reports for the current process. Additional documentation is available in the
16741674
added: v11.8.0
16751675
-->
16761676

1677-
* `err` {Error} A custom error used for reporting the JavsScript stack.
1677+
* `err` {Error} A custom error used for reporting the JavaScript stack.
16781678
* Returns: {string}
16791679

16801680
Returns a JSON-formatted diagnostic report for the running process. The report's
@@ -1734,7 +1734,7 @@ added: v11.8.0
17341734
should be a relative path, that will be appended to the directory specified in
17351735
`process.report.setOptions`, or the current working directory of the Node.js
17361736
process, if unspecified.
1737-
* `err` {Error} A custom error used for reporting the JavsScript stack.
1737+
* `err` {Error} A custom error used for reporting the JavaScript stack.
17381738

17391739
* Returns: {string} Returns the filename of the generated report.
17401740

doc/api/v8.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ if a previous write has failed.
224224
* `id` {integer} A 32-bit unsigned integer.
225225
* `arrayBuffer` {ArrayBuffer} An `ArrayBuffer` instance.
226226

227-
Marks an `ArrayBuffer` as havings its contents transferred out of band.
227+
Marks an `ArrayBuffer` as having its contents transferred out of band.
228228
Pass the corresponding `ArrayBuffer` in the deserializing context to
229229
[`deserializer.transferArrayBuffer()`][].
230230

@@ -328,7 +328,7 @@ Deserializes a JavaScript value from the buffer and returns it.
328328
* `id` {integer} A 32-bit unsigned integer.
329329
* `arrayBuffer` {ArrayBuffer|SharedArrayBuffer} An `ArrayBuffer` instance.
330330

331-
Marks an `ArrayBuffer` as havings its contents transferred out of band.
331+
Marks an `ArrayBuffer` as having its contents transferred out of band.
332332
Pass the corresponding `ArrayBuffer` in the serializing context to
333333
[`serializer.transferArrayBuffer()`][] (or return the `id` from
334334
[`serializer._getSharedArrayBufferId()`][] in the case of `SharedArrayBuffer`s).

0 commit comments

Comments
 (0)