diff --git a/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch b/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch deleted file mode 100644 index 354f806148..0000000000 --- a/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/dist/index.js b/dist/index.js -index b54962b2d332c1a3affadbdb37d39fdf90ab9f82..7906b4ea3bf9dffe60d74c279e9cfe885489c9f9 100644 ---- a/dist/index.js -+++ b/dist/index.js -@@ -36,12 +36,12 @@ async function getWindowsSystemProxy() { - const proxies = Object.fromEntries(proxyConfigString - .split(';') - .map((proxyPair) => proxyPair.split('='))); -- const proxyUrl = proxies['https'] -- ? `https://${proxies['https']}` -- : proxies['http'] -- ? `http://${proxies['http']}` -- : proxies['socks'] -- ? `socks://${proxies['socks']}` -+ const proxyUrl = proxies['http'] -+ ? `http://${proxies['http']}` -+ : proxies['socks'] -+ ? `socks://${proxies['socks']}` -+ : proxies['https'] -+ ? `https://${proxies['https']}` - : undefined; - if (!proxyUrl) { - throw new Error(`Could not get usable proxy URL from ${proxyConfigString}`); diff --git a/package.json b/package.json index 23e9dc0fbf..876609c6d8 100644 --- a/package.json +++ b/package.json @@ -286,7 +286,6 @@ "vite": "npm:rolldown-vite@latest", "atomically@npm:^1.7.0": "patch:atomically@npm%3A1.7.0#~/.yarn/patches/atomically-npm-1.7.0-e742e5293b.patch", "file-stream-rotator@npm:^0.6.1": "patch:file-stream-rotator@npm%3A0.6.1#~/.yarn/patches/file-stream-rotator-npm-0.6.1-eab45fb13d.patch", - "windows-system-proxy@npm:^1.0.0": "patch:windows-system-proxy@npm%3A1.0.0#~/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch", "openai@npm:^4.77.0": "patch:openai@npm%3A5.12.2#~/.yarn/patches/openai-npm-5.12.2-30b075401c.patch", "openai@npm:^4.87.3": "patch:openai@npm%3A5.12.2#~/.yarn/patches/openai-npm-5.12.2-30b075401c.patch" }, diff --git a/yarn.lock b/yarn.lock index 6ce0e0b0fe..232bee090f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22314,21 +22314,12 @@ __metadata: languageName: node linkType: hard -"windows-system-proxy@npm:1.0.0": - version: 1.0.0 - resolution: "windows-system-proxy@npm:1.0.0" +"windows-system-proxy@npm:^1.0.0": + version: 1.0.1 + resolution: "windows-system-proxy@npm:1.0.1" dependencies: registry-js: "npm:^1.15.1" - checksum: 10c0/f3712938ce0786c359f171c40cc40df37448e06feeaaddd056312dcc93caff02c1eac9df6f0fac162ec99ac1f23dffb70bf19fe08fac097fed3c32b7ae95f6aa - languageName: node - linkType: hard - -"windows-system-proxy@patch:windows-system-proxy@npm%3A1.0.0#~/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch": - version: 1.0.0 - resolution: "windows-system-proxy@patch:windows-system-proxy@npm%3A1.0.0#~/.yarn/patches/windows-system-proxy-npm-1.0.0-ff2a828eec.patch::version=1.0.0&hash=bc3cd7" - dependencies: - registry-js: "npm:^1.15.1" - checksum: 10c0/4941a22109ced18bece1aa7eacb828a1b4364d031c8528fc76a0a76509ef431f70886574d8629d5086ef7dbfb9595815996489acaa9468c63b337551847761fd + checksum: 10c0/662a9bb283ce1458a25e257a0cb4f81b7efd8e80fa14bf4b5af819f85396a5ad3c68674d9458014091ba6ce81da8f868a49dfad009330c5260f72f7afdea4fc2 languageName: node linkType: hard