Skip to content

Commit 5b5a9eb

Browse files
bl-uenodejs-github-bot
authored andcommitted
doc: fix typos
PR-URL: #39049 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Zijian Liu <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 0af0d1c commit 5b5a9eb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3863,7 +3863,7 @@ The supplied `callback` function is called with two arguments: `err` and
38633863
`derivedKey`. If an errors occurs while deriving the key, `err` will be set;
38643864
otherwise `err` will be `null`. The successfully generated `derivedKey` will
38653865
be passed to the callback as an {ArrayBuffer}. An error will be thrown if any
3866-
of the input aguments specify invalid values or types.
3866+
of the input arguments specify invalid values or types.
38673867

38683868
```mjs
38693869
const {
@@ -3911,7 +3911,7 @@ given `key`, `salt` and `info` are used with the `digest` to derive a key of
39113911

39123912
The successfully generated `derivedKey` will be returned as an {ArrayBuffer}.
39133913

3914-
An error will be thrown if any of the input aguments specify invalid values or
3914+
An error will be thrown if any of the input arguments specify invalid values or
39153915
types, or if the derived key cannot be generated.
39163916

39173917
```mjs

doc/api/deprecations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ is flushed.
25022502
Use [`response.writableFinished`][] or [`response.writableEnded`][]
25032503
accordingly instead to avoid the ambiguity.
25042504

2505-
To maintain existing behaviour `response.finished` should be replaced with
2505+
To maintain existing behavior `response.finished` should be replaced with
25062506
`response.writableEnded`.
25072507

25082508
### DEP0137: Closing fs.FileHandle on garbage collection

doc/api/http2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3843,7 +3843,7 @@ for instance).
38433843
The compatibility API falls back to `host` if `:authority` is not
38443844
present. See [`request.authority`][] for more information. However,
38453845
if you don't use the compatibility API (or use `req.headers` directly),
3846-
you need to implement any fall-back behaviour yourself.
3846+
you need to implement any fall-back behavior yourself.
38473847

38483848
[ALPN Protocol ID]: https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
38493849
[ALPN negotiation]: #http2_alpn_negotiation

doc/api/n-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5228,7 +5228,7 @@ avoid introducing causing memory leaks. However, if the `async_resource` is
52285228
garbage collected by JavaScript engine before the `napi_async_context` was
52295229
destroyed by `napi_async_destroy`, calling `napi_async_context` related APIs
52305230
like [`napi_open_callback_scope`][] and [`napi_make_callback`][] can cause
5231-
problems like loss of async context when using the `AsyncLocalStoage` API.
5231+
problems like loss of async context when using the `AsyncLocalStorage` API.
52325232

52335233
In order to retain ABI compatibility with previous versions, passing `NULL`
52345234
for `async_resource` does not result in an error. However, this is not
@@ -5731,7 +5731,7 @@ after receiving a return value of `napi_closing` in response to a call to
57315731
`napi_threadsafe_function` can be freed in its `napi_finalize` callback which
57325732
was passed to `napi_create_threadsafe_function()`. The parameter
57335733
`initial_thread_count` of `napi_create_threadsafe_function` marks the initial
5734-
number of aquisitions of the thread-safe functions, instead of calling
5734+
number of acquisitions of the thread-safe functions, instead of calling
57355735
`napi_acquire_threadsafe_function` multiple times at creation.
57365736

57375737
Once the number of threads making use of a `napi_threadsafe_function` reaches

0 commit comments

Comments
 (0)