chore: bump std to 208 and deal with deprecations (#2081)

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Reed von Redwitz
2023-11-28 16:35:26 +00:00
committed by GitHub
co-authored by Marvin Hagemeister
parent 6a90fdbf1b
commit b902205feb
20 changed files with 137 additions and 131 deletions
+12 -11
View File
@@ -7,22 +7,23 @@ export {
isAbsolute,
join,
toFileUrl,
} from "https://deno.land/std@0.205.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.205.0/fs/walk.ts";
export * as colors from "https://deno.land/std@0.205.0/fmt/colors.ts";
} 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";
export {
type Handler as ServeHandler,
serve,
} from "https://deno.land/std@0.205.0/http/server.ts";
export { Status } from "https://deno.land/std@0.205.0/http/http_status.ts";
} 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";
export {
typeByExtension,
} from "https://deno.land/std@0.205.0/media_types/mod.ts";
export { toHashString } from "https://deno.land/std@0.205.0/crypto/to_hash_string.ts";
export { escape } from "https://deno.land/std@0.205.0/regexp/escape.ts";
export * as JSONC from "https://deno.land/std@0.205.0/jsonc/mod.ts";
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";
export { renderToString } from "https://esm.sh/*preact-render-to-string@6.3.1";
export {
assertEquals,
assertThrows,
} from "https://deno.land/std@0.205.0/assert/mod.ts";
} from "https://deno.land/std@0.208.0/assert/mod.ts";
export { assertSnapshot } from "https://deno.land/std@0.208.0/testing/snapshot.ts";