Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1afff98

Browse filesBrowse files
bl-uedanielleadams
authored andcommitted
doc: fix typos
PR-URL: #39049 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 3ae2a0b commit 1afff98
Copy full SHA for 1afff98

File tree

Expand file treeCollapse file tree

4 files changed

+6
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+6
-6
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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
Collapse file

‎doc/api/deprecations.md‎

Copy file name to clipboardExpand all lines: doc/api/deprecations.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,7 @@ is flushed.
24972497
Use [`response.writableFinished`][] or [`response.writableEnded`][]
24982498
accordingly instead to avoid the ambiguity.
24992499

2500-
To maintain existing behaviour `response.finished` should be replaced with
2500+
To maintain existing behavior `response.finished` should be replaced with
25012501
`response.writableEnded`.
25022502

25032503
### DEP0137: Closing fs.FileHandle on garbage collection
Collapse file

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3837,7 +3837,7 @@ for instance).
38373837
The compatibility API falls back to `host` if `:authority` is not
38383838
present. See [`request.authority`][] for more information. However,
38393839
if you don't use the compatibility API (or use `req.headers` directly),
3840-
you need to implement any fall-back behaviour yourself.
3840+
you need to implement any fall-back behavior yourself.
38413841

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

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.