feat: test no check
This commit is contained in:
@@ -386,7 +386,9 @@ export function decodeBase64Url(base64UrlString: string): Uint8Array {
|
||||
return decodeBase64(standardBase64);
|
||||
}
|
||||
|
||||
export function encodeBase64Url(input: ArrayBufferLike): string {
|
||||
export function encodeBase64Url(
|
||||
input: ArrayBuffer | Uint8Array | string,
|
||||
): string {
|
||||
let standardBased64 = encodeBase64(input);
|
||||
return standardBased64.replace(/\+/g, "-").replace(/\//g, "_").replace(
|
||||
/=/g,
|
||||
|
||||
Reference in New Issue
Block a user