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

pino

Package Overview
Dependencies
Maintainers
2
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

2

package.json
{
"name": "pino",
"version": "2.8.1",
"version": "2.8.2",
"description": "fast and simple logger",

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

@@ -218,2 +218,4 @@ 'use strict'

var value
var key
var keys
if (obj) {

@@ -223,9 +225,15 @@ if (obj.stack) {

} else {
for (var key in obj) {
keys = Object.keys(obj)
for (var i = 0; i < keys.length; i++) {
key = keys[i]
value = obj[key]
if (obj.hasOwnProperty(key) && value !== undefined) {
value = this.serializers[key] ? this.serializers[key](value) : value
if (value !== undefined) {
data += ',"' + key + '":' + this.stringify(value)
if (value !== undefined) {
if (this.serializers[key]) {
value = this.serializers[key](value)
if (value === undefined) {
continue
}
}
data += ',"' + key + '":' + this.stringify(value)
}

@@ -254,5 +262,7 @@ }

var key
for (key in bindings) {
var keys = Object.keys(bindings)
for (var i = 0; i < keys.length; i++) {
key = keys[i]
value = bindings[key]
if (key !== 'level' && key !== 'serializers' && bindings.hasOwnProperty(key) && value !== undefined) {
if (key !== 'level' && key !== 'serializers' && value !== undefined) {
value = this.serializers[key] ? this.serializers[key](value) : value

@@ -259,0 +269,0 @@ data += '"' + key + '":' + this.stringify(value) + ','

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