summaryrefslogtreecommitdiff
path: root/cli/tsc/diagnostics.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-07-04 01:46:32 +0200
committerGitHub <noreply@github.com>2023-07-04 01:46:32 +0200
commit3c8bbc434d32ad75097647b0cdbc9ea1b0ad2645 (patch)
tree5743520be734337cca697175b3ea7bede8ac600d /cli/tsc/diagnostics.rs
parent7a7e0748e3ad6d178f5a351bbb5c8ed896f7f833 (diff)
feat: Stabilize Deno.serve() API (#19141)
This commit stabilizes "Deno.serve()", which becomes the preferred way to create HTTP servers in Deno. Documentation was adjusted for each overload of "Deno.serve()" API and the API always binds to "127.0.0.1:8000" by default.
Diffstat (limited to 'cli/tsc/diagnostics.rs')
-rw-r--r--cli/tsc/diagnostics.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/tsc/diagnostics.rs b/cli/tsc/diagnostics.rs
index 15aadff81..edddb0f6f 100644
--- a/cli/tsc/diagnostics.rs
+++ b/cli/tsc/diagnostics.rs
@@ -22,18 +22,12 @@ const UNSTABLE_DENO_PROPS: &[&str] = &[
"UnixListenOptions",
"connect",
"createHttpClient",
- "kill",
"listen",
"listenDatagram",
"dlopen",
"removeSignalListener",
"shutdown",
"umask",
- "serve",
- "ServeInit",
- "ServeTlsInit",
- "Handler",
- "osUptime",
];
static MSG_MISSING_PROPERTY_DENO: Lazy<Regex> =