Skip to content

Commit fb9b66b

Browse files
juckeMylesBorins
authored andcommitted
doc: fix typos in n-api, tls and worker_threads
PR-URL: #34419 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent f10d721 commit fb9b66b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/api/n-api.md

+1-1
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.

doc/api/tls.md

+3-3
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

doc/api/worker_threads.md

+1-1
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)