[x] Removes node-fetch in favor of its native Node.js counterpart
[x] Removes formdata-node in favor of its native Node.js counterpart
[x] Uses undici's ProxyAgent for proxying requests[^1]
[x] Now that we installed the latest nock beta in #999, msw is no longer required and has been removed.
[x] Removed a few useless delayConnection statements so now tests are like 2-3x faster
🧬 QA & Testing
Do tests still pass?
[^1]: We very well might have been doing proxying incorrectly this entire time? Ideally we should use the new EnvHttpProxyAgent API instead but that's only supported in undici@6 😔
🧰 Changes
node-fetch
in favor of its native Node.js counterpartformdata-node
in favor of its native Node.js counterpartProxyAgent
for proxying requests[^1]nock
beta in #999,msw
is no longer required and has been removed.delayConnection
statements so now tests are like 2-3x faster🧬 QA & Testing
Do tests still pass?
[^1]: We very well might have been doing proxying incorrectly this entire time? Ideally we should use the new
EnvHttpProxyAgent
API instead but that's only supported inundici@6
😔