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'
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps file-type from 16.5.0 to 17.0.2.
Release notes
Sourced from file-type's releases.
Commits
2e71fd8
17.0.2565f7f3
Prevent "Concurrent read operation" error to be thrown in some cases while re...ec2c02d
17.0.1b27fb5f
Update strtok3 & token-types for explicitnode:buffer
imports (#507)8037f49
17.0.0bb4f822
Meta tweaks4ce6838
Detect both raw and BDAV versions of MPEG-2 Transport Streams (#497)6981bdf
Refactor function_fromTokenizer
to aFileTypeParser
class (#493)f0a5f29
Fix typo in readme (#496)a2cf2b3
Detect XML UTF-16-BE & UTF-16-LE via pattern matching (#490)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)