Skip to content

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

@andrews05

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.

Metadata

Metadata

Assignees

Labels

CLIProduct areaImprovementIssue typev3.0Breaking changes to include in version 3.0.0 of Sentry CLI

Projects

Status

No status

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions