summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-03-27 23:39:26 +1100
committerGitHub <noreply@github.com>2024-03-27 13:39:26 +0100
commitc9e10ededaea59e1108c8f2456b0cb7da0269270 (patch)
tree876689254f085acc97c1243697674db41e6eebba
parente1e1da2a04f627f058dc33355a31d67abb1616b6 (diff)
FUTURE: remove `Deno.resources()` (#23095)
-rw-r--r--runtime/js/99_main.js1
-rw-r--r--tests/specs/future/runtime_api/main.js1
-rw-r--r--tests/specs/future/runtime_api/main.out1
3 files changed, 3 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index a6b522679..9f98061a0 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -799,6 +799,7 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
delete Deno.readAllSync;
delete Deno.read;
delete Deno.readSync;
+ delete Deno.resources;
delete Deno.seek;
delete Deno.seekSync;
delete Deno.shutdown;
diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js
index 90f7829ea..6a0daff22 100644
--- a/tests/specs/future/runtime_api/main.js
+++ b/tests/specs/future/runtime_api/main.js
@@ -18,6 +18,7 @@ console.log("Deno.readAll is", Deno.readAll);
console.log("Deno.readAllSync is", Deno.readAllSync);
console.log("Deno.read is", Deno.read);
console.log("Deno.readSync is", Deno.readSync);
+console.log("Deno.resources is", Deno.resources);
console.log("Deno.seek is", Deno.seek);
console.log("Deno.seekSync is", Deno.seekSync);
console.log("Deno.shutdown is", Deno.shutdown);
diff --git a/tests/specs/future/runtime_api/main.out b/tests/specs/future/runtime_api/main.out
index e23883e9b..0a46c14f2 100644
--- a/tests/specs/future/runtime_api/main.out
+++ b/tests/specs/future/runtime_api/main.out
@@ -18,6 +18,7 @@ Deno.readAll is undefined
Deno.readAllSync is undefined
Deno.read is undefined
Deno.readSync is undefined
+Deno.resources is undefined
Deno.seek is undefined
Deno.seekSync is undefined
Deno.shutdown is undefined