Skip to content

Fix globalThis and globalThis.* injection#252

Merged
nicolo-ribaudo merged 2 commits intobabel:mainfrom
zloirock:fix-global-this-injection
Mar 16, 2026
Merged

Fix globalThis and globalThis.* injection#252
nicolo-ribaudo merged 2 commits intobabel:mainfrom
zloirock:fix-global-this-injection

Conversation

@zloirock
Copy link
Copy Markdown
Member

@zloirock zloirock commented Mar 11, 2026

close #251
close #253

@nicolo-ribaudo
Copy link
Copy Markdown
Member

I'll then backport this to the for-Babel-7 branch and release it.

@zloirock
Copy link
Copy Markdown
Member Author

Since #253 is close, let's fix them together.

@zloirock zloirock force-pushed the fix-global-this-injection branch from 2f219d1 to d135e8b Compare March 11, 2026 19:30
Copy link
Copy Markdown
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

Thank you!

@nicolo-ribaudo nicolo-ribaudo changed the title Fix globalThis injection Fix globalThis and globalThis.* injection Mar 16, 2026
@nicolo-ribaudo nicolo-ribaudo merged commit e6ab125 into babel:main Mar 16, 2026
6 checks passed
nicolo-ribaudo pushed a commit that referenced this pull request Mar 16, 2026
@zloirock zloirock deleted the fix-global-this-injection branch March 17, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants