Update dependency @supabase/ssr to ^0.12.0 - #28
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
0aadab7 to
4eb35cf
Compare
Update dependency @supabase/ssr to ^0.9.0
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
| "@supabase/ssr": "^0.9.0", | ||
| "@supabase/supabase-js": "^2.49.4", |
There was a problem hiding this comment.
Bug: There is a significant peer dependency mismatch. @supabase/ssr@0.9.0 requires @supabase/supabase-js@^2.97.0, but version 2.49.4 is installed, which may cause runtime compatibility issues.
Severity: MEDIUM
Suggested Fix
Update the @supabase/supabase-js dependency to a version that satisfies the ^2.97.0 requirement of @supabase/ssr. Run bun install @supabase/supabase-js@latest (or a specific compatible version) and verify that the application's authentication flows continue to work as expected after the update.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: package.json#L42-L43
Potential issue: The project has a peer dependency mismatch. The `@supabase/ssr` package
at version `0.9.0` requires `@supabase/supabase-js` version `^2.97.0`, but the installed
version is `2.49.4`. This significant version gap (over 48 minor versions) creates a
risk of incompatibility, especially since the code uses core authentication functions
like `createServerClient` and `auth.exchangeCodeForSession()`. While this might only
produce a warning during installation, it could lead to runtime errors if the APIs used
by `@supabase/ssr` rely on features or behavior from the newer, required version of
`@supabase/supabase-js`.
Did we get this right? 👍 / 👎 to inform future reviews.
4eb35cf to
e9b34b3
Compare
e9b34b3 to
105a4c6
Compare
105a4c6 to
acad516
Compare
acad516 to
ea7ecc0
Compare
ea7ecc0 to
e41525e
Compare
e41525e to
0eb60cf
Compare
0eb60cf to
da8d694
Compare
da8d694 to
5304dca
Compare
This PR contains the following updates:
^0.6.1→^0.12.0Release Notes
supabase/ssr (@supabase/ssr)
v0.12.4Compare Source
Bug Fixes
v0.12.3Compare Source
Bug Fixes
v0.12.2Compare Source
Bug Fixes
v0.12.1Compare Source
Bug Fixes
v0.12.0Compare Source
Features
cookies.encodeoption allowing minimal cookie sizes (#126) (cf38b22)cookieto 1.0.2 (#113) (b4a77b4)getAllandsetAllcookie methods (#1) (b6ae192)Bug Fixes
create*Clientstring inx-client-info(#85) (f271acc)createBrowserClientwithoutwindowpresent (#20) (27d868d)parse,serializeexports for more useful functions (#14) (0b5f881)createBrowserClientdeprecation tsdoc (#17) (1df70ad)max-agedefault cookie option to 400 days (#54) (f4ed2e0)v0.10.3Compare Source
Bug Fixes
v0.10.2Compare Source
Bug Fixes
v0.10.0Compare Source
Features
v0.9.0Compare Source
Features
v0.8.0Compare Source
Features
cookies.encodeoption allowing minimal cookie sizes (#126) (cf38b22)Bug Fixes
v0.7.0Compare Source
Features
cookieto 1.0.2 (#113) (b4a77b4)Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This change is