googleapis / gax-nodejs

Google API Extensions for Node.js
Apache License 2.0
117 stars 88 forks source link

Look into conditionally using native fetch when we move to Node 18 #1597

Open sofisl opened 4 months ago

sofisl commented 4 months ago

see b/337041278

Once we move to Node 18, we should look into checking whether we can use native fetch instead of node-fetch.

danielbankhead commented 4 months ago

I’ve completed some research on the topic - see:

sofisl commented 4 months ago

Awesome, thanks for doing that digging! We can use it to replace node-fetch here, as well.