PATH:
opt
/
bitninja-dispatcher
/
node_modules
/
ts-node
/
dist-raw
const {pathToFileURL} = require('url'); // Hack to avoid Module.runMain on node 18.6.0 // Keeping it simple for now, isolated in this file. // Could theoretically probe `getFormat` impl to determine if `import()` or `Module._load()` is best // Note that I attempted a try-catch around `Module._load`, but it poisons some sort of cache such that subsequent `import()` is impossible. exports.run = function(entryPointPath) { import(pathToFileURL(entryPointPath)); }
[-] node-primordials.js
[edit]
[-] node-options.js
[edit]
[-] node-internal-repl-await.js
[edit]
[-] node-nativemodule.js
[edit]
[-] node-internal-modules-esm-get_format.js
[edit]
[+]
..
[-] node-internal-modules-esm-resolve.js
[edit]
[-] node-internalBinding-fs.js
[edit]
[-] node-internal-constants.js
[edit]
[-] node-internal-modules-cjs-helpers.js
[edit]
[-] NODE-LICENSE.md
[edit]
[-] runmain-hack.js
[edit]
[-] node-internal-modules-cjs-loader.js
[edit]
[-] node-internal-errors.js
[edit]
[-] README.md
[edit]
[-] node-internal-modules-package_json_reader.js
[edit]