Skip to content

Bump npm and Go dependencies to latest - #257

Merged
dartpain merged 1 commit into
mainfrom
chore/bump-deps
Oct 16, 2026
Merged

dartpain merged 1 commit into
mainfrom
chore/bump-deps

Conversation

@arc53-machine

@arc53-machine arc53-machine commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Brings the backend, frontend and Go CLI dependencies up to the latest stable releases, and refreshes transitive deps in both lockfiles (npm update + npm audit fix).

npm (root + frontend/)

  • Minor/patch: everything, including next 16.4.2, react 19.3.1, better-auth 1.7.10, prisma 7.10.1, fastify 5.12.7, zod 4.6.7, lucide-react 1.58, all Radix packages, eslint 10.12, typescript-eslint 8.71, tailwind/postcss, and more.
  • Majors:
    • dotenv 17 → 18: the default import's config() API we use is unchanged
    • nanoid 5 → 6: the nanoid() export is unchanged; it now requires Node 22+
    • kysely 0.28 → 0.29 (better-auth accepts ^0.28 || ^0.29; requires Node 22+)
    • typescript 5.9 → 6.0.3

Held back

  • TypeScript 7: typescript-eslint's peer range is <6.1.0, and the TS 7 package no longer ships the JS compiler API that Next.js relies on.
  • Prisma 8: only release candidates are out (8.0.0-rc.x).

Other changes this needed

  • Node 20 removed from engines/README. commander@15 (already on main) requires Node ≥22.12, so Node 20 was already broken at runtime. nanoid 6 and kysely 0.29 also require Node 22. Node 20 is EOL, and the Dockerfiles already use node:22.
  • frontend/tsconfig.json: TS 6 errors on target: es5 and baseUrl. target is now ES2017, which only affects type checking because Next compiles with SWC. baseUrl is removed; paths already resolves relative to the tsconfig.
  • Go: golang.org/x/crypto 0.43 → 0.58, x/mod 0.38 → 0.42, x/term 0.36 → 0.47, x/sys 0.37 → 0.49. These versions require Go 1.26, so the go directive moves from 1.25.0 to 1.26.0. CI reads the version from go.mod.

Remaining npm audit findings (no non-breaking fix)

  • braces, via eslint-config-next → fast-glob: every version is flagged, and the dependency is dev-only.
  • postcss-selector-parser, via @tailwindcss/typography: build-time only.
  • dompurify: monaco-editor pins it exactly, but at runtime @monaco-editor/loader loads Monaco 0.55.1 from the CDN, so the npm copy is not what ships.

Test plan

  • npm run typecheck / npm run lint (root)
  • cd frontend && npm run typecheck / npm run lint
  • npm run test:e2e, a full build:cli plus the smoke test (UI, shares, burn-after-read, anonymous mode, sign-up controls)
  • go vet ./..., go test ./..., cross-compile for darwin/linux/windows × amd64/arm64 (Go 1.27.2)
  • Docker image build (postgres schema), not run locally

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the minimum runtime requirements to Node.js 22.13+ or 24+, and Go 1.26+. Node.js 20 is no longer supported.
    • Updated frontend and backend dependency versions, including React, Next.js, TypeScript, Prisma, and Go packages.

- Backend/frontend: all deps to latest stable, including majors dotenv 18,
  nanoid 6, kysely 0.29, and TypeScript 6.0 (TS 7 is not yet supported by
  typescript-eslint or Next.js)
- Drop Node 20 from engines: commander 15, nanoid 6 and kysely 0.29 all
  require Node 22+, and Node 20 is EOL
- Frontend tsconfig: replace options deprecated in TS 6 (target es5, baseUrl)
- Go: bump golang.org/x/* modules; go directive moves to 1.26.0 as required

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pastevault Ready Ready Preview Oct 16, 2026 10:47am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7229459b-579e-442c-8e6e-a3ef66a43f6a
📥 Commits

Reviewing files that changed from the base of the PR and between a40ba0e and 729e7ea.

⛔ Files ignored due to path filters: 3
  • frontend/package-lock.json is excluded by !**/package-lock.json
  • go.sum is excluded by !**/*.sum
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 5
  • README.md
  • frontend/package.json
  • frontend/tsconfig.json
  • go.mod
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

📝 Walkthrough

The pull request updates Node.js and Go version requirements and package dependencies. It also changes the frontend TypeScript target to ES2017 and removes the baseUrl option.

Changes: Node.js and frontend toolchain

Layer / File(s) Summary
Node.js requirements and frontend tooling
README.md, package.json, frontend/package.json, frontend/tsconfig.json
The documented and declared Node.js requirements no longer include Node 20. Package dependency ranges change, and the TypeScript target changes to ES2017; baseUrl is removed while paths remains.

Go toolchain

Layer / File(s) Summary
Go version and module updates
go.mod
The Go version requirement changes to 1.26.0. Versions change for golang.org/x/crypto, golang.org/x/mod, golang.org/x/term, and golang.org/x/sys.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: dartpain

Merge Risk: ⚪ Minimal · up to 729e7

The updated toolchain requirements align with the checked-in workflows, and the inspected frontend paths do not demonstrate an exploitable DOMPurify advisory trigger. No material production or deployment risk is established.

Pre-merge checks: Passed 5
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Attached-Screenshot Passed PASS. The pull request changes only dependency manifests/lockfiles, Go module files, README.md, and frontend TypeScript configuration. It introduces no visual or UI behavior that would make a screensh…
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the primary change: updates to npm and Go dependencies. It is concise and directly related to the pull request scope.
Full details: Attached-Screenshot

Explanation

PASS. The pull request changes only dependency manifests/lockfiles, Go module files, README.md, and frontend TypeScript configuration. It introduces no visual or UI behavior that would make a screenshot or video relevant.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dartpain
dartpain merged commit 3f4a13c into main Oct 16, 2026
12 checks passed

This branch was successfully deployed

1 active deployment
Preview — 729e7ea4 Deployed Oct 16, 2026 by vercel[bot]
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