diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-07-02 20:19:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-02 20:19:30 +0200 |
| commit | 01f0d03ae82c422c1f9551f3bfbb57daac769ddc (patch) | |
| tree | 4506903def90de3da497c81e217d70d62f380dab /ext/node/polyfills/https.ts | |
| parent | 805497a9a50c3219f64f481feb72271b2fcd6790 (diff) | |
refactor: rename built-in node modules from ext:deno_node/ to node: (#19680)
Closes https://github.com/denoland/deno/issues/19510
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) { |
