Skip to content

Commit

Permalink
doc: fix module.isPreloading documentation
Browse files Browse the repository at this point in the history
Fixes: #36775

PR-URL: #36944
Backport-PR-URL: #36988
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>
  • Loading branch information
aduh95 authored and targos committed Apr 25, 2021
1 parent 2413907 commit 7c9f3a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,6 @@ const requireUtil = createRequireFromPath('../src/utils/');
requireUtil('./some-tool');
```
### `module.isPreloading`
<!-- YAML
added: REPLACEME
-->
* Type: {boolean} `true` if the module is running during the Node.js preload
phase.
### `module.syncBuiltinESMExports()`
<!-- YAML
added: v12.12.0
Expand Down
8 changes: 8 additions & 0 deletions doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,14 @@ added: v0.1.16
The identifier for the module. Typically this is the fully resolved
filename.

### `module.isPreloading`
<!-- YAML
added: REPLACEME
-->

* Type: {boolean} `true` if the module is running during the Node.js preload
phase.

### `module.loaded`
<!-- YAML
added: v0.1.16
Expand Down

0 comments on commit 7c9f3a9

Please sign in to comment.