pretty-format
Advanced tools
Comparing version 22.1.0 to 22.4.0
@@ -83,7 +83,3 @@ 'use strict'; | ||
function printNumber(val) { | ||
if (val != +val) { | ||
return 'NaN'; | ||
} | ||
const isNegativeZero = val === 0 && 1 / val < 0; | ||
return isNegativeZero ? '-0' : '' + val; | ||
return Object.is(val, -0) ? '-0' : String(val); | ||
} | ||
@@ -90,0 +86,0 @@ |
{ | ||
"name": "pretty-format", | ||
"version": "22.1.0", | ||
"version": "22.4.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
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
433375
5777