From 01b6e38bafb4c60a281ba7e854a06a1e8b554bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 23 Jan 2024 13:02:25 +0100 Subject: feat: Stabilize Deno.listen for 'unix' transport (#21938) --- cli/tsc/dts/lib.deno.unstable.d.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'cli') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 870cb2e1a..9cbfe2bfa 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1058,18 +1058,6 @@ declare namespace Deno { reusePort?: boolean; } - /** **UNSTABLE**: New API, yet to be vetted. - * - * Unstable options which can be set when opening a Unix listener via - * {@linkcode Deno.listen} or {@linkcode Deno.listenDatagram}. - * - * @category Network - */ - export interface UnixListenOptions { - /** A path to the Unix Socket. */ - path: string; - } - /** **UNSTABLE**: New API, yet to be vetted. * * Unstable options which can be set when opening a datagram listener via @@ -1091,23 +1079,6 @@ declare namespace Deno { loopback?: boolean; } - /** **UNSTABLE**: New API, yet to be vetted. - * - * Listen announces on the local transport address. - * - * ```ts - * const listener = Deno.listen({ path: "/foo/bar.sock", transport: "unix" }) - * ``` - * - * Requires `allow-read` and `allow-write` permission. - * - * @tags allow-read, allow-write - * @category Network - */ - export function listen( - options: UnixListenOptions & { transport: "unix" }, - ): Listener; - /** **UNSTABLE**: New API, yet to be vetted. * * Listen announces on the local transport address. -- cgit v1.2.3