build(deps): bump type-is from 1.6.18 to 2.0.1 (#1866)

Bumps [type-is](https://github.com/jshttp/type-is) from 1.6.18 to 2.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jshttp/type-is/releases">type-is's
releases</a>.</em></p>
<blockquote>
<h2>2.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Refactor normalizeType function to simplify return statement by <a
href="https://github.com/Ayoub-Mabrouk"><code>@​Ayoub-Mabrouk</code></a>
in <a
href="https://redirect.github.com/jshttp/type-is/pull/61">jshttp/type-is#61</a></li>
<li>Refactor tryNormalizeType function for cleaner code by <a
href="https://github.com/Ayoub-Mabrouk"><code>@​Ayoub-Mabrouk</code></a>
in <a
href="https://redirect.github.com/jshttp/type-is/pull/59">jshttp/type-is#59</a></li>
<li>Replace deprecated String.prototype.substr() by <a
href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a>
in <a
href="https://redirect.github.com/jshttp/type-is/pull/50">jshttp/type-is#50</a></li>
<li>Optimize argument handling in typeofrequest function by <a
href="https://github.com/Ayoub-Mabrouk"><code>@​Ayoub-Mabrouk</code></a>
in <a
href="https://redirect.github.com/jshttp/type-is/pull/60">jshttp/type-is#60</a></li>
<li>Release 2.0.1 by <a
href="https://github.com/UlisesGascon"><code>@​UlisesGascon</code></a>
in <a
href="https://redirect.github.com/jshttp/type-is/pull/64">jshttp/type-is#64</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Ayoub-Mabrouk"><code>@​Ayoub-Mabrouk</code></a>
made their first contribution in <a
href="https://redirect.github.com/jshttp/type-is/pull/61">jshttp/type-is#61</a></li>
<li><a
href="https://github.com/CommanderRoot"><code>@​CommanderRoot</code></a>
made their first contribution in <a
href="https://redirect.github.com/jshttp/type-is/pull/50">jshttp/type-is#50</a></li>
<li><a
href="https://github.com/UlisesGascon"><code>@​UlisesGascon</code></a>
made their first contribution in <a
href="https://redirect.github.com/jshttp/type-is/pull/64">jshttp/type-is#64</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jshttp/type-is/compare/2.0.0...2.0.1">https://github.com/jshttp/type-is/compare/2.0.0...2.0.1</a></p>
<h2>2.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>README changes by <a
href="https://github.com/Yash-Singh1"><code>@​Yash-Singh1</code></a> in
<a
href="https://redirect.github.com/jshttp/type-is/pull/48">jshttp/type-is#48</a></li>
<li>add OSSF scorecard pipeline by <a
href="https://github.com/carpasse"><code>@​carpasse</code></a> in <a
href="https://redirect.github.com/jshttp/type-is/pull/55">jshttp/type-is#55</a></li>
<li>Fix ci pipeline by <a
href="https://github.com/carpasse"><code>@​carpasse</code></a> in <a
href="https://redirect.github.com/jshttp/type-is/pull/54">jshttp/type-is#54</a></li>
<li>2.x Staging PR by <a
href="https://github.com/wesleytodd"><code>@​wesleytodd</code></a> in <a
href="https://redirect.github.com/jshttp/type-is/pull/57">jshttp/type-is#57</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/Yash-Singh1"><code>@​Yash-Singh1</code></a>
made their first contribution in <a
href="https://redirect.github.com/jshttp/type-is/pull/48">jshttp/type-is#48</a></li>
<li><a href="https://github.com/carpasse"><code>@​carpasse</code></a>
made their first contribution in <a
href="https://redirect.github.com/jshttp/type-is/pull/55">jshttp/type-is#55</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jshttp/type-is/compare/1.6.18...2.0.0">https://github.com/jshttp/type-is/compare/1.6.18...2.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jshttp/type-is/blob/master/HISTORY.md">type-is's
changelog</a>.</em></p>
<blockquote>
<h1>2.0.1 / 2025-03-27</h1>
<h1>2.0.0 / 2024-08-31</h1>
<ul>
<li>Drop node &lt;18</li>
<li>Use <code>content-type@^1.0.5</code> and
<code>media-typer@^1.0.0</code> for type validation
<ul>
<li>No behavior changes, upgrades <code>media-typer</code></li>
</ul>
</li>
<li>deps: mime-types@^3.0.0
<ul>
<li>Add <code>application/toml</code> with extension
<code>.toml</code></li>
<li>Add <code>application/ubjson</code> with extension
<code>.ubj</code></li>
<li>Add <code>application/x-keepass2</code> with extension
<code>.kdbx</code></li>
<li>Add deprecated iWorks mime types and extensions</li>
<li>Add extension <code>.amr</code> to <code>audio/amr</code></li>
<li>Add extension <code>.cjs</code> to
<code>application/node</code></li>
<li>Add extension <code>.dbf</code> to
<code>application/vnd.dbf</code></li>
<li>Add extension <code>.m4s</code> to
<code>video/iso.segment</code></li>
<li>Add extension <code>.mvt</code> to
<code>application/vnd.mapbox-vector-tile</code></li>
<li>Add extension <code>.mxmf</code> to
<code>audio/mobile-xmf</code></li>
<li>Add extension <code>.opus</code> to <code>audio/ogg</code></li>
<li>Add extension <code>.rar</code> to
<code>application/vnd.rar</code></li>
<li>Add extension <code>.td</code> to
<code>application/urc-targetdesc+xml</code></li>
<li>Add extension <code>.trig</code> to
<code>application/trig</code></li>
<li>Add extensions from IANA for <code>application/*+xml</code>
types</li>
<li>Add <code>image/avif</code> with extension <code>.avif</code></li>
<li>Add <code>image/ktx2</code> with extension <code>.ktx2</code></li>
<li>Add <code>image/vnd.ms-dds</code> with extension
<code>.dds</code></li>
<li>Add new upstream MIME types</li>
<li>Fix extension of <code>application/vnd.apple.keynote</code> to be
<code>.key</code></li>
<li>Remove ambigious extensions from IANA for
<code>application/*+xml</code> types</li>
<li>Update primary extension to <code>.es</code> for
<code>application/ecmascript</code></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4a16e0850e"><code>4a16e08</code></a>
2.0.1 (<a
href="https://redirect.github.com/jshttp/type-is/issues/64">#64</a>)</li>
<li><a
href="e45c6afedc"><code>e45c6af</code></a>
chore: refactor <code>typeofrequest</code> function (<a
href="https://redirect.github.com/jshttp/type-is/issues/60">#60</a>)</li>
<li><a
href="b4e746dcbc"><code>b4e746d</code></a>
chore: refactor to replace deprecated String method (<a
href="https://redirect.github.com/jshttp/type-is/issues/50">#50</a>)</li>
<li><a
href="a00e748eeb"><code>a00e748</code></a>
chore: refactor <code>tryNormalizeType</code> function (<a
href="https://redirect.github.com/jshttp/type-is/issues/59">#59</a>)</li>
<li><a
href="5ecc1414eb"><code>5ecc141</code></a>
chore: refactor <code>normalizeType</code> function (<a
href="https://redirect.github.com/jshttp/type-is/issues/61">#61</a>)</li>
<li><a
href="0d79e2d0c5"><code>0d79e2d</code></a>
2.0.0</li>
<li><a
href="d8a2552c02"><code>d8a2552</code></a>
fix(deps): accept minors of media-typer</li>
<li><a
href="e5dc464bc8"><code>e5dc464</code></a>
fix(deps): accept minors of media-typer</li>
<li><a
href="ed1cc660b3"><code>ed1cc66</code></a>
Use content-type and media-typer for type validation</li>
<li><a
href="3700a79ebc"><code>3700a79</code></a>
fix(deps): replace media-typer with content-type</li>
<li>Additional commits viewable in <a
href="https://github.com/jshttp/type-is/compare/1.6.18...2.0.1">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~ulisesgascon">ulisesgascon</a>, a new
releaser for type-is since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=type-is&package-manager=npm_and_yarn&previous-version=1.6.18&new-version=2.0.1)](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>
This commit is contained in:
dependabot[bot]
2025-04-02 21:25:54 -07:00
committed by GitHub
parent a10d08f9ab
commit d5081a1520
2 changed files with 39 additions and 14 deletions

51
package-lock.json generated
View File

@@ -26,7 +26,7 @@
"on-finished": "^2.3.0",
"parseurl": "^1.3.2",
"statuses": "^2.0.1",
"type-is": "^1.6.16",
"type-is": "^2.0.1",
"vary": "^1.1.2"
},
"devDependencies": {
@@ -824,9 +824,10 @@
]
},
"node_modules/content-type": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
"integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==",
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
@@ -2872,11 +2873,12 @@
}
},
"node_modules/media-typer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
"integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz",
"integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
"node": ">= 0.8"
}
},
"node_modules/methods": {
@@ -4438,12 +4440,35 @@
}
},
"node_modules/type-is": {
"version": "1.6.18",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
"integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
"integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==",
"license": "MIT",
"dependencies": {
"media-typer": "0.3.0",
"mime-types": "~2.1.24"
"content-type": "^1.0.5",
"media-typer": "^1.1.0",
"mime-types": "^3.0.0"
},
"engines": {
"node": ">= 0.6"
}
},
"node_modules/type-is/node_modules/mime-db": {
"version": "1.54.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
"integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/type-is/node_modules/mime-types": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
"integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
"license": "MIT",
"dependencies": {
"mime-db": "^1.54.0"
},
"engines": {
"node": ">= 0.6"