Skip to content

Commit 3e29043

Browse files
isti115marco-ippolito
authored andcommitted
doc: fix mistakes in the module load hook api
PR-URL: #53349 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent e9b7a52 commit 3e29043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/module.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -590,12 +590,12 @@ changes:
590590
* `importAttributes` {Object}
591591
* `nextLoad` {Function} The subsequent `load` hook in the chain, or the
592592
Node.js default `load` hook after the last user-supplied `load` hook
593-
* `specifier` {string}
593+
* `url` {string}
594594
* `context` {Object}
595595
* Returns: {Object}
596596
* `format` {string}
597597
* `shortCircuit` {undefined|boolean} A signal that this hook intends to
598-
terminate the chain of `resolve` hooks. **Default:** `false`
598+
terminate the chain of `load` hooks. **Default:** `false`
599599
* `source` {string|ArrayBuffer|TypedArray} The source for Node.js to evaluate
600600
601601
The `load` hook provides a way to define a custom method of determining how a

0 commit comments

Comments
 (0)