diff options
author | Luca Casonato <hello@lcas.dev> | 2022-10-24 14:55:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 14:55:39 +0200 |
commit | c061538417cdb2b0a8f2d6eae7f5f11511ba34fe (patch) | |
tree | d8d8efc9e2a883d4ad21ebacf44e8e922fae794d /runtime/js/90_deno_ns.js | |
parent | f38666f5a348c5f40c66dd6e5896618b7f1b09bc (diff) |
refactor(ext/net): clean up variadic network ops (#16392)
Previously `op_net_listen`, `op_net_accept`, and various other ops in
ext/net where variadic on the transport. This created a lot of code
bloat. This commit updates the code to instead have separate ops for
each transport.
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r-- | runtime/js/90_deno_ns.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index 3054431d6..815173a25 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -126,10 +126,7 @@ networkInterfaces: __bootstrap.os.networkInterfaces, getGid: __bootstrap.os.getGid, getUid: __bootstrap.os.getUid, - listen: __bootstrap.netUnstable.listen, - connect: __bootstrap.netUnstable.connect, - listenDatagram: __bootstrap.netUnstable.listenDatagram, - Listener: __bootstrap.netUnstable.Listener, + listenDatagram: __bootstrap.net.listenDatagram, umask: __bootstrap.fs.umask, futime: __bootstrap.fs.futime, futimeSync: __bootstrap.fs.futimeSync, |