Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix module.isPreloading documentation
Fixes: #36775
  • Loading branch information
aduh95 committed Jan 15, 2021
commit 9b9cca2f40f8d8f4f5db31ad6986ae83ee2b64c9
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