From 64fa09bddca19f6046a3dad9a79ba44a5e795dcd Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 25 Jan 2023 09:06:09 +0000 Subject: [PATCH] chore(deps): update deno dependencies --- docs/usage.ts | 2 +- test.ts | 2 +- unstable.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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