chore: bump std to 0.211.0 and loader to 0.8.3 (#2241)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { toHashString } from "./deps.ts";
|
||||
import { encodeHex } from "./deps.ts";
|
||||
|
||||
export const DENO_DEPLOYMENT_ID = Deno.env.get("DENO_DEPLOYMENT_ID");
|
||||
const deploymentId = DENO_DEPLOYMENT_ID ||
|
||||
@@ -10,7 +10,7 @@ const buildIdHash = await crypto.subtle.digest(
|
||||
new TextEncoder().encode(deploymentId),
|
||||
);
|
||||
|
||||
export let BUILD_ID = toHashString(buildIdHash, "hex");
|
||||
export let BUILD_ID = encodeHex(buildIdHash);
|
||||
|
||||
export function setBuildId(buildId: string) {
|
||||
BUILD_ID = buildId;
|
||||
|
||||
+12
-12
@@ -8,28 +8,28 @@ export {
|
||||
join,
|
||||
SEP,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.208.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.208.0/fs/walk.ts";
|
||||
export * as colors from "https://deno.land/std@0.208.0/fmt/colors.ts";
|
||||
} from "https://deno.land/std@0.211.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.211.0/fs/walk.ts";
|
||||
export * as colors from "https://deno.land/std@0.211.0/fmt/colors.ts";
|
||||
export {
|
||||
type Handler as ServeHandler,
|
||||
serve,
|
||||
} from "https://deno.land/std@0.208.0/http/server.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.208.0/http/status.ts";
|
||||
} from "https://deno.land/std@0.211.0/http/server.ts";
|
||||
export { STATUS_CODE } from "https://deno.land/std@0.211.0/http/status.ts";
|
||||
export {
|
||||
contentType,
|
||||
} from "https://deno.land/std@0.208.0/media_types/content_type.ts";
|
||||
export { toHashString } from "https://deno.land/std@0.208.0/crypto/to_hash_string.ts";
|
||||
export { escape } from "https://deno.land/std@0.208.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.208.0/jsonc/mod.ts";
|
||||
} from "https://deno.land/std@0.211.0/media_types/content_type.ts";
|
||||
export { encodeHex } from "https://deno.land/std@0.211.0/encoding/hex.ts";
|
||||
export { escape } from "https://deno.land/std@0.211.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.211.0/jsonc/mod.ts";
|
||||
export { renderToString } from "https://esm.sh/*preact-render-to-string@6.3.1";
|
||||
export {
|
||||
assertEquals,
|
||||
assertThrows,
|
||||
} from "https://deno.land/std@0.208.0/assert/mod.ts";
|
||||
} from "https://deno.land/std@0.211.0/assert/mod.ts";
|
||||
export {
|
||||
isIdentifierChar,
|
||||
isIdentifierStart,
|
||||
} from "https://esm.sh/@babel/helper-validator-identifier@7.22.20";
|
||||
export { normalize } from "https://deno.land/std@0.208.0/path/posix/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";
|
||||
export { normalize } from "https://deno.land/std@0.211.0/path/posix/mod.ts";
|
||||
export { assertSnapshot } from "https://deno.land/std@0.211.0/testing/snapshot.ts";
|
||||
|
||||
Reference in New Issue
Block a user