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/http.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/http.ts')
-rw-r--r-- | ext/node/polyfills/http.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index f651b1f50..fcc490920 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -13,10 +13,10 @@ import { // createConnection, ListenOptions, Socket, -} from "ext:deno_node/net.ts"; -import { Buffer } from "ext:deno_node/buffer.ts"; +} from "node:net"; +import { Buffer } from "node:buffer"; import { ERR_SERVER_NOT_RUNNING } from "ext:deno_node/internal/errors.ts"; -import { EventEmitter } from "ext:deno_node/events.ts"; +import { EventEmitter } from "node:events"; import { nextTick } from "ext:deno_node/_next_tick.ts"; import { validateBoolean, @@ -29,13 +29,13 @@ import { finished, Readable as NodeReadable, Writable as NodeWritable, -} from "ext:deno_node/stream.ts"; +} from "node:stream"; import { OutgoingMessage, parseUniqueHeadersOption, validateHeaderName, } from "ext:deno_node/_http_outgoing.ts"; -import { ok as assert } from "ext:deno_node/assert.ts"; +import { ok as assert } from "node:assert"; import { kOutHeaders } from "ext:deno_node/internal/http.ts"; import { _checkIsHttpToken as checkIsHttpToken } from "ext:deno_node/_http_common.ts"; import { Agent, globalAgent } from "ext:deno_node/_http_agent.mjs"; |