Comparing version 2.0.4 to 2.0.5
@@ -50,3 +50,3 @@ // base-x encoding | ||
function decodeUnsafe (string) { | ||
if (string.length === 0) return Buffer.allocUnsafe(0) | ||
if (string.length === 0) return new Buffer(0) | ||
@@ -75,3 +75,3 @@ var bytes = [0] | ||
return Buffer.from(bytes.reverse()) | ||
return new Buffer(bytes.reverse()) | ||
} | ||
@@ -78,0 +78,0 @@ |
{ | ||
"name": "base-x", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Fast base encoding / decoding of any given alphabet", | ||
@@ -39,6 +39,3 @@ "keywords": [ | ||
"tape": "^4.5.1" | ||
}, | ||
"engines": { | ||
"node": ">=4.5.0" | ||
} | ||
} |
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
6971