summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-02 12:32:46 +1100
committerGitHub <noreply@github.com>2024-02-02 02:32:46 +0100
commit3f4639c330a31741b0efda2f93ebbb833f4f95bc (patch)
treef987fc8bb0bad9e4d6185f8c84ea4e4319101b25 /runtime/js/99_main.js
parentfa91ad91c1654592c49fd7b0f541e66200707f63 (diff)
docs: point to new "Deno 1.x to 2.x Migration Guide" (#22199)
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 1d3cce8de..dee4efaa0 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -85,7 +85,6 @@ import {
workerRuntimeGlobalProperties,
} from "ext:runtime/98_global_scope_worker.js";
import { SymbolAsyncDispose, SymbolDispose } from "ext:deno_web/00_infra.js";
-
// deno-lint-ignore prefer-primordials
if (Symbol.dispose) throw "V8 supports Symbol.dispose now, no need to shim it!";
ObjectDefineProperties(Symbol, {
@@ -173,6 +172,10 @@ function warnOnDeprecatedApi(apiName, stack, ...suggestions) {
);
console.error();
+ console.error(
+ "See the Deno 1 to 2 Migration Guide for more information at https://docs.deno.com/runtime/manual/advanced/migrate_deprecations",
+ );
+ console.error();
if (stackLines.length > 0) {
console.error("Stack trace:");
for (let i = 0; i < stackLines.length; i++) {