Repository navigation
chore(deps): clear npm audit findings, update dependencies, require Node 26.13.1 - #449
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Aaron · project thread
Summary
Clears the 8 moderate
npm auditfindings 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
swagger-jsdoc > glob ^14.0.6; swagger-jsdoc 6.3.0 is the latest release and pins glob exactlynodemon > minimatch ^11.0.9(nodemon 3.1.14 is the latest release)MIN_NODE_VERSION26.12.1 → 26.13.1Updates within existing ranges
better-sqlite3 12.11.1 → 13.2.0 (major)
node-gyp rebuildfrom itsbinding.gyp, soallowScriptsnow denies it and the shipped binary is used. Removed from pnpmonlyBuiltDependencies.Testing
npm audit: 0 vulnerabilities (was 8 moderate)npm run typecheck: cleannode scripts/run-tests.js --allon Node 26.13.1: 190 passed, 6 skipped (server or credentials needed), 0 failednode server.jsboots,GET /healthreports the database oknode scripts/regen-openapi.js: spec unchanged (swagger-jsdoc works with glob 14)npm ci --omit=dev(the base image step): no install script runs, better-sqlite3 loads its prebuilt binaryNotes
Dependabot PRs #442, #443 and #444 (against main) are covered by this change once nightly reaches main.
Generated by Claude Code