diff --git a/docs/usage.ts b/docs/usage.ts index 95b7ffc..e4849ee 100644 --- a/docs/usage.ts +++ b/docs/usage.ts @@ -1,5 +1,5 @@ import { earlyHintsResponse, withEarlyHints } from "../unstable.ts"; -import { contentType } from "https://deno.land/std@0.155.0/media_types/mod.ts"; +import { contentType } from "https://deno.land/std@0.173.0/media_types/mod.ts"; Deno.serve(withEarlyHints(async function* (_request) { // sends early hints response diff --git a/test.ts b/test.ts index 3c5cac2..56c4ee5 100644 --- a/test.ts +++ b/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.155.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.173.0/testing/asserts.ts"; import { flakyTest } from "https://deno.land/x/flaky_test@v1.0.2/mod.ts"; import { statusCodes } from "./src/status_code.ts"; diff --git a/unstable.ts b/unstable.ts index 891545c..d8cce5d 100644 --- a/unstable.ts +++ b/unstable.ts @@ -1,5 +1,5 @@ import { statusCodes } from "./src/status_code.ts"; -import { writeAll } from "https://deno.land/std@0.155.0/streams/mod.ts"; +import { writeAll } from "https://deno.land/std@0.173.0/streams/mod.ts"; export type ResponseObject = Pick; export type Handler = ( @@ -43,7 +43,7 @@ export function earlyHintsResponse(pathList: string[]): ResponseObject { * * ```ts * import { earlyHintsResponse, withEarlyHints } from "https://deno.land/x/103_early_hints@$VERSION/unstable.ts"; - * import { contentType } from "https://deno.land/std@0.155.0/media_types/mod.ts"; + * import { contentType } from "https://deno.land/std@0.173.0/media_types/mod.ts"; * * Deno.serve(withEarlyHints(async function* (_request) { * // sends early hints response