diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-22 22:35:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 21:35:39 +0000 |
commit | 71551c80a1c7ea2cc75cf82c5871212559709789 (patch) | |
tree | 6d5e458e54ea6598d78d6b4d7177006a9048deb6 /runtime/js | |
parent | 69d5f136badfd7cfa9b979ff2fee7caf397098ca (diff) |
feat(unstable): remove Deno.upgradeHttp API (#21856)
Closes https://github.com/denoland/deno/issues/21828.
This API is a huge footgun. And given that "Deno.serveHttp" is a
deprecated API that is discouraged to use (use "Deno.serve()"
instead); it makes no sense to keep this API around.
This is a step towards fully migrating to Hyper 1.
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/90_deno_ns.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index 058985fbf..e404d34d7 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -203,7 +203,6 @@ denoNsUnstableById[unstableIds.http] = { createHttpClient: httpClient.createHttpClient, // TODO(bartlomieju): why is it needed? http, - upgradeHttp: http.upgradeHttp, }; denoNsUnstableById[unstableIds.kv] = { @@ -250,7 +249,6 @@ const denoNsUnstable = { flockSync: fs.flockSync, funlock: fs.funlock, funlockSync: fs.funlockSync, - upgradeHttp: http.upgradeHttp, openKv: kv.openKv, AtomicOperation: kv.AtomicOperation, Kv: kv.Kv, |