Commit 34aea1f
authored
Bump github.com/gabriel-vasile/mimetype from 1.4.8 to 1.4.10 (#1463)
Bumps
[github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype)
from 1.4.8 to 1.4.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gabriel-vasile/mimetype/releases">github.com/gabriel-vasile/mimetype's
releases</a>.</em></p>
<blockquote>
<h2>v1.4.10 perfomance inprovements, tests and new formats</h2>
<p>This release adds support for XHTML, Lotus-1-2-3, KML, shell scripts,
VSDX, OneNote, CHM and Netpbm file formats.
Changes were made to make mimetype behave more file linux <code>$ file
--mime</code> utility.</p>
<p><a
href="https://github.com/gabriel-vasile/mimetype_tests">https://github.com/gabriel-vasile/mimetype_tests</a>
repo is now used for running comparisons between <code>mimetype</code>
and <code>$ file --mime</code>. It contains 50 000 samples and
<code>mimetype</code> identifies the same format as <code>$ file
--mime</code> for ~97% of them. Results are in the <a
href="https://github.com/gabriel-vasile/mimetype_tests/actions">Actions
tab</a>.</p>
<h2>What's Changed</h2>
<ul>
<li>charset: remove dependency on x/net for parsing html in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/669">gabriel-vasile/mimetype#669</a></li>
<li>CSV: replace stdlib reader with a parser that allocates less in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/672">gabriel-vasile/mimetype#672</a></li>
<li>svg: make detection harder in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/674">gabriel-vasile/mimetype#674</a></li>
<li>pdf: relax check to match file in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/677">gabriel-vasile/mimetype#677</a></li>
<li>csv: stop mutating input byte slices; for <a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/680">#680</a>
in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/681">gabriel-vasile/mimetype#681</a></li>
<li>charset: remove dependency on mime in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/684">gabriel-vasile/mimetype#684</a></li>
<li>mso_office: increase limit of checked entries from 4 to 100 in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/685">gabriel-vasile/mimetype#685</a></li>
<li>jar: replace application/jar with application/java-archive in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/686">gabriel-vasile/mimetype#686</a></li>
<li>Zip container improvements in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/687">gabriel-vasile/mimetype#687</a></li>
<li>Jar first entry inside a zip in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/688">gabriel-vasile/mimetype#688</a></li>
<li>svg+html: better handling for comments in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/689">gabriel-vasile/mimetype#689</a></li>
<li>xhtml: add support in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/690">gabriel-vasile/mimetype#690</a></li>
<li>misc: behave more like file in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/691">gabriel-vasile/mimetype#691</a></li>
<li>lotus-1-2-3: add support in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/695">gabriel-vasile/mimetype#695</a></li>
<li>Add support for zipped KML files by <a
href="https://github.com/dmlambea"><code>@dmlambea</code></a> in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/693">gabriel-vasile/mimetype#693</a></li>
<li>shell: add support by <a
href="https://github.com/scop"><code>@scop</code></a> in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/694">gabriel-vasile/mimetype#694</a></li>
<li>ruby: add support by <a
href="https://github.com/scop"><code>@scop</code></a> in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/700">gabriel-vasile/mimetype#700</a></li>
<li>python: associate with python2 and python3 shebangs by <a
href="https://github.com/scop"><code>@scop</code></a> in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/699">gabriel-vasile/mimetype#699</a></li>
<li>vsdx: add support in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/702">gabriel-vasile/mimetype#702</a></li>
<li>oneNote: add support in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/703">gabriel-vasile/mimetype#703</a></li>
<li>chm: add support for Microsoft Compiled HTML Help in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/704">gabriel-vasile/mimetype#704</a></li>
<li>Netpbm: add support by <a
href="https://github.com/kenshaw"><code>@kenshaw</code></a> in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/705">gabriel-vasile/mimetype#705</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/dmlambea"><code>@dmlambea</code></a>
made their first contribution in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/693">gabriel-vasile/mimetype#693</a></li>
<li><a href="https://github.com/scop"><code>@scop</code></a> made their
first contribution in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/694">gabriel-vasile/mimetype#694</a></li>
<li><a href="https://github.com/kenshaw"><code>@kenshaw</code></a> made
their first contribution in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/705">gabriel-vasile/mimetype#705</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.9...v1.4.10">https://github.com/gabriel-vasile/mimetype/compare/v1.4.9...v1.4.10</a></p>
<h2>v1.4.10-rc2 XHTML, Lotus, KML, VSDX, OneNote, shell scripts</h2>
<p>This release adds support for XHTML, Lotus-1-2-3, KML, and shell
scripts. Changes were made to make mimetype behave more file linux
<code>$ file --mime</code> utility</p>
<p><a
href="https://github.com/gabriel-vasile/mimetype_tests">https://github.com/gabriel-vasile/mimetype_tests</a>
repo is now used for running comparisons betweem <code>mimetype</code>
and <code>$ file --mime</code>. It contains 50 000 samples and
<code>mimetype</code> identifies the same format as <code>$ file
--mime</code> for ~97% of them.</p>
<h2>What's Changed</h2>
<ul>
<li>charset: remove dependency on x/net for parsing html in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/669">gabriel-vasile/mimetype#669</a></li>
<li>CSV: replace stdlib reader with a parser that allocates less in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/672">gabriel-vasile/mimetype#672</a></li>
<li>svg: make detection harder in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/674">gabriel-vasile/mimetype#674</a></li>
<li>pdf: relax check to match file in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/677">gabriel-vasile/mimetype#677</a></li>
<li>csv: stop mutating input byte slices; for <a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/680">#680</a>
in <a
href="https://redirect.github.com/gabriel-vasile/mimetype/pull/681">gabriel-vasile/mimetype#681</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/8dee3e792e7e4ca7f784e815379ea9f5ca766fd4"><code>8dee3e7</code></a>
Add Netpbm support (<a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/705">#705</a>)</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/fefd0af4d23d687d68b717c90469f2fd73de981e"><code>fefd0af</code></a>
chm: add support for Microsoft Compiled HTML Help</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/eaef3b14d579fd37ec9c6c4c79fb8ab24adaa980"><code>eaef3b1</code></a>
oneNote: add support</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/405687f3fbe1c80416fed5dd8f5d9066474f57ba"><code>405687f</code></a>
vsdx: add support</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/cbeec0330db29652688bc74e5444e9acc885aee2"><code>cbeec03</code></a>
python: associate with python2 and python3 shebangs (<a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/699">#699</a>)</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/f5c807fbe29ca7b3bb5785beb0f5e06a0d08e267"><code>f5c807f</code></a>
ruby: add support</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/9e0c82385e76f4ce59b1646464a10cee6d673393"><code>9e0c823</code></a>
charset: limit detection to first 1024 bytes</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/2f0854be3b9bbae4d449f8994d133f1c743f1885"><code>2f0854b</code></a>
text: limit check to max 4096 bytes</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/310dc04f8657a9dca3351817276cf8e36a76fd38"><code>310dc04</code></a>
zip: stop searching when PK\x03\x04 cannot be found (<a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/696">#696</a>)</li>
<li><a
href="https://github.com/gabriel-vasile/mimetype/commit/9ffa89204dcfcf5fdbd5a566592a5c98d86a63d4"><code>9ffa892</code></a>
shell: add support (<a
href="https://redirect.github.com/gabriel-vasile/mimetype/issues/694">#694</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/gabriel-vasile/mimetype/compare/v1.4.8...v1.4.10">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent c325e92 commit 34aea1f
2 files changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
0 commit comments