🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

pino

Package Overview
Dependencies
Maintainers
4
Versions
313
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

to
8.15.3

2

lib/meta.js
'use strict'
module.exports = { version: '8.15.2' }
module.exports = { version: '8.15.3' }

@@ -234,7 +234,11 @@ 'use strict'

const hasNodeCodeCoverage = process.env.NODE_V8_COVERAGE || process.env.V8_COVERAGE
function buildSafeSonicBoom (opts) {
const stream = new SonicBoom(opts)
stream.on('error', filterBrokenPipe)
// if we are sync: false, we must flush on exit
if (!opts.sync && isMainThread) {
// If we are sync: false, we must flush on exit
// We must disable this if there is node code coverage due to
// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308.
if (!hasNodeCodeCoverage && !opts.sync && isMainThread) {
onExit.register(stream, autoEnd)

@@ -241,0 +245,0 @@

{
"name": "pino",
"version": "8.15.2",
"version": "8.15.3",
"description": "super fast, all natural json logger",

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