summaryrefslogtreecommitdiff
path: root/cli/js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-04-25 09:31:54 -0400
committerGitHub <noreply@github.com>2020-04-25 09:31:54 -0400
commit0c47cd67850e4c195212c8edfcb3a62b8435ed3a (patch)
treeb397da0f498e76e078b6b79365388b31f2bd97ba /cli/js
parentb28e60ecaf5d48c36cb435361834f4884d9451c2 (diff)
introduce unstable flag, make a few things unstable (#4892)
Diffstat (limited to 'cli/js')
-rw-r--r--cli/js/lib.deno.ns.d.ts6
-rwxr-xr-xcli/js/tests/unit_test_runner.ts1
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",