Skip to content

Upgrade to node-fetch v3 to avoid punycode deprecation warning #1810

Description

@andrews05

On node 21, using sentry cli shows a warning:
DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.

Here's the dependency stack leading to punycode:

@sentry/cli@npm:2.21.2
node-fetch@npm:2.7.0
whatwg-url@npm:5.0.0
tr46@npm:0.0.3
punycode

Upgrading to node-fetch v3 should resolve this. I believe this will require bumping minimum node to v12, hopefully that won't be issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.0Breaking changes to include in version 3.0.0 of Sentry CLICLIProduct areaImprovementIssue type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions