pretty-format
Advanced tools
Comparing version 3.5.0 to 3.5.1
10
index.js
@@ -39,4 +39,2 @@ 'use strict'; | ||
function printFunction(val) { | ||
@@ -265,3 +263,9 @@ if (val.name === '') { | ||
function print(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins) { | ||
return printBasicValue(val) || printComplexValue(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins); | ||
const basic = printBasicValue(val); | ||
if (basic) return basic; | ||
const plugin = printPlugin(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins); | ||
if (plugin) return plugin; | ||
return printComplexValue(val, indent, prevIndent, refs, maxDepth, currentDepth, plugins); | ||
} | ||
@@ -268,0 +272,0 @@ |
@@ -0,1 +1,3 @@ | ||
## ISC License | ||
Copyright (c) 2016, James Kyle <me@thejameskyle.com> | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "pretty-format", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"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
72790
8
297