fix(deps): update dependency file-type to v18
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
file-type | 16.5.4 -> 18.0.0 |
Release Notes
sindresorhus/file-type
v18.0.0
Breaking
- Require Node.js 14
6d457c5
v17.1.6
v17.1.5
- Fix PDF detection in some cases
a0c24eb
v17.1.4
v17.1.3
- Fix: Malformed MKV could cause an infinite loop
2c4d120
- CVE-2022-36313
- Also backported to 16.5.4
v17.1.2
v17.1.1
v17.1.0
- Add support for ELF (Unix Executable and Linkable Format) (#514)
c4983ea
- Add avif-sequence file for animation (#512)
752afb3
v17.0.2
- Prevent "Concurrent read operation" error to be thrown in some cases while reading from a stream (#510)
565f7f3
v17.0.1
v17.0.0
Breaking
- Require Node.js 12.20 (#472)
826b4ad
- This package is now pure ESM. Please read this.
- Remove the
/browser
sub-export287e361
- Browser support is now included by default.
- Moved from a default export to named exports:
require('file-type').fromBuffer
→import {fileTypeFromBuffer} from 'file-type'
require('file-type').fromFile
→import {fileTypeFromFile} from 'file-type'
require('file-type').fromStream
→import {fileTypeFromStream} from 'file-type'
require('file-type').fromTokenizer
→import {fileTypeFromTokenizer} from 'file-type'
require('file-type').stream
→import {fileTypeStream} from 'file-type'
require('file-type').extensions
→import {supportedExtensions} from 'file-type'
require('file-type').mimeTypes
→import {supportedMimeTypes} from 'file-type'
Improvements
- Improve WebM detection (#486)
b23be62
- Improve parsing TIFF files (#482)
82c9ccb
- Detect both raw and BDAV versions of MPEG-2 Transport Streams (#497)
4ce6838
- Detect XML UTF-16-BE & UTF-16-LE via pattern matching (#490)
a2cf2b3
- Support XML encoding with UTF-8 including BOM field (#491)
8bca6b4
Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.