summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-24 20:43:31 +0100
committerGitHub <noreply@github.com>2024-01-24 20:43:31 +0100
commit8e67bf829aa110c6318d2043e6f4f9d4c97f1a51 (patch)
tree8e0665e77b9f6253505c04e828ca7b54709f5a36 /runtime/js/99_main.js
parent300eeb343efa00d9572d3befa47ca88fb51c7ac6 (diff)
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.
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js1
1 files changed, 1 insertions, 0 deletions
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.`,