pretty-format
Advanced tools
Comparing version 3.5.1 to 3.5.2
{ | ||
"name": "pretty-format", | ||
"version": "3.5.1", | ||
"version": "3.5.2", | ||
"description": "Stringify any JavaScript value.", | ||
@@ -23,6 +23,6 @@ "license": "MIT", | ||
"chalk": "^1.1.3", | ||
"jest": "^13.2.3", | ||
"left-pad": "^1.1.0", | ||
"react": "15.2.0-rc.1" | ||
"jest": "^14.1.0", | ||
"left-pad": "^1.1.1", | ||
"react": "15.3.0" | ||
} | ||
} |
@@ -29,3 +29,5 @@ 'use strict'; | ||
function printElement(element, print, indent) { | ||
if (typeof element === 'string') { | ||
if (typeof element == 'number') { | ||
return print(element); | ||
} else if (typeof element === 'string') { | ||
return printString(element); | ||
@@ -32,0 +34,0 @@ } |
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
72855
299