Skip to content
Myr

chore: denoify

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Yusuke Wada · committed by Yusuke Wada · parent 6d0da56 · Browse files · 4 files+6 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+6 added−7 removed

  • other:+6 added−7 removed

4 files+6 added−7 removed

modified:deno_dist/middleware/basic-auth/index.ts+1 added-2 removed
modified:deno_dist/middleware/bearer-auth/index.ts+3 added-3 removed
modified:deno_dist/utils/encode.ts+1 added-1 removed
1import { Buffer } from "https://deno.land/std@0.159.0/node/buffer.ts";1import { Buffer } from "https://deno.land/std@0.160.0/node/buffer.ts";2export const encodeBase64 = (str: string): string => {3 if (str === null) {4 throw new TypeError('1st argument of "encodeBase64" should not be null.')5 }
72 unmodified lines
modified:deno_dist/hono.ts+1 added-1 removed
27 unmodified lines
28 D extends ValidatedData = ValidatedData29> = (30 c: Context<RequestParamKeyType, E, D>,31 next: Next32) => Response | Promise<Response> | Promise<void> | Promise<Response | undefined>32) => Response | Promise<Response> | Promise<void> | Promise<Response | undefined | void>3334export type MiddlewareHandler = <E extends Partial<Environment> = Environment>(35 c: Context<string, E>,36 next: Next
250 unmodified lines