diff --git a/docs/usage.ts b/docs/usage.ts index 95b7ffc..6ba739c 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.210.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..cab29a9 100644 --- a/test.ts +++ b/test.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "https://deno.land/std@0.155.0/testing/asserts.ts"; -import { flakyTest } from "https://deno.land/x/flaky_test@v1.0.2/mod.ts"; +import { assertEquals } from "https://deno.land/std@0.210.0/testing/asserts.ts"; +import { flakyTest } from "https://deno.land/x/flaky_test@v1.0.3/mod.ts"; import { statusCodes } from "./src/status_code.ts"; import { earlyHintsResponse, withEarlyHints } from "./unstable.ts"; diff --git a/unstable.ts b/unstable.ts index 891545c..81be39a 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.210.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.210.0/media_types/mod.ts"; * * Deno.serve(withEarlyHints(async function* (_request) { * // sends early hints response