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
It seems that node-fetch v2.x is causing DeprecationWarning on Node22 (maybe in Node21 too?) due usage of deprecated punycode module. node-fetch 2.x is only receiving security fixes so this issue won't most likely be resolved without upgrading the node-fetch dependency to 3.x.
I was tinkering a bit with this one, and if the supported Node.js versions are 18, 20 (and 22), then it should be possible to just replace the node-fetch with Node's own fetch implementation.
I made a quick'n'dirty PoC of this variation, and it seems to be a possible way to proceed. Some tests for modules are failing, but probably nothing too serious 🤔
It seems that
node-fetch
v2.x is causingDeprecationWarning
on Node22 (maybe in Node21 too?) due usage of deprecated punycode module.node-fetch
2.x is only receiving security fixes so this issue won't most likely be resolved without upgrading thenode-fetch
dependency to 3.x.references from other repos:
node-fetch
v3 googleapis/gaxios#617edit: simplified example
Expected Behaviour
No warnings
Actual Behaviour
Testcontainer Logs
Steps to Reproduce
Environment Information
The text was updated successfully, but these errors were encountered: