diff --git a/updates.js b/updates.js index 3ef6076..950beb4 100755 --- a/updates.js +++ b/updates.js @@ -17,6 +17,8 @@ import pAll from "p-all"; import memize from "memize"; import picomatch from "picomatch"; +// bun and deno have built-in proxy support via environment while undici has not, +// so we fall back to node-fetch with fetch-enhanced wrapper to add it there. let fetch; if (globalThis.fetch && !versions?.node) { fetch = globalThis.fetch;