|
| 1 | +/* eslint-disable */ |
| 2 | + |
| 3 | +function createRequire(...args) { |
| 4 | + /* EMPTY */ |
| 5 | +} |
| 6 | + |
| 7 | +function unimplemented() { |
| 8 | + throw new Error('Node.js module module is not supported by Cells'); |
| 9 | +} |
| 10 | + |
| 11 | +var builtinModules = [ |
| 12 | + '_http_agent', |
| 13 | + '_http_client', |
| 14 | + '_http_common', |
| 15 | + '_http_incoming', |
| 16 | + '_http_outgoing', |
| 17 | + '_http_server', |
| 18 | + '_stream_duplex', |
| 19 | + '_stream_passthrough', |
| 20 | + '_stream_readable', |
| 21 | + '_stream_transform', |
| 22 | + '_stream_wrap', |
| 23 | + '_stream_writable', |
| 24 | + '_tls_common', |
| 25 | + '_tls_wrap', |
| 26 | + 'assert', |
| 27 | + 'assert/strict', |
| 28 | + 'async_hooks', |
| 29 | + 'buffer', |
| 30 | + 'child_process', |
| 31 | + 'cluster', |
| 32 | + 'console', |
| 33 | + 'constants', |
| 34 | + 'crypto', |
| 35 | + 'dgram', |
| 36 | + 'diagnostics_channel', |
| 37 | + 'dns', |
| 38 | + 'dns/promises', |
| 39 | + 'domain', |
| 40 | + 'events', |
| 41 | + 'fs', |
| 42 | + 'fs/promises', |
| 43 | + 'http', |
| 44 | + 'http2', |
| 45 | + 'https', |
| 46 | + 'inspector', |
| 47 | + 'module', |
| 48 | + 'net', |
| 49 | + 'os', |
| 50 | + 'path', |
| 51 | + 'path/posix', |
| 52 | + 'path/win32', |
| 53 | + 'perf_hooks', |
| 54 | + 'process', |
| 55 | + 'punycode', |
| 56 | + 'querystring', |
| 57 | + 'readline', |
| 58 | + 'repl', |
| 59 | + 'stream', |
| 60 | + 'stream/consumers', |
| 61 | + 'stream/promises', |
| 62 | + 'stream/web', |
| 63 | + 'string_decoder', |
| 64 | + 'sys', |
| 65 | + 'timers', |
| 66 | + 'timers/promises', |
| 67 | + 'tls', |
| 68 | + 'trace_events', |
| 69 | + 'tty', |
| 70 | + 'url', |
| 71 | + 'util', |
| 72 | + 'util/types', |
| 73 | + 'v8', |
| 74 | + 'vm', |
| 75 | + 'worker_threads', |
| 76 | + 'zlib', |
| 77 | +]; |
| 78 | + |
| 79 | +function _load(...args) { |
| 80 | + /* EMPTY */ |
| 81 | +} |
| 82 | + |
| 83 | +function _nodeModulePaths(...args) { |
| 84 | + /* EMPTY */ |
| 85 | +} |
| 86 | + |
| 87 | +function _resolveFilename(...args) { |
| 88 | + /* EMPTY */ |
| 89 | +} |
| 90 | + |
| 91 | +export default { |
| 92 | + builtinModules: builtinModules, |
| 93 | + _cache: null, |
| 94 | + _pathCache: null, |
| 95 | + _extensions: null, |
| 96 | + globalPaths: null, |
| 97 | + _debug: unimplemented, |
| 98 | + _findPath: unimplemented, |
| 99 | + _nodeModulePaths: _nodeModulePaths, |
| 100 | + _resolveLookupPaths: unimplemented, |
| 101 | + _load: _load, |
| 102 | + _resolveFilename: _resolveFilename, |
| 103 | + createRequireFromPath: unimplemented, |
| 104 | + createRequire: createRequire, |
| 105 | + _initPaths: unimplemented, |
| 106 | + _preloadModules: unimplemented, |
| 107 | + syncBuiltinESMExports: unimplemented, |
| 108 | + Module: unimplemented, |
| 109 | + runMain: unimplemented, |
| 110 | + findSourceMap: unimplemented, |
| 111 | + SourceMap: unimplemented, |
| 112 | +}; |
| 113 | + |
| 114 | +export var _cache = null, |
| 115 | + _pathCache = null, |
| 116 | + _extensions = null, |
| 117 | + globalPaths = null; |
| 118 | + |
| 119 | +export { |
| 120 | + builtinModules, |
| 121 | + unimplemented as _debug, |
| 122 | + unimplemented as _findPath, |
| 123 | + unimplemented as _nodeModulePaths, |
| 124 | + unimplemented as _resolveLookupPaths, |
| 125 | + unimplemented as _load, |
| 126 | + unimplemented as _resolveFilename, |
| 127 | + createRequire as createRequireFromPath, |
| 128 | + createRequire as createRequire, |
| 129 | + unimplemented as _initPaths, |
| 130 | + unimplemented as _preloadModules, |
| 131 | + unimplemented as syncBuiltinESMExports, |
| 132 | + unimplemented as Module, |
| 133 | + unimplemented as runMain, |
| 134 | + unimplemented as findSourceMap, |
| 135 | + unimplemented as SourceMap, |
| 136 | +}; |
| 137 | + |
| 138 | +/* eslint-enable */ |
0 commit comments