negotiator
Advanced tools
Comparing version 0.5.2 to 0.5.3
@@ -0,1 +1,6 @@ | ||
0.5.3 / 2015-05-10 | ||
================== | ||
* Fix media type parameter matching to be case-insensitive | ||
0.5.2 / 2015-05-06 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -0,1 +1,9 @@ | ||
/** | ||
* negotiator | ||
* Copyright(c) 2012 Isaac Z. Schlueter | ||
* Copyright(c) 2014 Federico Romero | ||
* Copyright(c) 2014-2015 Douglas Christopher Wilson | ||
* MIT Licensed | ||
*/ | ||
module.exports = preferredMediaTypes; | ||
@@ -35,3 +43,3 @@ preferredMediaTypes.preferredMediaTypes = preferredMediaTypes; | ||
}).reduce(function (set, p) { | ||
var name = p[0]; | ||
var name = p[0].toLowerCase(); | ||
var value = p[1]; | ||
@@ -38,0 +46,0 @@ |
{ | ||
"name": "negotiator", | ||
"description": "HTTP content negotiation", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ "Douglas Christopher Wilson <doug@somethingdoug.com>", |
Sorry, the diff of this file is not supported yet
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
21929
459