Skip to content

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

@jk-sulis

Description

@jk-sulis

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions