file-type
22.2.0 · 14 Oct 2026MIT51.4M / weekRepositoryHomepagenpmAtom feed
Upgrading file-type from 21.1.1 to 21.3.4
6 releases in betweenevery note read
- 0
- changes to make
- 2
- advisories fixed
- 3
- new
- 1
- fix
Security
Fixes 2 advisories affecting 21.1.1
- file-type affected by infinite loop in ASF parser on malformed input with zero-size sub-headermoderate · GHSA-5v7r-6r5c-r473
- file-type: ZIP Decompression Bomb DoS via [Content_Types].xml entrymoderate · GHSA-j47w-4g3g-c36v
- 21.3.2
Fix ZIP bomb in known-size ZIP probing (GHSA-j47w-4g3g-c36v) a155cd7
- 21.3.1
Fix infinite loop in ASF parser on malformed input (github.com/sindresorhus/file-type/security/advi…) 319abf8
Release by release
21.3.3 – 21.3.42 releases, nothing new or fixed in the notes
- fixed
Fix bound recursive BOM and ID3 detection 370ed91
- fixed
21.3.1nothing new or fixed in the note
- new
Add support for Mach-O Universal (aka "Fat") binaries and additional architectures (#779) d223491
- new
- new
Add support for SPSS data files (#787) 889f638
- new
Add support for JMP (#784) 093dba0
- new
2 other lines we could not sort, mostly version bumps
- 21.3.4
Harden parser more aec20a0
- 21.3.3
Harden parser c48c90b 135f91b