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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy