Skip to content

Commit

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

PR-URL: nodejs#36944
Refs: nodejs#36263
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
aduh95 committed Jan 18, 2021
1 parent c38b2ad commit 4569a65
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 4569a65

Please sign in to comment.