=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-chokidar-3.4.3/README.md-88-watcher node-chokidar-3.4.3/README.md:89: .on('add', path => log(`File ${path} has been added`)) node-chokidar-3.4.3/README.md:90: .on('change', path => log(`File ${path} has been changed`)) node-chokidar-3.4.3/README.md:91: .on('unlink', path => log(`File ${path} has been removed`)); node-chokidar-3.4.3/README.md-92- ############################################## node-chokidar-3.4.3/README.md-94-watcher node-chokidar-3.4.3/README.md:95: .on('addDir', path => log(`Directory ${path} has been added`)) node-chokidar-3.4.3/README.md:96: .on('unlinkDir', path => log(`Directory ${path} has been removed`)) node-chokidar-3.4.3/README.md:97: .on('error', error => log(`Watcher error: ${error}`)) node-chokidar-3.4.3/README.md-98- .on('ready', () => log('Initial scan complete. Ready for changes')) ############################################## node-chokidar-3.4.3/README.md-105-watcher.on('change', (path, stats) => { node-chokidar-3.4.3/README.md:106: if (stats) console.log(`File ${path} changed size to ${stats.size}`); node-chokidar-3.4.3/README.md-107-}); ############################################## node-chokidar-3.4.3/index.js-94- if (!paths.every(p => typeof p === STRING_TYPE)) { node-chokidar-3.4.3/index.js:95: throw new TypeError(`Non-string provided as watch path: ${paths}`); node-chokidar-3.4.3/index.js-96- } ############################################## node-chokidar-3.4.3/index.js-512- ['closers', 'watched', 'streams', 'symlinkPaths', 'throttled'].forEach(key => { node-chokidar-3.4.3/index.js:513: this[`_${key}`].clear(); node-chokidar-3.4.3/index.js-514- }); ############################################## node-chokidar-3.4.3/lib/constants.js-34- node-chokidar-3.4.3/lib/constants.js:35:exports.DOT_SLASH = `.${sep}`; node-chokidar-3.4.3/lib/constants.js-36- ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-173- for (let i = 1; i <= 9; i++) { node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:174: paths.push(getFixturePath(`add${i}.txt`)); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-175- } ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-835- const watchPath = getGlobPath('*'); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:836: const negatedWatchPath = `!${getGlobPath('*a*.txt')}`; node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-837- const unlinkPath = getFixturePath('unlink.txt'); ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-849- it('should traverse subdirs to match globstar patterns', async () => { node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:850: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/a*.txt`); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-851- const addFile = getFixturePath('add.txt'); ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-885- const id = subdirId.toString(); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:886: const watchPath = `test-*/${id}/*a*.txt`; node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-887- // getFixturePath() returns absolute paths, so use sysPath.join() instead ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-1006- const deepFile = getFixturePath('subdir/subsub/subsubsub/a.txt'); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:1007: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/subsubsub/*.txt`); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-1008- fs.mkdirSync(getFixturePath('subdir'), PERM_ARR); ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-1075- beforeEach(async () => { node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:1076: linkedDir = sysPath.resolve(currentDir, '..', `${subdirId}-link`); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-1077- await fs_symlink(currentDir, linkedDir); ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-2014- const scriptContent = ` node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:2015: const chokidar = require("${__dirname.replace(/\\/g, '\\\\')}"); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-2016- const watcher = chokidar.watch("${scriptFile.replace(/\\/g, '\\\\')}"); ############################################## node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-2021- await write(scriptFile, scriptContent); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js:2022: const obj = await exec(`node ${scriptFile}`); node-chokidar-3.4.3/.pc/disable-some-tests.diff/test.js-2023- const {stdout} = obj; ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-162- for (let i = 1; i <= 9; i++) { node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:163: paths.push(getFixturePath(`add${i}.txt`)); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-164- } ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-681- const watchPath = getGlobPath('*'); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:682: const negatedWatchPath = `!${getGlobPath('*a*.txt')}`; node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-683- const unlinkPath = getFixturePath('unlink.txt'); ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-695- it('should traverse subdirs to match globstar patterns', async () => { node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:696: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/a*.txt`); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-697- const addFile = getFixturePath('add.txt'); ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-731- const id = subdirId.toString(); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:732: const watchPath = `test-*/${id}/*a*.txt`; node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-733- // getFixturePath() returns absolute paths, so use sysPath.join() instead ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-852- const deepFile = getFixturePath('subdir/subsub/subsubsub/a.txt'); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:853: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/subsubsub/*.txt`); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-854- fs.mkdirSync(getFixturePath('subdir'), PERM_ARR); ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-897- beforeEach(async () => { node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:898: linkedDir = sysPath.resolve(currentDir, '..', `${subdirId}-link`); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-899- await fs_symlink(currentDir, linkedDir); ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-1794- const scriptContent = ` node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:1795: const chokidar = require("${__dirname.replace(/\\/g, '\\\\')}"); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-1796- const watcher = chokidar.watch("${scriptFile.replace(/\\/g, '\\\\')}"); ############################################## node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-1801- await write(scriptFile, scriptContent); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js:1802: const obj = await exec(`node ${scriptFile}`); node-chokidar-3.4.3/.pc/workaround-upstream-test-failure.diff/test.js-1803- const {stdout} = obj; ############################################## node-chokidar-3.4.3/test.js-162- for (let i = 1; i <= 9; i++) { node-chokidar-3.4.3/test.js:163: paths.push(getFixturePath(`add${i}.txt`)); node-chokidar-3.4.3/test.js-164- } ############################################## node-chokidar-3.4.3/test.js-681- const watchPath = getGlobPath('*'); node-chokidar-3.4.3/test.js:682: const negatedWatchPath = `!${getGlobPath('*a*.txt')}`; node-chokidar-3.4.3/test.js-683- const unlinkPath = getFixturePath('unlink.txt'); ############################################## node-chokidar-3.4.3/test.js-695- it('should traverse subdirs to match globstar patterns', async () => { node-chokidar-3.4.3/test.js:696: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/a*.txt`); node-chokidar-3.4.3/test.js-697- const addFile = getFixturePath('add.txt'); ############################################## node-chokidar-3.4.3/test.js-731- const id = subdirId.toString(); node-chokidar-3.4.3/test.js:732: const watchPath = `test-*/${id}/*a*.txt`; node-chokidar-3.4.3/test.js-733- // getFixturePath() returns absolute paths, so use sysPath.join() instead ############################################## node-chokidar-3.4.3/test.js-852- const deepFile = getFixturePath('subdir/subsub/subsubsub/a.txt'); node-chokidar-3.4.3/test.js:853: const watchPath = getGlobPath(`../../test-*/${subdirId}/**/subsubsub/*.txt`); node-chokidar-3.4.3/test.js-854- fs.mkdirSync(getFixturePath('subdir'), PERM_ARR); ############################################## node-chokidar-3.4.3/test.js-897- beforeEach(async () => { node-chokidar-3.4.3/test.js:898: linkedDir = sysPath.resolve(currentDir, '..', `${subdirId}-link`); node-chokidar-3.4.3/test.js-899- await fs_symlink(currentDir, linkedDir); ############################################## node-chokidar-3.4.3/test.js-1788- const scriptContent = ` node-chokidar-3.4.3/test.js:1789: const chokidar = require("${__dirname.replace(/\\/g, '\\\\')}"); node-chokidar-3.4.3/test.js-1790- const watcher = chokidar.watch("${scriptFile.replace(/\\/g, '\\\\')}"); ############################################## node-chokidar-3.4.3/test.js-1795- await write(scriptFile, scriptContent); node-chokidar-3.4.3/test.js:1796: const obj = await exec(`node ${scriptFile}`); node-chokidar-3.4.3/test.js-1797- const {stdout} = obj;