Skip to content
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

Drop support for the 'global' global. Every supported environment has globalThis #475

Merged
merged 1 commit into from
May 5, 2024

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented May 4, 2024

tl;dr: I didn't want to figure out how to type global as a global, and since only node has global... we don't need to care about its existence (since any js runtime that has global also has globalThis -- which we do support)

for node / fastboot, globalThis was introduced in Node 12, which we already don't support as it's far beyond LTS support period. Prior to Node 12, this library will no longer work in fastboot mode (so you'd have to use v3.x of test-waiters).

@NullVoxPopuli NullVoxPopuli force-pushed the drop-support-for-global-global branch from 7a3cb48 to afc8233 Compare May 4, 2024 21:25
@NullVoxPopuli NullVoxPopuli merged commit 6173234 into master May 5, 2024
24 checks passed
@NullVoxPopuli NullVoxPopuli deleted the drop-support-for-global-global branch May 5, 2024 15:06
@github-actions github-actions bot mentioned this pull request May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants