Skip to content

chore(deps): clear npm audit findings, update dependencies, require Node 26.13.1 - #449

Merged
admonstrator merged 1 commit into
nightlyfrom
chore-449-dependency-updates
Nov 24, 2026
Merged

admonstrator merged 1 commit into
nightlyfrom
chore-449-dependency-updates

Conversation

@admonstrator

Copy link
Copy Markdown
Owner

Requested by Aaron · project thread

Summary

Clears the 8 moderate npm audit findings that keep the weekly Security Audit workflow red, updates the dependencies within their ranges, moves better-sqlite3 to 13 and requires the Node.js 26.13.1 security release in the base image.

Security

Package Advisory Path Fix
glob 11.1.0 GHSA-3g3m-2fjr-6pw4 (moderate) swagger-jsdoc 6.3.0 (production) override swagger-jsdoc > glob ^14.0.6; swagger-jsdoc 6.3.0 is the latest release and pins glob exactly
minimatch 10.2.6 GHSA-g3hv-75wg-m249 (moderate) eslint, eslint-plugin-jsdoc, nodemon, glob eslint 10.15 and typescript-estree 8.74 bring minimatch 11; override nodemon > minimatch ^11.0.9 (nodemon 3.1.14 is the latest release)
Node.js 26.13.1 security release (2026-11-11) base image MIN_NODE_VERSION 26.12.1 → 26.13.1

Updates within existing ranges

  • Runtime: @anthropic-ai/sdk 1.7.0 → 1.13.0, openai 7.53.0 → 7.63.0, axios 1.21.0 → 1.21.1, openid-client 6.8.9 → 6.9.1, express-rate-limit 8.7.4 → 8.7.5
  • Dev tools: eslint 10.14.0 → 10.15.0, eslint-plugin-jsdoc 65.4.5 → 65.5.4, prettier 3.9.10 → 3.10.1, stylelint 18.0.0 → 18.1.0, stylelint-config-standard 41.0.0 → 41.1.0

better-sqlite3 12.11.1 → 13.2.0 (major)

  • Node-API with prebuilt binaries for linux/darwin/win32 on x64 and arm64 (glibc and musl); requires Node ≥ 22.
  • npm still derives an implicit node-gyp rebuild from its binding.gyp, so allowScripts now denies it and the shipped binary is used. Removed from pnpm onlyBuiltDependencies.
  • python3, make and g++ stay in the base image for now; removing them is a possible follow-up.

Testing

  • npm audit: 0 vulnerabilities (was 8 moderate)
  • npm run typecheck: clean
  • node scripts/run-tests.js --all on Node 26.13.1: 190 passed, 6 skipped (server or credentials needed), 0 failed
  • node server.js boots, GET /health reports the database ok
  • node scripts/regen-openapi.js: spec unchanged (swagger-jsdoc works with glob 14)
  • Full eslint, prettier and stylelint runs: same results as on nightly
  • npm 12.2.3 npm ci --omit=dev (the base image step): no install script runs, better-sqlite3 loads its prebuilt binary
  • The image build itself is covered by the Docker Build Check workflow on this PR

Notes

Dependabot PRs #442, #443 and #444 (against main) are covered by this change once nightly reaches main.


Generated by Claude Code

…ode 26.13.1

Background
- npm audit reported 8 moderate findings from two advisories, and the weekly
  Security Audit workflow on main has failed since late October:
  - glob 11.1.0 (GHSA-3g3m-2fjr-6pw4), pulled in by swagger-jsdoc 6.3.0, which
    is the latest release and pins glob exactly. swagger-jsdoc ships in the
    production image.
  - minimatch 10.2.6 (GHSA-g3hv-75wg-m249), pulled in by eslint,
    eslint-plugin-jsdoc, nodemon and the glob above.
- Node.js 26.13.1 (2026-11-11) is a security release; the base image still
  accepted 26.12.1.
- better-sqlite3 13 moved to Node-API and ships prebuilt binaries for
  linux/darwin/win32 on x64 and arm64 (glibc and musl), so it no longer needs
  a compile step on install.

Changes
- package.json overrides: swagger-jsdoc > glob ^14.0.6 and
  nodemon > minimatch ^11.0.9 (nodemon 3.1.14 is the latest release and still
  asks for minimatch ^10). The remaining minimatch paths are fixed by the
  regular updates below.
- Runtime updates within their ranges: @anthropic-ai/sdk 1.7.0 -> 1.13.0,
  openai 7.53.0 -> 7.63.0, axios 1.21.0 -> 1.21.1, openid-client
  6.8.9 -> 6.9.1, express-rate-limit 8.7.4 -> 8.7.5.
- Dev tool updates within their ranges: eslint 10.14.0 -> 10.15.0,
  eslint-plugin-jsdoc 65.4.5 -> 65.5.4, prettier 3.9.10 -> 3.10.1,
  stylelint 18.0.0 -> 18.1.0, stylelint-config-standard 41.0.0 -> 41.1.0.
- better-sqlite3 12.11.1 -> 13.2.0. allowScripts now denies its implicit
  node-gyp step (npm still derives one from binding.gyp) so the shipped
  prebuilt binary is used; removed it from pnpm onlyBuiltDependencies.
- Dockerfile.base: MIN_NODE_VERSION 26.12.1 -> 26.13.1, comments updated.
  python3, make and g++ stay installed for now.
- ci.yml: comment on --ignore-scripts no longer mentions the better-sqlite3
  build.

Testing
- npm audit: 0 vulnerabilities (was 8 moderate).
- npm run typecheck: clean.
- node scripts/run-tests.js --all on Node 26.13.1: 190 passed,
  6 skipped (need a running server or login credentials), 0 failed.
- node server.js on Node 26.13.1 boots; GET /health reports the database ok.
- node scripts/regen-openapi.js: 122 documented paths, OPENAPI/openapi.json
  unchanged, so swagger-jsdoc works with glob 14.
- Full eslint, prettier and stylelint runs give the same results as on
  nightly (no new findings from the tool updates).
- npm 12.2.3 `npm ci --omit=dev` (the base image step): no install scripts
  run, no build directory, better-sqlite3 opens an in-memory database from
  the prebuilt binary; SQLite 3.54.1.
- The Docker image build itself is left to the Docker Build Check workflow.

Impact
- No behaviour change intended. The image no longer compiles better-sqlite3
  and refuses Node runtimes older than 26.13.1.
- Dependabot PRs #442, #443 and #444 (against main) are covered by this
  change once nightly reaches main.

Upstream Status
- Not applicable; dependency maintenance of this fork.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018w9EfANKkm8nFaVs7wZDnZ
@admonstrator admonstrator self-assigned this Nov 24, 2026
@admonstrator
admonstrator merged commit 6d02847 into nightly Nov 24, 2026
3 checks passed
@admonstrator
admonstrator deleted the chore-449-dependency-updates branch November 24, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants