just-clamp
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -6,3 +6,3 @@ module.exports = clamp; | ||
clamp(1, n, 12); // 5 | ||
clamp(12, n, 3); // 3 | ||
clamp(12, n, 3); // 5 | ||
clamp(8.2, n, 9,4); // 8.2 | ||
@@ -9,0 +9,0 @@ clamp(0, n, 0); // 0 |
{ | ||
"name": "just-clamp", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "restrict a number within a range", | ||
@@ -24,2 +24,2 @@ "main": "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
3495
6
60