=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-to-regex-range-5.0.1/.verb.md-78- node-to-regex-range-5.0.1/.verb.md:79:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/.verb.md-80-console.log(regex.test('14')); //=> false ############################################## node-to-regex-range-5.0.1/.verb.md-129-const source = toRegexRange('-0010', '0010'); node-to-regex-range-5.0.1/.verb.md:130:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/.verb.md-131-console.log(regex.test('-10')); //=> true ############################################## node-to-regex-range-5.0.1/.verb.md-142-const source = toRegexRange('-0010', '0010', { relaxZeros: false }); node-to-regex-range-5.0.1/.verb.md:143:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/.verb.md-144-console.log(regex.test('-10')); //=> false ############################################## node-to-regex-range-5.0.1/README.md-91- node-to-regex-range-5.0.1/README.md:92:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/README.md-93-console.log(regex.test('14')); //=> false ############################################## node-to-regex-range-5.0.1/README.md-142-const source = toRegexRange('-0010', '0010'); node-to-regex-range-5.0.1/README.md:143:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/README.md-144-console.log(regex.test('-10')); //=> true ############################################## node-to-regex-range-5.0.1/README.md-155-const source = toRegexRange('-0010', '0010', { relaxZeros: false }); node-to-regex-range-5.0.1/README.md:156:const regex = new RegExp(`^${source}$`); node-to-regex-range-5.0.1/README.md-157-console.log(regex.test('-10')); //=> false ############################################## node-to-regex-range-5.0.1/examples.js-17- '', node-to-regex-range-5.0.1/examples.js:18: `\`toRegexRange(${min}, ${max})\``, node-to-regex-range-5.0.1/examples.js:19: `\`${toRegexRange(min, max, { wrap: false }).split('|').join('\\|')}\``, node-to-regex-range-5.0.1/examples.js:20: `_${time.end(key)}_`, node-to-regex-range-5.0.1/examples.js-21- '' ############################################## node-to-regex-range-5.0.1/index.js-45- if (opts.capture) { node-to-regex-range-5.0.1/index.js:46: return `(${result})`; node-to-regex-range-5.0.1/index.js-47- } ############################################## node-to-regex-range-5.0.1/index.js-50- } node-to-regex-range-5.0.1/index.js:51: return `(?:${result})`; node-to-regex-range-5.0.1/index.js-52- } ############################################## node-to-regex-range-5.0.1/index.js-78- if (opts.capture === true) { node-to-regex-range-5.0.1/index.js:79: state.result = `(${state.result})`; node-to-regex-range-5.0.1/index.js-80- } else if (opts.wrap !== false && (positives.length + negatives.length) > 1) { node-to-regex-range-5.0.1/index.js:81: state.result = `(?:${state.result})`; node-to-regex-range-5.0.1/index.js-82- } ############################################## node-to-regex-range-5.0.1/index.js-242- if (stop || start > 1) { node-to-regex-range-5.0.1/index.js:243: return `{${start + (stop ? ',' + stop : '')}}`; node-to-regex-range-5.0.1/index.js-244- } ############################################## node-to-regex-range-5.0.1/index.js-248-function toCharacterClass(a, b, options) { node-to-regex-range-5.0.1/index.js:249: return `[${a}${(b - a === 1) ? '' : '-'}${b}]`; node-to-regex-range-5.0.1/index.js-250-} ############################################## node-to-regex-range-5.0.1/index.js-271- default: { node-to-regex-range-5.0.1/index.js:272: return relax ? `0{0,${diff}}` : `0{${diff}}`; node-to-regex-range-5.0.1/index.js-273- } ############################################## node-to-regex-range-5.0.1/test/test.js-9-const inRange = (min, max, num) => min <= num && max >= num; node-to-regex-range-5.0.1/test/test.js:10:const toRegex = str => new RegExp(`^${str}$`); node-to-regex-range-5.0.1/test/test.js-11-const toRangeRegex = (min, max, options) => { ############################################## node-to-regex-range-5.0.1/test/test.js-52- if (inRange(minNum, maxNum, n)) { node-to-regex-range-5.0.1/test/test.js:53: assert(isMatch(num), `should match "${num}"`); node-to-regex-range-5.0.1/test/test.js-54- } else { node-to-regex-range-5.0.1/test/test.js:55: assert(!isMatch(num), `should not match "${num}"`); node-to-regex-range-5.0.1/test/test.js-56- } ############################################## node-to-regex-range-5.0.1/test/test.js-73- if (inRange(minNum, maxNum, n)) { node-to-regex-range-5.0.1/test/test.js:74: assert(isMatch(num), `should match "${num}"`); node-to-regex-range-5.0.1/test/test.js-75- } else { node-to-regex-range-5.0.1/test/test.js:76: assert(!isMatch(num), `should not match "${num}"`); node-to-regex-range-5.0.1/test/test.js-77- }