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 3.0.0-rc.2 to 3.0.0

2

package.json
{
"name": "pino-pretty",
"version": "3.0.0-rc.2",
"version": "3.0.0",
"description": "Prettifier for Pino log lines",

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

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

t.match(lines[5], /\s{6}Error: hello world/)
// Node 6 starts stack with "at Error (native)"
t.match(lines[6], /\s{10}(at Test.t.test|at Error \(native\))/)
// Node 12 labels the test `<anonymous>`
t.match(lines[6], /\s{10}(at Test.t.test|at Test.<anonymous>)/)
cb()

@@ -160,4 +160,4 @@ }

t.match(lines[5], /\s{6}Error: hello world/)
// Node 6 starts stack with "at Error (native)"
t.match(lines[6], /\s{10}(at Test.t.test|at Error \(native\))/)
// Node 12 labels the test `<anonymous>`
t.match(lines[6], /\s{10}(at Test.t.test|at Test.<anonymous>)/)
t.match(lines[lines.length - 3], /\s{6}"anotherField": "dummy value"/)

@@ -231,5 +231,5 @@ cb()

const expectedLines = [
' type: "Error"',
' some: "property"',
' stack: null',
' some: "property"'
' type: "Error"'
]

@@ -236,0 +236,0 @@ const log = pino({}, new Writable({

Sorry, the diff of this file is not supported yet

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