Skip to content

Commit

Permalink
chore: 用于 base64 兼容环境的 keyStrBase64Safe (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
iugo committed Jul 7, 2023
1 parent d944e84 commit 47b6ee3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/lz-string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
const f = String.fromCharCode;
const keyStrUriSafe =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-!';
export const keyStrBase64Safe =
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
const baseReverseDic: Record<string, { [key: string]: number }> = {};

/**
Expand Down

0 comments on commit 47b6ee3

Please sign in to comment.