feat: test no check
This commit is contained in:
6
justfile
6
justfile
@@ -1,4 +1,4 @@
|
||||
alias tl:=test-libraries
|
||||
alias tl:=test-libraries-no-check
|
||||
|
||||
_:
|
||||
@just --list
|
||||
@@ -7,3 +7,7 @@ _:
|
||||
test-libraries:
|
||||
deno test --allow-all libraries/*
|
||||
|
||||
# test all libraries [no check]
|
||||
test-libraries-no-check:
|
||||
deno test --allow-all --no-check libraries/*
|
||||
|
||||
|
||||
@@ -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