| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5983,7 +5983,7 @@ See the [list of SSL OP Flags][] for details. | |||
| 5983 | 5983 | </tr> | |
| 5984 | 5984 | <tr> | |
| 5985 | 5985 | <td><code>ENGINE_METHOD_PKEY_METHS</code></td> | |
| 5986 | - <td>Limit engine usage to PKEY_METHDS</td> | ||
| 5986 | + <td>Limit engine usage to PKEY_METHS</td> | ||
| 5987 | 5987 | </tr> | |
| 5988 | 5988 | <tr> | |
| 5989 | 5989 | <td><code>ENGINE_METHOD_PKEY_ASN1_METHS</code></td> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -142,22 +142,22 @@ If `cacheDir` is not specified, Node.js will either use the directory specified | |||
| 142 | 142 | [`NODE_COMPILE_CACHE=dir`][] environment variable if it's set, or use | |
| 143 | 143 | `path.join(os.tmpdir(), 'node-compile-cache')` otherwise. For general use cases, it's | |
| 144 | 144 | 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 | ||
| 146 | 146 | variable when necessary. | |
| 147 | 147 | ||
| 148 | 148 | Since compile cache is supposed to be a quiet optimization that is not required for the | |
| 149 | 149 | application to be functional, this method is designed to not throw any exception when the | |
| 150 | 150 | compile cache cannot be enabled. Instead, it will return an object containing an error | |
| 151 | 151 | 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 | ||
| 153 | 153 | contains the path to the directory where the compile cache is stored. The `status` | |
| 154 | 154 | field in the returned object would be one of the `module.constants.compileCacheStatus` | |
| 155 | 155 | values to indicate the result of the attempt to enable the [module compile cache][]. | |
| 156 | 156 | ||
| 157 | 157 | This method only affects the current Node.js instance. To enable it in child worker threads, | |
| 158 | 158 | either call this method in child worker threads too, or set the | |
| 159 | 159 | `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 | ||
| 161 | 161 | `directory` field returned by this method, or with [`module.getCompileCacheDir()`][]. | |
| 162 | 162 | ||
| 163 | 163 | #### Module compile cache | |
@@ -264,7 +264,7 @@ changes: | |||
| 264 | 264 | **Default:** `'data:'` | |
| 265 | 265 | * `data` {any} Any arbitrary, cloneable JavaScript value to pass into the | |
| 266 | 266 | [`initialize`][] hook. | |
| 267 | - * `transferList` {Object\[]} [transferrable objects][] to be passed into the | ||
| 267 | + * `transferList` {Object\[]} [transferable objects][] to be passed into the | ||
| 268 | 268 | `initialize` hook. | |
| 269 | 269 | ||
| 270 | 270 | Register a module that exports [hooks][] that customize Node.js module | |
@@ -737,7 +737,7 @@ affect the other thread(s), and message channels must be used to communicate | |||
| 737 | 737 | between the threads. | |
| 738 | 738 | ||
| 739 | 739 | The `register` method can be used to pass data to an [`initialize`][] hook. The | |
| 740 | - data passed to the hook may include transferrable objects like ports. | ||
| 740 | + data passed to the hook may include transferable objects like ports. | ||
| 741 | 741 | ||
| 742 | 742 | ```mjs | |
| 743 | 743 | import { register } from 'node:module'; | |
@@ -835,7 +835,7 @@ the hooks thread when the hooks module is initialized. Initialization happens | |||
| 835 | 835 | when the hooks module is registered via [`register`][]. | |
| 836 | 836 | ||
| 837 | 837 | This hook can receive data from a [`register`][] invocation, including | |
| 838 | - ports and other transferrable objects. The return value of `initialize` can be a | ||
| 838 | + ports and other transferable objects. The return value of `initialize` can be a | ||
| 839 | 839 | {Promise}, in which case it will be awaited before the main application thread | |
| 840 | 840 | execution resumes. | |
| 841 | 841 | ||
@@ -1503,6 +1503,6 @@ returned object contains the following keys: | |||
| 1503 | 1503 | [prefix-only modules]: modules.md#built-in-modules-with-mandatory-node-prefix | |
| 1504 | 1504 | [realm]: https://tc39.es/ecma262/#realm | |
| 1505 | 1505 | [source map include directives]: https://sourcemaps.info/spec.html#h.lmz475t4mvbx | |
| 1506 | - [transferrable objects]: worker_threads.md#portpostmessagevalue-transferlist | ||
| 1506 | + [transferable objects]: worker_threads.md#portpostmessagevalue-transferlist | ||
| 1507 | 1507 | [transform TypeScript features]: typescript.md#typescript-features | |
| 1508 | 1508 | [type-stripping]: typescript.md#type-stripping | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -171,7 +171,7 @@ There is the CommonJS module loader: | |||
| 171 | 171 | `process.dlopen()`. | |
| 172 | 172 | * It treats all files that lack `.json` or `.node` extensions as JavaScript | |
| 173 | 173 | 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 | ||
| 175 | 175 | the module graph is synchronous (that contains no top-level `await`). | |
| 176 | 176 | When used to load a JavaScript text file that is not an ECMAScript module, | |
| 177 | 177 | the file will be loaded as a CommonJS module. | |
@@ -1169,7 +1169,7 @@ This field defines [subpath imports][] for the current package. | |||
| 1169 | 1169 | [entry points]: #package-entry-points | |
| 1170 | 1170 | [folders as modules]: modules.md#folders-as-modules | |
| 1171 | 1171 | [import maps]: https://github.com/WICG/import-maps | |
| 1172 | - [load ECMASCript modules from CommonJS modules]: modules.md#loading-ecmascript-modules-using-require | ||
| 1172 | + [load ECMAScript modules from CommonJS modules]: modules.md#loading-ecmascript-modules-using-require | ||
| 1173 | 1173 | [loader hooks]: esm.md#loaders | |
| 1174 | 1174 | [packages folder mapping]: https://github.com/WICG/import-maps#packages-via-trailing-slashes | |
| 1175 | 1175 | [self-reference]: #self-referencing-a-package-using-its-name | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2227,7 +2227,7 @@ stopped by having passed a `signal` option and aborting the related | |||
| 2227 | 2227 | `return`. In either case the stream will be destroyed. | |
| 2228 | 2228 | ||
| 2229 | 2229 | This method is different from listening to the [`'data'`][] event in that it | |
| 2230 | - uses the [`readable`][] event in the underlying machinary and can limit the | ||
| 2230 | + uses the [`readable`][] event in the underlying machinery and can limit the | ||
| 2231 | 2231 | number of concurrent `fn` calls. | |
| 2232 | 2232 | ||
| 2233 | 2233 | ```mjs | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -476,7 +476,7 @@ all tests have completed. If the [`NODE_V8_COVERAGE`][] environment variable is | |||
| 476 | 476 | used to specify a code coverage directory, the generated V8 coverage files are | |
| 477 | 477 | written to that directory. Node.js core modules and files within | |
| 478 | 478 | `node_modules/` directories are, by default, not included in the coverage report. | |
| 479 | - However, they can be explicity included via the [`--test-coverage-include`][] flag. If | ||
| 479 | + However, they can be explicitly included via the [`--test-coverage-include`][] flag. If | ||
| 480 | 480 | coverage is enabled, the coverage report is sent to any [test reporters][] via | |
| 481 | 481 | the `'test:coverage'` event. | |
| 482 | 482 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -323,7 +323,7 @@ console.log(queryObjects(B, { format: 'summary' })); | |||
| 323 | 323 | ||
| 324 | 324 | // Note that, when there are child classes inheriting from a constructor, | |
| 325 | 325 | // the constructor also shows up in the prototype chain of the child | |
| 326 | - // classes's prototoype, so the child classes's prototoype would also be | ||
| 326 | + // classes's prototype, so the child classes's prototype would also be | ||
| 327 | 327 | // included in the result. | |
| 328 | 328 | console.log(queryObjects(A)); // 3 | |
| 329 | 329 | // [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ] | |
@@ -347,7 +347,7 @@ console.log(queryObjects(B, { format: 'summary' })); | |||
| 347 | 347 | ||
| 348 | 348 | // Note that, when there are child classes inheriting from a constructor, | |
| 349 | 349 | // the constructor also shows up in the prototype chain of the child | |
| 350 | - // classes's prototoype, so the child classes's prototoype would also be | ||
| 350 | + // classes's prototype, so the child classes's prototype would also be | ||
| 351 | 351 | // included in the result. | |
| 352 | 352 | console.log(queryObjects(A)); // 3 | |
| 353 | 353 | // [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ] | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,9 +10,9 @@ through <https://scan9.scan.coverity.com/reports.htm>. | |||
| 10 | 10 | Any collaborator can ask to be added to the Node.js coverity project | |
| 11 | 11 | by opening an issue in the [build][] repository titled | |
| 12 | 12 | `Please add me to coverity`. A member of the build WG with admin access will | |
| 13 | - verify that the requestor is an existing collaborator as listed in the | ||
| 13 | + verify that the requester is an existing collaborator as listed in the | ||
| 14 | 14 | [collaborators section][] on the nodejs/node project repo. Once validated the | |
| 15 | - requestor will be added to the coverity project. | ||
| 15 | + requester will be added to the coverity project. | ||
| 16 | 16 | ||
| 17 | 17 | [Node.js coverity project]: https://scan.coverity.com/projects/node-js | |
| 18 | 18 | [build]: https://github.com/nodejs/build | |
| Back | FazBrowse Home | New Git URL |
0 commit comments