doc: fix mistakes in the module load
hook api
PR-URL: https://github.com/nodejs/node/pull/53349 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
parent
5731e2b346
commit
390740460e
@ -601,12 +601,12 @@ changes:
|
|||||||
* `importAttributes` {Object}
|
* `importAttributes` {Object}
|
||||||
* `nextLoad` {Function} The subsequent `load` hook in the chain, or the
|
* `nextLoad` {Function} The subsequent `load` hook in the chain, or the
|
||||||
Node.js default `load` hook after the last user-supplied `load` hook
|
Node.js default `load` hook after the last user-supplied `load` hook
|
||||||
* `specifier` {string}
|
* `url` {string}
|
||||||
* `context` {Object}
|
* `context` {Object}
|
||||||
* Returns: {Object}
|
* Returns: {Object}
|
||||||
* `format` {string}
|
* `format` {string}
|
||||||
* `shortCircuit` {undefined|boolean} A signal that this hook intends to
|
* `shortCircuit` {undefined|boolean} A signal that this hook intends to
|
||||||
terminate the chain of `resolve` hooks. **Default:** `false`
|
terminate the chain of `load` hooks. **Default:** `false`
|
||||||
* `source` {string|ArrayBuffer|TypedArray} The source for Node.js to evaluate
|
* `source` {string|ArrayBuffer|TypedArray} The source for Node.js to evaluate
|
||||||
|
|
||||||
The `load` hook provides a way to define a custom method of determining how a
|
The `load` hook provides a way to define a custom method of determining how a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user