diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-02 12:32:46 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 02:32:46 +0100 |
commit | 3f4639c330a31741b0efda2f93ebbb833f4f95bc (patch) | |
tree | f987fc8bb0bad9e4d6185f8c84ea4e4319101b25 /runtime/js/99_main.js | |
parent | fa91ad91c1654592c49fd7b0f541e66200707f63 (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.js | 5 |
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++) { |