=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-85- pre({node}) { node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js:86: traverseObjectsVisited.push(`${node.type}_pre`); node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-87- expect(node.type).toBe('RegExp'); ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-89- post({node}) { node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js:90: traverseObjectsVisited.push(`${node.type}_post`); node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-91- expect(node.type).toBe('RegExp'); ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-96- pre({node}) { node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js:97: traverseObjectsVisited.push(`${node.type}_pre`); node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-98- expect(node.type).toBe('Char'); ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-101- post({node}) { node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js:102: traverseObjectsVisited.push(`${node.type}_post`); node-to-regex-3.0.2+~cs2.2.22/regexptree/__tests__/integration-test.js-103- expect(node.type).toBe('Char'); ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js-122- return first && second node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js:123: ? `([${first}]|${second})` node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js-124- : first node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js:125: ? `[${first}]` node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js-126- : second node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js:127: ? `(${second})` node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/generate-unicode-id-parts.js-128- : ''; ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/build.js-16- node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/build.js:17:console.info(colors.bold(`Building${watchMsg}...\n`)); node-to-regex-3.0.2+~cs2.2.22/regexptree/scripts/build.js-18- ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/index.js-31- throw new Error( node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/index.js:32: `Unknown compat-transform: ${transformName}. ` + node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/index.js-33- `Available transforms are: ` + ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/__tests__/compat-transpiler-runtime-test.js-15- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/__tests__/compat-transpiler-runtime-test.js:16: const originalRe = `/${originalSource}/${originalFlags}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/__tests__/compat-transpiler-runtime-test.js-17- ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/index.js-71- if (!this._toStringResult) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/index.js:72: this._toStringResult = `/${this.source}/${this.flags}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/compat-transpiler/runtime/index.js-73- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-19- RegExp(node) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:20: return `/${gen(node.body)}/${node.flags}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-21- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-27- Disjunction(node) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:28: return `${gen(node.left)}|${gen(node.right)}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-29- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-36- if (node.name) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:37: return `(?<${node.nameRaw || node.name}>${expression})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-38- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-39- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:40: return `(${expression})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-41- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-42- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:43: return `(?:${expression})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-44- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-48- case 'number': node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:49: return `\\${node.reference}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-50- case 'name': node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:51: return `\\k<${node.referenceRaw || node.reference}>`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-52- default: node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:53: throw new TypeError(`Unknown Backreference kind: ${node.kind}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-54- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-68- if (node.negative) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:69: return `(?!${assertion})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-70- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-71- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:72: return `(?=${assertion})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-73- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-78- if (node.negative) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:79: return `(?<!${assertion})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-80- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-81- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:82: return `(?<=${assertion})`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-83- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-85- default: node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:86: throw new TypeError(`Unknown Assertion kind: ${node.kind}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-87- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-93- if (node.negative) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:94: return `[^${expressions}]`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-95- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-96- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:97: return `[${expressions}]`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-98- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-100- ClassRange(node) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:101: return `${gen(node.from)}-${gen(node.to)}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-102- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-104- Repetition(node) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:105: return `${gen(node.expression)}${gen(node.quantifier)}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-106- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-120- if (node.from === node.to) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:121: quantifier = `{${node.from}}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-122- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-124- else if (!node.to) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:125: quantifier = `{${node.from},}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-126- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-128- else { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:129: quantifier = `{${node.from},${node.to}}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-130- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-132- default: node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:133: throw new TypeError(`Unknown Quantifier kind: ${node.kind}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-134- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-135- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:136: return `${quantifier}${greedy}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-137- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-144- if (node.escaped) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:145: return `\\${value}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-146- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-158- default: node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:159: throw new TypeError(`Unknown Char kind: ${node.kind}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-160- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-167- if (!node.shorthand && !node.binary) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:168: namePart = `${node.name}=`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-169- } else { ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-172- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js:173: return `\\${escapeChar}{${namePart}${node.value}}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/generator/index.js-174- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-16- if (node && !generator[node.type]) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js:17: throw new Error(`${node.type} is not supported in NFA/DFA interpreter.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-18- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-52- default: node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js:53: throw new Error(`Unknown repeatition: ${node.quantifier.kind}.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-54- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-77- if (regexp instanceof RegExp) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js:78: regexp = `${regexp}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/nfa/nfa-from-regexp.js-79- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/special-symbols.js-15- */ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/special-symbols.js:16:const EPSILON_CLOSURE = `${EPSILON}*`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/interpreter/finite-automaton/special-symbols.js-17- ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/README.md-47- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/README.md:48:console.log(`${inefficient} -> ${optimized1} === ${optimized2}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/README.md-49-``` ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js-41- if (regexp instanceof RegExp) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js:42: regexp = `${regexp}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js-43- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js-61- throw new Error( node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js:62: `Unknown optimization-transform: ${transformName}. ` + node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/index.js-63- `Available transforms are: ` + ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js-21- } node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js:22: node.value = `\\u{${node.codePoint.toString(16)}}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/optimizer/transforms/char-surrogate-pair-to-single-unicode-transform.js-23- delete node.isSurrogatePair; ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-basic-test.js-851- for (const letter of azAZRange) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-basic-test.js:852: const parsedChar = parser.parse(`/\\${letter}/`).body; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-basic-test.js-853- if (metaChars.has(letter)) { ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-test262-test.js-28-function ut(message) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-test262-test.js:29: return `Unexpected token: ${message}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-test262-test.js-30-} ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-101- for (const value in GENERAL_CATEGORY_VALUE_TO_ALIASES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:102: expect(parser.parse(`/\\p{General_Category=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-103- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-112- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:113: expect(parser.parse(`/\\p{gc=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-114- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-125- for (const value in GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:126: expect(parser.parse(`/\\p{General_Category=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-127- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-136- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:137: expect(parser.parse(`/\\p{gc=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-138- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-151- for (const value in SCRIPT_VALUE_TO_ALIASES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:152: expect(parser.parse(`/\\p{Script=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-153- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-162- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:163: expect(parser.parse(`/\\p{sc=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-164- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-175- for (const value in SCRIPT_VALUE_ALIASES_TO_VALUE) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:176: expect(parser.parse(`/\\p{Script=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-177- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-186- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:187: expect(parser.parse(`/\\p{sc=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-188- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-201- for (const value in SCRIPT_VALUE_TO_ALIASES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:202: expect(parser.parse(`/\\p{Script_Extensions=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-203- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-212- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:213: expect(parser.parse(`/\\p{scx=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-214- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-225- for (const value in SCRIPT_VALUE_ALIASES_TO_VALUE) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:226: expect(parser.parse(`/\\p{Script_Extensions=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-227- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-236- node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:237: expect(parser.parse(`/\\p{scx=${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-238- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-251- for (const value in GENERAL_CATEGORY_VALUE_TO_ALIASES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:252: expect(parser.parse(`/\\p{${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-253- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-264- for (const value in GENERAL_CATEGORY_VALUE_ALIASES_TO_VALUES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:265: expect(parser.parse(`/\\p{${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-266- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-279- for (const value in BINARY_PROP_NAMES_TO_ALIASES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:280: expect(parser.parse(`/\\p{${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-281- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-292- for (const value in BINARY_ALIASES_TO_PROP_NAMES) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js:293: expect(parser.parse(`/\\p{${value}}/u`).body).toEqual({ node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/__tests__/parser-unicode-properties-test.js-294- type: 'UnicodeProperty', ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-233- if (namedGroups.hasOwnProperty(name)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:234: throw new SyntaxError(`Duplicate of the named group "${name}".`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-235- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-377- if (s === 'u' || s === 'xu' || s === 'u_class') { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:378: throw new SyntaxError(`invalid Unicode escape ${yytext}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-379- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-543- throw new SyntaxError( node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:544: `${lineData}Unexpected token: "${symbol}" ` + node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:545: `at ${line}:${column}.` node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-546- ); ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-901- if (Number.isFinite(range[1]) && range[1] < range[0]) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:902: throw new SyntaxError(`Numbers out of order in ${text} quantifier`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-903- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-912- if (from.kind === 'control' || to.kind === 'control' || (!isNaN(from.codePoint) && !isNaN(to.codePoint) && from.codePoint > to.codePoint)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:913: throw new SyntaxError(`Range ${from.value}-${to.value} out of order in character class`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-914- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-945- if (!unicodeProperties.isValidName(name)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:946: throw new SyntaxError(`Invalid unicode property name: ${name}.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-947- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-951- if (!unicodeProperties.isValidValue(name, value)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:952: throw new SyntaxError(`Invalid ${name} unicode property value: ${value}.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-953- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1001- if (codePoint > 0x10ffff) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:1002: throw new SyntaxError(`Bad character escape sequence: ${value}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1003- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1076- if (seen.has(flag) || !validFlags.includes(flag)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:1077: throw new SyntaxError(`Invalid flags: ${flags}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1078- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1118- if (isUnicodeName && !isUnicodeState) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js:1119: throw new SyntaxError(`invalid group Unicode name "${name}", use \`u\` flag.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/generated/regexp-tree.js-1120- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/index.js-21-regexpTreeParser.parse = function(regexp, options) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/index.js:22: return generatedParseFn(`${regexp}`, options); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/index.js-23-}; ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-131- if (s === 'u' || s === 'xu' || s === 'u_class') { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:132: throw new SyntaxError(`invalid Unicode escape ${yytext}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-133- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-240- if (Number.isFinite(range[1]) && range[1] < range[0]) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:241: throw new SyntaxError(`Numbers out of order in ${text} quantifier`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-242- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-251- if (from.kind === 'control' || to.kind === 'control' || (!isNaN(from.codePoint) && !isNaN(to.codePoint) && from.codePoint > to.codePoint)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:252: throw new SyntaxError(`Range ${from.value}-${to.value} out of order in character class`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-253- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-284- if (!unicodeProperties.isValidName(name)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:285: throw new SyntaxError(`Invalid unicode property name: ${name}.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-286- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-290- if (!unicodeProperties.isValidValue(name, value)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:291: throw new SyntaxError(`Invalid ${name} unicode property value: ${value}.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-292- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-340- if (codePoint > 0x10ffff) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:341: throw new SyntaxError(`Bad character escape sequence: ${value}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-342- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-415- if (seen.has(flag) || !validFlags.includes(flag)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:416: throw new SyntaxError(`Invalid flags: ${flags}`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-417- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-457- if (isUnicodeName && !isUnicodeState) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:458: throw new SyntaxError(`invalid group Unicode name "${name}", use \`u\` flag.`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-459- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-917- if (namedGroups.hasOwnProperty(name)) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf:918: throw new SyntaxError(`Duplicate of the named group "${name}".`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/parser/regexp.bnf-919- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/regexp-tree.js-53- parse(regexp, options) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/regexp-tree.js:54: return parser.parse(`${regexp}`, options); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/regexp-tree.js-55- }, ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/__tests__/transform-basic-test.js-10-const defaultRe = /a{1,}/i; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/__tests__/transform-basic-test.js:11:const defaultReString = `${defaultRe}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/__tests__/transform-basic-test.js-12-const defaultAst = parser.parse(defaultReString, { ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/index.js-104- if (regexp instanceof RegExp) { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/index.js:105: regexp = `${regexp}`; node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/index.js-106- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/utils.js-16- if (node.type !== 'Disjunction') { node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/utils.js:17: throw new TypeError(`Expected "Disjunction" node, got "${node.type}"`); node-to-regex-3.0.2+~cs2.2.22/regexptree/src/transform/utils.js-18- } ############################################## node-to-regex-3.0.2+~cs2.2.22/regexptree/src/traverse/node-path.js-41- throw new Error( node-to-regex-3.0.2+~cs2.2.22/regexptree/src/traverse/node-path.js:42: `Node of type ${this.node.type} doesn't have "${property}" collection.` node-to-regex-3.0.2+~cs2.2.22/regexptree/src/traverse/node-path.js-43- ); ############################################## node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js-10-if (process.argv.length != 3) { node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js:11: console.error(`Usage: ${process.argv[1]} pattern.json`); node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js-12- process.exit(1); ############################################## node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js-34-// Emit. node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js:35:console.error(`Pattern /${pattern.pattern}/: canAnalyze ${pattern.canAnalyze} isSafe ${pattern.isSafe}`); node-to-regex-3.0.2+~cs2.2.22/saferegex/bin/cli.js-36-console.log(JSON.stringify(pattern)); ############################################## node-to-regex-3.0.2+~cs2.2.22/.pc/fix-modules-path.diff/regexptree/scripts/build.js-16- node-to-regex-3.0.2+~cs2.2.22/.pc/fix-modules-path.diff/regexptree/scripts/build.js:17:console.info(colors.bold(`Building${watchMsg}...\n`)); node-to-regex-3.0.2+~cs2.2.22/.pc/fix-modules-path.diff/regexptree/scripts/build.js-18-