=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-css-what-3.2.1/readme.md-41-| `attribute` | `name`, `action`, `value`, `ignoreCase` | `[attr^=val]` | `{ type: 'attribute', name: 'attr', action: 'start', value: 'val', ignoreCase: false }` | node-css-what-3.2.1/readme.md:42:| `attribute` | `name`, `action`, `value`, `ignoreCase` | `[attr$=val]` | `{ type: 'attribute', name: 'attr', action: 'end', value: 'val', ignoreCase: false }` | node-css-what-3.2.1/readme.md-43-| `child` | - | `>` | `{ type: 'child' }` | ############################################## node-css-what-3.2.1/src/parse.spec.ts-13- const out = JSON.parse( node-css-what-3.2.1/src/parse.spec.ts:14: readFileSync(`${__dirname}/__fixtures__/out.json`, "utf8") node-css-what-3.2.1/src/parse.spec.ts-15- ); ############################################## node-css-what-3.2.1/src/parse.ts-132- if (selector !== "") { node-css-what-3.2.1/src/parse.ts:133: throw new Error(`Unmatched selector: ${selector}`); node-css-what-3.2.1/src/parse.ts-134- } ############################################## node-css-what-3.2.1/src/parse.ts-150- if (!match) { node-css-what-3.2.1/src/parse.ts:151: throw new Error(`Expected name, found ${selector}`); node-css-what-3.2.1/src/parse.ts-152- } ############################################## node-css-what-3.2.1/src/parse.ts-217- throw new Error( node-css-what-3.2.1/src/parse.ts:218: `Malformed attribute selector: ${selector}` node-css-what-3.2.1/src/parse.ts-219- ); ############################################## node-css-what-3.2.1/src/parse.ts-266- if (selector.charAt(0) !== quot) { node-css-what-3.2.1/src/parse.ts:267: throw new Error(`Unmatched quotes in :${name}`); node-css-what-3.2.1/src/parse.ts-268- } else { ############################################## node-css-what-3.2.1/src/parse.ts-274- throw new Error( node-css-what-3.2.1/src/parse.ts:275: `Missing closing parenthesis in :${name} (${selector})` node-css-what-3.2.1/src/parse.ts-276- ); ############################################## node-css-what-3.2.1/src/stringify.ts-33- if (token.type === "tag") return escapeName(token.name); node-css-what-3.2.1/src/stringify.ts:34: if (token.type === "pseudo-element") return `::${escapeName(token.name)}`; node-css-what-3.2.1/src/stringify.ts-35- ############################################## node-css-what-3.2.1/src/stringify.ts-37- if (token.action === "exists") { node-css-what-3.2.1/src/stringify.ts:38: return `[${escapeName(token.name)}]`; node-css-what-3.2.1/src/stringify.ts-39- } ############################################## node-css-what-3.2.1/src/stringify.ts-44- ) { node-css-what-3.2.1/src/stringify.ts:45: return `#${escapeName(token.value)}`; node-css-what-3.2.1/src/stringify.ts-46- } ############################################## node-css-what-3.2.1/src/stringify.ts-51- ) { node-css-what-3.2.1/src/stringify.ts:52: return `.${escapeName(token.value)}`; node-css-what-3.2.1/src/stringify.ts-53- } ############################################## node-css-what-3.2.1/src/stringify.ts-58- const ignoreCase = token.ignoreCase ? "i" : ""; node-css-what-3.2.1/src/stringify.ts:59: return `[${atributeName}${action}='${value}'${ignoreCase}]`; node-css-what-3.2.1/src/stringify.ts-60- } ############################################## node-css-what-3.2.1/src/stringify.ts-62- if (token.type === "pseudo") { node-css-what-3.2.1/src/stringify.ts:63: if (token.data === null) return `:${escapeName(token.name)}`; node-css-what-3.2.1/src/stringify.ts-64- if (typeof token.data === "string") { node-css-what-3.2.1/src/stringify.ts:65: return `:${escapeName(token.name)}(${token.data})`; node-css-what-3.2.1/src/stringify.ts-66- } node-css-what-3.2.1/src/stringify.ts:67: return `:${escapeName(token.name)}(${stringify(token.data)})`; node-css-what-3.2.1/src/stringify.ts-68- }