=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-globby-11.0.1+~cs16.19.32/bench.js-76- ['a', 'b'] node-globby-11.0.1+~cs16.19.32/bench.js:77: .map(directory => `${directory}/`) node-globby-11.0.1+~cs16.19.32/bench.js-78- .forEach(directory => { ############################################## node-globby-11.0.1+~cs16.19.32/gitignore.js-52- node-globby-11.0.1+~cs16.19.32/gitignore.js:53: throw new Error(`Path ${p} is not in cwd ${cwd}`); node-globby-11.0.1+~cs16.19.32/gitignore.js-54- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-4- node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:5:const getExtensions = extensions => extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0]; node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-6- ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-13- if (path.extname(file)) { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:14: return `**/${file}`; node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-15- } node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-16- node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:17: return `**/${file}.${getExtensions(extensions)}`; node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-18-}; ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-21- if (options.files && !Array.isArray(options.files)) { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:22: throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof options.files}\``); node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-23- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-25- if (options.extensions && !Array.isArray(options.extensions)) { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:26: throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof options.extensions}\``); node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-27- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-33- if (options.files) { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:34: return options.files.map(x => path.posix.join(directory, `**/${x}`)); node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-35- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-37- if (options.extensions) { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:38: return [path.posix.join(directory, `**/*.${getExtensions(options.extensions)}`)]; node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-39- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-50- if (typeof options.cwd !== 'string') { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:51: throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``); node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-52- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-68- if (typeof options.cwd !== 'string') { node-globby-11.0.1+~cs16.19.32/dir-glob/index.js:69: throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof options.cwd}\``); node-globby-11.0.1+~cs16.19.32/dir-glob/index.js-70- } ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/test.js-27- t.deepEqual(await dirGlob(['index.js', 'inner_tmp'], {cwd: 'tmp', files: ['unicorn', '*.png'], extensions: ['js', 'png']}), ['index.js', 'inner_tmp/**/unicorn.{js,png}', 'inner_tmp/**/*.png']); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js:28: t.deepEqual(await dirGlob([__dirname], {extensions: ['js']}), [`${__dirname}/**/*.js`]); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js:29: t.deepEqual(await dirGlob([__dirname], {files: ['*.js']}), [`${__dirname}/**/*.js`]); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js-30- await t.throwsAsync(dirGlob(['index.js'], {cwd: undefined}), 'Expected `cwd` to be of type `string` but received type `undefined`'); ############################################## node-globby-11.0.1+~cs16.19.32/dir-glob/test.js-46- t.deepEqual(dirGlob.sync(['index.js', 'inner_tmp'], {cwd: 'tmp', files: ['unicorn', '*.png'], extensions: ['js', 'png']}), ['index.js', 'inner_tmp/**/unicorn.{js,png}', 'inner_tmp/**/*.png']); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js:47: t.deepEqual(dirGlob.sync([__dirname], {extensions: ['js']}), [`${__dirname}/**/*.js`]); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js:48: t.deepEqual(dirGlob.sync([__dirname], {files: ['*.js']}), [`${__dirname}/**/*.js`]); node-globby-11.0.1+~cs16.19.32/dir-glob/test.js-49- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/README.md-116- node-globby-11.0.1+~cs16.19.32/fast-glob/README.md:117:* [Escapes characters][micromatch_backslashes] (`\\`) — matching special characters (`$^*+?()[]`) as literals. node-globby-11.0.1+~cs16.19.32/fast-glob/README.md-118-* [POSIX character classes][picomatch_posix_brackets] (`[[:digit:]]`). ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/README.md-407- node-globby-11.0.1+~cs16.19.32/fast-glob/README.md:408:> :book: This option is required if you want to use negative patterns with absolute path, for example, `!${__dirname}/*.js`. node-globby-11.0.1+~cs16.19.32/fast-glob/README.md-409- ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/index.ts-32- node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/index.ts:33:logger.head(`Benchmark pattern "${argv.pattern}" with ${argv.launches} launches (${argv.type}, ${argv.mode})`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/index.ts:34:logger.head(`Max stdev: ${argv.maxStdev} | Retries: ${argv.retries} | Options: ${JSON.stringify(argv.options)}`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/index.ts-35-logger.newline(); ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/reporter.ts-15- this._table.cell('Name', result.name); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/reporter.ts:16: this._table.cell(`Time, ${result.measures.time.units}`, this._formatMeasureValue(result.measures.time)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/reporter.ts-17- this._table.cell('Time stdev, %', this._formatMeasureStdevValue(result.measures.time)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/reporter.ts:18: this._table.cell(`Memory, ${result.measures.memory.units}`, this._formatMeasureValue(result.measures.memory)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/benchmark/reporter.ts-19- this._table.cell('Memory stdev, %', this._formatMeasureStdevValue(result.measures.memory)); ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts-13- node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts:14: assert.ok(matcher.match(filepath), `Path "${filepath}" should match: ${patterns}`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts-15-} ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts-19- node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts:20: assert.ok(!matcher.match(filepath), `Path "${filepath}" should do not match: ${patterns}`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/providers/matchers/partial.spec.ts-21-} ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-47- node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:48: definition(`${title} (sync)`, () => testCaseRunner(test, getFastGlobEntriesSync)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:49: definition(`${title} (async)`, () => testCaseRunner(test, getFastGlobEntriesAsync)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:50: definition(`${title} (stream)`, () => testCaseRunner(test, getFastGlobEntriesStream)); node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-51- } ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-59-function getTestCaseTitle(test: SmokeTest): string { node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:60: let title = `pattern: '${test.pattern}'`; node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-61- node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-62- if (test.ignore !== undefined) { node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:63: title += `, ignore: '${test.ignore}'`; node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-64- } ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-66- if (test.broken !== undefined) { node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts:67: title += ` (broken - ${test.issue})`; node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/smoke/smoke.ts-68- } ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/errno.ts-4- constructor(public readonly code: string, message: string) { node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/errno.ts:5: super(`${code}: ${message}`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/errno.ts-6- this.name = 'SystemError'; ############################################## node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/task.ts-32- public negative(pattern: Pattern): this { node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/task.ts:33: this._task.patterns.push(`!${pattern}`); node-globby-11.0.1+~cs16.19.32/fast-glob/src/tests/utils/task.ts-34- this._task.negative.push(pattern); ############################################## node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js-21- name: dirent.name, node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js:22: path: `${directory}${settings.pathSegmentSeparator}${dirent.name}` node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js-23- })); ############################################## node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js-58- } node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js:59: const filepaths = names.map((name) => `${directory}${settings.pathSegmentSeparator}${name}`); node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/async.js-60- const tasks = filepaths.map((filepath) => { ############################################## node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js-18- name: dirent.name, node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js:19: path: `${directory}${settings.pathSegmentSeparator}${dirent.name}` node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js-20- }; ############################################## node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js-38- return names.map((name) => { node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js:39: const entryPath = `${directory}${settings.pathSegmentSeparator}${name}`; node-globby-11.0.1+~cs16.19.32/nodelib-fsscandir/out/providers/sync.js-40- const stats = fsStat.statSync(entryPath, settings.fsStatSettings); ############################################## node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-213- node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js:214: test(`rejects the promise for invalid patterns input: ${valueString} - async`, async t => { node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-215- await t.throwsAsync(globby(value), TypeError); ############################################## node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-218- node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js:219: test(`throws for invalid patterns input: ${valueString} - sync`, t => { node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-220- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-228- node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js:229: test(`throws for invalid patterns input: ${valueString} - stream`, t => { node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-230- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-238- node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js:239: test(`generateGlobTasks throws for invalid patterns input: ${valueString}`, t => { node-globby-11.0.1+~cs16.19.32/.pc/replace-ava-by-tape.diff/test.js-240- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-290- node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js:291: test(`rejects the promise for invalid patterns input: ${valueString} - async`, async t => { node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-292- await t.throwsAsync(globby(value), TypeError); ############################################## node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-295- node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js:296: test(`throws for invalid patterns input: ${valueString} - sync`, t => { node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-297- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-305- node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js:306: test(`throws for invalid patterns input: ${valueString} - stream`, t => { node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-307- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-315- node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js:316: test(`generateGlobTasks throws for invalid patterns input: ${valueString}`, t => { node-globby-11.0.1+~cs16.19.32/.pc/disable-test-for-autopkgtest.diff/test.js-317- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/test.js-290- node-globby-11.0.1+~cs16.19.32/test.js:291: test(`rejects the promise for invalid patterns input: ${valueString} - async`, async t => { node-globby-11.0.1+~cs16.19.32/test.js-292- await t.throwsAsync(globby(value), TypeError); ############################################## node-globby-11.0.1+~cs16.19.32/test.js-295- node-globby-11.0.1+~cs16.19.32/test.js:296: test(`throws for invalid patterns input: ${valueString} - sync`, t => { node-globby-11.0.1+~cs16.19.32/test.js-297- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/test.js-305- node-globby-11.0.1+~cs16.19.32/test.js:306: test(`throws for invalid patterns input: ${valueString} - stream`, t => { node-globby-11.0.1+~cs16.19.32/test.js-307- t.throws(() => { ############################################## node-globby-11.0.1+~cs16.19.32/test.js-315- node-globby-11.0.1+~cs16.19.32/test.js:316: test(`generateGlobTasks throws for invalid patterns input: ${valueString}`, t => { node-globby-11.0.1+~cs16.19.32/test.js-317- t.throws(() => {