Comparing version 2.26.4 to 2.26.5
@@ -0,1 +1,8 @@ | ||
2.26.5 / 2014-10-08 | ||
=================== | ||
* Fix accepting non-object arguments to `logger` | ||
* deps: serve-static@~1.6.4 | ||
- Fix redirect loop when index file serving disabled | ||
2.26.4 / 2014-10-02 | ||
@@ -2,0 +9,0 @@ =================== |
@@ -38,9 +38,15 @@ /*! | ||
module.exports = function logger(options) { | ||
var opts = utils.merge({ | ||
format: 'default' | ||
}, options); | ||
var format = 'default'; | ||
var opts = options; | ||
return morgan(opts.format, opts); | ||
if (options && typeof options === 'object') { | ||
format = options.format || format; | ||
} else { | ||
format = options || format; | ||
opts = undefined; | ||
} | ||
return morgan(format, opts); | ||
}; | ||
utils.merge(module.exports, morgan); |
{ | ||
"name": "connect", | ||
"description": "High performance middleware framework", | ||
"version": "2.26.4", | ||
"version": "2.26.5", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)", | ||
@@ -45,3 +45,3 @@ "contributors": [ | ||
"serve-index": "~1.2.1", | ||
"serve-static": "~1.6.3", | ||
"serve-static": "~1.6.4", | ||
"type-is": "~1.5.2", | ||
@@ -48,0 +48,0 @@ "vhost": "~3.0.0", |
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
172491
2584
Updatedserve-static@~1.6.4