pino-pretty
Advanced tools
Comparing version 3.0.0-rc.2 to 3.0.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
245341