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

Use globalThis instead of global #1546

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Conversation

mattallty
Copy link
Contributor

@mattallty mattallty commented Sep 23, 2024

global is a legacy, node.js-only global variable.

I think globalThis should be used instead, which will make global-registrator portable on other runtimes like Cloudflare workers.

`global` is a legacy, node.js-only global variable. 

I think `globalThis` this should be used instead, which will make global-registrator portable on other runtimes like Cloudflare workers.
@capricorn86 capricorn86 merged commit 7f57469 into capricorn86:master Nov 3, 2024
3 checks passed
@capricorn86
Copy link
Owner

Thank you for your contribution @mattallty! ⭐

Sorry that it took such a long time to get this in.

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.

2 participants