From c9e10ededaea59e1108c8f2456b0cb7da0269270 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 27 Mar 2024 23:39:26 +1100 Subject: [PATCH] FUTURE: remove `Deno.resources()` (#23095) --- runtime/js/99_main.js | 1 + tests/specs/future/runtime_api/main.js | 1 + tests/specs/future/runtime_api/main.out | 1 + 3 files changed, 3 insertions(+) diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index a6b5226791..9f98061a0c 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 90f7829ea2..6a0daff226 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 e23883e9bf..0a46c14f2e 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