@exante/big-decimal
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -18,4 +18,4 @@ "use strict"; | ||
var allowedScale = scale; | ||
if (allowedScale < 0) { | ||
allowedScale = 0; | ||
if (allowedScale < -100) { | ||
allowedScale = -100; | ||
} | ||
@@ -22,0 +22,0 @@ else if (allowedScale > 100) { |
{ | ||
"name": "@exante/big-decimal", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Utility functions to convert numbers to and from big decimal objects.", | ||
@@ -5,0 +5,0 @@ "main": "lib/bigDecimal.js", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9006
0