blessed-contrib
Advanced tools
Comparing version 4.8.6 to 4.8.7
@@ -113,3 +113,3 @@ var blessed = require('blessed') | ||
function formatYLabel(value, max, min, numLabels, wholeNumbersOnly, abbreviate) { | ||
var fixed = (max/numLabels<1 && value!=0 && !wholeNumbersOnly) ? 2 : 0 | ||
var fixed = (((max - min) / numLabels) < 1 && value!=0 && !wholeNumbersOnly) ? 2 : 0 | ||
var res = value.toFixed(fixed) | ||
@@ -116,0 +116,0 @@ return abbreviate?utils.abbreviateNumber(res):res |
{ | ||
"name": "blessed-contrib", | ||
"version": "4.8.6", | ||
"version": "4.8.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
101445
0