Skip to content

chore: weekly maintenance — dependency updates & security fixes - #312

Draft
PArns wants to merge 2 commits into
masterfrom
claude/bold-bohr-mz2z3m
Draft

chore: weekly maintenance — dependency updates & security fixes#312
PArns wants to merge 2 commits into
masterfrom
claude/bold-bohr-mz2z3m

Conversation

@PArns

@PArns PArns commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Automated weekly maintenance pass.

Dependency updates (minor/patch within majors)

  • next: 16.2.12 → 16.3.0
  • eslint-config-next: 16.2.12 → 16.3.0
  • @next/bundle-analyzer: 16.2.12 → 16.3.0
  • @types/node: 26.1.2 → 26.2.0
  • postcss: 8.5.25 → 8.5.26
  • react-intl: 10.1.19 → 10.1.20
  • @types/react: 19.2.17 → 19.2.18 (pinned via pnpm-workspace.yaml override)
  • @types/react-dom: 19.2.3 → 19.2.4 (pinned via override)

Held back on purpose (major bumps):

  • eslint 9.39.5 → 10.8.1
  • framer-motion 12.43.0 → 13.0.0
  • typescript 6.0.3 → 7.0.2

Security (pnpm audit: 5 high → 0)

Fixed via pnpm.overrides (repo convention):

  • brace-expansion DoS: <1.1.18 → >=1.1.18 <2 and >=4.0.0 <5.0.9 → >=5.0.9.
  • nanoid infinite loop (GHSA-2v37-7h3g-55p8): <3.3.17 → >=3.3.17 <4.
  • sharp (GHSA advisory): <0.35.0 → >=0.35.0 <0.36 (next's bundled 0.34.5).

pnpm audit afterwards reports no known vulnerabilities.

Other changes

  • tsconfig.json: target es5ES2017. TypeScript 6 now errors on the deprecated es5 target (TS5107). The project has noEmit: true and Next compiles via SWC/Turbopack, so target only affects the type-check phase, not shipped output; ES2017 matches the Next.js default. Needed to keep the build's TS phase green.

Review pass

No further source changes warranted. target="_blank" links already carry rel="noopener noreferrer"; dangerouslySetInnerHTML uses a static constant; the one forEach(async …) sits in commented-out dead code. Nothing else worth changing.

Verification

  • pnpm lint — passes (0 errors; 3 pre-existing react-hooks/exhaustive-deps warnings unchanged).
  • pnpm build — compile + TypeScript pass; static prerender of /[lng]/welcome fails only because this environment lacks CONTENTFUL_*/Google credentials, identical to the pre-change baseline. CI with credentials should build fine.
  • No test script in this repo.

Generated by Claude Code

claude added 2 commits August 10, 2026 15:33
next/eslint-config-next/@next/bundle-analyzer 16.2.12 to 16.3.0,
@types/node 26.1.2 to 26.2.0, postcss 8.5.25 to 8.5.26,
react-intl 10.1.19 to 10.1.20, @types/react 19.2.17 to 19.2.18,
@types/react-dom 19.2.3 to 19.2.4.

Move tsconfig target off deprecated es5 to ES2017 (type-check only;
Next compiles via SWC with noEmit) so the type check passes on the
newer toolchain.
Add overrides bumping brace-expansion to >=1.1.18 (1.x) and >=5.0.9,
nanoid to >=3.3.17, and sharp to >=0.35.0, clearing all five high
advisories from pnpm audit. Bump the pinned @types/react to 19.2.18
and @types/react-dom to 19.2.4 alongside. Regenerate lockfile.
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
arns.dev Ready Ready Preview Aug 10, 2026 3:35pm

Request Review

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