From 8dc276feb0c69eac01ce2b038d9ccd754199deb4 Mon Sep 17 00:00:00 2001 From: matthew-pilot Date: Fri, 29 May 2026 03:31:19 +0000 Subject: [PATCH] fix(sdk-node): lower Node engine floor from >=20 to >=18 (PILOT-226) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The npm package declared engines.node >=20 in package.json, but the code uses no Node 20-exclusive runtime APIs. The Symbol.dispose references in client.ts gracefully degrade on Node 18 — the primary cleanup path is .close(), and the ESNext.Disposable lib is a type-only declaration. Lowering the engine floor eliminates the npm warning that Nova hit on the default Node 18 installation. Verified: build (tsc) clean, all 174 vitest tests pass. Closes PILOT-226 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ff40fba..25f8e7e 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "vitest": "^3.0.0" }, "engines": { - "node": ">=20" + "node": ">=18" }, "files": [ "dist/",