Releases: sindresorhus/file-type
Releases · sindresorhus/file-type
v12.0.1
v12.0.0
v11.1.0
v11.0.0
Breaking:
- Return
undefined
instead ofnull
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';
toimport fileType = require('file-type');
- You need to change
- Drop faking ESM default export support 9dcf28b
Enhancements:
- Rework mpeg4 check and add support for some more mpeg4 and ISO base media formats (#206) feaa217
- Add support for
ac3
andvoc
formats (#201) 7038abc - Add support for
lnk
andalias
formats (#200) aacd31a - Add support for pre-POSIX
tar
(#204) fc9f973 - Add support for Sony DSF (DSD Stream File) format (#203) be74d72
Fixes: