Skip to content

move @types/cookie to main dependencies - #781

Closed
rbutera wants to merge 2 commits into
supabase:mainfrom
rbutera:patch-1
Closed

rbutera wants to merge 2 commits into
supabase:mainfrom
rbutera:patch-1

Conversation

@rbutera

@rbutera rbutera commented May 17, 2024

Copy link
Copy Markdown

What kind of change does this PR introduce?

Bug fix / Dependencies update

What is the current behavior?

Currently @types/cookie is listed as a dev dependency only which results in projects that use @supabase/ssr running into difficult-to-debug @typescript-eslint no-unsafe-argument errors. See supabase/auth issue supabase/ssr#53 where this behaviour is reported and documented.

The change in this PR satisfies the solution proposed in the above PR.

What is the new behavior?

@types/cookie is added to dependencies so that the CookieOptions type can be properly inferred.

@mandarini

Copy link
Copy Markdown
Contributor

Thank you for your PR and for contributing to Supabase ! I will be closing this PR since we have moved the functionality of auth-helpers into the @supabase/ssr package. Please direct your contributions there. Thank you for understanding and for being a member of our community!

@mandarini mandarini closed this Sep 8, 2025
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