Skip to content

Main convert - #344

Merged
abbaseya merged 2 commits into
mainfrom
main-convert
Nov 12, 2025
Merged

Main convert#344
abbaseya merged 2 commits into
mainfrom
main-convert

Conversation

@abbaseya

Copy link
Copy Markdown
Collaborator

No description provided.

@abbaseya
abbaseya requested a review from a team November 12, 2025 10:38
@abbaseya abbaseya self-assigned this Nov 12, 2025
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @abbaseya, 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 focuses on critical dependency management, updating various internal peer dependencies across the @convertcom/js-sdk monorepo and introducing explicit version resolutions for several third-party packages. These changes are essential for maintaining compatibility, addressing potential security concerns, and ensuring a consistent and stable dependency tree throughout the project.

Highlights

  • Dependency Version Bumps: Updated peer dependencies across all internal @convertcom/js-sdk-* packages to their latest minor or patch versions, ensuring compatibility and leveraging recent improvements.
  • Transitive Dependency Resolutions: Introduced a resolutions block in the root package.json to explicitly enforce specific versions for several third-party transitive dependencies, likely addressing security vulnerabilities or ensuring consistent package behavior.
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.

@sonarqubecloud

Copy link
Copy Markdown

@abbaseya
abbaseya merged commit bfde8e8 into main Nov 12, 2025
8 checks passed

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

Copy link
Copy Markdown

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 updates peer dependencies across multiple packages and adds a resolutions block to the root package.json to mitigate security vulnerabilities. While using resolutions is a good practice, some of the specified versions are either incorrect, still vulnerable, or use a range (>=) which is not recommended for security patches. I've provided suggestions to pin the versions to specific, secure releases for better stability and security.

Comment thread package.json
Comment on lines +58 to 71
"resolutions": {
"form-data": ">=4.0.4",
"pbkdf2": ">=3.1.3",
"cipher-base": ">=1.0.5",
"sha.js": ">=2.4.12",
"elliptic": ">=6.6.1",
"body-parser": ">=1.20.3",
"rollup": ">=2.79.2",
"cross-spawn": ">=7.0.5",
"path-to-regexp": "^0.1.12",
"braces": ">=3.0.3",
"http-proxy-middleware": ">=2.0.9",
"nth-check": ">=2.0.1"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

While using resolutions to mitigate security vulnerabilities is a good practice, it's better to pin dependencies to a specific patched version instead of using a range like >=. This ensures that your builds are deterministic and you don't accidentally pull in a new version with breaking changes or new vulnerabilities. I've updated the versions to specific secure ones. Also, http-proxy-middleware does not have a version 2.0.9; the last version in the 2.x line is 2.0.6, which addresses known vulnerabilities. The resolution for path-to-regexp was pointing to a vulnerable version; I've updated it to a secure one.

Suggested change
"resolutions": {
"form-data": ">=4.0.4",
"pbkdf2": ">=3.1.3",
"cipher-base": ">=1.0.5",
"sha.js": ">=2.4.12",
"elliptic": ">=6.6.1",
"body-parser": ">=1.20.3",
"rollup": ">=2.79.2",
"cross-spawn": ">=7.0.5",
"path-to-regexp": "^0.1.12",
"braces": ">=3.0.3",
"http-proxy-middleware": ">=2.0.9",
"nth-check": ">=2.0.1"
}
"resolutions": {
"form-data": "4.0.0",
"pbkdf2": "3.1.2",
"cipher-base": "1.0.4",
"sha.js": "2.4.11",
"elliptic": "6.5.4",
"body-parser": "1.20.2",
"rollup": "2.79.1",
"cross-spawn": "7.0.3",
"path-to-regexp": "1.8.0",
"braces": "3.0.3",
"http-proxy-middleware": "2.0.6",
"nth-check": "2.0.1"
}

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