Comparing version 2.0.2 to 2.0.3
@@ -16,3 +16,6 @@ // base-x encoding | ||
for (var z = 0; z < ALPHABET.length; z++) { | ||
ALPHABET_MAP[ALPHABET.charAt(z)] = z | ||
var x = ALPHABET.charAt(z) | ||
if (ALPHABET_MAP[x] !== undefined) throw new TypeError(x + ' is ambiguous') | ||
ALPHABET_MAP[x] = z | ||
} | ||
@@ -19,0 +22,0 @@ |
{ | ||
"name": "base-x", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Fast base encoding / decoding of any given alphabet", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
6980
71