=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-mkdirp-1.0.4/bin/cmd.js-47- if (isNaN(mode)) { node-mkdirp-1.0.4/bin/cmd.js:48: console.error(`invalid mode argument: ${arg}\nMust be an octal number.`) node-mkdirp-1.0.4/bin/cmd.js-49- process.exit(1) ############################################## node-mkdirp-1.0.4/map.js-4- : base === 'cmd.js' ? 'bin/cmd.js' node-mkdirp-1.0.4/map.js:5: : `lib/${base}` node-mkdirp-1.0.4/map.js-6-module.exports = test => map(basename(test)) ############################################## node-mkdirp-1.0.4/readme.markdown-17-mkdirp('/tmp/foo/bar/baz').then(made => node-mkdirp-1.0.4/readme.markdown:18: console.log(`made directories, starting with ${made}`)) node-mkdirp-1.0.4/readme.markdown-19-``` ############################################## node-mkdirp-1.0.4/readme.markdown-33-const made = mkdirp.sync('/tmp/foo/bar/baz') node-mkdirp-1.0.4/readme.markdown:34:console.log(`made directories, starting with ${made}`) node-mkdirp-1.0.4/readme.markdown-35-``` ############################################## node-mkdirp-1.0.4/test/cmd.js-7- : basename(path) === 'EFAIL' ? Promise.reject(Object.assign(new Error('fail'), { code: 'EFAIL' })) node-mkdirp-1.0.4/test/cmd.js:8: : Promise.resolve(`${path} ${opts.mode || 0}`) node-mkdirp-1.0.4/test/cmd.js-9- node-mkdirp-1.0.4/test/cmd.js:10:fakeMkdirp.manual = (path, opts) => fakeMkdirp(`MANUAL ${path}`, opts) node-mkdirp-1.0.4/test/cmd.js-11- ############################################## node-mkdirp-1.0.4/test/find-made.js-31- node-mkdirp-1.0.4/test/find-made.js:32: t.equal(findMadeSync(o, `${dir}/subdir/x/y/z`), `${dir}/subdir/x`) node-mkdirp-1.0.4/test/find-made.js:33: t.equal(findMadeSync(o, `${dir}/subdir`), undefined) node-mkdirp-1.0.4/test/find-made.js:34: t.equal(findMadeSync(o, `${dir}/file/x/y/z`), undefined) node-mkdirp-1.0.4/test/find-made.js:35: t.equal(findMadeSync(o, `${dir}/file`, `${dir}/file/x`), undefined) node-mkdirp-1.0.4/test/find-made.js:36: t.equal(findMadeSync(o, `${dir}/subdir/error`), undefined) node-mkdirp-1.0.4/test/find-made.js-37- t.equal(findMadeSync(o, '/', '/'), undefined) node-mkdirp-1.0.4/test/find-made.js-38- return Promise.all([ node-mkdirp-1.0.4/test/find-made.js:39: findMade(o, `${dir}/subdir/x/y/z`), node-mkdirp-1.0.4/test/find-made.js:40: findMade(o, `${dir}/subdir`), node-mkdirp-1.0.4/test/find-made.js:41: findMade(o, `${dir}/file/x/y/z`), node-mkdirp-1.0.4/test/find-made.js:42: findMade(o, `${dir}/file`, `${dir}/file/x`), node-mkdirp-1.0.4/test/find-made.js:43: findMade(o, `${dir}/subdir/error`), node-mkdirp-1.0.4/test/find-made.js-44- findMade(o, '/', '/'), node-mkdirp-1.0.4/test/find-made.js-45- ]).then(made => t.strictSame(made, [ node-mkdirp-1.0.4/test/find-made.js:46: `${dir}/subdir/x`, node-mkdirp-1.0.4/test/find-made.js-47- undefined, ############################################## node-mkdirp-1.0.4/test/index.js-17- const check = d => t.ok(statSync(d).isDirectory()) node-mkdirp-1.0.4/test/index.js:18: t.equal(mkdirp.sync(`${dir}/a/sync`), `${dir}/a/sync`) node-mkdirp-1.0.4/test/index.js:19: check(`${dir}/a/sync`) node-mkdirp-1.0.4/test/index.js:20: t.equal(mkdirp.sync(`${dir}/a/sync`), undefined) node-mkdirp-1.0.4/test/index.js-21- node-mkdirp-1.0.4/test/index.js:22: t.equal(mkdirp.manualSync(`${dir}/a/manual-sync`), `${dir}/a/manual-sync`) node-mkdirp-1.0.4/test/index.js:23: check(`${dir}/a/manual-sync`) node-mkdirp-1.0.4/test/index.js:24: t.equal(mkdirp.manualSync(`${dir}/a/manual-sync`), undefined) node-mkdirp-1.0.4/test/index.js-25- node-mkdirp-1.0.4/test/index.js:26: t.equal(mkdirp.nativeSync(`${dir}/a/native-sync`), `${dir}/a/native-sync`) node-mkdirp-1.0.4/test/index.js:27: check(`${dir}/a/native-sync`) node-mkdirp-1.0.4/test/index.js:28: t.equal(mkdirp.nativeSync(`${dir}/a/native-sync`), undefined) node-mkdirp-1.0.4/test/index.js-29- ############################################## node-mkdirp-1.0.4/test/index.js-33- const opts = { mkdir: myMkdir, mkdirSync: myMkdirSync } node-mkdirp-1.0.4/test/index.js:34: t.equal(mkdirp.sync(`${dir}/a/custom-sync`, opts), `${dir}/a/custom-sync`) node-mkdirp-1.0.4/test/index.js:35: check(`${dir}/a/custom-sync`) node-mkdirp-1.0.4/test/index.js:36: t.equal(mkdirp.sync(`${dir}/a/custom-sync`, opts), undefined) node-mkdirp-1.0.4/test/index.js-37- node-mkdirp-1.0.4/test/index.js-38- return Promise.all([ node-mkdirp-1.0.4/test/index.js:39: mkdirp(`${dir}/a/async`), node-mkdirp-1.0.4/test/index.js:40: mkdirp.manual(`${dir}/a/manual-async`), node-mkdirp-1.0.4/test/index.js:41: mkdirp.native(`${dir}/a/native-async`), node-mkdirp-1.0.4/test/index.js:42: mkdirp(`${dir}/a/custom-async`, opts), node-mkdirp-1.0.4/test/index.js-43- ]).then(made => { node-mkdirp-1.0.4/test/index.js-44- t.strictSame(made, [ node-mkdirp-1.0.4/test/index.js:45: `${dir}/a/async`, node-mkdirp-1.0.4/test/index.js:46: `${dir}/a/manual-async`, node-mkdirp-1.0.4/test/index.js:47: `${dir}/a/native-async`, node-mkdirp-1.0.4/test/index.js:48: `${dir}/a/custom-async`, node-mkdirp-1.0.4/test/index.js-49- ]) node-mkdirp-1.0.4/test/index.js:50: check(`${dir}/a/async`) node-mkdirp-1.0.4/test/index.js:51: check(`${dir}/a/manual-async`) node-mkdirp-1.0.4/test/index.js:52: check(`${dir}/a/native-async`) node-mkdirp-1.0.4/test/index.js:53: check(`${dir}/a/custom-async`) node-mkdirp-1.0.4/test/index.js-54- return Promise.all([ node-mkdirp-1.0.4/test/index.js:55: mkdirp(`${dir}/a/async`), node-mkdirp-1.0.4/test/index.js:56: mkdirp.manual(`${dir}/a/manual-async`), node-mkdirp-1.0.4/test/index.js:57: mkdirp.native(`${dir}/a/native-async`), node-mkdirp-1.0.4/test/index.js:58: mkdirp(`${dir}/a/custom-async`, opts), node-mkdirp-1.0.4/test/index.js-59- ]) ############################################## node-mkdirp-1.0.4/test/mkdirp-manual.js-81- } node-mkdirp-1.0.4/test/mkdirp-manual.js:82: t.equal(mkdirpManualSync(`${dir}/foo`, opt), undefined) node-mkdirp-1.0.4/test/mkdirp-manual.js:83: return mkdirpManual(`${dir}/foo`, opt).then(made => t.equal(made, undefined)) node-mkdirp-1.0.4/test/mkdirp-manual.js-84-}) ############################################## node-mkdirp-1.0.4/test/mkdirp-manual.js-96- node-mkdirp-1.0.4/test/mkdirp-manual.js:97: t.equal(mkdirpManualSync(`${dir}/sync/a/b`, opt), `${dir}/sync`) node-mkdirp-1.0.4/test/mkdirp-manual.js:98: t.equal(statSync(`${dir}/sync/a/b`).isDirectory(), true, 'made dir') node-mkdirp-1.0.4/test/mkdirp-manual.js:99: t.equal(mkdirpManualSync(`${dir}/sync/a/b`, opt), undefined) node-mkdirp-1.0.4/test/mkdirp-manual.js-100- node-mkdirp-1.0.4/test/mkdirp-manual.js:101: return mkdirpManual(`${dir}/async/a/b`, opt).then(made => { node-mkdirp-1.0.4/test/mkdirp-manual.js:102: t.equal(made, `${dir}/async`) node-mkdirp-1.0.4/test/mkdirp-manual.js:103: return mkdirpManual(`${dir}/async/a/b`, opt) node-mkdirp-1.0.4/test/mkdirp-manual.js-104- }).then(made => t.equal(made, undefined)) ############################################## node-mkdirp-1.0.4/test/mkdirp-manual.js-132- node-mkdirp-1.0.4/test/mkdirp-manual.js:133: t.throws(() => mkdirpManualSync(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/test/mkdirp-manual.js:134: return t.rejects(mkdirpManual(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/test/mkdirp-manual.js-135-}) ############################################## node-mkdirp-1.0.4/test/mkdirp-manual.js-138- const dir = t.testdir({ file: 'txt' }) node-mkdirp-1.0.4/test/mkdirp-manual.js:139: const file = `${dir}/file` node-mkdirp-1.0.4/test/mkdirp-manual.js-140- const er = Object.assign(new Error('nope'), { code: 'grob' }) ############################################## node-mkdirp-1.0.4/test/mkdirp-manual.js-154- node-mkdirp-1.0.4/test/mkdirp-manual.js:155: t.throws(() => mkdirpManualSync(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/test/mkdirp-manual.js:156: return t.rejects(mkdirpManual(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/test/mkdirp-manual.js-157-}) ############################################## node-mkdirp-1.0.4/test/mkdirp-native.js-40- const dir = t.testdir() node-mkdirp-1.0.4/test/mkdirp-native.js:41: t.equal(mkdirpNativeSync(`${dir}/sync/a/b/c`, opt), `${dir}/sync`) node-mkdirp-1.0.4/test/mkdirp-native.js:42: return mkdirpNative(`${dir}/async/a/b/c`, opt).then(made => node-mkdirp-1.0.4/test/mkdirp-native.js:43: t.equal(made, `${dir}/async`)) node-mkdirp-1.0.4/test/mkdirp-native.js-44-}) ############################################## node-mkdirp-1.0.4/test/mkdirp-native.js-56- const dir = t.testdir() node-mkdirp-1.0.4/test/mkdirp-native.js:57: t.equal(mkdirpNativeSync(`${dir}/sync/a/b/c`, opt), 'mkdirpManualSync') node-mkdirp-1.0.4/test/mkdirp-native.js:58: return mkdirpNative(`${dir}/async/a/b/c`, opt).then(made => node-mkdirp-1.0.4/test/mkdirp-native.js-59- t.equal(made, 'mkdirpManual')) ############################################## node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-16-@@ -102,6 +103,7 @@ node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff:17: return mkdirpManual(`${dir}/async/a/b`, opt) node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-18- }).then(made => t.equal(made, undefined)) ############################################## node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-32-@@ -152,3 +155,4 @@ node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff:33: t.throws(() => mkdirpManualSync(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff:34: return t.rejects(mkdirpManual(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-35- }) ############################################## node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-47-@@ -57,6 +58,7 @@ node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff:48: return mkdirpNative(`${dir}/async/a/b/c`, opt).then(made => node-mkdirp-1.0.4/debian/patches/disable-tests-for-tap-12.diff-49- t.equal(made, 'mkdirpManual')) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-80- } node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:81: t.equal(mkdirpManualSync(`${dir}/foo`, opt), undefined) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:82: return mkdirpManual(`${dir}/foo`, opt).then(made => t.equal(made, undefined)) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-83-}) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-95- node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:96: t.equal(mkdirpManualSync(`${dir}/sync/a/b`, opt), `${dir}/sync`) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:97: t.equal(statSync(`${dir}/sync/a/b`).isDirectory(), true, 'made dir') node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:98: t.equal(mkdirpManualSync(`${dir}/sync/a/b`, opt), undefined) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-99- node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:100: return mkdirpManual(`${dir}/async/a/b`, opt).then(made => { node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:101: t.equal(made, `${dir}/async`) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:102: return mkdirpManual(`${dir}/async/a/b`, opt) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-103- }).then(made => t.equal(made, undefined)) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-129- node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:130: t.throws(() => mkdirpManualSync(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:131: return t.rejects(mkdirpManual(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-132-}) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-135- const dir = t.testdir({ file: 'txt' }) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:136: const file = `${dir}/file` node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-137- const er = Object.assign(new Error('nope'), { code: 'grob' }) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-151- node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:152: t.throws(() => mkdirpManualSync(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js:153: return t.rejects(mkdirpManual(`${dir}/file`, opt), { code: 'EEXIST' }) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-manual.js-154-}) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js-39- const dir = t.testdir() node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js:40: t.equal(mkdirpNativeSync(`${dir}/sync/a/b/c`, opt), `${dir}/sync`) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js:41: return mkdirpNative(`${dir}/async/a/b/c`, opt).then(made => node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js:42: t.equal(made, `${dir}/async`)) node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js-43-}) ############################################## node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js-55- const dir = t.testdir() node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js:56: t.equal(mkdirpNativeSync(`${dir}/sync/a/b/c`, opt), 'mkdirpManualSync') node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js:57: return mkdirpNative(`${dir}/async/a/b/c`, opt).then(made => node-mkdirp-1.0.4/.pc/disable-tests-for-tap-12.diff/test/mkdirp-native.js-58- t.equal(made, 'mkdirpManual'))