fix: better error for Deno.UnsafeWindowSurface, correct HttpClient name, cleanup unused code (#25833)

This commit is contained in:
Leo Kettmeir 2024-09-24 07:04:52 -07:00 committed by GitHub
parent 3242550f5f
commit 5a1943cd95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 13 deletions

View file

@ -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,