-
Notifications
You must be signed in to change notification settings - Fork 1
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
Originals through built-in modules #19
Comments
I think we'd still need a way for polyfills/shims to, in advance of that access and of the freezing, add in missing behavior, repair/replace broken behavior, and deny access to undesired things (annex b, high-resolution timers, etc). |
Agreed that we need some kinds of virtualization. I see this as working best with import-maps, which could enable these changes regardless of whether the approach in this repo or this issue are taken. Do you see any holes with that approach? |
If non-syntax things are always deniable/replaceable/patchable/virtualizable via import maps, that does seem like it might work. |
@ljharb Does the current import-maps proposal meet this requirement for you? |
I think so - it remains to be seen how it will interact with this proposal. |
I have not incorporated the idea as part of the standard library proposal, but I intend to. |
💯 ❤️ |
I've heard suggestions from @lukewagner and @mattijs that we could provide access to a separate, frozen copy of built-ins through modules. Has anyone written up this idea? Should we develop it further in this repo or another one?
The text was updated successfully, but these errors were encountered: