Skip to content

[Snyk] Upgrade @vercel/og from 0.6.8 to 1.0.0 #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WomB0ComB0
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @vercel/og from 0.6.8 to 1.0.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

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

  • The recommended version was released 2 years ago.


Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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 @vercel/og from 0.6.8 to 1.0.0.

See this package in npm:
@vercel/og

See this project in Snyk:
https://app.snyk.io/org/womb0comb0/project/50c3f21a-4385-405f-99d6-387977cfff55?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

vercel bot commented Jun 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
portfolio ❌ Failed (Inspect) Jun 20, 2025 11:14pm

@WomB0ComB0
Copy link
Owner Author

WomB0ComB0 commented Jun 20, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

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.

Summary of Changes

Hello @WomB0ComB0, 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, aims to update the @vercel/og dependency to its latest major version. My analysis shows this is a direct dependency version bump in package.json. Given it's a major version update, it's crucial to verify compatibility and test for any regressions or breaking changes introduced by the new version.

Highlights

  • Dependency Upgrade: I've identified that this pull request upgrades the @vercel/og dependency from version ^0.6.3 to ^1.0.0 in package.json.
  • Potential Breaking Change: As indicated by Snyk and the major version bump, this upgrade to @vercel/og version 1.0.0 is a significant change and may introduce breaking changes. Thorough testing is recommended.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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 is currently in preview and 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 to provide feedback.

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, automatically generated by Snyk, upgrades @vercel/og from version ^0.6.3 to ^1.0.0. This is a major version update, which carries a risk of breaking changes. My review highlights the importance of thoroughly testing the Open Graph image generation functionality, as the code using this dependency is not included in the diff. I've pointed out specific potential issues to investigate, such as the move to ESM-only modules, possible API changes in ImageResponse, and differences in font handling.

@@ -51,7 +51,7 @@
"@trpc/react-query": "^10.45.2",
"@trpc/server": "^11.1.0",
"@vercel/analytics": "^1.3.1",
"@vercel/og": "^0.6.3",
"@vercel/og": "^1.0.0",

Choose a reason for hiding this comment

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

high

This is a major version upgrade for @vercel/og. While it's good to keep dependencies up to date, major versions can introduce breaking changes. The PR description already warns about this, but here are some specific things to look out for with this upgrade:

  • ESM Only: The underlying library satori became ESM-only in v1.0.0. Your project seems to be using ESM (next.config.mjs), but you should verify that any API routes using ImageResponse are compatible.
  • API Changes: The signature and options for ImageResponse might have changed. Please review the code where you use @vercel/og and test it thoroughly.
  • Font Loading: There might be changes in how fonts are loaded and passed to ImageResponse. Ensure your custom fonts are still working correctly.

Since the files using @vercel/og are not part of this PR, I can't check for specific issues. Please make sure to manually test your Open Graph image generation functionality before merging.

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