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
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 ruyadorno committed Jan 21, 2021
1 parent fdb9812 commit 4980cf7
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: v15.4.0
-->
* 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 @@ -888,6 +888,14 @@ added: v0.1.16
The identifier for the module. Typically this is the fully resolved
filename.

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

* 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 4980cf7

Please sign in to comment.