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

pino-http

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-http - npm Package Compare versions

Comparing version 6.4.0 to 6.5.0

6

logger.js

@@ -25,3 +25,3 @@ 'use strict'

const customProps = opts.customProps || opts.reqCustomProps || {}
const customProps = opts.customProps || opts.reqCustomProps || undefined

@@ -124,3 +124,5 @@ opts.wrapSerializers = 'wrapSerializers' in opts ? opts.wrapSerializers : true

const customPropBindings = (typeof customProps === 'function') ? customProps(req, res) : customProps
fullReqLogger = fullReqLogger.child(customPropBindings)
if (customPropBindings) {
fullReqLogger = fullReqLogger.child(customPropBindings)
}

@@ -127,0 +129,0 @@ res.log = fullReqLogger

{
"name": "pino-http",
"version": "6.4.0",
"version": "6.5.0",
"description": "High-speed HTTP logger for Node.js",

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

"devDependencies": {
"@types/node": "^16.11.0",
"@types/node": "^17.0.0",
"autocannon": "^7.3.0",

@@ -17,0 +17,0 @@ "coveralls": "^3.0.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