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

Update util to 0.12.4 #53

Closed
wants to merge 1 commit into from
Closed

Conversation

agektmr
Copy link

@agektmr agektmr commented Aug 11, 2021

Chrome 92 started to disable SharedArrayBuffer without cross-origin isolation which can be enabled by sending the page with special HTTP headers. This change causes Chrome to emit a warning in DevTools console and developers are confused with the message. util is one of the libraries that uses SharedArrayBuffer and is causing the warning to appear in the console.

Luckily, the issue in util has been resolved in v0.12.4 and I would like to propose applying the fixed version to this library.

Chrome 92 started to disable `SharedArrayBuffer` without cross-origin isolation which can be enabled by [sending the page with special HTTP headers](https://web.dev/cross-origin-isolation-guide/). This change causes Chrome to emit a warning in DevTools console and [developers are confused with the message](vercel/next.js#21708). `util` is one of the libraries that uses `SharedArrayBuffer` and is causing the warning to appear in the console.

Luckily, the issue in `util` has been resolved in v0.12.4 and I would like to propose applying the fixed version to this library.
"util": "^0.12.0"
"util": "^0.12.4"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine, but is 100% unnecessary because of the ^ range. You can update to anything within 0.12.x with the range ^0.12.0, and anyone freshly installing this package will get the latest version of util automatically.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. I found that next has its 0.12.3 in the package-lock.json that's probably why.

@agektmr agektmr closed this Aug 11, 2021
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.

None yet

2 participants