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