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

express-pino-logger

Package Overview
Dependencies
Maintainers
1
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 2.0.0 to 3.0.0

10

example.js

@@ -13,2 +13,12 @@ 'use strict'

app.get('/error', function (req, res, next) {
next(new Error('kaboom'))
})
app.use(function (err, req, res, next) {
req.log.error(err)
res.statusCode = 500
res.end('error')
})
app.listen(3000)

10

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

@@ -21,3 +21,3 @@ "main": "logger.js",

"dependencies": {
"pino-http": "^2.0.0"
"pino-http": "^3.0.0"
},

@@ -29,7 +29,7 @@ "devDependencies": {

"morgan": "^1.7.0",
"pino": "^3.0.0",
"pino": "^4.10.2",
"pre-commit": "^1.1.2",
"split2": "^2.0.1",
"standard": "^8.0.0",
"tap": "^8.0.0",
"standard": "^10.0.3",
"tap": "^11.0.0",
"winston": "^2.2.0"

@@ -36,0 +36,0 @@ },

@@ -194,2 +194,1 @@ 'use strict'

})
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