=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-cross-spawn-7.0.2/README.md-24-Node.js version 8 and up: node-cross-spawn-7.0.2/README.md:25:`$ npm install cross-spawn` node-cross-spawn-7.0.2/README.md-26- node-cross-spawn-7.0.2/README.md-27-Node.js version 7 and under: node-cross-spawn-7.0.2/README.md:28:`$ npm install cross-spawn@6` node-cross-spawn-7.0.2/README.md-29- ############################################## node-cross-spawn-7.0.2/README.md-89- node-cross-spawn-7.0.2/README.md:90:`$ npm test` node-cross-spawn-7.0.2/README.md:91:`$ npm test -- --watch` during development node-cross-spawn-7.0.2/README.md-92- ############################################## node-cross-spawn-7.0.2/lib/enoent.js-5-function notFoundError(original, syscall) { node-cross-spawn-7.0.2/lib/enoent.js:6: return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), { node-cross-spawn-7.0.2/lib/enoent.js-7- code: 'ENOENT', node-cross-spawn-7.0.2/lib/enoent.js-8- errno: 'ENOENT', node-cross-spawn-7.0.2/lib/enoent.js:9: syscall: `${syscall} ${original.command}`, node-cross-spawn-7.0.2/lib/enoent.js-10- path: original.command, ############################################## node-cross-spawn-7.0.2/lib/parse.js-56- node-cross-spawn-7.0.2/lib/parse.js:57: parsed.args = ['/d', '/s', '/c', `"${shellCommand}"`]; node-cross-spawn-7.0.2/lib/parse.js-58- parsed.command = process.env.comspec || 'cmd.exe'; ############################################## node-cross-spawn-7.0.2/lib/util/escape.js-14- // Convert to string node-cross-spawn-7.0.2/lib/util/escape.js:15: arg = `${arg}`; node-cross-spawn-7.0.2/lib/util/escape.js-16- ############################################## node-cross-spawn-7.0.2/lib/util/escape.js-30- // Quote the whole thing: node-cross-spawn-7.0.2/lib/util/escape.js:31: arg = `"${arg}"`; node-cross-spawn-7.0.2/lib/util/escape.js-32- ############################################## node-cross-spawn-7.0.2/test/fixtures/win-ppid.js-8- const res = spawnSync('wmic', node-cross-spawn-7.0.2/test/fixtures/win-ppid.js:9: ['process', 'where', `(processid=${process.pid})`, 'get', 'parentprocessid']); node-cross-spawn-7.0.2/test/fixtures/win-ppid.js-10- const lines = res.stdout.toString().split(/\r?\n/); ############################################## node-cross-spawn-7.0.2/test/index.test.js-18- node-cross-spawn-7.0.2/test/index.test.js:19: beforeAll(() => mkdirp.sync(`${__dirname}/tmp`)); node-cross-spawn-7.0.2/test/index.test.js-20- node-cross-spawn-7.0.2/test/index.test.js:21: afterAll(() => rimraf.sync(`${__dirname}/tmp`)); node-cross-spawn-7.0.2/test/index.test.js-22- ############################################## node-cross-spawn-7.0.2/test/index.test.js-29- it('should expand using PATHEXT properly', async () => { node-cross-spawn-7.0.2/test/index.test.js:30: const { stdout } = await run(method, `${__dirname}/fixtures/say-foo`); node-cross-spawn-7.0.2/test/index.test.js-31- ############################################## node-cross-spawn-7.0.2/test/index.test.js-35- it('should support shebang in executables with `/usr/bin/env`', async () => { node-cross-spawn-7.0.2/test/index.test.js:36: const { stdout: stdout1 } = await run(method, `${__dirname}/fixtures/shebang`); node-cross-spawn-7.0.2/test/index.test.js-37- ############################################## node-cross-spawn-7.0.2/test/index.test.js-43- ...process.env, node-cross-spawn-7.0.2/test/index.test.js:44: [pathKey]: path.normalize(`${__dirname}/fixtures`) + path.delimiter + process.env[pathKey], node-cross-spawn-7.0.2/test/index.test.js-45- }, ############################################## node-cross-spawn-7.0.2/test/index.test.js-50- // Test if the actual shebang file is resolved against the process.env.PATH node-cross-spawn-7.0.2/test/index.test.js:51: process.env[pathKey] = path.normalize(`${__dirname}/fixtures`) + path.delimiter + process.env[pathKey]; node-cross-spawn-7.0.2/test/index.test.js-52- ############################################## node-cross-spawn-7.0.2/test/index.test.js-71- fs.writeFileSync( node-cross-spawn-7.0.2/test/index.test.js:72: `${__dirname}/fixtures/()%!^&;, `, node-cross-spawn-7.0.2/test/index.test.js:73: fs.readFileSync(`${__dirname}/fixtures/pre_()%!^&;, .sh`), node-cross-spawn-7.0.2/test/index.test.js-74- { mode: 0o0777 } ############################################## node-cross-spawn-7.0.2/test/index.test.js-76- fs.writeFileSync( node-cross-spawn-7.0.2/test/index.test.js:77: `${__dirname}/fixtures/()%!^&;, .bat`, node-cross-spawn-7.0.2/test/index.test.js:78: fs.readFileSync(`${__dirname}/fixtures/pre_()%!^&;, .bat`) node-cross-spawn-7.0.2/test/index.test.js-79- ); node-cross-spawn-7.0.2/test/index.test.js-80- node-cross-spawn-7.0.2/test/index.test.js:81: const { stdout } = await run(method, `${__dirname}/fixtures/()%!^&;, `); node-cross-spawn-7.0.2/test/index.test.js-82- ############################################## node-cross-spawn-7.0.2/test/index.test.js-87- const { stdout } = await run(method, 'node', [ node-cross-spawn-7.0.2/test/index.test.js:88: `${__dirname}/fixtures/echo`, node-cross-spawn-7.0.2/test/index.test.js-89- 'foo', ############################################## node-cross-spawn-7.0.2/test/index.test.js-99- const { stdout } = await run(method, 'node', [ node-cross-spawn-7.0.2/test/index.test.js:100: `${__dirname}/fixtures/echo`, node-cross-spawn-7.0.2/test/index.test.js-101- 1234, ############################################## node-cross-spawn-7.0.2/test/index.test.js-142- node-cross-spawn-7.0.2/test/index.test.js:143: const { stdout } = await run(method, 'node', [`${__dirname}/fixtures/echo`].concat(args)); node-cross-spawn-7.0.2/test/index.test.js-144- ############################################## node-cross-spawn-7.0.2/test/index.test.js-149- it('should double escape when executing `node_modules/.bin/<file>.cmd`', async () => { node-cross-spawn-7.0.2/test/index.test.js:150: mkdirp.sync(`${__dirname}/fixtures/node_modules/.bin`); node-cross-spawn-7.0.2/test/index.test.js:151: fs.writeFileSync(`${__dirname}/fixtures/node_modules/.bin/echo-cmd-shim.cmd`, node-cross-spawn-7.0.2/test/index.test.js:152: fs.readFileSync(`${__dirname}/fixtures/echo-cmd-shim.cmd`)); node-cross-spawn-7.0.2/test/index.test.js-153- ############################################## node-cross-spawn-7.0.2/test/index.test.js-155- node-cross-spawn-7.0.2/test/index.test.js:156: const { stdout } = await run(method, `${__dirname}/fixtures/node_modules/.bin/echo-cmd-shim`, [arg]); node-cross-spawn-7.0.2/test/index.test.js-157- ############################################## node-cross-spawn-7.0.2/test/index.test.js-162- it('should handle commands with names of environment variables', async () => { node-cross-spawn-7.0.2/test/index.test.js:163: const { stdout } = await run(method, `${__dirname}/fixtures/%CD%`); node-cross-spawn-7.0.2/test/index.test.js-164- ############################################## node-cross-spawn-7.0.2/test/index.test.js-168- it('should handle optional spawn optional arguments correctly', async () => { node-cross-spawn-7.0.2/test/index.test.js:169: const { stdout: stdout1 } = await run(method, `${__dirname}/fixtures/say-foo`); node-cross-spawn-7.0.2/test/index.test.js-170- ############################################## node-cross-spawn-7.0.2/test/index.test.js-172- node-cross-spawn-7.0.2/test/index.test.js:173: const { stdout: stdout2 } = await run(method, `${__dirname}/fixtures/say-foo`, { stdio: 'ignore' }); node-cross-spawn-7.0.2/test/index.test.js-174- ############################################## node-cross-spawn-7.0.2/test/index.test.js-176- node-cross-spawn-7.0.2/test/index.test.js:177: const { stdout: stdout3 } = await run(method, `${__dirname}/fixtures/say-foo`, null, { stdio: 'ignore' }); node-cross-spawn-7.0.2/test/index.test.js-178- ############################################## node-cross-spawn-7.0.2/test/index.test.js-185- node-cross-spawn-7.0.2/test/index.test.js:186: await run(method, `${__dirname}/fixtures/say-foo`, args, options); node-cross-spawn-7.0.2/test/index.test.js-187- ############################################## node-cross-spawn-7.0.2/test/index.test.js-195- try { node-cross-spawn-7.0.2/test/index.test.js:196: await run(method, 'node', [`${__dirname}/fixtures/exit-25`]); node-cross-spawn-7.0.2/test/index.test.js-197- } catch (err) { ############################################## node-cross-spawn-7.0.2/test/index.test.js-202- it('should work with a relative posix path to a command', async () => { node-cross-spawn-7.0.2/test/index.test.js:203: const relativeFixturesPath = path.relative(process.cwd(), `${__dirname}/fixtures`).replace(/\\/, '/'); node-cross-spawn-7.0.2/test/index.test.js-204- node-cross-spawn-7.0.2/test/index.test.js:205: const { stdout: stdout1 } = await run(method, `${relativeFixturesPath}/say-foo`); node-cross-spawn-7.0.2/test/index.test.js-206- ############################################## node-cross-spawn-7.0.2/test/index.test.js-208- node-cross-spawn-7.0.2/test/index.test.js:209: const { stdout: stdout2 } = await run(method, `./${relativeFixturesPath}/say-foo`); node-cross-spawn-7.0.2/test/index.test.js-210- ############################################## node-cross-spawn-7.0.2/test/index.test.js-216- node-cross-spawn-7.0.2/test/index.test.js:217: const { stdout: stdout3 } = await run(method, `./${relativeFixturesPath}/say-foo.bat`); node-cross-spawn-7.0.2/test/index.test.js-218- ############################################## node-cross-spawn-7.0.2/test/index.test.js-228- node-cross-spawn-7.0.2/test/index.test.js:229: const { stdout: stdout2 } = await run(method, './fixtures/say-foo', { cwd: `./${relativeTestPath}` }); node-cross-spawn-7.0.2/test/index.test.js-230- ############################################## node-cross-spawn-7.0.2/test/index.test.js-236- node-cross-spawn-7.0.2/test/index.test.js:237: const { stdout: stdout3 } = await run(method, './fixtures/say-foo.bat', { cwd: `./${relativeTestPath}` }); node-cross-spawn-7.0.2/test/index.test.js-238- ############################################## node-cross-spawn-7.0.2/test/index.test.js-301- try { node-cross-spawn-7.0.2/test/index.test.js:302: run(method, `${__dirname}/fixtures/exit-1`); node-cross-spawn-7.0.2/test/index.test.js-303- } catch (err) { ############################################## node-cross-spawn-7.0.2/test/index.test.js-309- await new Promise((resolve, reject) => { node-cross-spawn-7.0.2/test/index.test.js:310: const promise = run(method, `${__dirname}/fixtures/exit-1`); node-cross-spawn-7.0.2/test/index.test.js-311- const { cp } = promise; ############################################## node-cross-spawn-7.0.2/test/index.test.js-341- try { node-cross-spawn-7.0.2/test/index.test.js:342: run(method, `${__dirname}/fixtures/shebang-enoent`); node-cross-spawn-7.0.2/test/index.test.js-343- } catch (err) { ############################################## node-cross-spawn-7.0.2/test/index.test.js-349- await new Promise((resolve, reject) => { node-cross-spawn-7.0.2/test/index.test.js:350: const promise = run(method, `${__dirname}/fixtures/shebang-enoent`); node-cross-spawn-7.0.2/test/index.test.js-351- const { cp } = promise; ############################################## node-cross-spawn-7.0.2/test/index.test.js-431- it('should NOT spawn a shell for a .exe', async () => { node-cross-spawn-7.0.2/test/index.test.js:432: const { stdout } = await run(method, `${__dirname}/fixtures/win-ppid.js`); node-cross-spawn-7.0.2/test/index.test.js-433- ############################################## node-cross-spawn-7.0.2/test/util/run.js-17- if (exitCode !== 0) { node-cross-spawn-7.0.2/test/util/run.js:18: return Object.assign(new Error(`Command failed, exited with code #${exitCode}`), { node-cross-spawn-7.0.2/test/util/run.js-19- exitCode,