82 lines
2.2 KiB
JavaScript
82 lines
2.2 KiB
JavaScript
export const builtnNodeModules = [
|
|
"_stream_duplex",
|
|
"_stream_passthrough",
|
|
"_stream_readable",
|
|
"_stream_transform",
|
|
"_stream_writable",
|
|
"_tls_common",
|
|
"_tls_wrap",
|
|
// Missing exports: Server, createServer
|
|
"assert",
|
|
// Missing exports: CallTracker, partialDeepStrictEqual
|
|
"assert/strict",
|
|
// Missing exports: CallTracker, partialDeepStrictEqual
|
|
"async_hooks",
|
|
"buffer",
|
|
"constants",
|
|
// Missing exports: EXTENSIONLESS_FORMAT_JAVASCRIPT, EXTENSIONLESS_FORMAT_WASM, O_DIRECT, O_NOATIME, RTLD_DEEPBIND, SIGPOLL, SIGPWR, SIGSTKFLT, defaultCipherList
|
|
"crypto",
|
|
"diagnostics_channel",
|
|
"dns",
|
|
"dns/promises",
|
|
"events",
|
|
// Missing exports: captureRejections, init
|
|
"fs/promises",
|
|
"module",
|
|
"net",
|
|
"path",
|
|
"path/posix",
|
|
"path/win32",
|
|
"querystring",
|
|
"stream",
|
|
"stream/consumers",
|
|
"stream/promises",
|
|
"stream/web",
|
|
"string_decoder",
|
|
"timers",
|
|
"timers/promises",
|
|
"tls",
|
|
"url",
|
|
"util",
|
|
"util/types",
|
|
"zlib"
|
|
];
|
|
export const hybridNodeModules = [
|
|
"console",
|
|
"process"
|
|
// Missing exports: abort, allowedNodeEnvironmentFlags, arch, argv, argv0, assert, availableMemory, binding, chdir, config, constrainedMemory, cpuUsage, cwd, debugPort, dlopen, domain, emitWarning, execArgv, execPath, exitCode, finalization, getActiveResourcesInfo, getegid, geteuid, getgid, getgroups, getuid, hasUncaughtExceptionCaptureCallback, hrtime, initgroups, kill, loadEnvFile, memoryUsage, moduleLoadList, openStdin, pid, ppid, reallyExit, ref, release, report, resourceUsage, setSourceMapsEnabled, setUncaughtExceptionCaptureCallback, setegid, seteuid, setgid, setgroups, setuid, sourceMapsEnabled, stderr, stdin, stdout, title, umask, unref, uptime, version, versions
|
|
];
|
|
export const unsupportedNodeModules = [
|
|
"_http_agent",
|
|
"_http_client",
|
|
"_http_common",
|
|
"_http_incoming",
|
|
"_http_outgoing",
|
|
"_http_server",
|
|
"_stream_wrap",
|
|
"child_process",
|
|
"cluster",
|
|
"dgram",
|
|
"domain",
|
|
"fs",
|
|
"http",
|
|
"http2",
|
|
"https",
|
|
"inspector",
|
|
"inspector/promises",
|
|
"os",
|
|
"perf_hooks",
|
|
"punycode",
|
|
"readline",
|
|
"readline/promises",
|
|
"repl",
|
|
"sys",
|
|
"trace_events",
|
|
"tty",
|
|
"v8",
|
|
"vm",
|
|
"wasi",
|
|
"worker_threads",
|
|
"sqlite"
|
|
];
|