Skip to content

Bump Next.js and pin image optimiser - #33

Draft
ajhawkings wants to merge 1 commit into
mainfrom
agent/bump-next-and-pin-optimizer
Draft

Bump Next.js and pin image optimiser#33
ajhawkings wants to merge 1 commit into
mainfrom
agent/bump-next-and-pin-optimizer

Conversation

@ajhawkings

Copy link
Copy Markdown
Owner

Summary

  • upgrade next and eslint-config-next from 16.2.6 to 16.2.12
  • pin next-image-export-optimizer at 1.20.1
  • refresh the npm lockfile

Why

The Next.js patch picks up the current framework security fixes. The optimiser pin makes the reviewed version explicit; npm ci was already reproducible through the lockfile, but the manifest no longer permits a newer 1.x release to enter a future lockfile refresh.

Validation

  • npm ci --ignore-scripts
  • npm run lint
  • npm run build — 27 static pages exported and 2,520 image variants generated

Remaining audit output

npm audit --omit=dev still reports transitive high-severity advisories for PostCSS and Sharp. Next 16.2.12 still pins PostCSS 8.4.31, and next-image-export-optimizer 1.20.1 depends on Sharp ^0.34.5; npm currently offers no compatible clean upgrade for either path. These dependencies are used during the trusted static build rather than in a long-running Pages server, which limits exposure but does not make the advisories disappear.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying conradmargoles with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5b9e899
Status: ✅  Deploy successful!
Preview URL: https://901cdc1c.conradmargoles.pages.dev
Branch Preview URL: https://agent-bump-next-and-pin-opti.conradmargoles.pages.dev

View logs

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