// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. // This aliases are used in some node tests and represent a legacy alias // for the stream modules // deno-lint-ignore camelcase import _http_agent from "./_http_agent.mjs"; // deno-lint-ignore camelcase import _http_outgoing from "./_http_outgoing.ts"; // deno-lint-ignore camelcase import _stream_duplex from "./internal/streams/duplex.mjs"; // deno-lint-ignore camelcase import _stream_passthrough from "./internal/streams/passthrough.mjs"; // deno-lint-ignore camelcase import _stream_readable from "./internal/streams/readable.mjs"; // deno-lint-ignore camelcase import _stream_transform from "./internal/streams/transform.mjs"; // deno-lint-ignore camelcase import _stream_writable from "./internal/streams/writable.mjs"; import assert from "./assert.ts"; import assertStrict from "./assert/strict.ts"; // deno-lint-ignore camelcase import async_hooks from "./async_hooks.ts"; import buffer from "./buffer.ts"; import childProcess from "./child_process.ts"; import cluster from "./cluster.ts"; import console from "./console.ts"; import constants from "./constants.ts"; import crypto from "./crypto.ts"; import dgram from "./dgram.ts"; import diagnosticsChannel from "./diagnostics_channel.ts"; import dns from "./dns.ts"; import dnsPromises from "./dns/promises.ts"; import domain from "./domain.ts"; import events from "./events.ts"; import fs from "./fs.ts"; import fsPromises from "./fs/promises.ts"; import internalFsUtils from "./internal/fs/utils.mjs"; import http from "./http.ts"; import http2 from "./http2.ts"; import https from "./https.ts"; import inspector from "./inspector.ts"; import internalCryptoCertificate from "./internal/crypto/certificate.ts"; import internalCryptoCipher from "./internal/crypto/cipher.ts"; import internalCryptoDiffiehellman from "./internal/crypto/diffiehellman.ts"; import internalCryptoHash from "./internal/crypto/hash.ts"; import internalCryptoHkdf from "./internal/crypto/hkdf.ts"; import internalCryptoKeygen from "./internal/crypto/keygen.ts"; import internalCryptoKeys from "./internal/crypto/keys.ts"; import internalCryptoPbkdf2 from "./internal/crypto/pbkdf2.ts"; import internalCryptoRandom from "./internal/crypto/random.ts"; import internalCryptoScrypt from "./internal/crypto/scrypt.ts"; import internalCryptoSig from "./internal/crypto/sig.ts"; import internalCryptoUtil from "./internal/crypto/util.ts"; import internalCryptoX509 from "./internal/crypto/x509.ts"; import internalDgram from "./internal/dgram.ts"; import internalDnsPromises from "./internal/dns/promises.ts"; import internalErrors from "./internal/errors.ts"; import internalEventTarget from "./internal/event_target.mjs"; import internalHttp from "./internal/http.ts"; import internalReadlineUtils from "./internal/readline/utils.mjs"; import internalStreamsAddAbortSignal from "./internal/streams/add-abort-signal.mjs"; import internalStreamsAddBufferList from "./internal/streams/buffer_list.mjs"; import internalStreamsState from "./internal/streams/state.mjs"; import internalTestBinding from "./internal/test/binding.ts"; import internalTimers from "./internal/timers.mjs"; import internalUtilInspect from "./internal/util/inspect.mjs"; import internalUtil from "./internal/util.mjs"; import net from "./net.ts"; import os from "./os.ts"; import pathPosix from "./path/posix.ts"; import pathWin32 from "./path/win32.ts"; import path from "./path.ts"; import perfHooks from "./perf_hooks.ts"; import punycode from "./punycode.ts"; import process from "./process.ts"; import querystring from "./querystring.ts"; import readline from "./readline.ts"; import repl from "./repl.ts"; import stream from "./stream.ts"; import streamConsumers from "./stream/consumers.mjs"; import streamPromises from "./stream/promises.mjs"; import streamWeb from "./stream/web.ts"; import stringDecoder from "./string_decoder.ts"; import sys from "./sys.ts"; import timers from "./timers.ts"; import timersPromises from "./timers/promises.ts"; import tls from "./tls.ts"; import tty from "./tty.ts"; import url from "./url.ts"; import utilTypes from "./util/types.ts"; import util from "./util.ts"; import v8 from "./v8.ts"; import vm from "./vm.ts"; import workerThreads from "./worker_threads.ts"; import wasi from "./wasi.ts"; import zlib from "./zlib.ts"; // Canonical mapping of supported modules export default { _http_agent, _http_outgoing, _stream_duplex, _stream_passthrough, _stream_readable, _stream_transform, _stream_writable, assert, "assert/strict": assertStrict, async_hooks, buffer, crypto, console, constants, child_process: childProcess, cluster, dgram, diagnostics_channel: diagnosticsChannel, dns, "dns/promises": dnsPromises, domain, events, fs, "fs/promises": fsPromises, http, http2, https, inspector, "internal/crypto/certificate": internalCryptoCertificate, "internal/crypto/cipher": internalCryptoCipher, "internal/crypto/diffiehellman": internalCryptoDiffiehellman, "internal/crypto/hash": internalCryptoHash, "internal/crypto/hkdf": internalCryptoHkdf, "internal/crypto/keygen": internalCryptoKeygen, "internal/crypto/keys": internalCryptoKeys, "internal/crypto/pbkdf2": internalCryptoPbkdf2, "internal/crypto/random": internalCryptoRandom, "internal/crypto/scrypt": internalCryptoScrypt, "internal/crypto/sig": internalCryptoSig, "internal/crypto/util": internalCryptoUtil, "internal/crypto/x509": internalCryptoX509, "internal/dgram": internalDgram, "internal/dns/promises": internalDnsPromises, "internal/errors": internalErrors, "internal/event_target": internalEventTarget, "internal/fs/utils": internalFsUtils, "internal/http": internalHttp, "internal/readline/utils": internalReadlineUtils, "internal/streams/add-abort-signal": internalStreamsAddAbortSignal, "internal/streams/buffer_list": internalStreamsAddBufferList, "internal/streams/state": internalStreamsState, "internal/test/binding": internalTestBinding, "internal/timers": internalTimers, "internal/util/inspect": internalUtilInspect, "internal/util": internalUtil, net, os, "path/posix": pathPosix, "path/win32": pathWin32, path, perf_hooks: perfHooks, process, get punycode() { process.emitWarning( "The `punycode` module is deprecated. Please use a userland " + "alternative instead.", "DeprecationWarning", "DEP0040", ); return punycode; }, querystring, readline, repl, stream, "stream/consumers": streamConsumers, "stream/promises": streamPromises, "stream/web": streamWeb, string_decoder: stringDecoder, sys, timers, "timers/promises": timersPromises, tls, tty, url, "util/types": utilTypes, util, v8, vm, wasi, worker_threads: workerThreads, zlib, } as Record;