PATH:
opt
/
bitninja-dispatcher
/
node_modules
/
ts-node
/
dist
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDefaultTsconfigJsonForNodeVersion = void 0; const nodeMajor = parseInt(process.versions.node.split('.')[0], 10); /** * return parsed JSON of the bundled @tsconfig/bases config appropriate for the * running version of nodejs * @internal */ function getDefaultTsconfigJsonForNodeVersion(ts) { const tsInternal = ts; if (nodeMajor >= 16) { const config = require('@tsconfig/node16/tsconfig.json'); if (configCompatible(config)) return config; } if (nodeMajor >= 14) { const config = require('@tsconfig/node14/tsconfig.json'); if (configCompatible(config)) return config; } if (nodeMajor >= 12) { const config = require('@tsconfig/node12/tsconfig.json'); if (configCompatible(config)) return config; } return require('@tsconfig/node10/tsconfig.json'); // Verify that tsconfig target and lib options are compatible with TypeScript compiler function configCompatible(config) { return (typeof ts.ScriptTarget[config.compilerOptions.target.toUpperCase()] === 'number' && tsInternal.libs && config.compilerOptions.lib.every((lib) => tsInternal.libs.includes(lib))); } } exports.getDefaultTsconfigJsonForNodeVersion = getDefaultTsconfigJsonForNodeVersion; //# sourceMappingURL=tsconfigs.js.map
[-] node-module-type-classifier.js.map
[edit]
[-] util.js.map
[edit]
[-] bin-script-deprecated.js
[edit]
[-] cjs-resolve-hooks.js.map
[edit]
[-] ts-internals.js
[edit]
[-] node-module-type-classifier.d.ts
[edit]
[-] repl.js.map
[edit]
[-] tsconfig-schema.js.map
[edit]
[-] index.js.map
[edit]
[-] ts-compiler-types.js
[edit]
[-] tsconfig-schema.js
[edit]
[-] file-extensions.js
[edit]
[+]
child
[-] bin-cwd.js.map
[edit]
[+]
..
[-] ts-transpile-module.js
[edit]
[-] resolver-functions.js
[edit]
[-] esm.js
[edit]
[-] util.d.ts
[edit]
[-] esm.js.map
[edit]
[-] bin-cwd.js
[edit]
[-] index.d.ts
[edit]
[-] tsconfig-schema.d.ts
[edit]
[-] module-type-classifier.js.map
[edit]
[-] file-extensions.js.map
[edit]
[-] ts-compiler-types.d.ts
[edit]
[-] bin-esm.js
[edit]
[-] repl.d.ts
[edit]
[-] cjs-resolve-hooks.d.ts
[edit]
[-] bin-transpile.js.map
[edit]
[-] esm.d.ts
[edit]
[-] repl.js
[edit]
[-] ts-transpile-module.d.ts
[edit]
[-] bin.d.ts
[edit]
[+]
transpilers
[-] ts-transpile-module.js.map
[edit]
[-] module-type-classifier.d.ts
[edit]
[-] configuration.d.ts
[edit]
[-] configuration.js
[edit]
[-] bin-transpile.js
[edit]
[-] bin-script.js.map
[edit]
[-] tsconfigs.js
[edit]
[-] index.js
[edit]
[-] bin.js.map
[edit]
[-] util.js
[edit]
[-] tsconfigs.d.ts
[edit]
[-] ts-internals.d.ts
[edit]
[-] bin-cwd.d.ts
[edit]
[-] file-extensions.d.ts
[edit]
[-] node-module-type-classifier.js
[edit]
[-] bin-script-deprecated.d.ts
[edit]
[-] resolver-functions.js.map
[edit]
[-] cjs-resolve-hooks.js
[edit]
[-] configuration.js.map
[edit]
[-] bin-transpile.d.ts
[edit]
[-] bin-esm.js.map
[edit]
[-] bin-script.js
[edit]
[-] bin-script-deprecated.js.map
[edit]
[-] ts-compiler-types.js.map
[edit]
[-] module-type-classifier.js
[edit]
[-] bin-esm.d.ts
[edit]
[-] resolver-functions.d.ts
[edit]
[-] ts-internals.js.map
[edit]
[-] tsconfigs.js.map
[edit]
[-] bin-script.d.ts
[edit]
[-] bin.js
[edit]