Comparing version 1.9.5 to 1.9.6
@@ -9,3 +9,3 @@ /** | ||
* @module filesize | ||
* @version 1.9.5 | ||
* @version 1.9.6 | ||
*/ | ||
@@ -24,7 +24,7 @@ ( function ( global ) { | ||
all : { | ||
increments : [["B", 1], ["Kb", 128], ["KB", 1024], ["Mb", 131072], ["MB", 1.049e+6], ["Gb", 1.342e+8], ["GB", 1.074e+9], ["Tb", 1.374e+11], ["TB", 1.1e+12], ["Pb", 1.407e+14], ["PB", 1.126e+15]], | ||
increments : [["B", 1], ["kb", 128], ["kB", 1024], ["Mb", 131072], ["MB", 1.049e+6], ["Gb", 1.342e+8], ["GB", 1.074e+9], ["Tb", 1.374e+11], ["TB", 1.1e+12], ["Pb", 1.407e+14], ["PB", 1.126e+15]], | ||
nth : 11 | ||
}, | ||
bitless : { | ||
increments : [["B", 1], ["KB", 1024], ["MB", 1.049e+6], ["GB", 1.074e+9], ["TB", 1.1e+12], ["PB", 1.126e+15]], | ||
increments : [["B", 1], ["kB", 1024], ["MB", 1.049e+6], ["GB", 1.074e+9], ["TB", 1.1e+12], ["PB", 1.126e+15]], | ||
nth : 6 | ||
@@ -42,3 +42,3 @@ } | ||
*/ | ||
function filesize (arg) { | ||
function filesize ( arg) { | ||
var result = "", | ||
@@ -118,2 +118,6 @@ bits = true, | ||
if ( suffix === "k" ) { | ||
suffix = "K"; | ||
} | ||
if ( z !== null && z[1] !== undefined && zero.test( z[1] ) ) { | ||
@@ -120,0 +124,0 @@ result = parseInt( result, base ); |
{ | ||
"name": "filesize", | ||
"description": "JavaScript library to generate a human readable String describing the file size", | ||
"version": "1.9.5", | ||
"version": "1.9.6", | ||
"homepage": "http://filesizejs.com", | ||
@@ -40,3 +40,3 @@ "author": { | ||
}, | ||
"keywords": ["file", "filesize", "size", "readable", "filesystem"] | ||
"keywords": ["file", "filesize", "size", "readable", "file system"] | ||
} |
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
7611
133