bunyan-request-logger
Advanced tools
Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "bunyan-request-logger", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Automated request logging connect middleware for Express. Powered by Bunyan.", | ||
@@ -10,15 +10,19 @@ "main": "request-logger.js", | ||
"dependencies": { | ||
"bunyan": "~0.21.4", | ||
"cuid": "~1.2.1", | ||
"bunyan": "~0.21.4", | ||
"mout": "^0.11.0" | ||
"lodash": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"connect-cache-control": "~0.1.0", | ||
"express": "^4.11.2", | ||
"express-error-handler": "~0.6.0", | ||
"grunt": "~0.4.1", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
"express": "^4.11.2" | ||
"mocha": "~2.1.0", | ||
"should": "~4.6.5", | ||
"sinon": "~1.12.2", | ||
"supertest": "~0.15.0" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "mocha --recursive --reporter spec ./test" | ||
}, | ||
@@ -25,0 +29,0 @@ "repository": { |
@@ -11,3 +11,3 @@ 'use strict'; | ||
// For object property overrides: | ||
mixIn = require('mout/object/mixIn'), | ||
assign = require('lodash/object/assign'), | ||
@@ -102,3 +102,3 @@ /** | ||
name: 'unnamed app', | ||
serializers: mixIn({}, bunyan.stdSerializers, | ||
serializers: assign({}, bunyan.stdSerializers, | ||
serializers) | ||
@@ -121,3 +121,3 @@ }, | ||
createLogger = function (options) { | ||
var settings = mixIn({}, defaults, options), | ||
var settings = assign({}, defaults, options), | ||
log = bunyan.createLogger(settings); | ||
@@ -184,3 +184,3 @@ | ||
if (settings.logParams && req.params) { | ||
data = mixIn({}, req.params, { | ||
data = assign({}, req.params, { | ||
requestId: req.requestId | ||
@@ -187,0 +187,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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
20684
11
538
2
9
+ Addedlodash@^3.0.0
+ Addedlodash@3.10.1(transitive)
- Removedmout@^0.11.0
- Removedmout@0.11.1(transitive)