diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-04-27 22:56:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 16:56:24 -0400 |
commit | 95a08857f10c4eb1233c8a3f07845a2000b87d36 (patch) | |
tree | 4e2e971f1bc823a23928178e55308a5c56f46b71 /cli/js | |
parent | a1974cbe43b8a223e74640df1603b80f1b801347 (diff) |
Make unix sockets require allow-write (#4939)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 7a0477682..ffa560a73 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1919,7 +1919,7 @@ declare namespace Deno { * * const listener = Deno.listen({ address: "/foo/bar.sock", transport: "unix" }) * - * Requires `allow-read` permission. */ + * Requires `allow-read` and `allow-write` permission. */ export function listen( options: UnixListenOptions & { transport: "unix" } ): Listener; @@ -1940,7 +1940,7 @@ declare namespace Deno { * * const listener = Deno.listen({ address: "/foo/bar.sock", transport: "unixpacket" }) * - * Requires `allow-read` permission. */ + * Requires `allow-read` and `allow-write` permission. */ export function listen( options: UnixListenOptions & { transport: "unixpacket" } ): DatagramConn; |