Skip to content

Commit 7c9f3a9

Browse files
aduh95targos
authored andcommitted
doc: fix module.isPreloading documentation
Fixes: #36775 PR-URL: #36944 Backport-PR-URL: #36988 Refs: #36263 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2413907 commit 7c9f3a9

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: REPLACEME
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
@@ -889,6 +889,14 @@ added: v0.1.16
889889
The identifier for the module. Typically this is the fully resolved
890890
filename.
891891

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

0 commit comments

Comments
 (0)