feat: test no check

This commit is contained in:
2026-01-15 00:02:51 +08:00
parent 1f7480a3bc
commit 81c94bb314
2 changed files with 8 additions and 2 deletions

View File

@@ -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,