From 48f78cd31ba6263eabaeab516257f540671302a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Donk=C3=B3?= Date: Sat, 8 Jun 2024 00:03:07 +0200 Subject: [PATCH] doc: fix mistakes in the module `load` hook api PR-URL: https://github.com/nodejs/node/pull/53349 Reviewed-By: Geoffrey Booth Reviewed-By: Antoine du Hamel --- doc/api/module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/module.md b/doc/api/module.md index 23acde86771dc3..be42ca85203d82 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -601,12 +601,12 @@ changes: * `importAttributes` {Object} * `nextLoad` {Function} The subsequent `load` hook in the chain, or the Node.js default `load` hook after the last user-supplied `load` hook - * `specifier` {string} + * `url` {string} * `context` {Object} * Returns: {Object} * `format` {string} * `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 The `load` hook provides a way to define a custom method of determining how a