-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Security upgrade @supabase/supabase-js from 2.49.4 to 2.50.0 #13
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
base: main
Are you sure you want to change the base?
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-SUPABASEAUTHJS-10255365
|
|
|
Important Review skippedIgnore keyword(s) in the title. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary of ChangesHello @KB01111, 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, updates the Highlights
Using Gemini Code AssistThe 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
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 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
|
|
🔒 Entelligence AI Vulnerability Scanner ✅ No security vulnerabilities found! Your code passed our comprehensive security analysis. |
WalkthroughThis PR updates the Supabase JavaScript client library in the frontend application from version 2.49.4 to 2.50.0. This minor version bump likely includes bug fixes, performance improvements, or small feature enhancements. The change represents routine dependency maintenance to ensure the application uses current and supported library versions. Changes
Note for WindsurfPlease change the default marketplace provider to the following in the windsurf settings:Marketplace Extension Gallery Service URL: https://marketplace.visualstudio.com/_apis/public/gallery Marketplace Gallery Item URL: https://marketplace.visualstudio.com/items Entelligence.ai can learn from your feedback. Simply add 👍 / 👎 emojis to teach it your preferences. More shortcuts belowEmoji Descriptions:
Interact with the Bot:
Also you can trigger various commands with the bot by doing The current supported commands are
More commands to be added soon. |
|
LGTM 👍 |
There was a problem hiding this 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 upgrades @supabase/supabase-js from version 2.49.4 to 2.50.0 to address a medium-severity security vulnerability. While updating the dependency in package.json is the correct first step, this pull request is incomplete because it omits the necessary update to the pnpm-lock.yaml file. This omission is critical as it can cause build failures in CI/CD environments that enforce a frozen lockfile, or lead to inconsistent dependency resolution across different environments. To complete this security fix, the lockfile must be updated and included in this pull request.
| "@radix-ui/react-tooltip": "^1.1.8", | ||
| "@sentry/nextjs": "^9.14.0", | ||
| "@supabase/supabase-js": "^2.49.4", | ||
| "@supabase/supabase-js": "^2.50.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While upgrading @supabase/supabase-js is correct, the pnpm-lock.yaml file has not been updated to reflect this change. This is a critical issue because it will cause builds to fail in environments that use a frozen lockfile (e.g., pnpm install --frozen-lockfile), as package.json and pnpm-lock.yaml will be out of sync. Please run pnpm install to generate the updated lockfile and commit it to this pull request to ensure the vulnerability is properly remediated across all environments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
| "@sentry/nextjs": "^9.14.0", | ||
| "@supabase/supabase-js": "^2.49.4", | ||
| "@supabase/supabase-js": "^2.50.0", | ||
| "@tanstack/react-query": "^5.66.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P1] Update pnpm lockfile for supabase upgrade
Changing @supabase/supabase-js to ^2.50.0 in package.json without regenerating frontend/pnpm-lock.yaml leaves the lockfile pinned to 2.49.4. Any CI or production install that runs pnpm install --frozen-lockfile will either fail due to the version mismatch or continue to resolve 2.49.4, meaning the security fix is not actually applied. Commit the updated lockfile so installs succeed and the vulnerability is remediated.
Useful? React with 👍 / 👎.
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
frontend/package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-SUPABASEAUTHJS-10255365
Important
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
EntelligenceAI PR Summary
This PR updates the Supabase JavaScript client library to the latest minor version.