chore: update deps (#561)

Update std, esbuild, and preact.
This commit is contained in:
Luca Casonato
2022-07-30 17:29:29 +02:00
committed by GitHub
parent a6aac89663
commit ba20756c17
18 changed files with 75 additions and 71 deletions
+11 -11
View File
@@ -3,28 +3,28 @@ export {
extname,
fromFileUrl,
toFileUrl,
} from "https://deno.land/std@0.128.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.128.0/fs/walk.ts";
export { serve } from "https://deno.land/std@0.128.0/http/server.ts";
} from "https://deno.land/std@0.150.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.150.0/fs/walk.ts";
export { serve } from "https://deno.land/std@0.150.0/http/server.ts";
export type {
ConnInfo,
Handler as RequestHandler,
ServeInit,
} from "https://deno.land/std@0.128.0/http/server.ts";
} from "https://deno.land/std@0.150.0/http/server.ts";
export {
typeByExtension,
} from "https://deno.land/std@0.150.0/media_types/mod.ts";
// -- router --
export * as router from "https://crux.land/router@0.0.11";
// -- media types --
export { lookup as mediaTypeLookup } from "https://deno.land/x/media_types@v2.10.2/mod.ts";
// -- esbuild --
// @deno-types="https://deno.land/x/esbuild@v0.14.39/mod.d.ts"
import * as esbuildWasm from "https://unpkg.com/esbuild-wasm@0.14.39/esm/browser.js";
import * as esbuildNative from "https://deno.land/x/esbuild@v0.14.39/mod.js";
// @deno-types="https://deno.land/x/esbuild@v0.14.51/mod.d.ts"
import * as esbuildWasm from "https://deno.land/x/esbuild@v0.14.51/wasm.js";
import * as esbuildNative from "https://deno.land/x/esbuild@v0.14.51/mod.js";
// @ts-ignore trust me
const esbuild: typeof esbuildWasm = Deno.run === undefined
? esbuildWasm
: esbuildNative;
export { esbuild, esbuildWasm as esbuildTypes };
export { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.5.0/mod.ts";
export { denoPlugin } from "https://deno.land/x/esbuild_deno_loader@0.5.2/mod.ts";