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(node): handle resolving ".//<something>" in npm packages #26920

Merged

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Nov 18, 2024

The issue was this package had an import like: ".//index.js" and we resolved that as specified, but node normalizes it to "./index.js" so we have to copy node.

Closes #26903
Closes #25532

)?
.into_url(),
);
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate code. Removed.

@dsherret dsherret requested a review from bartlomieju November 19, 2024 00:21
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit 186b527 into denoland:main Nov 19, 2024
17 checks passed
@dsherret dsherret deleted the fix_node_resolution_handle_pkg_two_slashes branch November 19, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants