Skip to content

Commit d2d9ad7

Browse files
aduh95ruyadorno
authored andcommitted
doc: fix module.isPreloading documentation
Fixes: #36775 PR-URL: #36944 Refs: #36263 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ca479b9 commit d2d9ad7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/api/module.md

-8
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ const requireUtil = createRequireFromPath('../src/utils/');
7676
requireUtil('./some-tool');
7777
```
7878
79-
### `module.isPreloading`
80-
<!-- YAML
81-
added: v15.4.0
82-
-->
83-
84-
* Type: {boolean} `true` if the module is running during the Node.js preload
85-
phase.
86-
8779
### `module.syncBuiltinESMExports()`
8880
<!-- YAML
8981
added: v12.12.0

doc/api/modules.md

+8
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,14 @@ added: v0.1.16
888888
The identifier for the module. Typically this is the fully resolved
889889
filename.
890890

891+
### `module.isPreloading`
892+
<!-- YAML
893+
added: v15.4.0
894+
-->
895+
896+
* Type: {boolean} `true` if the module is running during the Node.js preload
897+
phase.
898+
891899
### `module.loaded`
892900
<!-- YAML
893901
added: v0.1.16

0 commit comments

Comments
 (0)