Socket
Socket
Sign inDemoInstall

pino-pretty

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pino-pretty - npm Package Compare versions

Comparing version 4.7.0 to 4.7.1

9

index.js

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

if (line.length > 0) {
line += (singleLine ? ' ' : EOL)
if (line.length > 0 && !singleLine) {
line += EOL
}

@@ -161,2 +161,7 @@

})
// In single line mode, include a space only if prettified version isn't empty
if (singleLine && !/^\s$/.test(prettifiedObject)) {
line += ' '
}
line += prettifiedObject

@@ -163,0 +168,0 @@ }

{
"name": "pino-pretty",
"version": "4.7.0",
"version": "4.7.1",
"description": "Prettifier for Pino log lines",

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

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

const formatted = pretty(chunk.toString())
t.is(formatted, `[${epoch}] INFO (${pid} on ${hostname}): message \n`)
t.is(formatted, `[${epoch}] INFO (${pid} on ${hostname}): message\n`)
cb()

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