Skip to content

Releases: sindresorhus/file-type

v12.2.0

18 Aug 12:24
Compare
Choose a tag to compare
  • Add fileType.extensions and fileType.mimeTypes properties, so you can check what extension/mime-types this package supports (#229) bca081b
  • Make Buffer usage optional again (for improved browser support) (#232) dc611b4
  • Reduce msi false-positives (#225) 702f795

v12.1.0...v12.2.0

v12.1.0

26 Jul 11:30
Compare
Choose a tag to compare

v12.0.1...v12.1.0

v12.0.1

06 Jul 06:11
Compare
Choose a tag to compare

v12.0.0...v12.0.1

v12.0.0

12 Jun 17:55
Compare
Choose a tag to compare

Breaking:

Enhancements:

v11.1.0...v12.0.0

v11.1.0

23 May 09:49
Compare
Choose a tag to compare

Enhancements:

  • Add support for orf, arw, dng, and nef RAW image types (#213) 6c3df3e

Fixes:

  • Fix handling of Uint8Array and ArrayBuffer (#214) e096b4b

v11.0.0...v11.1.0

v11.0.0

04 May 10:34
Compare
Choose a tag to compare

Breaking:

  • Return undefined instead of null when there's no match 1359ccc
  • TypeScript users only:
    • Drop faking ESM default export support 9dcf28b
      • You need to change import fileType from 'file-type'; to import fileType = require('file-type');

Enhancements:

  • Rework mpeg4 check and add support for some more mpeg4 and ISO base media formats (#206) feaa217
  • Add support for ac3 and voc formats (#201) 7038abc
  • Add support for lnk and alias formats (#200) aacd31a
  • Add support for pre-POSIX tar (#204) fc9f973
  • Add support for Sony DSF (DSD Stream File) format (#203) be74d72

Fixes:

v10.11.0...v11.0.0

v10.11.0

11 Apr 16:06
Compare
Choose a tag to compare

v10.10.0...v10.11.0

v10.10.0

01 Apr 09:44
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#194) d4ee6db

v10.9.0...v10.10.0

v10.9.0

05 Mar 15:15
Compare
Choose a tag to compare

v10.8.0...v10.9.0

v10.8.0

18 Feb 19:18
Compare
Choose a tag to compare

v10.7.1...v10.8.0