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

pino

Package Overview
Dependencies
Maintainers
4
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 4.0.0 to 4.0.1

2

package.json
{
"name": "pino",
"version": "4.0.0",
"version": "4.0.1",
"description": "super fast, all natural json logger",

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

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

levelVal: levels.isStandardLevelVal(this.levelVal) ? undefined : this.levelVal,
serializers: bindings.hasOwnProperty('serializers') ? Object.assign(this.serializers, bindings.serializers) : this.serializers,
serializers: bindings.hasOwnProperty('serializers') ? Object.assign({}, this.serializers, bindings.serializers) : this.serializers,
stringify: this.stringify,

@@ -221,0 +221,0 @@ end: this.end,

@@ -20,4 +20,4 @@ 'use strict'

t.deepEqual(parent.serializers, parentSerializers)
t.deepEqual(child.serializers, childSerializers)
t.equal(parent.serializers.test(), 'parent')
t.equal(child.serializers.test(), 'child')
})

@@ -31,3 +31,3 @@

t.deepEqual(child.serializers, parentSerializers)
t.equal(child.serializers.test(), 'parent')
})

@@ -75,3 +75,3 @@

test('non overriden serializers are available in the children', function (t) {
t.plan(3)
t.plan(4)
var pSerializers = {

@@ -93,2 +93,3 @@ onlyParent: function () { return 'parent' },

t.equal(child.serializers.onlyChild(), 'child')
t.notOk(parent.serializers.onlyChild)
})
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