pretty-format
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -144,3 +144,4 @@ 'use strict'; | ||
function printObject(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins) { | ||
var result = val.constructor.name + ' {'; | ||
var constructor = val.constructor ? val.constructor.name + ' ' : 'Object '; | ||
var result = constructor + '{'; | ||
var keys = Object.keys(val).sort(); | ||
@@ -147,0 +148,0 @@ var symbols = getSymbols(val); |
{ | ||
"name": "pretty-format", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "Stringify any JavaScript value.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
14093
288