summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-09-24 07:04:52 -0700
committerGitHub <noreply@github.com>2024-09-24 07:04:52 -0700
commit5a1943cd9560466a5922bd3cd79cca5c9f378561 (patch)
tree8d73d135dc638a2d8d169bc93df8ddbccfedf945 /runtime/js
parent3242550f5f0b33769a4e0a24a7dc96773647ca75 (diff)
fix: better error for Deno.UnsafeWindowSurface, correct HttpClient name, cleanup unused code (#25833)
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/90_deno_ns.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 35378da4d..2448bc3bc 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -132,7 +132,7 @@ const denoNs = {
UnsafePointerView: ffi.UnsafePointerView,
UnsafeFnPointer: ffi.UnsafeFnPointer,
umask: fs.umask,
- httpClient: httpClient.httpClient,
+ HttpClient: httpClient.HttpClient,
createHttpClient: httpClient.createHttpClient,
};
@@ -160,15 +160,6 @@ denoNsUnstableById[unstableIds.cron] = {
cron: cron.cron,
};
-denoNsUnstableById[unstableIds.ffi] = {};
-
-denoNsUnstableById[unstableIds.fs] = {};
-
-denoNsUnstableById[unstableIds.http] = {
- HttpClient: httpClient.HttpClient,
- createHttpClient: httpClient.createHttpClient,
-};
-
denoNsUnstableById[unstableIds.kv] = {
openKv: kv.openKv,
AtomicOperation: kv.AtomicOperation,