Skip to content

Releases: sindresorhus/file-type

v14.1.4

11 Mar 05:54
Compare
Choose a tag to compare
  • Support current-generation Nikon D750 NEF (#337) 32590a9

v14.1.3...v14.1.4

v14.1.3

24 Feb 07:38
Compare
Choose a tag to compare
  • Fix bug for short streams where stream ends on first read (#334) 90a213d

v14.1.2...v14.1.3

v14.1.2

12 Feb 20:11
Compare
Choose a tag to compare
  • Fix missing fromTokenizer type definition (#331) 3432a14

v14.1.1...v14.1.2

v14.1.1

05 Feb 19:23
Compare
Choose a tag to compare
  • Prevent throwing error in .stream() on empty stream (#324) 659e379

v14.1.0...v14.1.1

v14.1.0

05 Feb 05:15
Compare
Choose a tag to compare
  • Add support for MPEG program stream (#322) 383a831
  • Add support for AI files (Adobe Illustrator) (#323) 5eb8458

v14.0.0...v14.1.0

v14.0.0

02 Feb 09:01
Compare
Choose a tag to compare

Breaking

  • Removed .minimumBytes (#319) c4966b8
    • FileType.minimumBytes became obsolete since we now read beyond this 4k boundary. Use . fromFile() for efficient detection.
  • Update strtok3 dependency (#318) 4616640
    • Only breaking if you use FileType.fromTokenizer(tokenizer), see #318 (comment).

Fixes

  • Fix detecting PNG with long iTXt chunk (#321) a59869b

v13.1.2...v14.0.0

v13.1.2

22 Jan 04:57
Compare
Choose a tag to compare
  • Detect Office 365 documents: docx, pptx, xlsx (#317) 8f70d9c
  • Fix end-of-stream exception in PNG level 2 parser (#316) 79d9e25

v13.1.1...v13.1.2

v13.1.1

19 Jan 17:20
Compare
Choose a tag to compare

v13.1.0...v13.1.1

v13.1.0

15 Jan 03:26
Compare
Choose a tag to compare
  • Add audio module detections: .it, .s3m & .xm (#305) b824802

v13.0.3...v13.1.0

v13.0.3

09 Jan 05:16
Compare
Choose a tag to compare
  • Restore Node.js 8 compatibility 09eec7b

v13.0.2...v13.0.3