Fix ESLint errors

This commit is contained in:
gpt-engineer-app[bot]
2025-10-29 23:27:37 +00:00
parent 017879ba21
commit 41f4e3b920
16 changed files with 80 additions and 184 deletions

View File

@@ -66,7 +66,7 @@ export function analyzeHeuristics(userAgent: string, headers: Record<string, str
}
// Version number patterns typical of bots (e.g., "v1.0", "version/2.3")
if (userAgent.match(/\b(v|version)[\/\s]?\d+\.\d+/i)) {
if (userAgent.match(/\b(v|version)[/\s]?\d+\.\d+/i)) {
signals.push('version-pattern');
confidence += 10;
}