xploitscan-shared-rules 1.36.3 → 1.36.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2108,6 +2108,7 @@ var sqlInjection = {
2108
2108
  if (/\bPrisma\.sql\s*`/.test(lineText)) continue;
2109
2109
  if (/\bsql\s*`/.test(lineText) && !/\bsql\.raw\s*\(/.test(lineText)) continue;
2110
2110
  if (/\$queryRaw\s*\(\s*Prisma\.sql|\$executeRaw\s*\(\s*Prisma\.sql/.test(lineText)) continue;
2111
+ if (matches.some((x) => x.line === m.line)) continue;
2111
2112
  matches.push(m);
2112
2113
  }
2113
2114
  }