Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bunyan-request-logger

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bunyan-request-logger - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

test/index.js

14

package.json
{
"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 @@ });

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc