Skip to content

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.

chore(deps): upgrade eslint to v8

Martin Adámek0e051967966c
diff --git a/package.json b/package.json
index 132034c4c..ee470d413 100644
--- a/package.json
+++ b/package.json
@@ -85,7 +85,7 @@
}
},
"devDependencies": {
- "@apify/eslint-config": "^0.1.4",
+ "@apify/eslint-config": "^0.2.1",
"@apify/tsconfig": "^0.1.0",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.14.8",
@@ -110,7 +110,7 @@
"basic-auth-parser": "^0.0.2",
"body-parser": "^1.19.0",
"csv-parse": "^4.16.0",
- "eslint": "^7.31.0",
+ "eslint": "^8.2.0",
"express": "^4.17.1",
"fpcollect": "^1.0.4",
"fpscanner": "^0.1.5",
diff --git a/src/utils.js b/src/utils.js
index cc53bcf08..8c3d0fec8 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -342,7 +342,7 @@ export const getMemoryInfo = async () => {
* @ignore
*/
export const getFirstKey = (dict) => {
- for (const key in dict) { // eslint-disable-line guard-for-in, no-restricted-syntax
+ for (const key in dict) { // eslint-disable-line
return key;
}
};