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 8.3.0 to 8.3.1

2

lib/meta.js
'use strict'
module.exports = { version: '8.3.0' }
module.exports = { version: '8.3.1' }

@@ -308,3 +308,5 @@ 'use strict'

if (!hasBeenTampered(process.stdout)) {
stream = buildSafeSonicBoom({ fd: process.stdout.fd })
// If process.stdout.fd is undefined, it means that we are running
// in a worker thread. Let's assume we are logging to file descriptor 1.
stream = buildSafeSonicBoom({ fd: process.stdout.fd || 1 })
} else {

@@ -311,0 +313,0 @@ stream = process.stdout

{
"name": "pino",
"version": "8.3.0",
"version": "8.3.1",
"description": "super fast, all natural json logger",

@@ -118,3 +118,3 @@ "main": "pino.js",

"quick-format-unescaped": "^4.0.3",
"real-require": "^0.1.0",
"real-require": "^0.2.0",
"safe-stable-stringify": "^2.3.1",

@@ -121,0 +121,0 @@ "sonic-boom": "^3.1.0",

@@ -26,1 +26,8 @@ 'use strict'

})
test('do not crash if process.stdout has no fd', async ({ teardown }) => {
const fd = process.stdout.fd
delete process.stdout.fd
teardown(function () { process.stdout.fd = fd })
pino()
})

@@ -15,4 +15,6 @@ 'use strict'

const rimraf = require('rimraf')
const { promisify } = require('util')
const { tmpdir } = os
const immediate = promisify(setImmediate)
const pid = process.pid

@@ -402,2 +404,3 @@ const hostname = os.hostname()

await once(child, 'close')
await immediate()
not(strip(actual).match(/Hello/), null)

@@ -415,2 +418,3 @@ })

await once(child, 'close')
await immediate()
not(strip(actual).match(/Hello/), null)

@@ -417,0 +421,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