prepare-response
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -53,3 +53,3 @@ 'use strict'; | ||
if (header.toLowerCase() === 'content-type' && value.indexOf('/') === -1) { | ||
value = mime.lookup(value); | ||
value = mime.getType(value); | ||
} | ||
@@ -56,0 +56,0 @@ return new Header(header, value); |
{ | ||
"name": "prepare-response", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Prepare a text resposne to be efficiently sent", | ||
@@ -12,3 +12,3 @@ "keywords": [], | ||
"dependencies": { | ||
"mime": "^1.3.6", | ||
"mime": "^2.0.3", | ||
"ms": "^2.0.0", | ||
@@ -19,3 +19,3 @@ "promise": "^8.0.0" | ||
"concat-stream": "^1.6.0", | ||
"testit": "^2.1.4" | ||
"testit": "^3.0.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "scripts": { |
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
6731
+ Addedmime@2.6.0(transitive)
- Removedmime@1.6.0(transitive)
Updatedmime@^2.0.3