diff options
Diffstat (limited to 'ext/node/polyfills/net.ts')
-rw-r--r-- | ext/node/polyfills/net.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/node/polyfills/net.ts b/ext/node/polyfills/net.ts index 66b7735d9..6625ce7b5 100644 --- a/ext/node/polyfills/net.ts +++ b/ext/node/polyfills/net.ts @@ -24,6 +24,8 @@ // deno-lint-ignore-file prefer-primordials import { notImplemented } from "ext:deno_node/_utils.ts"; +import { BlockList, SocketAddress } from "ext:deno_node/internal/blocklist.mjs"; + import { EventEmitter } from "node:events"; import { isIP, @@ -2472,7 +2474,7 @@ export function createServer( return new Server(options, connectionListener); } -export { isIP, isIPv4, isIPv6 }; +export { BlockList, isIP, isIPv4, isIPv6, SocketAddress }; export default { _createServerHandle, @@ -2480,6 +2482,8 @@ export default { isIP, isIPv4, isIPv6, + BlockList, + SocketAddress, connect, createConnection, createServer, |