From 5f4cb0388f01763dac3565b31cc3accb8cf1cbb3 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 9 Mar 2024 06:07:26 +0100 Subject: [PATCH] add comment --- updates.js | 2 ++ 1 file changed, 2 insertions(+) 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;