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: update TS to v5+ in e2e tests

Martin Adámek460c289fa83e
diff --git a/test/e2e/cheerio-default-ts/actor/package.json b/test/e2e/cheerio-default-ts/actor/package.json
index f7ce3ad98..d0dfc7875 100644
--- a/test/e2e/cheerio-default-ts/actor/package.json
+++ b/test/e2e/cheerio-default-ts/actor/package.json
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
- "typescript": "4.7.4"
+ "typescript": "^5.0.0"
},
"scripts": {
"start": "tsc && node main.js",
diff --git a/test/e2e/jsdom-default-ts/actor/package.json b/test/e2e/jsdom-default-ts/actor/package.json
index ddb52a880..cefb31968 100644
--- a/test/e2e/jsdom-default-ts/actor/package.json
+++ b/test/e2e/jsdom-default-ts/actor/package.json
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
- "typescript": "4.7.4"
+ "typescript": "^5.0.0"
},
"scripts": {
"start": "tsc && node main.js",
diff --git a/test/e2e/jsdom-react-ts/actor/package.json b/test/e2e/jsdom-react-ts/actor/package.json
index b5c2b1e06..b0479560e 100644
--- a/test/e2e/jsdom-react-ts/actor/package.json
+++ b/test/e2e/jsdom-react-ts/actor/package.json
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
- "typescript": "4.7.4"
+ "typescript": "^5.0.0"
},
"scripts": {
"start": "tsc && node main.js",
diff --git a/test/e2e/linkedom-default-ts/actor/package.json b/test/e2e/linkedom-default-ts/actor/package.json
index 3381e4d37..04796ca89 100644
--- a/test/e2e/linkedom-default-ts/actor/package.json
+++ b/test/e2e/linkedom-default-ts/actor/package.json
@@ -23,7 +23,7 @@
},
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
- "typescript": "4.7.4"
+ "typescript": "^5.0.0"
},
"scripts": {
"start": "tsc && node main.js",
diff --git a/yarn.lock b/yarn.lock
index 822f5d6e3..0be1b2a33 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -885,7 +885,7 @@ __metadata:
languageName: unknown
linkType: soft
-"@crawlee/linkedom@workspace:packages/linkedom-crawler":
+"@crawlee/linkedom@^3.3.3, @crawlee/linkedom@workspace:packages/linkedom-crawler":
version: 0.0.0-use.local
resolution: "@crawlee/linkedom@workspace:packages/linkedom-crawler"
dependencies:
@@ -4594,6 +4594,7 @@ __metadata:
"@crawlee/core": ^3.3.3
"@crawlee/http": ^3.3.3
"@crawlee/jsdom": ^3.3.3
+ "@crawlee/linkedom": ^3.3.3
"@crawlee/playwright": ^3.3.3
"@crawlee/puppeteer": ^3.3.3
"@crawlee/utils": ^3.3.3