Comparing version 3.0.3 to 3.0.4
@@ -44,3 +44,3 @@ // base-x encoding | ||
// deal with leading zeros | ||
for (var k = 0; source[k] === 0 && k < source.length - 1; ++k) string += ALPHABET[0] | ||
for (var k = 0; source[k] === 0 && k < source.length - 1; ++k) string += LEADER | ||
// convert digits to a string | ||
@@ -47,0 +47,0 @@ for (var q = digits.length - 1; q >= 0; --q) string += ALPHABET[digits[q]] |
{ | ||
"name": "base-x", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "Fast base encoding / decoding of any given alphabet", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"standard": "^6.0.8", | ||
"standard": "^10.0.3", | ||
"tape": "^4.5.1" | ||
@@ -40,0 +40,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
7104
1