Comparing version 3.5.2 to 3.5.3
@@ -6,3 +6,3 @@ /** | ||
* @license BSD-3-Clause | ||
* @version 3.5.2 | ||
* @version 3.5.3 | ||
*/ | ||
@@ -64,2 +64,3 @@ (function (global) { | ||
if (num === 0) { | ||
e = 0; | ||
result[0] = 0; | ||
@@ -128,3 +129,3 @@ result[1] = unix ? "" : !bits ? "B" : "b"; | ||
if (full) { | ||
result[1] = fullform[standard][e] + (bits ? "bit" : "byte") + (result[0] > 1 ? "s" : ""); | ||
result[1] = fullform[standard][e] + (bits ? "bit" : "byte") + (result[0] === 1 ? "" : "s"); | ||
} | ||
@@ -131,0 +132,0 @@ |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @license BSD-3-Clause | ||
* @version 3.5.2 | ||
* @version 3.5.3 | ||
*/ | ||
@@ -80,2 +80,3 @@ (function (global) { | ||
if (num === 0) { | ||
e = 0; | ||
result[0] = 0; | ||
@@ -144,3 +145,3 @@ result[1] = unix ? "" : !bits ? "B" : "b"; | ||
if (full) { | ||
result[1] = fullform[standard][e] + (bits ? "bit" : "byte") + (result[0] > 1 ? "s" : ""); | ||
result[1] = fullform[standard][e] + (bits ? "bit" : "byte") + (result[0] === 1 ? "" : "s"); | ||
} | ||
@@ -147,0 +148,0 @@ |
{ | ||
"name": "filesize", | ||
"description": "JavaScript library to generate a human readable String describing the file size", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"homepage": "http://filesizejs.com", | ||
@@ -6,0 +6,0 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>", |
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
14948
308