Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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)

@codesandbox-ci
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
@DominicBao
Copy link

globalThis is not defined:globalThis 在一些低版本的浏览器上并不兼容

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.

3 participants