Upgrade to node-fetch v3 to avoid punycode deprecation warning
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.
Hi, thank you for the report. I'll put it on the backlog for now.
Any news about this? Node 21 was released 5 months ago :(
@emmgfx Since implementing this change would require increasing the minimum Node version, this change likely should wait until we release a new major version of the CLI.
If this deprecation warning is a major annoyance, we could perhaps look into whether we might be able to suppress the warning in the meantime.