From 0c47cd67850e4c195212c8edfcb3a62b8435ed3a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 25 Apr 2020 09:31:54 -0400 Subject: introduce unstable flag, make a few things unstable (#4892) --- cli/js/lib.deno.ns.d.ts | 6 ++++++ cli/js/tests/unit_test_runner.ts | 1 + 2 files changed, 7 insertions(+) (limited to 'cli/js') diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 64e3613f5..4964f1b01 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1561,6 +1561,8 @@ declare namespace Deno { export function linkSync(oldpath: string, newpath: string): void; /** Creates `newpath` as a hard link to `oldpath`. + * + * **UNSTABLE**: needs security review. * * await Deno.link("old/name", "new/name"); * @@ -1568,6 +1570,8 @@ declare namespace Deno { export function link(oldpath: string, newpath: string): Promise; /** **UNSTABLE**: `type` argument type may be changed to `"dir" | "file"`. + * + * **UNSTABLE**: needs security review. * * Creates `newpath` as a symbolic link to `oldpath`. * @@ -1586,6 +1590,8 @@ declare namespace Deno { ): void; /** **UNSTABLE**: `type` argument may be changed to `"dir" | "file"` + * + * **UNSTABLE**: needs security review. * * Creates `newpath` as a symbolic link to `oldpath`. * diff --git a/cli/js/tests/unit_test_runner.ts b/cli/js/tests/unit_test_runner.ts index ed8b9dd80..43009c612 100755 --- a/cli/js/tests/unit_test_runner.ts +++ b/cli/js/tests/unit_test_runner.ts @@ -90,6 +90,7 @@ function spawnWorkerRunner( const cmd = [ Deno.execPath(), "run", + "--unstable", // TODO(ry) be able to test stable vs unstable "-A", "cli/js/tests/unit_test_runner.ts", "--worker", -- cgit v1.2.3