Skip to content

[Snyk] Security upgrade puppeteer from 24.4.0 to 25.0.2#90

Open
peterj wants to merge 1 commit into
mainfrom
snyk-fix-8cad5844b65f618dfb82160dd2987821
Open

[Snyk] Security upgrade puppeteer from 24.4.0 to 25.0.2#90
peterj wants to merge 1 commit into
mainfrom
snyk-fix-8cad5844b65f618dfb82160dd2987821

Conversation

@peterj

@peterj peterj commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Directory Traversal
SNYK-JS-EXTRACTZIP-17660777
  716  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal

@peterj

peterj commented Jun 28, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: High

The upgrade from Puppeteer v24 to v25 is a major version with significant breaking changes that require developer action.

Key Breaking Changes:

  • ESM Only: The Puppeteer package is now ESM only. You must update your project to use import statements instead of require().
  • Node.js Version: The minimum required Node.js version has been increased to v22. Projects running on older Node.js versions must upgrade their environment.
  • API Removals: Several deprecated methods have been removed, including Puppeteer.product, Browser.isConnected(), and MouseOptions.clickCount.
  • Asynchronous Methods: The executablePath() and defaultArgs() methods now return a Promise and must be awaited.

Recommendation:
Before merging this upgrade, you must refactor your code to use ESM import syntax and ensure your environment uses Node.js v22 or newer. Review your code for usage of the removed APIs and update any calls to executablePath() or defaultArgs() to be asynchronous.

Source: Puppeteer v25.0.0 Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants