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: Resolve re-exports of external modules #78

Merged
merged 5 commits into from
May 28, 2024

Conversation

timfish
Copy link
Contributor

@timfish timfish commented May 23, 2024

Closes #59 , Closes #62, Closes #63, Closes #78

parentResolve is cached and later used when attempting to load bare specifiers.

@timfish timfish force-pushed the resolve-external-re-exports branch from 7910b64 to 40da2d5 Compare May 23, 2024 20:52
hook.js Outdated Show resolved Hide resolved
hook.js Show resolved Hide resolved
hook.js Outdated Show resolved Hide resolved
bengl
bengl previously approved these changes May 28, 2024
@bengl
Copy link
Member

bengl commented May 28, 2024

@timfish eslint is failing here. Can you fix that? Other than that, LGTM.

@timfish
Copy link
Contributor Author

timfish commented May 28, 2024

Should be fixed now!

@bengl bengl merged commit bf3a4fb into nodejs:main May 28, 2024
45 checks passed
@timfish timfish deleted the resolve-external-re-exports branch May 29, 2024 00:51
@bengl bengl mentioned this pull request May 31, 2024
bengl added a commit that referenced this pull request May 31, 2024
$ git log --oneline --no-decorate v1.7.4..HEAD
9269d1f 1.8.0
74124e9 fix: handling of default and star exports (#85)
7fa4e9c Fix resolution of lib/register.js when using multiple loaders
(#76)
e7f05ca add node 22 to test matrix (#84)
fb0e393 feat: Add `Hook` named export (#88)
bef32f2 chore: don't create a package-lock file (#67)
bf3a4fb fix: Resolve re-exports of external modules (#78)
0d9f351 fix: Handle cyclical reference to current file (#83)
1e05e4b test: skip static-import on > v21 (#81)
@github-actions github-actions bot mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants