Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/gabriel-vasile/mimetype from 1.1.0 to 1.4.0 #2

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 20, 2022

Bumps github.com/gabriel-vasile/mimetype from 1.1.0 to 1.4.0.

Release notes

Sourced from github.com/gabriel-vasile/mimetype's releases.

v1.4.0

Features:

  • support for 3 new formats: .msi, .har, .jxl; #182, #174, #154
  • possibility to Extend individual MIME nodes #158

Fixes:

  • exclude weird control characters from valid UTF8 #186
  • rename x-sqlite3 to vnd.sqlite3 #170
  • single JSON value are no longer detected as JSON #175
  • fix vint-width parsing in matroska #185

Thank you for your contributions @​ne1llee, @​waybackarchiver, @​jonsneyers, @​sigma, @​anthonyfok, @​dennisstritzke, @​IevgenLuzan, @​Kycklingar.

Fix EOF returned for empty readers

v1.2.0 introduced a change where error EOF was returned for empty readers. Previously, text/plain would be returned for such an input.

v1.3.1 comes back to the pre-v1.2.0 behavior.

Add Extend functionality and support for .lnk and .xpm formats

Add Extend function. It allows users to detect other file formats not detected by mimetype. See example for usage.

New supported formats:

  • .lnk application/x-ms-shortcut
  • .xpm image/x-xpixmap

Fixes:

  • #152 Check for zip header in chrome extensions
  • #145 Add support for other text encodings/charsets

Add SetLimit function and support for 5 other formats

Add SetLimit function. It lets users set the length of the header mimetype reads from the input. Longer headers give better detection results for file formats that keep their magic numbers towards the end of the file.

New supported formats:

  • OWL application/owl+xml
  • SXC application/vnd.sun.xml.calc
  • HDR image/vnd.radiance
  • ODC application/x-vnd.oasis.opendocument.chart
  • GLB model/gltf-binary

Add support for several formats

Add support for:

  • Adobe FDF
  • Adobe XFDF
  • P7S
  • M3U
  • CPIO
  • TZIF
  • Outlook MSG

... (truncated)

Commits
  • 2163896 Merge pull request #188 from gabriel-vasile/utf-control-chars
  • fe5cc77 Merge pull request #190 from dennisstritzke/sqlite-mime-change
  • 641d944 Changing sqlite3 to application/vnd.sqlite3 and retaining application/x-sqlit...
  • 220897d Merge pull request #176 from gabriel-vasile/jsonvalues
  • 2d2c175 Exclude weird control characters from valid utf8 text/plain
  • a9b9b9d Merge pull request #185 from Kycklingar/whammy2
  • 5f340cc rename vint func
  • 90b7576 improve webm/matroska detection
  • a040a9f Merge pull request #184 from gabriel-vasile/better-comment-wording
  • 765beb3 Better wording for errMIME comment
  • Additional commits viewable in compare view

Dependabot compatibility score

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 [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.1.0 to 1.4.0.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](gabriel-vasile/mimetype@v1.1.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 20, 2022
@bodgit bodgit merged commit e3ab6ef into master Feb 20, 2022
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.0 branch February 20, 2022 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant