Skip to content

Commit 7aa61f5

Browse files
committed
chore: bump & lint
1 parent 5a05a5d commit 7aa61f5

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"@iconify-json/logos": "^1.2.4",
7979
"@iconify-json/ri": "^1.2.5",
8080
"@iconify-json/tabler": "^1.2.19",
81-
"@nuxt/content": "^3.6.2",
81+
"@nuxt/content": "^3.6.3",
8282
"@nuxt/devtools-ui-kit": "^2.6.2",
8383
"@nuxt/module-builder": "^1.0.1",
8484
"@nuxt/test-utils": "^3.19.2",

pnpm-lock.yaml

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/util.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -338,13 +338,13 @@ export function isBotFromHeaders(
338338
headers: Record<string, string | string[] | undefined>,
339339
patternMap?: Map<string, PatternMapValue>,
340340
): {
341-
isBot: boolean
342-
data?: {
343-
botName: BotName
344-
botCategory: BotCategory
345-
trusted: boolean
346-
}
347-
} {
341+
isBot: boolean
342+
data?: {
343+
botName: BotName
344+
botCategory: BotCategory
345+
trusted: boolean
346+
}
347+
} {
348348
const userAgent = Array.isArray(headers['user-agent']) ? headers['user-agent'][0] : headers['user-agent']
349349

350350
// Only detect known bots, not suspicious patterns
@@ -432,4 +432,3 @@ export function getBotInfo(
432432
method: detection.detectionMethod,
433433
}
434434
}
435-

0 commit comments

Comments
 (0)