2 ms·
There is some effort to standardize something along these lines. Well, some things which combined would achieve this. It’s too late to bake it into ESM, but I b
by eyelidlessness 4y ago
There is some effort to standardize something along these lines. Well, some things which combined would achieve this. It’s too late to bake it into ESM, but I believe it’ll be possible with ShadowRealms[1] and/or SES[2], and Built-in Modules (JS STL)[3].
1: https://github.com/tc39/proposal-shadowrealm https://github.com/tc39/proposal-shadowrealm
2: https://github.com/tc39/proposal-ses https://github.com/tc39/proposal-ses
3: https://github.com/tc39/proposal-built-in-modules https://github.com/tc39/proposal-built-in-modules
- dullcrisp 4y agoLuckily the Reddit thread has the Yu-Gi-Oh! jokes so I don't have to repeat them here.
- eyelidlessness 4y agoI don’t know what jokes or Reddit thread you’re referring to or why it has anything to do with my comment referencing three technical proposals, but I’ll take your word for it that you don’t have to repeat them here.
- dullcrisp 4y agohttps://www.reddit.com/r/javascript/comments/t8mdli/future_javascript_shadowrealms/ https://www.reddit.com/r/javascript/comments/t8mdli/future_j... if you’re curious. Didn’t mean to be overly vague, I just think ShadowRealms is an unusually funny name for a technical proposal. I guess it doesn’t have the same effect if you didn’t grow up watching the same cartoons.