js-abbreviation-number
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -21,3 +21,3 @@ "use strict"; | ||
if (tier == 0) | ||
return num.toString(); | ||
return (!sign ? "-" : "") + num.toString(); | ||
// get suffix and determine scale | ||
@@ -24,0 +24,0 @@ var suffix = symbols[tier]; |
{ | ||
"name": "js-abbreviation-number", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Abbreviate numbers in javascript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6569
0