Skip to content
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

Deprecated dependency on whatwg-url -> punycode triggers DeprecationWarning #5

Open
jk-sulis opened this issue May 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jk-sulis
Copy link

Bug report

  • [x ] I confirm this is a bug with Supabase, not with my own application.
  • [ x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Issue was already reported in the js-client repo as supabase/supabase-js#914 . Seems to me that here is the appropriate place.

In short: supabase/node-fetch is dependent on whatwg-url ^5.0.0 . This raises a deprecation warning for the punycode module. Do you plan on upgrading whatwg-url to a newer version, solving the deprecation?

Thanks for your awesome work!

To Reproduce

Copied from supabase/supabase-js#914:

  1. npm install @supabase/supabase-js
  2. node .
  3. Error: DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
  4. npm ls whatwg-url
  5. Response: @supabase/[email protected]
    │ └─┬ @supabase/[email protected]
    │ └── [email protected]

Expected behavior

No deprecation.

System information

Copied from supabase/supabase-js#914:

  • OS: WSL2 on Windows 10
  • Version of supabase-js: ^2.38.4
  • Version of Node.js: v21.1.0
@jk-sulis jk-sulis added the bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant