Skip to content

Commit 8e325ab

Browse files
committed
fix: correct alphabet set
1 parent 9cd753e commit 8e325ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/tempoid.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ extension type const Alphabet(String value) {
145145
/// Numbers and characters. (62 chars)
146146
/// There are no symbols or any special characters.
147147
static final Alphabet alphanumeric =
148-
Alphabet(numbers.value + lowercase.value + uppercase.value);
148+
Alphabet('AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz');
149149

150150
/// URL compatible characters. (64 chars)
151151
static final Alphabet url = Alphabet('${alphanumeric.value}_-');
@@ -155,5 +155,5 @@ extension type const Alphabet(String value) {
155155

156156
/// Numbers and characters without lookalikes: 1, l, I, 0, O, o, u, v, 5, S, s, 2, Z. (49 chars)
157157
static const Alphabet noDoppelganger =
158-
Alphabet('346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz');
158+
Alphabet('346789AaBbCcDdEeFfGgHhiJjKkLMmNnPpQqRrTtUVWwXxYyz');
159159
}

0 commit comments

Comments
 (0)