Skip to content

build(deps): bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.3.1#103

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.3.1
Closed

build(deps): bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.3.1#103
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.3.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 5, 2021

Bumps github.com/gabriel-vasile/mimetype from 1.1.2 to 1.3.1.

Release notes

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

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
Commits
  • 04bcd30 Check for EOF in DetectReader; for #162
  • 422cc9c Make readme shorter
  • 92dcee4 Use mtype as the detected MIME type variable instead of mime
  • 806223f Improve readme: make it shorter
  • 420a052 Update readme gif
  • fcfcd4e Remove .travis.yml
  • 93c542f Add github actions config
  • c980ba0 Merge pull request #152 from madss/crx-zip-check
  • 9a8c4eb Check for zip header in chrome extensions
  • a17475b Add Extend function
  • 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.2 to 1.3.1.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](gabriel-vasile/mimetype@v1.1.2...v1.3.1)

---
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 the dependencies Pull requests that update a dependency file label Jul 5, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 18, 2021

Superseded by #125.

@dependabot dependabot bot closed this Oct 18, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.3.1 branch October 18, 2021 01:18
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants