Comparing version 2.0.5 to 3.0.0
@@ -50,3 +50,3 @@ // base-x encoding | ||
function decodeUnsafe (string) { | ||
if (string.length === 0) return new Buffer(0) | ||
if (string.length === 0) return Buffer.allocUnsafe(0) | ||
@@ -75,3 +75,3 @@ var bytes = [0] | ||
return new Buffer(bytes.reverse()) | ||
return Buffer.from(bytes.reverse()) | ||
} | ||
@@ -78,0 +78,0 @@ |
{ | ||
"name": "base-x", | ||
"version": "2.0.5", | ||
"version": "3.0.0", | ||
"description": "Fast base encoding / decoding of any given alphabet", | ||
@@ -39,3 +39,6 @@ "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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
7022
0