Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
chore: update biome
Martin Adámek02665b08c7fe
diff --git a/package.json b/package.jsonindex 0f5bc7d9a..887349aa1 100644--- a/package.json+++ b/package.json@@ -57,7 +57,7 @@"@apify/eslint-config-ts": "^0.4.0","@apify/log": "^2.4.0","@apify/tsconfig": "^0.1.0",- "@biomejs/biome": "^1.6.1",+ "@biomejs/biome": "^1.7.3","@commitlint/config-conventional": "^19.0.0","@playwright/browser-chromium": "1.44.0","@playwright/browser-firefox": "1.44.0",diff --git a/packages/browser-pool/src/utils.ts b/packages/browser-pool/src/utils.tsindex 45d699590..396c81e2c 100644--- a/packages/browser-pool/src/utils.ts+++ b/packages/browser-pool/src/utils.ts@@ -25,20 +25,20 @@ export type InferBrowserPluginArray<: // Else if the first value is a PuppeteerPluginFirstValue extends PuppeteerPlugin? // Add it to the result, and continue parsing- InferBrowserPluginArray<Rest, [...Result, PuppeteerPlugin]>+ InferBrowserPluginArray<Rest, [...Result, PuppeteerPlugin]>: // Return never as it isn't a valid type- never+ never: // If there's no more inputs to parseInput extends []? // Return the results- Result+ Result: // If the input is a general array of elements (not a tuple), infer it's values type- Input extends readonly (infer U)[]- ? // If the values are a union of the plugins- [U] extends [PuppeteerPlugin | PlaywrightPlugin]- ? // Return an array of the union- U[]- : // Return never as it isn't a valid type- never- : // Return the result- Result;+ Input extends readonly (infer U)[]+ ? // If the values are a union of the plugins+ [U] extends [PuppeteerPlugin | PlaywrightPlugin]+ ? // Return an array of the union+ U[]+ : // Return never as it isn't a valid type+ never+ : // Return the result+ Result;diff --git a/yarn.lock b/yarn.lockindex a0bfc97af..0e2912f92 100644--- a/yarn.lock+++ b/yarn.lock@@ -230,18 +230,18 @@ __metadata:languageName: nodelinkType: hard-"@biomejs/biome@npm:^1.6.1":- version: 1.6.1- resolution: "@biomejs/biome@npm:1.6.1"- dependencies:- "@biomejs/cli-darwin-arm64": "npm:1.6.1"- "@biomejs/cli-darwin-x64": "npm:1.6.1"- "@biomejs/cli-linux-arm64": "npm:1.6.1"- "@biomejs/cli-linux-arm64-musl": "npm:1.6.1"- "@biomejs/cli-linux-x64": "npm:1.6.1"- "@biomejs/cli-linux-x64-musl": "npm:1.6.1"- "@biomejs/cli-win32-arm64": "npm:1.6.1"- "@biomejs/cli-win32-x64": "npm:1.6.1"+"@biomejs/biome@npm:^1.7.3":+ version: 1.7.3+ resolution: "@biomejs/biome@npm:1.7.3"+ dependencies:+ "@biomejs/cli-darwin-arm64": "npm:1.7.3"+ "@biomejs/cli-darwin-x64": "npm:1.7.3"+ "@biomejs/cli-linux-arm64": "npm:1.7.3"+ "@biomejs/cli-linux-arm64-musl": "npm:1.7.3"+ "@biomejs/cli-linux-x64": "npm:1.7.3"+ "@biomejs/cli-linux-x64-musl": "npm:1.7.3"+ "@biomejs/cli-win32-arm64": "npm:1.7.3"+ "@biomejs/cli-win32-x64": "npm:1.7.3"dependenciesMeta:"@biomejs/cli-darwin-arm64":optional: true@@ -261,62 +261,62 @@ __metadata:optional: truebin:biome: bin/biome- checksum: 10c0/789580c9aa7e0661a643e82de85f15bcc4ef0c79a099204f234b3769cface5c604b137260a4a60767ab3a692bd7ac19e2de1fc75537ec14e7698f0b6a133cfef+ checksum: 10c0/05c95bb4b1fbf1b252cf2124f012f69a00ff5599ecac002b7e3004bfcd927e3d7b5f4935739096b5184653ec96b44ddcc36809d059682e5378bde20c836fb111languageName: nodelinkType: hard-"@biomejs/cli-darwin-arm64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-darwin-arm64@npm:1.6.1"+"@biomejs/cli-darwin-arm64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-darwin-arm64@npm:1.7.3"conditions: os=darwin & cpu=arm64languageName: nodelinkType: hard-"@biomejs/cli-darwin-x64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-darwin-x64@npm:1.6.1"+"@biomejs/cli-darwin-x64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-darwin-x64@npm:1.7.3"conditions: os=darwin & cpu=x64languageName: nodelinkType: hard-"@biomejs/cli-linux-arm64-musl@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-linux-arm64-musl@npm:1.6.1"+"@biomejs/cli-linux-arm64-musl@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-linux-arm64-musl@npm:1.7.3"conditions: os=linux & cpu=arm64 & libc=musllanguageName: nodelinkType: hard-"@biomejs/cli-linux-arm64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-linux-arm64@npm:1.6.1"+"@biomejs/cli-linux-arm64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-linux-arm64@npm:1.7.3"conditions: os=linux & cpu=arm64 & libc=glibclanguageName: nodelinkType: hard-"@biomejs/cli-linux-x64-musl@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-linux-x64-musl@npm:1.6.1"+"@biomejs/cli-linux-x64-musl@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-linux-x64-musl@npm:1.7.3"conditions: os=linux & cpu=x64 & libc=musllanguageName: nodelinkType: hard-"@biomejs/cli-linux-x64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-linux-x64@npm:1.6.1"+"@biomejs/cli-linux-x64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-linux-x64@npm:1.7.3"conditions: os=linux & cpu=x64 & libc=glibclanguageName: nodelinkType: hard-"@biomejs/cli-win32-arm64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-win32-arm64@npm:1.6.1"+"@biomejs/cli-win32-arm64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-win32-arm64@npm:1.7.3"conditions: os=win32 & cpu=arm64languageName: nodelinkType: hard-"@biomejs/cli-win32-x64@npm:1.6.1":- version: 1.6.1- resolution: "@biomejs/cli-win32-x64@npm:1.6.1"+"@biomejs/cli-win32-x64@npm:1.7.3":+ version: 1.7.3+ resolution: "@biomejs/cli-win32-x64@npm:1.7.3"conditions: os=win32 & cpu=x64languageName: nodelinkType: hard@@ -764,7 +764,7 @@ __metadata:"@apify/eslint-config-ts": "npm:^0.4.0""@apify/log": "npm:^2.4.0""@apify/tsconfig": "npm:^0.1.0"- "@biomejs/biome": "npm:^1.6.1"+ "@biomejs/biome": "npm:^1.7.3""@commitlint/config-conventional": "npm:^19.0.0""@playwright/browser-chromium": "npm:1.44.0""@playwright/browser-firefox": "npm:1.44.0"