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: store resolved root specifiers #541

Merged
merged 5 commits into from
Oct 25, 2024
Merged

Conversation

nathanwhit
Copy link
Member

@nathanwhit nathanwhit commented Oct 25, 2024

Basically carry the "rootness" around until the specifier is fully resolved. Once it's resolved, store the resolved specifier in a separate set for later comparison.

This fixes an issue where we would error on JSON roots. Ref denoland/deno#26509

@nathanwhit nathanwhit requested a review from dsherret October 25, 2024 17:45
@CLAassistant
Copy link

CLAassistant commented Oct 25, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

Looks great!

@nathanwhit nathanwhit merged commit 37a23ae into denoland:main Oct 25, 2024
16 checks passed
@nathanwhit nathanwhit deleted the fix-is-root branch October 25, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants