From 8e67bf829aa110c6318d2043e6f4f9d4c97f1a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 24 Jan 2024 20:43:31 +0100 Subject: Revert "feat: deprecate `window` global (#22057)" (#22084) This reverts commit 930ce2087051b4e45b2026ce7a77c14360a6993f. This is producing false-positives that are not actionable to users. We're gonna address this in another release. --- runtime/js/99_main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/js/99_main.js') diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 0cfcafbd2..c03ed2f8c 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -164,6 +164,7 @@ function warnOnDeprecatedApi(apiName, stack, ...suggestions) { "font-weight: bold;", ); } + if (isFromRemoteDependency) { console.error( `%chint: It appears this API is used by a remote dependency. Try upgrading to the latest version of that dependency.`, -- cgit v1.2.3