diff options
Diffstat (limited to 'ext/node/polyfills/https.ts')
-rw-r--r-- | ext/node/polyfills/https.ts | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/node/polyfills/https.ts b/ext/node/polyfills/https.ts index 6b7c315d2..c504f0874 100644 --- a/ext/node/polyfills/https.ts +++ b/ext/node/polyfills/https.ts @@ -10,16 +10,13 @@ import { ClientRequest, IncomingMessageForClient as IncomingMessage, type RequestOptions, -} from "ext:deno_node/http.ts"; +} from "node:http"; import { Agent as HttpAgent } from "ext:deno_node/_http_agent.mjs"; import { createHttpClient } from "ext:deno_fetch/22_http_client.js"; -import { - type ServerHandler, - ServerImpl as HttpServer, -} from "ext:deno_node/http.ts"; +import { type ServerHandler, ServerImpl as HttpServer } from "node:http"; import { validateObject } from "ext:deno_node/internal/validators.mjs"; import { kEmptyObject } from "ext:deno_node/internal/util.mjs"; -import { Buffer } from "ext:deno_node/buffer.ts"; +import { Buffer } from "node:buffer"; export class Server extends HttpServer { constructor(opts, requestListener?: ServerHandler) { |