diff --git a/package-lock.json b/package-lock.json index a93166189..40722d6c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,13 +13,13 @@ "@octokit/plugin-retry": "^7.1.1", "@octokit/plugin-throttling": "^9.3.1", "glob": "^10.4.3", - "mime": "^3.0.0", + "mime": "^4.0.4", "node-fetch": "^2.7.0" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/jest": "^29.5.12", - "@types/mime": "^3.0.1", + "@types/mime": "^4.0.0", "@types/node": "^20.14.10", "@types/node-fetch": "^2.6.11", "@vercel/ncc": "^0.38.1", @@ -1585,10 +1585,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", @@ -3643,14 +3647,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.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", + "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==", + "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": { @@ -5965,10 +5972,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", @@ -7523,9 +7533,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.4", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", + "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==" }, "mime-db": { "version": "1.52.0", diff --git a/package.json b/package.json index a07d4c4b6..debb1e9a3 100644 --- a/package.json +++ b/package.json @@ -24,13 +24,13 @@ "@octokit/plugin-retry": "^7.1.1", "@octokit/plugin-throttling": "^9.3.1", "glob": "^10.4.3", - "mime": "^3.0.0", + "mime": "^4.0.4", "node-fetch": "^2.7.0" }, "devDependencies": { "@types/glob": "^8.1.0", "@types/jest": "^29.5.12", - "@types/mime": "^3.0.1", + "@types/mime": "^4.0.0", "@types/node": "^20.14.10", "@types/node-fetch": "^2.6.11", "@vercel/ncc": "^0.38.1",