Socket
Socket
Sign inDemoInstall

mime

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mime - npm Package Compare versions

Comparing version 1.2.7 to 1.2.8

11

mime.js

@@ -26,2 +26,7 @@ var path = require('path');

for (var i = 0; i < exts.length; i++) {
if (process.env.DEBUG && this.types[exts]) {
console.warn(this._loading.replace(/.*\//, ''), 'changes "' + exts[i] + '" extension type from ' +
this.types[exts] + ' to ' + type);
}
this.types[exts[i]] = type;

@@ -46,2 +51,4 @@ }

Mime.prototype.load = function(file) {
this._loading = file;
// Read file and split into lines

@@ -59,2 +66,4 @@ var map = {},

this.define(map);
this._loading = null;
};

@@ -105,4 +114,4 @@

}
}
};
module.exports = mime;

2

package.json

@@ -21,3 +21,3 @@ {

"repository": {"url": "https://github.com/broofa/node-mime", "type": "git"},
"version": "1.2.7"
"version": "1.2.8"
}

Sorry, the diff of this file is not supported yet

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