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

express-bunyan-logger

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-bunyan-logger - npm Package Compare versions

Comparing version 0.2.2 to 1.0.0

8

package.json
{
"name": "express-bunyan-logger",
"version": "0.2.2",
"version": "1.0.0",
"description": "a bunyan logger middleware for express",

@@ -19,7 +19,7 @@ "main": "index.js",

"dependencies": {
"bunyan": "~0.23.0",
"useragent": "~2.0.8"
"bunyan": "^1.0.0",
"useragent": "^2.0.9"
},
"devDependencies": {
"express": "3.x",
"express": "4.x",
"grunt": "~0.4.1",

@@ -26,0 +26,0 @@ "grunt-contrib-clean": "~0.4.0",

@@ -5,6 +5,2 @@ var express = require('express'),

app.use(app.router);
app.use(bunyanLogger());
app.use(bunyanLogger.errorLogger());
app.get('/', function(req, res) {

@@ -14,3 +10,5 @@ throw new Error();

app.use(bunyanLogger());
app.use(bunyanLogger.errorLogger());
app.listen(5000);

@@ -129,3 +129,6 @@ var express = require('express');

var output = st();
app.use(app.router);
app.get('/', function(req, res) {
throw new Error();
});
app.use(bunyanLogger.errorLogger({

@@ -135,6 +138,2 @@ stream: output

app.get('/', function(req, res) {
throw new Error();
});
request(app)

@@ -157,3 +156,7 @@ .get('/')

var app = express();
app.use(app.router);
app.get('/', function(req, res) {
throw new Error();
});
app.use(bunyanLogger.errorLogger());

@@ -165,5 +168,2 @@ app.use(function (err, req, res, next) {

app.get('/', function(req, res) {
throw new Error();
});

@@ -170,0 +170,0 @@ request(app)

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