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.3 to 1.2.4

types/mime.types

6

mime.js

@@ -86,8 +86,8 @@ var path = require('path'),

// http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
mime.load(path.join(__dirname, 'mime.types'));
mime.load(path.join(__dirname, 'types/mime.types'));
// Overlay enhancements we've had requests for (and that seem to make sense)
mime.load(path.join(__dirname, 'node.types'));
// Overlay enhancements submitted by the node.js community
mime.load(path.join(__dirname, 'types/node.types'));
// Set the default type
mime.default_type = mime.types.bin;

@@ -1,11 +0,22 @@

{ "name" : "mime"
, "description" : "A comprehensive library for mime-type mapping"
, "url" : "http://github.com/bentomas/node-mime"
, "keywords" : ["util", "mime"]
, "author" : "Benjamin Thomas <benjamin@benjaminthomas.org>"
, "contributors" : []
, "dependencies" : []
, "lib" : "."
, "main" : "mime.js"
, "version" : "1.2.3"
{
"author": {
"name": "Robert Kieffer",
"url": "http://github.com/broofa",
"email": "robert@broofa.com"
},
"contributors": [
{
"name": "Benjamin Thomas",
"url": "http://github.com/bentomas",
"email": "benjamin@benjaminthomas.org"
}
],
"dependencies": {},
"description": "A comprehensive library for mime-type mapping",
"devDependencies": {"async_testing": ""},
"keywords": ["util", "mime"],
"main": "mime.js",
"name": "mime",
"repository": {"url": "http://github.com/bentomas/node-mime", "type": "git"},
"version": "1.2.4"
}
/**
* Requires the async_testing module, which we're not bothering to ship as part
* of this module.
* Requires the async_testing module
*
* "npm install async_testing"
* Usage: node test.js
*/

@@ -7,0 +6,0 @@ var mime = require('./mime');

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