pretty-bytes
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
if (typeof num !== 'number' || numberIsNan(num)) { | ||
throw new TypeError('Expected a number'); | ||
throw new TypeError('Expected a number, got ' + typeof num); | ||
} | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "pretty-bytes", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Convert bytes to a human readable string: 1337 → 1.34 kB", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3255