Skip to content

Details fleshed out#2

Merged
kriskowal merged 1 commit into
mainfrom
kriskowal-flesh-out
Jul 18, 2025
Merged

Details fleshed out#2
kriskowal merged 1 commit into
mainfrom
kriskowal-flesh-out

Conversation

@kriskowal
Copy link
Copy Markdown
Member

Notably, I realized that the new ModuleSource does not require every global to have its own, and also that globalThis doesn’t have an import method, which obligates the user to call globalThat.eval('(...args) => import(...args)) to bind their own.

Adapted motivations from Evaluators.

I narrowed down the design to keys being copied by property descriptor, but forced configurable.

@kriskowal kriskowal requested review from erights and naugtur July 18, 2025 02:26
@github-actions
Copy link
Copy Markdown

The rendered spec for this PR is available at https://endojs.github.io/proposal-new-global/pr/2.

@kriskowal kriskowal force-pushed the kriskowal-flesh-out branch from 91d4135 to c519459 Compare July 18, 2025 02:43
@kriskowal kriskowal merged commit eeaa9cd into main Jul 18, 2025
1 check passed
@kriskowal
Copy link
Copy Markdown
Member Author

Please leave your reviews. We will adapt in follow-up.

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.

1 participant