-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module.isPreloading doc doesn't match implementation #36775
Labels
module
Issues and PRs related to the module subsystem.
Comments
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jan 15, 2021
aduh95
added a commit
to aduh95/node
that referenced
this issue
Jan 18, 2021
Fixes: nodejs#36775 PR-URL: nodejs#36944 Refs: nodejs#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>
targos
pushed a commit
that referenced
this issue
Apr 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
isPreloading
is documented in the Modules API section similar as e.g.createRequire
but actually it's not implemented as static API of module. It is implemented as prototype method:How often does it reproduce? Is there a required condition?
always
What is the expected behavior?
docs and implementation should match
What do you see instead?
docs/impl doesn't match
Additional information
Refs: #36263
fyi @jasnell
The text was updated successfully, but these errors were encountered: