Skip to content

Commit 6840c8c

Browse files
authored
fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.10 (#625)
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [github.com/gabriel-vasile/mimetype](https://redirect.github.com/gabriel-vasile/mimetype) | indirect | patch | `v1.4.9` -> `v1.4.10` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/gabriel-vasile/mimetype/badge)](https://securityscorecards.dev/viewer/?uri=github.com/gabriel-vasile/mimetype) | | [github.com/gabriel-vasile/mimetype](https://redirect.github.com/gabriel-vasile/mimetype) | require | patch | `v1.4.9` -> `v1.4.10` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/gabriel-vasile/mimetype/badge)](https://securityscorecards.dev/viewer/?uri=github.com/gabriel-vasile/mimetype) | --- ### Release Notes <details> <summary>gabriel-vasile/mimetype (github.com/gabriel-vasile/mimetype)</summary> ### [`v1.4.10`](https://redirect.github.com/gabriel-vasile/mimetype/releases/tag/v1.4.10): perfomance inprovements, tests and new formats [Compare Source](https://redirect.github.com/gabriel-vasile/mimetype/compare/v1.4.9...v1.4.10) 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 `$ file --mime` utility. <https://github.com/gabriel-vasile/mimetype_tests> repo is now used for running comparisons between `mimetype` and `$ file --mime`. It contains 50 000 samples and `mimetype` identifies the same format as `$ file --mime` for \~97% of them. Results are in the [Actions tab](https://redirect.github.com/gabriel-vasile/mimetype_tests/actions). ##### What's Changed - charset: remove dependency on x/net for parsing html in [#&#8203;669](https://redirect.github.com/gabriel-vasile/mimetype/pull/669) - CSV: replace stdlib reader with a parser that allocates less in [#&#8203;672](https://redirect.github.com/gabriel-vasile/mimetype/pull/672) - svg: make detection harder in [#&#8203;674](https://redirect.github.com/gabriel-vasile/mimetype/pull/674) - pdf: relax check to match file in [#&#8203;677](https://redirect.github.com/gabriel-vasile/mimetype/pull/677) - csv: stop mutating input byte slices; for [#&#8203;680](https://redirect.github.com/gabriel-vasile/mimetype/issues/680) in [#&#8203;681](https://redirect.github.com/gabriel-vasile/mimetype/pull/681) - charset: remove dependency on mime in [#&#8203;684](https://redirect.github.com/gabriel-vasile/mimetype/pull/684) - mso\_office: increase limit of checked entries from 4 to 100 in [#&#8203;685](https://redirect.github.com/gabriel-vasile/mimetype/pull/685) - jar: replace application/jar with application/java-archive in [#&#8203;686](https://redirect.github.com/gabriel-vasile/mimetype/pull/686) - Zip container improvements in [#&#8203;687](https://redirect.github.com/gabriel-vasile/mimetype/pull/687) - Jar first entry inside a zip in [#&#8203;688](https://redirect.github.com/gabriel-vasile/mimetype/pull/688) - svg+html: better handling for comments in [#&#8203;689](https://redirect.github.com/gabriel-vasile/mimetype/pull/689) - xhtml: add support in [#&#8203;690](https://redirect.github.com/gabriel-vasile/mimetype/pull/690) - misc: behave more like file in [#&#8203;691](https://redirect.github.com/gabriel-vasile/mimetype/pull/691) - lotus-1-2-3: add support in [#&#8203;695](https://redirect.github.com/gabriel-vasile/mimetype/pull/695) - Add support for zipped KML files by [@&#8203;dmlambea](https://redirect.github.com/dmlambea) in [#&#8203;693](https://redirect.github.com/gabriel-vasile/mimetype/pull/693) - shell: add support by [@&#8203;scop](https://redirect.github.com/scop) in [#&#8203;694](https://redirect.github.com/gabriel-vasile/mimetype/pull/694) - ruby: add support by [@&#8203;scop](https://redirect.github.com/scop) in [#&#8203;700](https://redirect.github.com/gabriel-vasile/mimetype/pull/700) - python: associate with python2 and python3 shebangs by [@&#8203;scop](https://redirect.github.com/scop) in [#&#8203;699](https://redirect.github.com/gabriel-vasile/mimetype/pull/699) - vsdx: add support in [#&#8203;702](https://redirect.github.com/gabriel-vasile/mimetype/pull/702) - oneNote: add support in [#&#8203;703](https://redirect.github.com/gabriel-vasile/mimetype/pull/703) - chm: add support for Microsoft Compiled HTML Help in [#&#8203;704](https://redirect.github.com/gabriel-vasile/mimetype/pull/704) - Netpbm: add support by [@&#8203;kenshaw](https://redirect.github.com/kenshaw) in [#&#8203;705](https://redirect.github.com/gabriel-vasile/mimetype/pull/705) ##### New Contributors - [@&#8203;dmlambea](https://redirect.github.com/dmlambea) made their first contribution in [#&#8203;693](https://redirect.github.com/gabriel-vasile/mimetype/pull/693) - [@&#8203;scop](https://redirect.github.com/scop) made their first contribution in [#&#8203;694](https://redirect.github.com/gabriel-vasile/mimetype/pull/694) - [@&#8203;kenshaw](https://redirect.github.com/kenshaw) made their first contribution in [#&#8203;705](https://redirect.github.com/gabriel-vasile/mimetype/pull/705) **Full Changelog**: <gabriel-vasile/mimetype@v1.4.9...v1.4.10> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44My4yIiwidXBkYXRlZEluVmVyIjoiNDEuODMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Signed-off-by: ocmbot[bot] <125909804+ocmbot[bot]@users.noreply.github.com> Co-authored-by: ocmbot[bot] <125909804+ocmbot[bot]@users.noreply.github.com>
1 parent c915471 commit 6840c8c

6 files changed

Lines changed: 9 additions & 18 deletions

File tree

bindings/go/input/file/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module ocm.software/open-component-model/bindings/go/input/file
33
go 1.25.0
44

55
require (
6-
github.com/gabriel-vasile/mimetype v1.4.9
6+
github.com/gabriel-vasile/mimetype v1.4.10
77
github.com/stretchr/testify v1.10.0
88
ocm.software/open-component-model/bindings/go/blob v0.0.9
99
ocm.software/open-component-model/bindings/go/constructor v0.0.0-20250825195414-27a3687cb9bc
@@ -22,7 +22,6 @@ require (
2222
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
2323
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
2424
go.yaml.in/yaml/v2 v2.4.2 // indirect
25-
golang.org/x/net v0.43.0 // indirect
2625
golang.org/x/sync v0.16.0 // indirect
2726
golang.org/x/text v0.28.0 // indirect
2827
gopkg.in/yaml.v3 v3.0.1 // indirect

bindings/go/input/file/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
88
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
99
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
1010
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
11-
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
12-
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
11+
github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0=
12+
github.com/gabriel-vasile/mimetype v1.4.10/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
1313
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
1414
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
1515
github.com/invopop/jsonschema v0.13.0 h1:KvpoAJWEjR3uD9Kbm2HWJmqsEaHt8lBUpd0qHcIi21E=
@@ -38,8 +38,6 @@ go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
3838
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
3939
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
4040
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
41-
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
42-
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
4341
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
4442
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
4543
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=

cli/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ require (
3535
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
3636
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
3737
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
38-
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
38+
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
3939
github.com/go-logr/logr v1.4.3 // indirect
4040
github.com/inconshreveable/mousetrap v1.1.0 // indirect
4141
github.com/invopop/jsonschema v0.13.0 // indirect
@@ -51,7 +51,6 @@ require (
5151
github.com/veqryn/slog-context v0.8.0 // indirect
5252
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
5353
go.yaml.in/yaml/v2 v2.4.2 // indirect
54-
golang.org/x/net v0.43.0 // indirect
5554
golang.org/x/term v0.34.0 // indirect
5655
golang.org/x/text v0.28.0 // indirect
5756
gopkg.in/yaml.v3 v3.0.1 // indirect

cli/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
1313
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1414
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
1515
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
16-
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
17-
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
16+
github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0=
17+
github.com/gabriel-vasile/mimetype v1.4.10/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
1818
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
1919
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
2020
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
@@ -67,8 +67,6 @@ go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
6767
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
6868
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
6969
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
70-
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
71-
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
7270
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
7371
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
7472
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=

cli/integration/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/buger/jsonparser v1.1.1 // indirect
2121
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
2222
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
23-
github.com/gabriel-vasile/mimetype v1.4.9 // indirect
23+
github.com/gabriel-vasile/mimetype v1.4.10 // indirect
2424
github.com/go-logr/logr v1.4.3 // indirect
2525
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2626
github.com/invopop/jsonschema v0.13.0 // indirect
@@ -37,7 +37,6 @@ require (
3737
github.com/veqryn/slog-context v0.8.0 // indirect
3838
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
3939
go.yaml.in/yaml/v2 v2.4.2 // indirect
40-
golang.org/x/net v0.43.0 // indirect
4140
golang.org/x/sync v0.16.0 // indirect
4241
golang.org/x/sys v0.35.0 // indirect
4342
golang.org/x/text v0.28.0 // indirect

cli/integration/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
1111
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1212
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
1313
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
14-
github.com/gabriel-vasile/mimetype v1.4.9 h1:5k+WDwEsD9eTLL8Tz3L0VnmVh9QxGjRmjBvAG7U/oYY=
15-
github.com/gabriel-vasile/mimetype v1.4.9/go.mod h1:WnSQhFKJuBlRyLiKohA/2DtIlPFAbguNaG7QCHcyGok=
14+
github.com/gabriel-vasile/mimetype v1.4.10 h1:zyueNbySn/z8mJZHLt6IPw0KoZsiQNszIpU+bX4+ZK0=
15+
github.com/gabriel-vasile/mimetype v1.4.10/go.mod h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
1616
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
1717
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
1818
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
@@ -64,8 +64,6 @@ go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
6464
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
6565
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
6666
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
67-
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
68-
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
6967
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
7068
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
7169
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=

0 commit comments

Comments
 (0)