diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-25 09:31:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 09:31:54 -0400 |
commit | 0c47cd67850e4c195212c8edfcb3a62b8435ed3a (patch) | |
tree | b397da0f498e76e078b6b79365388b31f2bd97ba /cli/js | |
parent | b28e60ecaf5d48c36cb435361834f4884d9451c2 (diff) |
introduce unstable flag, make a few things unstable (#4892)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 6 | ||||
-rwxr-xr-x | cli/js/tests/unit_test_runner.ts | 1 |
2 files changed, 7 insertions, 0 deletions
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 @@ -1562,6 +1562,8 @@ declare namespace Deno { /** Creates `newpath` as a hard link to `oldpath`. * + * **UNSTABLE**: needs security review. + * * await Deno.link("old/name", "new/name"); * * Requires `allow-read` and `allow-write` permissions. */ @@ -1569,6 +1571,8 @@ declare namespace Deno { /** **UNSTABLE**: `type` argument type may be changed to `"dir" | "file"`. * + * **UNSTABLE**: needs security review. + * * Creates `newpath` as a symbolic link to `oldpath`. * * The type argument can be set to `dir` or `file`. This argument is only @@ -1587,6 +1591,8 @@ declare namespace Deno { /** **UNSTABLE**: `type` argument may be changed to `"dir" | "file"` * + * **UNSTABLE**: needs security review. + * * Creates `newpath` as a symbolic link to `oldpath`. * * The type argument can be set to `dir` or `file`. This argument is only 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", |