fix(file): report gzip from its header instead of inflating it (#365)
file-type probes gzip members by inflating them to look for an inner tar. The probe cancels a byte-limited stream over a Node-backed DecompressionStream, and Node synthesizes an AbortError for that cancellation which escapes as an unhandled rejection after file has already returned exit code 0.
J
Jeremy Mack committed
bbf38812f621081f9c3203b7f887d1e5cb12dcaa
Parent: 08e22d8
Committed by GitHub <noreply@github.com>
on 9/7/2026, 7:59:31 PM