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: lock TS version to 5.2 in the templates due to a potential TS bug

Martin Adámek2a427269210d
diff --git a/packages/templates/templates/cheerio-ts/package.json b/packages/templates/templates/cheerio-ts/package.json
index a8793d192..110b3781b 100644
--- a/packages/templates/templates/cheerio-ts/package.json
+++ b/packages/templates/templates/cheerio-ts/package.json
@@ -9,7 +9,7 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0",
+ "typescript": "~5.2.2",
"@types/node": "^20.0.0"
},
"scripts": {
diff --git a/packages/templates/templates/getting-started-ts/package.json b/packages/templates/templates/getting-started-ts/package.json
index 2446bf379..d3495bd51 100644
--- a/packages/templates/templates/getting-started-ts/package.json
+++ b/packages/templates/templates/getting-started-ts/package.json
@@ -10,7 +10,7 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0",
+ "typescript": "~5.2.2",
"@types/node": "^20.0.0"
},
"scripts": {
diff --git a/packages/templates/templates/playwright-ts/package.json b/packages/templates/templates/playwright-ts/package.json
index 7d3f739ed..3734a04d3 100644
--- a/packages/templates/templates/playwright-ts/package.json
+++ b/packages/templates/templates/playwright-ts/package.json
@@ -10,7 +10,7 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0",
+ "typescript": "~5.2.2",
"@types/node": "^20.0.0"
},
"scripts": {
diff --git a/packages/templates/templates/puppeteer-ts/package.json b/packages/templates/templates/puppeteer-ts/package.json
index db33f9c49..000d91bff 100644
--- a/packages/templates/templates/puppeteer-ts/package.json
+++ b/packages/templates/templates/puppeteer-ts/package.json
@@ -10,7 +10,7 @@
"devDependencies": {
"@apify/tsconfig": "^0.1.0",
"ts-node": "^10.8.0",
- "typescript": "^5.0.0",
+ "typescript": "~5.2.2",
"@types/node": "^20.0.0"
},
"scripts": {