From 54f1917d03a453a77a81ff77d3a4b43efaf1763e Mon Sep 17 00:00:00 2001 From: Bingbing Date: Wed, 18 Nov 2026 11:27:22 +0800 Subject: [PATCH 1/2] chore: bump curl-for-windows to nghttp2 1.71.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Background The vendored nghttp2 behind the Windows binaries is 1.47.0 (2021). Aikido reports five vulnerabilities for it (INS-4174) plus AIKIDO-2026-10423 (INS-4179), all fixed above 1.69.0. ### Changes - `deps/curl-for-windows`: `8a4b21b5` → `200f5125`, which vendors nghttp2 1.71.0 and drops the unused c-ares tree (Kong/curl-for-windows#4). - `scripts/retrieve-win-deps.js`: drops `cares/cares.gyp` from the hard-coded gyp rewrite list. c-ares has been disabled since #280 and the file no longer exists, so the script aborted with `ENOENT` and gyp failed before configuration on Windows. ### Verification Windows builds of the pinned commit compiled the 1.71.0-only sources (`nghttp2_alpn.c`, `nghttp2_extpri.c`, `nghttp2_ratelim.c`, `nghttp2_time.c`, `sfparse.c`) on x64 and arm64, the addon loaded, and its tests passed (`nodejs` and `electron` jobs, both architectures). The binaries in that build report `libcurl/7.86.0-DEV OpenSSL/3.5.9 zlib/1.2.13 brotli/1.0.9 WinIDN libssh2/1.9.0_DEV nghttp2/1.71.0`. References: INS-4174, INS-4179 --- deps/curl-for-windows | 2 +- scripts/retrieve-win-deps.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deps/curl-for-windows b/deps/curl-for-windows index 8a4b21b5..200f5125 160000 --- a/deps/curl-for-windows +++ b/deps/curl-for-windows @@ -1 +1 @@ -Subproject commit 8a4b21b5ea9891883a123091acf2311b0b928645 +Subproject commit 200f51259bb7f77930e02cc6d65e0ff871b0c7e6 diff --git a/scripts/retrieve-win-deps.js b/scripts/retrieve-win-deps.js index ac883203..5e082180 100644 --- a/scripts/retrieve-win-deps.js +++ b/scripts/retrieve-win-deps.js @@ -142,7 +142,6 @@ async function replaceTokensOnFiles(dir) { const filesToCheck = [ 'libssh2.gyp', 'openssl/openssl.gyp', - 'cares/cares.gyp', 'nghttp2/nghttp2.gyp', 'zlib.gyp', 'curl.gyp', From 4bcf531cc585747036d1dacb1d06f74b81cdf6c1 Mon Sep 17 00:00:00 2001 From: Bingbing Date: Wed, 18 Nov 2026 11:30:55 +0800 Subject: [PATCH 2/2] chore: 3.3.2 Ships the nghttp2 1.71.0 bump. Version bump lives here so the release needs one merge instead of two. --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 63243828..ed146245 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@getinsomnia/node-libcurl", - "version": "3.3.1", + "version": "3.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@getinsomnia/node-libcurl", - "version": "3.3.1", + "version": "3.3.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 0a0f33ff..934805d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@getinsomnia/node-libcurl", - "version": "3.3.1", + "version": "3.3.2", "description": "The fastest http(s) client (and much more) for Node.js - Node.js bindings for libcurl", "keywords": [ "node-curl",