next.js
fix(next/image): improve and simplify detect-content-type
#82118
Merged

fix(next/image): improve and simplify detect-content-type #82118

styfle merged 10 commits into canary from styfle/fix-detect-content-type
styfle
styfle fix(next/image): improve detect-content-type
e49d25b0
styfle simplify upstream type detection
e92127ef
styfle add tests for jxl and heic
07f85c85
styfle add test for pdf
76c7dcd3
styfle remove console.log()
542528c0
styfle styfle requested a review 251 days ago
vercel
ijjk ijjk added created-by: Next.js team
ijjk ijjk added tests
ijjk ijjk added type: next
ijjk
vercel
vercel commented on 2025-07-28
graphite-app
graphite-app commented on 2025-07-28
ijjk
ijjk
ijjk approved these changes on 2025-07-28
styfle remove assertions on nextOutput since its redundant when we already c…
3847e4a1
styfle add exhausive switch cases
4ccf1418
vercel
vercel commented on 2025-07-28
styfle add test for jp2
23171202
vercel
vercel commented on 2025-07-28
styfle fix test to use valid svg
68b18f23
vercel
vercel commented on 2025-07-28
styfle add missing exhaustive check
75407314
styfle styfle merged c49b7b11 into canary 250 days ago
styfle styfle deleted the styfle/fix-detect-content-type branch 250 days ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 236 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone