Skip to content

Commit

Permalink
fix: alphanumeric ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 22, 2024
1 parent 1f368d2 commit b1600a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tempoId.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ const Alphabet = {
lowercase: 'abcdefghijklmnopqrstuvwxyz',
uppercase: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
get alphanumeric() {
return this.numbers + this.lowercase + this.uppercase;
return this.numbers + 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz';
},
get url() {
return this.alphanumeric + '_-';
},
get base64() {
return this.alphanumeric + '+/';
},
noDoppelganger: '346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz',
noDoppelganger: '346789AaBbCcDdEeFfGgHhiJjKkLMmNnPpQqRrTtUVWwXxYyz',
};

const defaultAlphabet = Alphabet.alphanumeric;
Expand Down

0 comments on commit b1600a4

Please sign in to comment.