From cc6bd706c9ab3951a12fd990b02536416969d57d Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Sun, 15 Nov 2026 16:34:10 +1100 Subject: [PATCH] Patch vulnerable dependencies and Node container runtime --- Dockerfile | 4 ++-- pnpm-lock.yaml | 25 +++++++++++++------------ pnpm-workspace.yaml | 4 ++-- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index cbf3285..31be301 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=26.12.1 +ARG NODE_VERSION=26.13.1 ARG PNPM_VERSION=11.15.1 # ---- Build Base Stage ---- @@ -38,7 +38,7 @@ WORKDIR /usr/src/app # Alpine replaces old package revisions; constrain Node to the builder's major # version while allowing supported minor/patch releases and packaging revisions. RUN apk upgrade --no-cache \ - && apk add --no-cache ca-certificates "nodejs-current~${NODE_VERSION%%.*}" \ + && apk add --no-cache 'zlib>=1.4-r0' ca-certificates "nodejs-current~${NODE_VERSION%%.*}" "nodejs-current>=${NODE_VERSION}-r0" \ && addgroup -S -g 10001 app \ && adduser -S -D -u 10001 -G app -h /home/app app diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 29b3ca1..e099e4b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,8 +14,8 @@ overrides: qs: 6.16.1 handlebars: 4.7.10 mysql2: 3.23.1 - hono: 4.13.11 - '@hono/node-server': 2.1.3 + hono: 4.13.18 + '@hono/node-server': 2.1.8 js-yaml@^3: 3.15.2 js-yaml@^4: 4.3.2 brace-expansion@^1: 1.1.21 @@ -442,11 +442,11 @@ packages: resolution: {integrity: sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@hono/node-server@2.1.3': - resolution: {integrity: sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==} + '@hono/node-server@2.1.8': + resolution: {integrity: sha512-jdf7FHh6A1lzjpHHQUgxsg2GeER2vMetnAOfeActzcoli6jamlK+NAwL6Dsr5Fl3BS3tYUQzCdtZjU8Qxv7bEA==} engines: {node: '>=20'} peerDependencies: - hono: 4.13.11 + hono: 4.13.18 '@humanfs/core@0.19.2': resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} @@ -2052,8 +2052,8 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} - hono@4.13.11: - resolution: {integrity: sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==} + hono@4.13.18: + resolution: {integrity: sha512-H9q/E1XizaWstJxUW881dmLxEj+t/TrGGnyxINkm4+sK0qUwsMtFdo2BWI9Vs3cIS19MU6b6iCijoUoEf4f3DA==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -2616,6 +2616,7 @@ packages: node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} + deprecated: This package is no longer needed on supported Node.js versions. Node.js 16+ includes AbortController and AbortSignal as built-in globals. All Node.js versions requiring this polyfill are end-of-life. Use the built-in globals instead. node-emoji@1.11.0: resolution: {integrity: sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==} @@ -3793,9 +3794,9 @@ snapshots: '@eslint/core': 0.15.2 levn: 0.4.1 - '@hono/node-server@2.1.3(hono@4.13.11)': + '@hono/node-server@2.1.8(hono@4.13.18)': dependencies: - hono: 4.13.11 + hono: 4.13.18 '@humanfs/core@0.19.2': dependencies: @@ -4338,13 +4339,13 @@ snapshots: '@electric-sql/pglite': 0.3.2 '@electric-sql/pglite-socket': 0.0.6(@electric-sql/pglite@0.3.2) '@electric-sql/pglite-tools': 0.2.7(@electric-sql/pglite@0.3.2) - '@hono/node-server': 2.1.3(hono@4.13.11) + '@hono/node-server': 2.1.8(hono@4.13.18) '@mrleebo/prisma-ast': 0.12.1 '@prisma/get-platform': 6.8.2 '@prisma/query-plan-executor': 6.18.0 foreground-child: 3.3.1 get-port-please: 3.1.2 - hono: 4.13.11 + hono: 4.13.18 http-status-codes: 2.3.0 pathe: 2.0.3 proper-lockfile: 4.1.2 @@ -5705,7 +5706,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.13.11: {} + hono@4.13.18: {} html-escaper@2.0.2: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 2c5ff0d..c280be4 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -11,8 +11,8 @@ overrides: 'qs': 6.16.1 'handlebars': 4.7.10 'mysql2': 3.23.1 - 'hono': 4.13.11 - '@hono/node-server': 2.1.3 + 'hono': 4.13.18 + '@hono/node-server': 2.1.8 'js-yaml@^3': 3.15.2 'js-yaml@^4': 4.3.2 'brace-expansion@^1': 1.1.21