Skip to content

Commit

Permalink
chore(deps): update deno dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Feb 25, 2024
1 parent 3350082 commit e79cdc7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/usage.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
4 changes: 2 additions & 2 deletions unstable.ts
Original file line number Diff line number Diff line change
@@ -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<Response, "headers" | "status" | "body">;
export type Handler = (
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e79cdc7

Please sign in to comment.