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 fb9b66b

Browse filesBrowse files
juckeMylesBorins
authored andcommitted
doc: fix typos in n-api, tls and worker_threads
PR-URL: #34419 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent f10d721 commit fb9b66b
Copy full SHA for fb9b66b

File tree

Expand file treeCollapse file tree

3 files changed

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

3 files changed

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

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ the native addon will also need to have a C/C++ toolchain installed.
131131

132132
For Linux developers, the necessary C/C++ toolchain packages are readily
133133
available. [GCC][] is widely used in the Node.js community to build and
134-
test across a variety of plarforms. For many developers, the [LLVM][]
134+
test across a variety of platforms. For many developers, the [LLVM][]
135135
compiler infrastructure is also a good choice.
136136

137137
For Mac developers, [Xcode][] offers all the required compiler tools.
Collapse file

‎doc/api/tls.md‎

Copy file name to clipboardExpand all lines: doc/api/tls.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ all sessions). Methods implementing this technique are called "ephemeral".
8585
Currently two methods are commonly used to achieve perfect forward secrecy (note
8686
the character "E" appended to the traditional abbreviations):
8787

88-
* [DHE][]: An ephemeral version of the Diffie Hellman key-agreement protocol.
89-
* [ECDHE][]: An ephemeral version of the Elliptic Curve Diffie Hellman
88+
* [DHE][]: An ephemeral version of the Diffie-Hellman key-agreement protocol.
89+
* [ECDHE][]: An ephemeral version of the Elliptic Curve Diffie-Hellman
9090
key-agreement protocol.
9191

9292
Ephemeral methods may have some performance drawbacks, because key generation
@@ -1617,7 +1617,7 @@ changes:
16171617
client certificate.
16181618
* `crl` {string|string[]|Buffer|Buffer[]} PEM formatted CRLs (Certificate
16191619
Revocation Lists).
1620-
* `dhparam` {string|Buffer} Diffie Hellman parameters, required for
1620+
* `dhparam` {string|Buffer} Diffie-Hellman parameters, required for
16211621
[perfect forward secrecy][]. Use `openssl dhparam` to create the parameters.
16221622
The key length must be greater than or equal to 1024 bits or else an error
16231623
will be thrown. Although 1024 bits is permissible, use 2048 bits or larger
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const { port1 } = new MessageChannel();
110110
port1.postMessage(typedArray1, [ typedArray1.buffer ]);
111111

112112
// The following line prints the contents of typedArray1 -- it still owns its
113-
// memory and has been cloned, not transfered. Without `markAsUntransferable()`,
113+
// memory and has been cloned, not transferred. Without `markAsUntransferable()`,
114114
// this would print an empty Uint8Array. typedArray2 is intact as well.
115115
console.log(typedArray1);
116116
console.log(typedArray2);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.