Skip to content
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

fix(core): Correctly search for loaded modules in node 12 #2612

Merged
merged 3 commits into from
May 23, 2019

Conversation

RomainMuller
Copy link
Contributor

Node 12 has corrected how the require.resolve function applied un-documented behavior, so
that it is needed to make relative search paths explicit (./). The new approach should be
backwards-compatible.

Related: nodejs/node#27583


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Node 12 has corrected how the require.resolve function applied un-documented behavior, so
that it is needed to make relative search paths explicit (./). The new approach should be
backwards-compatible.

Related: nodejs/node#27583
@RomainMuller RomainMuller requested a review from a team as a code owner May 23, 2019 07:50
@RomainMuller RomainMuller added the bug This issue is a bug. label May 23, 2019
@RomainMuller RomainMuller merged commit 286866a into master May 23, 2019
@RomainMuller RomainMuller deleted the rmuller/fix-node-12 branch May 23, 2019 09:33
@NGL321 NGL321 added the contribution/core This is a PR that came from AWS. label Sep 27, 2019
This was referenced Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. contribution/core This is a PR that came from AWS.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants