- 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>
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/)dotenv17 → 18: the default import'sconfig()API we use is unchangednanoid5 → 6: thenanoid()export is unchanged; it now requires Node 22+kysely0.28 → 0.29 (better-auth accepts^0.28 || ^0.29; requires Node 22+)typescript5.9 → 6.0.3Held back
<6.1.0, and the TS 7 package no longer ships the JS compiler API that Next.js relies on.8.0.0-rc.x).Other changes this needed
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 usenode:22.frontend/tsconfig.json: TS 6 errors ontarget: es5andbaseUrl.targetis nowES2017, which only affects type checking because Next compiles with SWC.baseUrlis removed;pathsalready resolves relative to the tsconfig.golang.org/x/crypto0.43 → 0.58,x/mod0.38 → 0.42,x/term0.36 → 0.47,x/sys0.37 → 0.49. These versions require Go 1.26, so thegodirective moves from 1.25.0 to 1.26.0. CI reads the version fromgo.mod.Remaining
npm auditfindings (no non-breaking fix)braces, viaeslint-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-editorpins it exactly, but at runtime@monaco-editor/loaderloads 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 lintnpm run test:e2e, a fullbuild:cliplus 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)🤖 Generated with Claude Code
Summary by CodeRabbit