From 217b41053a6bfbb4a31f4c925fed37e8f0f2aa4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:21:31 +0000 Subject: [PATCH] Bump mime and @types/mime Bumps [mime](https://github.com/broofa/mime) and [@types/mime](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mime). These dependencies needed to be updated together. Updates `mime` from 3.0.0 to 4.0.6 - [Release notes](https://github.com/broofa/mime/releases) - [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md) - [Commits](https://github.com/broofa/mime/compare/v3.0.0...v4.0.6) Updates `@types/mime` from 3.0.1 to 4.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mime) --- updated-dependencies: - dependency-name: mime dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/mime" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 46 ++++++++++++++++++++++++++++------------------ package.json | 4 ++-- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3b1cec25a..c0c346696 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,13 +13,13 @@ "@octokit/plugin-retry": "^7.1.2", "@octokit/plugin-throttling": "^9.3.2", "glob": "^11.0.0", - "mime": "^3.0.0", + "mime": "^4.0.6", "node-fetch": "^2.7.0" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/jest": "^29.5.14", - "@types/mime": "^3.0.1", + "@types/mime": "^4.0.0", "@types/node": "^22.10.5", "@types/node-fetch": "^2.6.11", "@vercel/ncc": "^0.38.3", @@ -1598,10 +1598,14 @@ } }, "node_modules/@types/mime": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", - "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==", - "dev": true + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-4.0.0.tgz", + "integrity": "sha512-5eEkJZ/BLvTE3vXGKkWlyTSUVZuzj23Wj8PoyOq2lt5I3CYbiLBOPb3XmCW6QcuOibIUE6emHXHt9E/F/rCa6w==", + "deprecated": "This is a stub types definition. mime provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "mime": "*" + } }, "node_modules/@types/minimatch": { "version": "5.1.2", @@ -3656,14 +3660,17 @@ } }, "node_modules/mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.6.tgz", + "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==", + "funding": [ + "https://github.com/sponsors/broofa" + ], "bin": { - "mime": "cli.js" + "mime": "bin/cli.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=16" } }, "node_modules/mime-db": { @@ -5983,10 +5990,13 @@ } }, "@types/mime": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz", - "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==", - "dev": true + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-4.0.0.tgz", + "integrity": "sha512-5eEkJZ/BLvTE3vXGKkWlyTSUVZuzj23Wj8PoyOq2lt5I3CYbiLBOPb3XmCW6QcuOibIUE6emHXHt9E/F/rCa6w==", + "dev": true, + "requires": { + "mime": "*" + } }, "@types/minimatch": { "version": "5.1.2", @@ -7541,9 +7551,9 @@ } }, "mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==" + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.6.tgz", + "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==" }, "mime-db": { "version": "1.52.0", diff --git a/package.json b/package.json index 21f338f66..15ecf9d3b 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ "@octokit/plugin-retry": "^7.1.2", "@octokit/plugin-throttling": "^9.3.2", "glob": "^11.0.0", - "mime": "^3.0.0", + "mime": "^4.0.6", "node-fetch": "^2.7.0" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/jest": "^29.5.14", - "@types/mime": "^3.0.1", + "@types/mime": "^4.0.0", "@types/node": "^22.10.5", "@types/node-fetch": "^2.6.11", "@vercel/ncc": "^0.38.3",