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.4.0 to 1.4.1

2

mime.js

@@ -70,3 +70,3 @@ var path = require('path');

Mime.prototype.lookup = function(path, fallback) {
var ext = path.replace(/.*[\.\/\\]/, '').toLowerCase();
var ext = path.replace(/^.*[\.\/\\]/, '').toLowerCase();

@@ -73,0 +73,0 @@ return this.types[ext] || fallback || this.default_type;

@@ -37,3 +37,3 @@ {

},
"version": "1.4.0"
"version": "1.4.1"
}
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