From 4569a654dd0c9770a31f23ece8e0171532c797ff Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Fri, 15 Jan 2021 15:46:11 +0100 Subject: [PATCH] doc: fix module.isPreloading documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/nodejs/node/issues/36775 PR-URL: https://github.com/nodejs/node/pull/36944 Refs: https://github.com/nodejs/node/pull/36263 Reviewed-By: Luigi Pinca Reviewed-By: Gerhard Stöbich Reviewed-By: James M Snell --- doc/api/module.md | 8 -------- doc/api/modules.md | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/api/module.md b/doc/api/module.md index 77d5f433b9c270..2fb6ca884b4443 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -76,14 +76,6 @@ const requireUtil = createRequireFromPath('../src/utils/'); requireUtil('./some-tool'); ``` -### `module.isPreloading` - - -* Type: {boolean} `true` if the module is running during the Node.js preload - phase. - ### `module.syncBuiltinESMExports()` + +* Type: {boolean} `true` if the module is running during the Node.js preload + phase. + ### `module.loaded`