Skip to content

deps: batch dependabot #304-#308 (+ grammy 1.46.0, sharp security patch) - #312

Merged
chiliec merged 1 commit into
mainfrom
deps-sep-09
Sep 9, 2026
Merged

deps: batch dependabot #304-#308 (+ grammy 1.46.0, sharp security patch)#312
chiliec merged 1 commit into
mainfrom
deps-sep-09

Conversation

@chiliec

@chiliec chiliec commented Sep 9, 2026

Copy link
Copy Markdown
Member

Takes all five open Dependabot PRs as one commit. Merging the branches individually conflicts on the lockfile, so this is a single package.json edit plus one npm install.

PR bump
#304 prettier 3.9.4 → 3.9.6
#305 vite 8.1.3 → 8.2.2 (root and src/frontend, kept in lockstep)
#306 @fastify/multipart 10.1.0 → 10.1.1
#307 @fastify/middie 9.1.0 → 9.3.4
#308 @grammyjs/types 3.27.3 → 5.0.0

#308 needed a companion bump

Taken alone, #308 is the documented trap: grammy bundles its own @grammyjs/types, and forcing a newer one at top level breaks typecheck at src/bot/context.ts (UserFromGetMe / supports_join_request_queries mismatch). Dependabot only ever proposes the types half, which is why this PR has sat open.

grammy 1.46.0 bundles exactly @grammyjs/types 5.0.0, so taking both together keeps them aligned rather than walking into the mismatch. Verified there's a single installed copy at 5.0.0 with no nested duplicate under node_modules/grammy/. This also carries grammy 1.43.0 → 1.46.0.

Unrelated security patch included

sharp 0.35.3 → 0.35.4 — a patch clearing a high-severity libheif advisory (GHSA-rgj7-g3m4-5g8c) on a direct dep used by nft-handler.ts. npm audit goes 1 high → 0.

Verification

  • npm run lint, npm run typecheck clean — typecheck being green is the specific thing the trap would have broken
  • npm run test:backend 625/625
  • npm run build:all clean (backend emit + landing + frontend)
  • npm run smoke:api all steps green
  • npm audit 0 vulnerabilities

Caveat worth stating: the smoke test runs in STAGING mode, which skips Telegram entirely, so nothing here exercises grammy 1.46.0 at runtime — a three-minor bump of the bot framework is the one change in this batch that automated gates can't cover. Staging deploy (@cubeworldsbot) is the real check; that's the next step after this merges.

… 1.46.0

Merging the five branches individually conflicts on the lockfile, so this
takes them as one package.json edit plus a single npm install.

#308 bumps @grammyjs/types 3.27.3 -> 5.0.0 on its own, which is the known
trap: grammy bundles its own copy, and a newer top-level one breaks
typecheck at src/bot/context.ts. grammy 1.46.0 bundles exactly 5.0.0, so
taking both together keeps the two aligned and defuses it — verified as a
single installed copy at 5.0.0 with no nested duplicate.

Also bumps sharp 0.35.3 -> 0.35.4, a patch clearing a high-severity libheif
advisory (GHSA-rgj7-g3m4-5g8c) on a direct dep used by nft-handler.
npm audit goes 1 high -> 0.
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