Skip to content

chore(deps): update npm dependencies and enable dependabot - #11

Merged
mpge merged 1 commit into
masterfrom
chore/deps-2026-08-31
Aug 31, 2026
Merged

mpge merged 1 commit into
masterfrom
chore/deps-2026-08-31

Conversation

@mpge

@mpge mpge commented Aug 31, 2026

Copy link
Copy Markdown
Member

Why this one matters

This repo had no .github/dependabot.yml, so nothing was watching it. @aws-sdk/client-s3 had drifted from 3.750.0 to 371 minor versions behind, and npm audit reported 19 vulnerabilities — 1 critical, 1 high, 17 moderate — all in the @aws-sdk/* chain. After this update: 0 vulnerabilities.

Package From To
@aws-sdk/client-s3 3.750.0 3.1121.0
eslint 10.2.0 10.9.1
prettier 3.8.1 3.9.6
typescript-eslint 8.58.0 8.69.0
typescript (floor only) ^5.4.0 ^5.9.3

Dependabot config

Adds weekly npm + github-actions updates so this cannot silently rot again. Two majors are ignored, with the reason recorded inline in the config rather than left for the next person to rediscover:

  • @types/node stays on ^20 — it should track the oldest Node in the CI matrix (20), not the newest release. Bumping it would type-check against APIs the supported runtime does not have.
  • typescript stays on 5.xtypescript-eslint@8.69.0 declares peer typescript: >=4.8.4 <6.1.0, and DefinitelyTyped has shipped no @types/node supporting TS 6 (its typesVersions caps at <=5.6). I tried v6: tsc fails with 12 TS2591/TS2304 errors because it cannot resolve process, node:path or fetch.

Verification (local)

npm ci clean, tsc build clean, npm test 8/8 passed, eslint . --max-warnings 0 clean, npm audit 0 vulnerabilities, and @aws-sdk/client-s3 confirmed to load at runtime against the npm ci tree.

The committed build/ output is byte-identical after rebuilding, so it is not part of this diff.

This repo had no dependabot config, so nothing was watching it. The AWS
SDK had drifted 371 minor versions behind and 'npm audit' reported 19
vulnerabilities (1 critical, 1 high, 17 moderate), all in the
@aws-sdk/* chain. After the update: 0 vulnerabilities.

- @aws-sdk/client-s3 3.750.0 -> 3.1121.0
- eslint 10.2.0 -> 10.9.1
- prettier 3.8.1 -> 3.9.6
- typescript-eslint 8.58.0 -> 8.69.0
- typescript floor raised 5.4.0 -> 5.9.3 (stays on 5.x, see below)

Adds .github/dependabot.yml with weekly npm + github-actions updates so
this cannot silently rot again. Two majors are explicitly ignored with
the reason recorded in the config:

- @types/node stays on ^20 to match the oldest Node in the CI matrix.
- typescript stays on 5.x: typescript-eslint peers '>=4.8.4 <6.1.0', and
  no @types/node release supports TS 6 yet (its typesVersions caps at
  '<=5.6'), so tsc fails to resolve node globals under v6.

Verified: npm ci clean, tsc build clean, 8/8 tests pass, eslint clean
with --max-warnings 0, and @aws-sdk/client-s3 loads at runtime.
@mpge
mpge merged commit ef2efc7 into master Aug 31, 2026
2 checks passed
@mpge
mpge deleted the chore/deps-2026-08-31 branch August 31, 2026 19:00
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.

1 participant