Comparing version 1.2.3 to 1.2.4
@@ -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'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
59325
1
1
7
136