Skip to content

Conversation

@Dargon789
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade puppeteer-cluster from 0.23.0 to 0.24.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 2 years ago.

Release notes
Package name: puppeteer-cluster
  • 0.24.0 - 2024-03-17

    Note: Use a version older than 0.24.0 if you want to use a puppeteer version older than 22.0.0.

    Changed

    • Updated all dependencies to their latest versions
    • Added a missing timeout case when closing the browser
    • Removed package-lock.json as otherwise yarn complains (warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.).
    • Dropped support (in tests) for Node.js <=16 as puppeteer also support for these versions

    Fixed

    • Fixed breaking puppeteer changes introduced in version 22 (renamed createIncognitoBrowserContext to createBrowserContext)
  • 0.23.0 - 2022-01-23

    Changed

    • Updated dependencies which haven't been updated for more than one year
    • Moved from Travis to Github Actions
    • Remove the linter for now, but will probably add it back later after having a look at the pull requests.

    Fixed

    • Fixed bug #395 not using perBrowserOptions
from puppeteer-cluster GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • 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 upgrade PRs.

For more information:

Snyk has created this PR to upgrade puppeteer-cluster from 0.23.0 to 0.24.0.

See this package in npm:
puppeteer-cluster

See this project in Snyk:
https://app.snyk.io/org/apichanmittare/project/f2211921-2161-45bd-8fa7-81e0daf1e2fb?utm_source=github&utm_medium=referral&page=upgrade-pr
@snyk-io
Copy link

snyk-io bot commented Nov 11, 2025

⚠️ Snyk checks are incomplete.

Status Scanner Critical High Medium Low Total (0)
⚠️ Open Source Security 0 0 0 0 See details

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@gemini-code-assist
Copy link

Summary of Changes

Hello @Dargon789, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, automatically generated by Snyk, focuses on maintaining the project's health and security by upgrading the puppeteer-cluster library to its latest stable version, 0.24.0. This update is crucial for ensuring compatibility with newer versions of Puppeteer and incorporates a wide array of transitive dependency updates across the project's ecosystem, particularly within the ESLint and TypeScript tooling, to leverage the latest features, performance improvements, and security patches.

Highlights

  • puppeteer-cluster Upgrade: The core dependency puppeteer-cluster has been upgraded from version 0.23.0 to 0.24.0.
  • Puppeteer Compatibility Fix: Version 0.24.0 of puppeteer-cluster includes a fix for breaking changes introduced in Puppeteer version 22, specifically the renaming of createIncognitoBrowserContext to createBrowserContext.
  • Dependency Updates: Numerous other dependencies, including puppeteer, typescript, and various ESLint-related packages (@typescript-eslint/eslint-plugin, eslint, @eslint/eslintrc), have been updated to their latest versions.
  • Dependency Clean-up: Several outdated or redundant dependencies, such as @types/json-schema, functional-red-black-tree, regexpp, and v8-compile-cache, have been removed from the lock file.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request, initiated by Snyk to upgrade puppeteer-cluster, also includes several other significant dependency updates, such as major version bumps for typescript and @typescript-eslint/eslint-plugin. These major upgrades introduce considerable risks. I've identified a critical peer dependency conflict with @typescript-eslint/parser and a new, much stricter Node.js version requirement from @typescript-eslint/eslint-plugin. I've also highlighted the potential for breaking changes from the TypeScript v5 upgrade. Please review the detailed comments, as these issues could break your build and linting processes.

},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/eslint-plugin": "^8.45.0",

Choose a reason for hiding this comment

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

critical

This major upgrade of @typescript-eslint/eslint-plugin from v5 to v8 has two critical side-effects:

  1. Stricter Node.js requirement: v8 requires Node.js ^18.18.0 || ^20.9.0 || >=21.1.0. Please verify your environments support this.
  2. Peer dependency conflict: This plugin now requires @typescript-eslint/parser v8, but your package.json has v5. This will likely break your linting.

You should upgrade @typescript-eslint/parser to a compatible version (e.g., ^8.45.0) in package.json and update your lock file.

"typescript": "~4.7.4"
"puppeteer": "^24.23.0",
"puppeteer-cluster": "^0.24.0",
"typescript": "~5.9.3"

Choose a reason for hiding this comment

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

high

This PR upgrades TypeScript from v4 to v5. This is a major version upgrade that may introduce breaking changes. Please carefully test that your project still compiles and runs as expected. For a detailed list of what has changed, you can refer to the TypeScript 5.0 announcement blog post.

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.

3 participants