Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Allow slashes in built-in module specifiers #164

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

domenic
Copy link
Collaborator

@domenic domenic commented Jul 22, 2019

Closes #129.


Preview | Diff

Copy link
Collaborator

@guybedford guybedford 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. It would still be nice to implement the multiple fallback handling instead of explicitly handling lengths 0, 1 and 2 as it would remove the specific code / spec tied to the cases.

@hiroshige-g
Copy link
Collaborator

Step 1.1 of validate a module script URL should be also removed.
As for other parts LGTM.

@domenic
Copy link
Collaborator Author

domenic commented Jul 30, 2019

Good catch, thank you @hiroshige-g!

@domenic domenic merged commit d5add26 into master Jul 30, 2019
@domenic domenic deleted the domenic/allow-slashes-in-std branch July 30, 2019 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reference implementation/spec: allow std:x/y built-in modules
3 participants