Skip to content

[Snyk] Upgrade @nuxtjs/supabase from 0.3.7 to 1.5.3 #973

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

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Jul 25, 2025

snyk-top-banner

Snyk has created this PR to upgrade @nuxtjs/supabase from 0.3.7 to 1.5.3.

ℹ️ 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 83 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
high severity Excessive Platform Resource Consumption within a Loop
SNYK-JS-BRACES-6838727
169 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ES5EXT-6095076
169 Proof of Concept
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
169 No Known Exploit
high severity Acceptance of Extraneous Untrusted Data With Trusted Data
SNYK-JS-NUXT-9486043
169 No Known Exploit
high severity Insecure Randomness
SNYK-JS-UNDICI-8641354
169 Proof of Concept
high severity Incorrect Authorization
SNYK-JS-VITE-9653016
169 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELHELPERS-9397697
169 Proof of Concept
medium severity Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
169 Proof of Concept
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
169 No Known Exploit
medium severity Improper Input Validation
SNYK-JS-NANOID-8492085
169 No Known Exploit
medium severity Origin Validation Error
SNYK-JS-NUXTVITEBUILDER-8663232
169 Proof of Concept
medium severity Prototype Pollution
SNYK-JS-PARSEGITCONFIG-9403763
169 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-ROLLUP-8073097
169 Proof of Concept
medium severity Information Exposure
SNYK-JS-VITE-8023174
169 Proof of Concept
medium severity Origin Validation Error
SNYK-JS-VITE-8648411
169 Proof of Concept
medium severity Incorrect Authorization
SNYK-JS-VITE-9512410
169 Mature
medium severity Access Control Bypass
SNYK-JS-VITE-9576207
169 Proof of Concept
medium severity Information Exposure
SNYK-JS-VITE-9685035
169 Proof of Concept
medium severity Directory Traversal
SNYK-JS-VITE-9919777
169 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
169 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
169 Proof of Concept
low severity Cross-site Scripting
SNYK-JS-SEND-7926862
169 No Known Exploit
low severity Cross-site Scripting
SNYK-JS-SERVESTATIC-7926865
169 No Known Exploit
low severity Missing Release of Memory after Effective Lifetime
SNYK-JS-UNDICI-10176064
169 Proof of Concept
low severity Cross-site Scripting (XSS)
SNYK-JS-VITE-8022916
169 Proof of Concept
Release notes
Package name: @nuxtjs/supabase
  • 1.5.3 - 2025-06-27

    1.5.3 (2025-06-27)

    Bug Fixes

  • 1.5.3-20250627-092650-1acc409 - 2025-06-27
  • 1.5.3-20250617-152820-bc2d141 - 2025-06-17
  • 1.5.3-20250617-131538-891d3c8 - 2025-06-17
  • 1.5.3-20250617-101001-b1c8e1a - 2025-06-17
  • 1.5.3-20250616-094548-aeff93b - 2025-06-16
  • 1.5.3-20250616-091245-285b8e7 - 2025-06-16
  • 1.5.3-20250612-091638-79f161b - 2025-06-12
  • 1.5.3-20250612-091311-b7c55ea - 2025-06-12
  • 1.5.3-20250612-090733-5b87b6c - 2025-06-12
  • 1.5.3-20250612-090332-fbe9559 - 2025-06-12
  • 1.5.2 - 2025-06-12

    1.5.2 (2025-06-12)

    Bug Fixes

    • demo: login screen height (09f697b)
    • demo: redirect github provider (be12884)
    • demo: redirect url for github provider (1fd67f8)
    • demo: remove toggle (e741537)
    • demo: use head (65832ba)
  • 1.5.2-20250612-085749-99b3885 - 2025-06-12
  • 1.5.2-20250612-085515-010ff5f - 2025-06-12
  • 1.5.2-20250523-101344-e741537 - 2025-05-23
  • 1.5.2-20250523-094807-e184337 - 2025-05-23
  • 1.5.2-20250523-093937-71b2191 - 2025-05-23
  • 1.5.2-20250523-093728-0ce82ea - 2025-05-23
  • 1.5.2-20250523-091733-f692a5a - 2025-05-23
  • 1.5.2-20250522-082215-65832ba - 2025-05-22
  • 1.5.2-20250521-213811-09f697b - 2025-05-21
  • 1.5.2-20250521-212807-6c161be - 2025-05-21
  • 1.5.2-20250521-211041-1fd67f8 - 2025-05-21
  • 1.5.2-20250521-210003-be12884 - 2025-05-21
  • 1.5.2-20250521-204802-e77f9b9 - 2025-05-21
  • 1.5.2-20250521-154620-a5fdfe4 - 2025-05-21
  • 1.5.2-20250513-083107-e237204 - 2025-05-13
  • 1.5.2-20250513-081507-af88b01 - 2025-05-13
  • 1.5.1 - 2025-05-13

    1.5.1 (2025-05-13)

    📖 New Documentation

    https://supabase.nuxtjs.org/

    First Nuxt module documentation built with Docus v2 powered by Nuxt UI Pro (coming soon 👀)

    🐛 Bug Fixes

    • plugins: do not set states on client (#490) (6152a64)
    • serverSupabaseClient: pass H3Event into useRuntimeConfig (#491) (548e21e)
  • 1.5.1-20250513-081139-6152a64 - 2025-05-13
  • 1.5.1-20250507-152647-116e7bc - 2025-05-07
  • 1.5.1-20250507-151621-ad39fd5 - 2025-05-07
  • 1.5.1-20250507-144712-b68323c - 2025-05-07
  • 1.5.1-20250507-144615-54b13f1 - 2025-05-07
  • 1.5.1-20250507-144539-79a77ad - 2025-05-07
  • 1.5.1-20250507-142059-13476cc - 2025-05-07
  • 1.5.1-20250507-132306-410463e - 2025-05-07
  • 1.5.1-20250507-130758-aa719d1 - 2025-05-07
  • 1.5.1-20250506-160232-ab685fd - 2025-05-06
  • 1.5.1-20250506-153253-e0cbd07 - 2025-05-06
  • 1.5.1-20250506-152735-312f331 - 2025-05-06
  • 1.5.1-20250506-152025-44f899e - 2025-05-06
  • 1.5.1-20250506-145213-b2d2dca - 2025-05-06
  • 1.5.1-20250506-141515-6ee3f8e - 2025-05-06
  • 1.5.1-20250506-140734-57b5776 - 2025-05-06
  • 1.5.1-20250506-140357-e283834 - 2025-05-06
  • 1.5.1-20250506-135817-1a15832 - 2025-05-06
  • 1.5.1-20250506-130717-6ce1f40 - 2025-05-06
  • 1.5.1-20250506-130540-d2008e0 - 2025-05-06
  • 1.5.1-20250505-120850-548e21e - 2025-05-05
  • 1.5.1-20250409-075938-fc284c0 - 2025-04-09
  • 1.5.1-20250409-075900-f69899f - 2025-04-09
  • 1.5.1-20250304-101902-be41d94 - 2025-03-04
  • 1.5.0 - 2025-03-04

    1.5.0 (2025-03-04)

    Bug Fixes

    This release addresses multiple inconsistencies with cookie handling x customization that might fix several issues:

    • Setting persistSession: false still persists auth session (#390)
    • The module doesn't recognize supabase.clientOptions.auth.flowType key (#449)
    • Detecting session in URL is not working when sending "Password recovery" email manually from Supabase dashboard (#397)
    • Static Hosting: Client side only rendering gives error when signing in with email - pw (#138)

    Features

    • Added useSsrCookies option (default: true) → Resolves #186

    This new option controls whether the module uses cookies to share session info between server and client. You must enable this option if you need to access session or user info from the server. It will use the SSR client from the @ supabase/ssr library.

    When disabled, the module will use the default Supabase client from the @ supabase/supabase-js library which stores session info in local storage. This is useful in certain cases, such as statically generated sites or mobile apps where cookies might not be available.

    Breaking Changes?

    No. useSsrCookies default value keep the old behaviour and deprecated options (cookieName, cookieRedirect) maintain backward compatibility.

    Contributor 💚

    A massive thanks to @ Jordan-Ellis for this improvement.

  • 1.4.7-20250228-164219-e3f6a24 - 2025-02-28
  • 1.4.6 - 2025-01-20

    What's Changed

    Bug Fixes

    • serverSupabaseServiceRole: Pass H3Event into useRuntimeConfig (#450) (2de1c08)

    Full changelog (2025-01-20)

    Contributors 💚

    @ blackburn32

  • 1.4.5 - 2024-12-18

    What's Changed

    Fix

    • deps: Update supabase-js to fix #442 and #264

    Full changelog (2024-12-18)

  • 1.4.4 - 2024-12-10

    What's Changed

    Feature

    • deps: Update supabase-js to fix realtime issue (#436)

    Full changelog (2024-12-10)

    Contributors 💚

    @ felixgabler

  • 1.4.3 - 2024-11-20

    What's Changed

    Refactor

    Full changelog (2024-11-20)

    Contributors 💚

    @ felixgabler

  • 1.4.2 - 2024-11-07

    What's Changed

    Full changelog (2024-11-07)

    Contributors 💚

    @ felixgabler

  • 1.4.1 - 2024-10-11
  • 1.4.0 - 2024-08-30
  • 1.3.5 - 2024-07-15
  • 1.3.4 - 2024-07-10
  • 1.3.3 - 2024-07-10
  • 1.3.2 - 2024-07-05
  • 1.3.1 - 2024-07-05
  • 1.2.2 - 2024-05-02
  • 1.2.1 - 2024-04-18
  • 1.2.0 - 2024-03-29
  • 1.1.7 - 2024-03-07
  • 1.1.6 - 2024-01-26
  • 1.1.5 - 2023-12-28
  • 1.1.4 - 2023-11-17
  • 1.1.3 - 2023-10-06
  • 1.1.2 - 2023-09-22
  • 1.1.1 - 2023-09-22
  • 1.1.0 - 2023-09-06
  • 1.0.2 - 2023-08-04
  • 1.0.1 - 2023-08-03
  • 1.0.0 - 2023-08-02
  • 1.0.0-0 - 2023-08-02
  • 0.3.8 - 2023-07-03
  • 0.3.7 - 2023-06-12
from @nuxtjs/supabase GitHub release notes

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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Summary by Sourcery

Upgrade @nuxtjs/supabase dependency in the Nuxt3 example to v1.5.3

Bug Fixes:

  • Address multiple security vulnerabilities (including ReDoS and resource consumption issues) in the Supabase integration by upgrading to v1.5.3

Enhancements:

  • Bump @nuxtjs/supabase from ^0.3.6 to ^1.5.3 in the user-management example

Snyk has created this PR to upgrade @nuxtjs/supabase from 0.3.7 to 1.5.3.

See this package in npm:
@nuxtjs/supabase

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/d13fd520-df96-4b88-87f8-38a6d7c57850?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Jul 25, 2025

Reviewer's Guide

This PR upgrades the @nuxtjs/supabase module in the Nuxt 3 user-management example to the latest 1.5.3 release by updating the devDependency version in package.json.

Class diagram for new Supabase module options and composables (v1.5.3)

classDiagram
  class SupabaseModuleConfig {
    +Boolean useSsrCookies = true
    +String cookiePrefix
    +Boolean saveRedirectToCookie
    +Object clientOptions
  }
  class DeprecatedOptions {
    +String cookieName
    +String cookieRedirect
  }
  class useSupabaseCookieRedirect {
    +getRedirectFromCookie()
    +setRedirectToCookie()
  }
  SupabaseModuleConfig <|-- DeprecatedOptions
  SupabaseModuleConfig o-- useSupabaseCookieRedirect : uses
Loading

Class diagram for session storage logic in Supabase module (v1.5.3)

classDiagram
  class SupabaseClient {
    +Auth auth
    +Session session
  }
  class SsrSupabaseClient {
    +Auth auth
    +Session session
    +Cookies cookies
  }
  class LocalStorageSupabaseClient {
    +Auth auth
    +Session session
    +LocalStorage localStorage
  }
  SupabaseClient <|-- SsrSupabaseClient
  SupabaseClient <|-- LocalStorageSupabaseClient
  SsrSupabaseClient : uses cookies
  LocalStorageSupabaseClient : uses localStorage
  SupabaseModuleConfig --> SsrSupabaseClient : if useSsrCookies = true
  SupabaseModuleConfig --> LocalStorageSupabaseClient : if useSsrCookies = false
Loading

File-Level Changes

Change Details Files
Upgrade @nuxtjs/supabase to v1.5.3
  • Bump version in devDependencies from ^0.3.6 to ^1.5.3
examples/user-management/nuxt3-user-management/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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