doc: fix module.isPreloading documentation
Fixes: https://github.com/nodejs/node/issues/36775 PR-URL: https://github.com/nodejs/node/pull/36944 Refs: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
afd911c38c
commit
9d7fb229db
@ -76,14 +76,6 @@ const requireUtil = createRequireFromPath('../src/utils/');
|
|||||||
requireUtil('./some-tool');
|
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()`
|
### `module.syncBuiltinESMExports()`
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v12.12.0
|
added: v12.12.0
|
||||||
|
@ -888,6 +888,14 @@ added: v0.1.16
|
|||||||
The identifier for the module. Typically this is the fully resolved
|
The identifier for the module. Typically this is the fully resolved
|
||||||
filename.
|
filename.
|
||||||
|
|
||||||
|
### `module.isPreloading`
|
||||||
|
<!-- YAML
|
||||||
|
added: v15.4.0
|
||||||
|
-->
|
||||||
|
|
||||||
|
* Type: {boolean} `true` if the module is running during the Node.js preload
|
||||||
|
phase.
|
||||||
|
|
||||||
### `module.loaded`
|
### `module.loaded`
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.1.16
|
added: v0.1.16
|
||||||
|
Loading…
x
Reference in New Issue
Block a user