mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
fix: move Deno.serve
to stable namespace (#19718)
This was missed in #19141
This commit is contained in:
parent
686ec85f52
commit
6d0c658023
2 changed files with 1 additions and 2 deletions
|
@ -1494,7 +1494,6 @@ async fn test_watch_serve() {
|
|||
.current_dir(util::testdata_path())
|
||||
.arg("run")
|
||||
.arg("--watch")
|
||||
.arg("--unstable")
|
||||
.arg("--allow-net")
|
||||
.arg("-L")
|
||||
.arg("debug")
|
||||
|
|
|
@ -129,6 +129,7 @@ const denoNs = {
|
|||
PermissionStatus: permissions.PermissionStatus,
|
||||
// TODO(bartlomieju): why is this not in one of extensions?
|
||||
serveHttp: httpRuntime.serveHttp,
|
||||
serve: http.serve,
|
||||
resolveDns: net.resolveDns,
|
||||
upgradeWebSocket: http.upgradeWebSocket,
|
||||
utime: fs.utime,
|
||||
|
@ -171,7 +172,6 @@ const denoNsUnstable = {
|
|||
funlock: fs.funlock,
|
||||
funlockSync: fs.funlockSync,
|
||||
upgradeHttp: http.upgradeHttp,
|
||||
serve: http.serve,
|
||||
openKv: kv.openKv,
|
||||
AtomicOperation: kv.AtomicOperation,
|
||||
Kv: kv.Kv,
|
||||
|
|
Loading…
Add table
Reference in a new issue