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

fix: Replace the deprecated 'window' with 'globalThis' for Deno #2915

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

saul-atomrigs
Copy link
Contributor

The window object became deprecated in Deno (denoland/deno#22057). Instead, they recommend us to use globalThis or self. For the change, I also referred to here (https://deno.land/x/[email protected]/env.ts?source=#L7)

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@huozhi
Copy link
Member

huozhi commented Mar 18, 2024

Thanks! good to hear window is finally gone soon lol

@huozhi huozhi merged commit cd22c46 into vercel:main Mar 18, 2024
7 checks passed
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