111 lines
4.2 KiB
JavaScript
111 lines
4.2 KiB
JavaScript
export const builtnNodeModules = [
|
|
"_http_agent",
|
|
"_http_common",
|
|
// Missing exports: freeParser, isLenient, parsers, prepareError
|
|
"_http_outgoing",
|
|
"_http_server",
|
|
// Missing exports: Server, ServerResponse, httpServerPreClose, kConnectionsCheckingInterval, kServerResponse, setupConnectionsTracking, storeHTTPOptions
|
|
"_stream_duplex",
|
|
// Missing exports: from, fromWeb, toWeb
|
|
"_stream_passthrough",
|
|
"_stream_readable",
|
|
// Missing exports: ReadableState, from, fromWeb, toWeb, wrap
|
|
"_stream_transform",
|
|
"_stream_writable",
|
|
// Missing exports: WritableState, fromWeb, toWeb
|
|
"_tls_common",
|
|
// Missing exports: SecureContext, translatePeerCertificate
|
|
"_tls_wrap",
|
|
"assert",
|
|
// Missing exports: CallTracker, partialDeepStrictEqual
|
|
"assert/strict",
|
|
// Missing exports: CallTracker, partialDeepStrictEqual
|
|
"async_hooks",
|
|
"buffer",
|
|
// Missing exports: File, resolveObjectURL
|
|
"child_process",
|
|
"cluster",
|
|
"console",
|
|
// Missing exports: context, createTask
|
|
"constants",
|
|
// Missing exports: EXTENSIONLESS_FORMAT_JAVASCRIPT, EXTENSIONLESS_FORMAT_WASM, O_DIRECT, O_NOATIME, defaultCipherList
|
|
"crypto",
|
|
// Missing exports: Cipher, Decipher
|
|
"dgram",
|
|
"diagnostics_channel",
|
|
// Missing exports: Channel
|
|
"dns",
|
|
// Missing exports: getDefaultResultOrder, lookupService
|
|
"dns/promises",
|
|
// Missing exports: getDefaultResultOrder, lookupService
|
|
"domain",
|
|
"events",
|
|
// Missing exports: captureRejections, getMaxListeners, init, usingDomains
|
|
"fs",
|
|
// Missing exports: FileReadStream, FileWriteStream, fchmod, fchmodSync, fchown, fchownSync, glob, globSync, lchmod, lchmodSync, lchown, lchownSync, openAsBlob
|
|
"fs/promises",
|
|
// Missing exports: glob, lchmod, lchown, lutimes, statfs
|
|
"http",
|
|
// Missing exports: CloseEvent, MessageEvent, WebSocket, setMaxIdleHTTPParsers
|
|
"http2",
|
|
// Missing exports: performServerHandshake
|
|
"https",
|
|
"inspector",
|
|
"inspector/promises",
|
|
"module",
|
|
// Missing exports: SourceMap, constants, enableCompileCache, findPackageJSON, flushCompileCache, getCompileCacheDir, getSourceMapsSupport, runMain, setSourceMapsSupport, stripTypeScriptTypes, syncBuiltinESMExports
|
|
"net",
|
|
"os",
|
|
"path",
|
|
// Missing exports: matchesGlob
|
|
"path/posix",
|
|
// Missing exports: matchesGlob
|
|
"path/win32",
|
|
// Missing exports: matchesGlob
|
|
"perf_hooks",
|
|
// Missing exports: Performance, PerformanceMark, PerformanceMeasure, PerformanceObserverEntryList, PerformanceResourceTiming, createHistogram
|
|
"process",
|
|
// Missing exports: assert, availableMemory, binding, config, constrainedMemory, debugPort, domain, exitCode, features, finalization, getActiveResourcesInfo, getgroups, hasUncaughtExceptionCaptureCallback, initgroups, loadEnvFile, moduleLoadList, openStdin, ppid, reallyExit, ref, release, report, resourceUsage, setSourceMapsEnabled, setUncaughtExceptionCaptureCallback, setegid, seteuid, setgid, setgroups, setuid, sourceMapsEnabled, title, unref, uptime
|
|
"punycode",
|
|
"querystring",
|
|
"readline",
|
|
"readline/promises",
|
|
"repl",
|
|
// Missing exports: Recoverable, writer
|
|
"sqlite",
|
|
// Missing exports: StatementSync
|
|
"stream",
|
|
// Missing exports: destroy, promises
|
|
"stream/consumers",
|
|
"stream/promises",
|
|
"stream/web",
|
|
"string_decoder",
|
|
"sys",
|
|
// Missing exports: MIMEParams, MIMEType, getCallSite, getSystemErrorMap, getSystemErrorMessage, parseEnv, transferableAbortController, transferableAbortSignal
|
|
"timers",
|
|
// Missing exports: active, enroll, unenroll
|
|
"timers/promises",
|
|
"tls",
|
|
// Missing exports: SecureContext, convertALPNProtocols
|
|
"trace_events",
|
|
"tty",
|
|
"url",
|
|
"util",
|
|
// Missing exports: MIMEParams, MIMEType, getCallSite, getSystemErrorMap, getSystemErrorMessage, parseEnv, transferableAbortController, transferableAbortSignal
|
|
"util/types",
|
|
// Missing exports: isExternal
|
|
"v8",
|
|
// Missing exports: GCProfiler, promiseHooks, queryObjects, setHeapSnapshotNearHeapLimit, startupSnapshot
|
|
"vm",
|
|
"wasi",
|
|
"worker_threads",
|
|
// Missing exports: isInternalThread, isMarkedAsUntransferable, markAsUncloneable, postMessageToThread
|
|
"zlib"
|
|
];
|
|
export const hybridNodeModules = [];
|
|
export const unsupportedNodeModules = [
|
|
"_http_client",
|
|
"_http_incoming",
|
|
"_stream_wrap"
|
|
];
|