From 7c3a214b9f58cb2e95034e17397c8ed1c399d93b Mon Sep 17 00:00:00 2001 From: John Coffey Date: Thu, 29 Oct 2026 21:38:19 -0700 Subject: [PATCH] Update @hono/node-server to 2.1.5 and undici to 8.12.3 npm audit flagged both. @hono/node-server before 2.1.3 decodes the path twice in serveStatic (GHSA-rmxm-3fg6-px4f); the server doesn't use serveStatic, so it was never exposed, but the floor is now ^2.1.3. undici comes in through jsdom for the web tests only and is not in the image. npm audit is clean. --- package-lock.json | 16 ++++++++-------- server/package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ab66d9..7582463 100644 --- a/package-lock.json +++ b/package-lock.json @@ -668,15 +668,15 @@ } }, "node_modules/@hono/node-server": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.1.tgz", - "integrity": "sha512-ELuehkj5VCBdgEw9zs+ivkKwyzzUCSQuE96YmiPvn1ECBoZCczbFXJLeEGMTYjphP6gydh4pHMqEYPVMYUVgQg==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.5.tgz", + "integrity": "sha512-MgP/I06GdvsilDspMk/qmRzpk8LOUStP6jFAbSRi40W09DhoyUn+Mj7eyKICPqeYKybOjVFLVIAQzvu1bfIa7Q==", "license": "MIT", "engines": { "node": ">=20" }, "peerDependencies": { - "hono": "^4" + "hono": "^4 || ^5.0.0-0" } }, "node_modules/@ihasmail/server": { @@ -2671,9 +2671,9 @@ } }, "node_modules/undici": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.2.tgz", - "integrity": "sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==", + "version": "8.12.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.12.3.tgz", + "integrity": "sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==", "dev": true, "license": "MIT", "engines": { @@ -3038,7 +3038,7 @@ "version": "2.16.0", "license": "AGPL-3.0-or-later", "dependencies": { - "@hono/node-server": "^2.1.1", + "@hono/node-server": "^2.1.3", "hono": "^4.13.11" }, "devDependencies": { diff --git a/server/package.json b/server/package.json index 06edfb3..a8e287c 100644 --- a/server/package.json +++ b/server/package.json @@ -16,7 +16,7 @@ "mock:no-keyword-sort": "MOCK_NO_KEYWORD_SORT=1 tsx src/mock/index.ts" }, "dependencies": { - "@hono/node-server": "^2.1.1", + "@hono/node-server": "^2.1.3", "hono": "^4.13.11" }, "devDependencies": { -- 2.54.0