mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 15:57:53 +00:00
refactor: rename built-in node modules from ext:deno_node/ to node: (#19680)
Closes https://github.com/denoland/deno/issues/19510
This commit is contained in:
parent
805497a9a5
commit
01f0d03ae8
99 changed files with 422 additions and 554 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue