next.js
06b11a2f - [16.5] fix(next/image): Cap upstream image cache ages at 2^31 seconds (#102517) (#102588)

Commit
1 day ago
[16.5] fix(next/image): Cap upstream image cache ages at 2^31 seconds (#102517) (#102588) Backports #102517 (fix(next/image): Cap upstream image cache ages at 2^31 seconds) to `releases/stable/16-5`. Clean cherry-pick (`git cherry-pick -x a8b5f64fee7b13e40ba831be6f32028e01c83978`), no conflicts. The diff is identical to the upstream commit. ### Verification - `pnpm exec jest --runInBand test/unit/image-optimizer/get-max-age.test.ts`: 14/14 pass, including the new cap tests - `pnpm prettier --check` and `eslint` on the two changed files: clean - A broader local `pnpm test-unit` run had 2 failures in `fast-set-immediate.external.test.ts` (uncaughtException ordering, local Node v24.22.3). The same 2/60 fail with these two files reverted to the base branch, so they are independent of this change. <!-- NEXT_JS_LLM --> <!-- fleet a1fa6051-ead1-4dc5-ab97-2655d9249ef5 --> Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com> Co-authored-by: Steven <steven@ceriously.com>
Author
Parents
Loading