You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently using the Svix library in my project and have encountered a deprecation warning related to the punycode module. After investigating, I identified the following dependency chain:
Svix depends on svix-fetch
svix-fetch depends on node-fetch (version 2.7.0)
node-fetch relies on whatwg-url, which in turn depends on punycode
Could you provide guidance on how to address this warning? Is there an upcoming update or an alternative approach I should consider to avoid this deprecation?
I tried this code:
"dev": "nodemon src/index.js"
I expected to see this happen: Run the server without warnings.
Instead, this happened:
(node:2701) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
Thank you in advance for your assistance!
The text was updated successfully, but these errors were encountered:
I was using the latest Node version, v22.9.0, where punycode was likely marked as deprecated. Now, I’m using an older version of Node, but it’s an LTS version. In this version, I’m not getting any deprecation warnings.
Bug Report
Version
Svix version 1.35.0
Platform
Node.js v22.9.0
Express.js version 4.21.0.
Description
I'm currently using the Svix library in my project and have encountered a deprecation warning related to the punycode module. After investigating, I identified the following dependency chain:
Svix depends on svix-fetch
svix-fetch depends on node-fetch (version 2.7.0)
node-fetch relies on whatwg-url, which in turn depends on punycode
Could you provide guidance on how to address this warning? Is there an upcoming update or an alternative approach I should consider to avoid this deprecation?
I tried this code:
"dev": "nodemon src/index.js"
I expected to see this happen: Run the server without warnings.
Instead, this happened:
(node:2701) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.(Use
node --trace-deprecation ...
to show where the warning was created)Thank you in advance for your assistance!
The text was updated successfully, but these errors were encountered: