Skip to content

Commit 48f78cd

Browse files
isti115targos
authored andcommitted
doc: fix mistakes in the module load hook api
PR-URL: #53349 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 855eb25 commit 48f78cd

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
@@ -601,12 +601,12 @@ changes:
601601
* `importAttributes` {Object}
602602
* `nextLoad` {Function} The subsequent `load` hook in the chain, or the
603603
Node.js default `load` hook after the last user-supplied `load` hook
604-
* `specifier` {string}
604+
* `url` {string}
605605
* `context` {Object}
606606
* Returns: {Object}
607607
* `format` {string}
608608
* `shortCircuit` {undefined|boolean} A signal that this hook intends to
609-
terminate the chain of `resolve` hooks. **Default:** `false`
609+
terminate the chain of `load` hooks. **Default:** `false`
610610
* `source` {string|ArrayBuffer|TypedArray} The source for Node.js to evaluate
611611
612612
The `load` hook provides a way to define a custom method of determining how a

0 commit comments

Comments
 (0)