mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
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>
This commit is contained in:
parent
fa91ad91c1
commit
3f4639c330
3 changed files with 153 additions and 100 deletions
|
@ -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, {
|
||||
|
@ -172,6 +171,10 @@ function warnOnDeprecatedApi(apiName, stack, ...suggestions) {
|
|||
"font-weight: bold;",
|
||||
);
|
||||
|
||||
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:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue