From 419848cd1902e44f015fb1886c64d4892a50b42b Mon Sep 17 00:00:00 2001 From: Eiji Kitamura Date: Wed, 11 Aug 2021 15:02:21 +0900 Subject: [PATCH 1/2] Update `util` to 0.12.4 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](https://github.com/vercel/next.js/issues/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. For fixing #21708 --- packages/next/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/package.json b/packages/next/package.json index 7746a906adcbef8..769e3b02d114325 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -110,7 +110,7 @@ "timers-browserify": "2.0.12", "tty-browserify": "0.0.1", "use-subscription": "1.5.1", - "util": "0.12.3", + "util": "0.12.4", "vm-browserify": "1.1.2", "watchpack": "2.1.1" }, From 43841ade09e20cd2b72f9aa7011d1ac9a9d423d3 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 13 Aug 2021 18:37:54 -0400 Subject: [PATCH 2/2] Commit yarn.lock --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 32c3b2ae84ab1b9..3a976662f4e06e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19395,10 +19395,10 @@ util@0.10.3: dependencies: inherits "2.0.1" -util@0.12.3, util@^0.12.0: - version "0.12.3" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.3.tgz#971bb0292d2cc0c892dab7c6a5d37c2bec707888" - integrity sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog== +util@0.12.4, util@^0.12.0: + version "0.12.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253" + integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw== dependencies: inherits "^2.0.3" is-arguments "^1.0.4"