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.cjs CHANGED
@@ -2418,6 +2418,7 @@ var sqlInjection = {
2418
2418
  if (/\bPrisma\.sql\s*`/.test(lineText)) continue;
2419
2419
  if (/\bsql\s*`/.test(lineText) && !/\bsql\.raw\s*\(/.test(lineText)) continue;
2420
2420
  if (/\$queryRaw\s*\(\s*Prisma\.sql|\$executeRaw\s*\(\s*Prisma\.sql/.test(lineText)) continue;
2421
+ if (matches.some((x) => x.line === m.line)) continue;
2421
2422
  matches.push(m);
2422
2423
  }
2423
2424
  }