forked from silverwind/updates
add comment
This commit is contained in:
parent
6279e25261
commit
5f4cb0388f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user