New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mime-type

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime-type - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

11

lib/mime-type.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.9.3
// Generated by CoffeeScript 1.12.6

@@ -97,3 +97,3 @@ /*

}
} catch (_error) {}
} catch (error) {}
}

@@ -327,6 +327,7 @@ return result;

MimeTypes.prototype.clear = function(filter) {
var k, result, v;
var k, ref, result, v;
result = 0;
for (k in this) {
v = this[k];
ref = this;
for (k in ref) {
v = ref[k];
if (this.hasOwnProperty(k)) {

@@ -333,0 +334,0 @@ if (isFunction(filter)) {

{
"name": "mime-type",
"description": "the custom more powerful mime-type utility can work with mime-db.",
"version": "3.0.4",
"version": "3.0.5",
"contributors": [

@@ -20,12 +20,12 @@ "Riceball LEE https://github.com/snowyu",

"media-typer": "^0.3.0",
"minimatch": "^2.0.8",
"path.js": "^1.0.4",
"util-ex": "^0.3.4"
"minimatch": "^3.0.4",
"path.js": "^1.0.7",
"util-ex": "^0.3.15"
},
"devDependencies": {
"coffee-script": "^1.9.3",
"istanbul": "0.3.16",
"mime-db": "^1.14.0",
"mocha": "~1.21.5",
"pre-commit": "^1.0.10"
"coffee-script": "^1.12.6",
"istanbul": "0.4.5",
"mime-db": "^1.28.0",
"mocha": "~3.4.1",
"pre-commit": "^1.2.2"
},

@@ -32,0 +32,0 @@ "pre-commit": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc