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

SharedArrayBuffer Warning #4

Closed
gueste opened this issue Mar 15, 2021 · 3 comments
Closed

SharedArrayBuffer Warning #4

gueste opened this issue Mar 15, 2021 · 3 comments

Comments

@gueste
Copy link

gueste commented Mar 15, 2021

The nodeJS "util" dependency seems to trigger a warning when used in lastet Chrome 89 upwards.

types.js:333 [Deprecation] SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
./node_modules/util/support/types.js @ types.js:333
15:58:10.529 

A fix can look like this (taken from react): facebook/react#20831

@Richienb
Copy link
Owner

Richienb commented Mar 16, 2021

Affected file: https://github.com/browserify/node-util/blob/master/support/types.js

GitHub
node.js util module as a module. Contribute to browserify/node-util development by creating an account on GitHub.

@Richienb
Copy link
Owner

As it turns out, the script is already prepared to handle a lack of SharedArrayBuffer when Chrome 91 comes around. browserify/node-util#58 (comment)

@gueste
Copy link
Author

gueste commented Mar 22, 2021

Thank you so much for checking, even if the issue had nothing to do with your repository!
(Issue can be closed again if I accidentally re-open it with this comment)

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

No branches or pull requests

2 participants