Releases: sindresorhus/file-type
Releases Β· sindresorhus/file-type
v20.0.0
Breaking
- Drop MIME-type and extension enumeration in types (#693) 0ff11c6
- Remove
NodeFileTypeParser
in favor of usingFileTypeParser
on all platforms (#707) ff8eed8
Improvements
- Give API access to
FileTypeParser#detectors
(#704) 7e72bbc - Improve Nikon RAW NEF (Tiff) format detection (#670) cf6fc1e
- Add support for Java archive (
.jar
) (#719) 8651809 - Add support for MSOffice macro-enabled docs and templates (#720) 7fe5667
- Add support for OpenDocument graphics and templates (#718) 4db407d
- Add support for Microsoft Excel template with macros (.xltm) (#714) 1fe621a
- Add support for Microsoft Word template (.dotx) (#713) 643ef78
- Add support for Microsoft Excel template (
.xltx
) (#712) 0dab3e0 - Add support for Microsoft PowerPoint template (
.potx
) (#710) f978619 - Add support for ZIP decompression using
@tokenizer/inflate
(#695) 399b0f1 - Add support for
.lz4
file format (#706) 74acf94 - Add support for format
.drc
, Google's Draco 3D Data Compression (#702) e99257d
Fixes
v19.6.0
v19.5.0
v19.4.1
v19.4.0
v19.3.0
v19.2.0
v19.1.1
v19.1.0
- Replace Buffer usage with Uint8Array (#633) 00e051b
- Add support for reading from a web stream (#635) b815b5e
Release notes
- Please note that fileTypeFromBlob(blob) is streaming the Blob instead of buffering, which require at least Node.js β₯ 20.