Skip to content

Commit a5a7eb3

Browse files
committed
doc: fix typos
1 parent 27dab9d commit a5a7eb3

28 files changed

+272
-272
lines changed

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5968,7 +5968,7 @@ See the [list of SSL OP Flags][] for details.
59685968
</tr>
59695969
<tr>
59705970
<td><code>ENGINE_METHOD_PKEY_METHS</code></td>
5971-
<td>Limit engine usage to PKEY_METHDS</td>
5971+
<td>Limit engine usage to PKEY_METHS</td>
59725972
</tr>
59735973
<tr>
59745974
<td><code>ENGINE_METHOD_PKEY_ASN1_METHS</code></td>

doc/api/module.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,22 +142,22 @@ If `cacheDir` is not specified, Node.js will either use the directory specified
142142
[`NODE_COMPILE_CACHE=dir`][] environment variable if it's set, or use
143143
`path.join(os.tmpdir(), 'node-compile-cache')` otherwise. For general use cases, it's
144144
recommended to call `module.enableCompileCache()` without specifying the `cacheDir`,
145-
so that the directory can be overriden by the `NODE_COMPILE_CACHE` environment
145+
so that the directory can be overridden by the `NODE_COMPILE_CACHE` environment
146146
variable when necessary.
147147
148148
Since compile cache is supposed to be a quiet optimization that is not required for the
149149
application to be functional, this method is designed to not throw any exception when the
150150
compile cache cannot be enabled. Instead, it will return an object containing an error
151151
message in the `message` field to aid debugging.
152-
If compile cache is enabled successefully, the `directory` field in the returned object
152+
If compile cache is enabled successfully, the `directory` field in the returned object
153153
contains the path to the directory where the compile cache is stored. The `status`
154154
field in the returned object would be one of the `module.constants.compileCacheStatus`
155155
values to indicate the result of the attempt to enable the [module compile cache][].
156156
157157
This method only affects the current Node.js instance. To enable it in child worker threads,
158158
either call this method in child worker threads too, or set the
159159
`process.env.NODE_COMPILE_CACHE` value to compile cache directory so the behavior can
160-
be inheritend into the child workers. The directory can be obtained either from the
160+
be inherited into the child workers. The directory can be obtained either from the
161161
`directory` field returned by this method, or with [`module.getCompileCacheDir()`][].
162162
163163
#### Module compile cache
@@ -264,7 +264,7 @@ changes:
264264
**Default:** `'data:'`
265265
* `data` {any} Any arbitrary, cloneable JavaScript value to pass into the
266266
[`initialize`][] hook.
267-
* `transferList` {Object\[]} [transferrable objects][] to be passed into the
267+
* `transferList` {Object\[]} [transferable objects][] to be passed into the
268268
`initialize` hook.
269269
270270
Register a module that exports [hooks][] that customize Node.js module
@@ -469,7 +469,7 @@ affect the other thread(s), and message channels must be used to communicate
469469
between the threads.
470470
471471
The `register` method can be used to pass data to an [`initialize`][] hook. The
472-
data passed to the hook may include transferrable objects like ports.
472+
data passed to the hook may include transferable objects like ports.
473473
474474
```mjs
475475
import { register } from 'node:module';
@@ -567,7 +567,7 @@ the hooks thread when the hooks module is initialized. Initialization happens
567567
when the hooks module is registered via [`register`][].
568568
569569
This hook can receive data from a [`register`][] invocation, including
570-
ports and other transferrable objects. The return value of `initialize` can be a
570+
ports and other transferable objects. The return value of `initialize` can be a
571571
{Promise}, in which case it will be awaited before the main application thread
572572
execution resumes.
573573
@@ -1118,7 +1118,7 @@ Flush the [module compile cache][] accumulated from modules already loaded
11181118
in the current Node.js instance to disk. This returns after all the flushing
11191119
file system operations come to an end, no matter they succeed or not. If there
11201120
are any errors, this will fail silently, since compile cache misses should not
1121-
interfer with the actual operation of the application.
1121+
interfere with the actual operation of the application.
11221122
11231123
### Class: `module.SourceMap`
11241124
@@ -1250,4 +1250,4 @@ returned object contains the following keys:
12501250
[prefix-only modules]: modules.md#built-in-modules-with-mandatory-node-prefix
12511251
[realm]: https://tc39.es/ecma262/#realm
12521252
[source map include directives]: https://sourcemaps.info/spec.html#h.lmz475t4mvbx
1253-
[transferrable objects]: worker_threads.md#portpostmessagevalue-transferlist
1253+
[transferable objects]: worker_threads.md#portpostmessagevalue-transferlist

doc/api/packages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ There is the CommonJS module loader:
171171
`process.dlopen()`.
172172
* It treats all files that lack `.json` or `.node` extensions as JavaScript
173173
text files.
174-
* It can only be used to [load ECMASCript modules from CommonJS modules][] if
174+
* It can only be used to [load ECMAScript modules from CommonJS modules][] if
175175
the module graph is synchronous (that contains no top-level `await`).
176176
When used to load a JavaScript text file that is not an ECMAScript module,
177177
the file will be loaded as a CommonJS module.
@@ -1423,7 +1423,7 @@ This field defines [subpath imports][] for the current package.
14231423
[entry points]: #package-entry-points
14241424
[folders as modules]: modules.md#folders-as-modules
14251425
[import maps]: https://github.com/WICG/import-maps
1426-
[load ECMASCript modules from CommonJS modules]: modules.md#loading-ecmascript-modules-using-require
1426+
[load ECMAScript modules from CommonJS modules]: modules.md#loading-ecmascript-modules-using-require
14271427
[loader hooks]: esm.md#loaders
14281428
[packages folder mapping]: https://github.com/WICG/import-maps#packages-via-trailing-slashes
14291429
[self-reference]: #self-referencing-a-package-using-its-name

doc/api/stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,7 @@ stopped by having passed a `signal` option and aborting the related
22352235
`return`. In either case the stream will be destroyed.
22362236

22372237
This method is different from listening to the [`'data'`][] event in that it
2238-
uses the [`readable`][] event in the underlying machinary and can limit the
2238+
uses the [`readable`][] event in the underlying machinery and can limit the
22392239
number of concurrent `fn` calls.
22402240

22412241
```mjs

doc/api/test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ all tests have completed. If the [`NODE_V8_COVERAGE`][] environment variable is
485485
used to specify a code coverage directory, the generated V8 coverage files are
486486
written to that directory. Node.js core modules and files within
487487
`node_modules/` directories are, by default, not included in the coverage report.
488-
However, they can be explicity included via the [`--test-coverage-include`][] flag. If
488+
However, they can be explicitly included via the [`--test-coverage-include`][] flag. If
489489
coverage is enabled, the coverage report is sent to any [test reporters][] via
490490
the `'test:coverage'` event.
491491

doc/api/v8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ console.log(queryObjects(B, { format: 'summary' }));
325325

326326
// Note that, when there are child classes inheriting from a constructor,
327327
// the constructor also shows up in the prototype chain of the child
328-
// classes's prototoype, so the child classes's prototoype would also be
328+
// classes's prototype, so the child classes's prototype would also be
329329
// included in the result.
330330
console.log(queryObjects(A)); // 3
331331
// [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ]
@@ -349,7 +349,7 @@ console.log(queryObjects(B, { format: 'summary' }));
349349

350350
// Note that, when there are child classes inheriting from a constructor,
351351
// the constructor also shows up in the prototype chain of the child
352-
// classes's prototoype, so the child classes's prototoype would also be
352+
// classes's prototype, so the child classes's prototype would also be
353353
// included in the result.
354354
console.log(queryObjects(A)); // 3
355355
// [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ]

doc/changelogs/CHANGELOG_ARCHIVE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@
862862
* crypto: add getHashes() and getCiphers() (Ben Noordhuis)
863863
* unix: add custom thread pool, remove libeio (Ben Noordhuis)
864864
* util: make `inspect()` accept an "options" argument (Nathan Rajlich)
865-
* https: fix renegotation attack protection (Ben Noordhuis)
865+
* https: fix renegotiation attack protection (Ben Noordhuis)
866866
* cluster: make 'listening' handler see actual port (Aaditya Bhatia)
867867
* windows: use USERPROFILE to get the user's home dir (Bert Belder)
868868
* path: add platform specific path delimiter (Paul Serby)
@@ -1453,7 +1453,7 @@
14531453
* Add Buffer.concat method (isaacs)
14541454
* windows: make symlinks tolerant to forward slashes (Bert Belder)
14551455
* build: Add node.d and node.1 to installer (isaacs)
1456-
* cluster: rename worker.unqiueID to worker.id (Andreas Madsen)
1456+
* cluster: rename worker.uniqueID to worker.id (Andreas Madsen)
14571457
* Windows: Enable ETW events on Windows for existing DTrace probes. (Igor Zinkovsky)
14581458
* test: bundle node-weak in test/gc so that it doesn't need to be downloaded (Nathan Rajlich)
14591459
* Make many tests pass on Windows (Bert Belder)

doc/changelogs/CHANGELOG_IOJS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ See <https://github.com/nodejs/io.js/labels/confirmed-bug> for complete and curr
328328
* \[[`b60e690023`](https://github.com/nodejs/node/commit/b60e690023)] - **test**: improve test-net-server-pause-on-connect (Brendan Ashworth) [#2429](https://github.com/nodejs/node/pull/2429)
329329
* \[[`11d1b8fcaf`](https://github.com/nodejs/node/commit/11d1b8fcaf)] - **test**: improve test-net-pingpong (Brendan Ashworth) [#2429](https://github.com/nodejs/node/pull/2429)
330330
* \[[`5fef5c6562`](https://github.com/nodejs/node/commit/5fef5c6562)] - **(SEMVER-MINOR)** **tls**: add --tls-cipher-list command line switch (James M Snell) [#2412](https://github.com/nodejs/node/pull/2412)
331-
* \[[`d9b70f9cbf`](https://github.com/nodejs/node/commit/d9b70f9cbf)] - **tls**: handle empty cert in checkServerIndentity (Mike Atkins) [#2343](https://github.com/nodejs/node/pull/2343)
331+
* \[[`d9b70f9cbf`](https://github.com/nodejs/node/commit/d9b70f9cbf)] - **tls**: handle empty cert in checkServerIdentity (Mike Atkins) [#2343](https://github.com/nodejs/node/pull/2343)
332332
* \[[`4f8e34c202`](https://github.com/nodejs/node/commit/4f8e34c202)] - **tools**: add license boilerplate to check-imports.sh (James M Snell) [#2386](https://github.com/nodejs/node/pull/2386)
333333
* \[[`b76b9197f9`](https://github.com/nodejs/node/commit/b76b9197f9)] - **tools**: enable space-after-keywords in eslint (Brendan Ashworth)
334334
* \[[`64a8f30a70`](https://github.com/nodejs/node/commit/64a8f30a70)] - **tools**: fix anchors in generated documents (Sakthipriyan Vairamani) [#2491](https://github.com/nodejs/node/pull/2491)
@@ -1199,7 +1199,7 @@ See <https://github.com/nodejs/node/labels/confirmed-bug> for complete and curre
11991199
* **src**: fixed preload modules not working when other flags were used before `--require` (Yosuke Furukawa) [#1694](https://github.com/nodejs/node/pull/1694)
12001200
* **dgram**: fixed `send()`'s callback not being asynchronous (Yosuke Furukawa) [#1313](https://github.com/nodejs/node/pull/1313)
12011201
* **readline**: emitKeys now keeps buffering data until it has enough to parse. This fixes an issue with parsing split escapes. (Alex Kocharin) [#1601](https://github.com/nodejs/node/pull/1601)
1202-
* **cluster**: works now properly emit 'disconnect' to `cluser.worker` (Oleg Elifantiev) [#1386](https://github.com/nodejs/node/pull/1386)
1202+
* **cluster**: works now properly emit 'disconnect' to `cluster.worker` (Oleg Elifantiev) [#1386](https://github.com/nodejs/node/pull/1386)
12031203
* **events**: uncaught errors now provide some context (Evan Lucas) [#1654](https://github.com/nodejs/node/pull/1654)
12041204

12051205
### Known issues
@@ -2208,7 +2208,7 @@ _Note: version **1.4.0** was tagged and built but not released. A libuv bug was
22082208
* \[[`1bf91878e7`](https://github.com/nodejs/node/commit/1bf91878e7)] - **doc**: add TC meeting 2015-02-04 minutes (Rod Vagg) [#876](https://github.com/nodejs/node/pull/876)
22092209
* \[[`9e05c8d2fc`](https://github.com/nodejs/node/commit/9e05c8d2fc)] - **doc**: remove outdated language on consensus (Emily Rose)
22102210
* \[[`ed240f44f7`](https://github.com/nodejs/node/commit/ed240f44f7)] - **doc**: document 'ciphers' option of tls.connect (Roman Reiss) [#845](https://github.com/nodejs/node/pull/845)
2211-
* \[[`0555b3c785`](https://github.com/nodejs/node/commit/0555b3c785)] - **doc**: fix typo miliseconds -> milliseconds (jigsaw) [#865](https://github.com/nodejs/node/pull/865)
2211+
* \[[`0555b3c785`](https://github.com/nodejs/node/commit/0555b3c785)] - **doc**: fix typo milliseconds -> milliseconds (jigsaw) [#865](https://github.com/nodejs/node/pull/865)
22122212
* \[[`fc6507dd4e`](https://github.com/nodejs/node/commit/fc6507dd4e)] - **doc**: add comma in README to increase clarity (Jimmy Hsu)
22132213
* \[[`f0296933f8`](https://github.com/nodejs/node/commit/f0296933f8)] - **doc**: correct `it's` to `its` in process (Charmander) [#837](https://github.com/nodejs/node/pull/837)
22142214
* \[[`e81731ad18`](https://github.com/nodejs/node/commit/e81731ad18)] - **doc**: add geek as collaborator (Wyatt Preul) [#835](https://github.com/nodejs/node/pull/835)
@@ -2248,7 +2248,7 @@ _Note: version **1.4.0** was tagged and built but not released. A libuv bug was
22482248
* \[[`3b1b4de903`](https://github.com/nodejs/node/commit/3b1b4de903)] - **test**: Timeout#unref() does not return instance (Jan Schär) [joyent/node#9171](https://github.com/joyent/node/pull/9171)
22492249
* \[[`becb4e980e`](https://github.com/nodejs/node/commit/becb4e980e)] - **test**: distribute crypto tests into separate files (Brendan Ashworth) [#827](https://github.com/nodejs/node/pull/827)
22502250
* \[[`77f35861d0`](https://github.com/nodejs/node/commit/77f35861d0)] - **(SEMVER-MINOR) tls**: more secure defaults (Roman Reiss) [#826](https://github.com/nodejs/node/pull/826)
2251-
* \[[`faa687b4be`](https://github.com/nodejs/node/commit/faa687b4be)] - **url**: reslove urls with . and .. (Amir Saboury) [#278](https://github.com/nodejs/node/pull/278)
2251+
* \[[`faa687b4be`](https://github.com/nodejs/node/commit/faa687b4be)] - **url**: resolve urls with . and .. (Amir Saboury) [#278](https://github.com/nodejs/node/pull/278)
22522252

22532253
<a id="1.2.0"></a>
22542254

0 commit comments

Comments
 (0)