From e79cdc7cb6deb4e77639b9b5eb0177589e46bd3d Mon Sep 17 00:00:00 2001 From: GitHub Date: Sun, 25 Feb 2024 09:04:23 +0000 Subject: [PATCH] chore(deps): update deno dependencies --- docs/usage.ts | 2 +- test.ts | 4 ++-- unstable.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/usage.ts b/docs/usage.ts index 95b7ffc..1323622 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.217.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..df55117 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.217.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..d2264c5 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.217.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.217.0/media_types/mod.ts"; * * Deno.serve(withEarlyHints(async function* (_request) { * // sends early hints response