Skip to content

Deprecation Warning: Punycode Module #1447

Open
@MichaelvdVeer

Description

@MichaelvdVeer

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!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions