Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"express": "^4.17.2",
"express-healthcheck": "^0.1.0",
"puppeteer": "^5.5.0",
"puppeteer-cluster": "^0.23.0",
"puppeteer-cluster": "^0.25.0",
Comment on lines 6 to +7

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This upgrade to puppeteer-cluster@0.25.0 is incompatible with the puppeteer version (^5.5.0) currently in use. As stated in the release notes and its peerDependencies, puppeteer-cluster@0.25.0 requires puppeteer@>=22.0.0.

To resolve this incompatibility, the puppeteer dependency must also be upgraded.

Important Note: Upgrading puppeteer from version 5 to a much later version will require code changes due to breaking API changes. For example, the private API page._client used in server.js:217 is no longer available in recent puppeteer versions and should be replaced with the public page.cookies() method. Please carefully review the puppeteer changelogs for other breaking changes and update your code accordingly.

Suggested change
"puppeteer": "^5.5.0",
"puppeteer-cluster": "^0.23.0",
"puppeteer-cluster": "^0.25.0",
"puppeteer": "^24.0.0",
"puppeteer-cluster": "^0.25.0",

Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgrade to puppeteer-cluster 0.25.0 is incompatible with the current puppeteer version. According to the release notes, puppeteer-cluster 0.25.0 requires puppeteer version 24.0.0 or higher, but this project is using puppeteer version 5.5.0. This version mismatch will likely cause runtime errors and API incompatibilities. You need to either upgrade puppeteer to version 24.0.0 or higher, or use puppeteer-cluster version 0.23.0.

Suggested change
"puppeteer-cluster": "^0.25.0",
"puppeteer-cluster": "^0.23.0",

Copilot uses AI. Check for mistakes.
"random-user-agent": "^1.0.0"
}
}
Loading