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

express-pino-logger

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-pino-logger - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "express-pino-logger",
"version": "3.0.1",
"version": "3.0.2",
"description": "An express middleware to log with pino",

@@ -5,0 +5,0 @@ "main": "logger.js",

@@ -130,6 +130,6 @@ 'use strict'

t.ok(line.res, 'res is defined')
t.notOk(line.err, 'err is not defined')
t.equal(line.msg, 'request completed', 'message is set')
t.ok(line.err, 'err is defined')
t.equal(line.msg, 'request errored', 'message is set')
t.equal(line.req.method, 'GET', 'method is get')
t.equal(line.res.statusCode, 500, 'statusCode is 200')
t.equal(line.res.statusCode, 500, 'statusCode is 500')
t.end()

@@ -136,0 +136,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