node 26, remove npm from the runtime image, dependency updates, release 0.2.7 #7

Merged
tim merged 1 commit from chore/weekly-maintenance-2026-11-02 into main 2026-11-02 10:36:37 +00:00
Owner

Weekly maintenance.

Findings (Trivy on a fresh docker build --pull, HIGH/CRITICAL with a fix): 6, all in the npm that ships inside node:24-alpine (not in our dependency tree): undici 6.28.0 (CVE-2026-109383, CVE-2026-109869, CVE-2026-19534, CVE-2026-87018) and brace-expansion 5.0.9 (CVE-2026-102276, CVE-2026-102278). npm audit for production dependencies: 0.

Changes

  • Runtime image: npm is removed in the final stage (it is only needed to install). Trivy fixable HIGH/CRITICAL 6 -> 0.
  • Node 26 (LTS since 2026-10-28) for the image and for CI (node-version: "26"; engines stays >=24).
  • Dev dependencies: tsup 9, @types/node 26, eslint 10.14, @typescript-eslint 8.72. Typecheck, lint, format, 117 tests and build pass on Node 26.

Held back, with the blocker: TypeScript stays on 6.0.x. typescript-eslint 8.72.1 declares typescript >=4.8.4 <6.1.0 and refuses TS 7 at lint time ("does not support TS 7.0", tracked in typescript-eslint#10940). TS 7 itself typechecks, builds and passes the tests; only lint fails. Not capped to dodge a break: it is the upstream peer range.

Remaining advisory: npm audit (dev tree only) still lists minimatch < 11.0.1, moderate, "No fix available" (reached through eslint). Not shipped in the image, not suppressed.

Version 0.2.7 + CHANGELOG (the previous Unreleased note is part of it). Merging triggers auto-tag, then the tag build and release.

🤖 Generated with Claude Code

Weekly maintenance. **Findings (Trivy on a fresh `docker build --pull`, HIGH/CRITICAL with a fix):** 6, all in the npm that ships inside `node:24-alpine` (not in our dependency tree): `undici` 6.28.0 (CVE-2026-109383, CVE-2026-109869, CVE-2026-19534, CVE-2026-87018) and `brace-expansion` 5.0.9 (CVE-2026-102276, CVE-2026-102278). `npm audit` for production dependencies: 0. **Changes** - Runtime image: npm is removed in the final stage (it is only needed to install). Trivy fixable HIGH/CRITICAL 6 -> 0. - Node 26 (LTS since 2026-10-28) for the image and for CI (`node-version: "26"`; `engines` stays `>=24`). - Dev dependencies: `tsup` 9, `@types/node` 26, `eslint` 10.14, `@typescript-eslint` 8.72. Typecheck, lint, format, 117 tests and build pass on Node 26. **Held back, with the blocker:** TypeScript stays on 6.0.x. `typescript-eslint` 8.72.1 declares `typescript >=4.8.4 <6.1.0` and refuses TS 7 at lint time ("does not support TS 7.0", tracked in typescript-eslint#10940). TS 7 itself typechecks, builds and passes the tests; only lint fails. Not capped to dodge a break: it is the upstream peer range. **Remaining advisory:** `npm audit` (dev tree only) still lists `minimatch` < 11.0.1, moderate, "No fix available" (reached through eslint). Not shipped in the image, not suppressed. Version 0.2.7 + CHANGELOG (the previous Unreleased note is part of it). Merging triggers `auto-tag`, then the tag build and release. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
node 26, remove npm from the runtime image, dependency updates, release 0.2.7
All checks were successful
CI / Checks (Node 26, in Docker) (pull_request) Successful in 1m10s
CI / Secret scan (pull_request) Successful in 3s
40fac32380
The npm bundled in node:24-alpine carries undici and brace-expansion copies
that Trivy reports as fixable HIGH findings; npm is only needed to install,
so the final stage removes it. Node 26 has been LTS since 2026-10-28, so the
image and CI move to it. tsup 9, @types/node 26, eslint and typescript-eslint
patch updates pass typecheck, lint, format, tests and build. TypeScript stays
on 6.0 because typescript-eslint does not support 7 yet (peer <6.1.0).
Trivy HIGH/CRITICAL fixable: 6 -> 0; npm audit (prod): 0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tim merged commit 72a774b260 into main 2026-11-02 10:36:37 +00:00
tim deleted branch chore/weekly-maintenance-2026-11-02 2026-11-02 10:36:37 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/bunq-mcp!7
No description provided.