Closed Kurre closed 2 months ago
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 🤔
@Kurre would you be able to raise a PR?
@Kurre would you be able to raise a PR?
Would love to 👍 I'll give it a try ASAP 😃
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:
edit: simplified example
Expected Behaviour No warnings
Actual Behaviour
Testcontainer Logs
Steps to Reproduce
Environment Information