diff --git a/packages/browser/src/pool.ts b/packages/browser/src/pool.ts index 46aac8a..3a6cce2 100644 --- a/packages/browser/src/pool.ts +++ b/packages/browser/src/pool.ts @@ -6,8 +6,9 @@ import { FINGERPRINT_POOL } from "./fingerprint" // The pool accepts any structurally-compatible browser (Playwright OR patchright) — // browsers exported from one aren't structurally assignable to the other in their // own TypeScript types, so `any` is the pragmatic escape hatch here. +// biome-ignore lint/suspicious/noExplicitAny: see comment above type Browser = any -// biome-ignore lint/suspicious/noExplicitAny: see comment on Browser above +// biome-ignore lint/suspicious/noExplicitAny: see comment above type BrowserContext = any export class PoolExhaustedError extends Error { diff --git a/packages/tiers/src/tier3.ts b/packages/tiers/src/tier3.ts index b0826c4..c45ae2d 100644 --- a/packages/tiers/src/tier3.ts +++ b/packages/tiers/src/tier3.ts @@ -128,7 +128,8 @@ export async function runTier3( // instead of hitting the isHardFail regex (which only matches Chromium ERR_* strings), // so we still need to catch the resulting about:neterror page here. if (isBrowserErrorPage(html)) { - const errMsg = gotoErr instanceof Error ? gotoErr.message.split("\n")[0] : "browser network error (about:neterror)" + const errMsg = + gotoErr instanceof Error ? gotoErr.message.split("\n")[0] : "browser network error (about:neterror)" return { tier: 3, status: "error", durationMs: Date.now() - start, reason: errMsg } }