Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Oct 15, 2023
1 parent 5158060 commit 56e78b7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions middleware_deps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "https://deno.land/std@0.194.0/http/http_errors.ts";
export * from "https://deno.land/std@0.194.0/http/http_status.ts";
export * from "https://deno.land/std@0.202.0/http/http_errors.ts";
export * from "https://deno.land/std@0.202.0/http/http_status.ts";

export { Context } from "https://deno.land/x/[email protected]/mod.ts";
2 changes: 1 addition & 1 deletion og_image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function isImageFormat(format: string): format is ImageFormat {

function parsePathname(pathname: string) {
return imageFormats.some((format) => "/." + format === pathname)
? { ext: pathname.slice(1), name: "" } // Accept empty text.
? { ext: pathname.slice(1), base: pathname.slice(1), name: "" } // Accept empty text.
: parse(pathname);
}

Expand Down
2 changes: 1 addition & 1 deletion og_image_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export {
SvgCanvas,
} from "https://deno.land/x/[email protected]/mod.ts";

export { parse } from "https://deno.land/x/std@0.194.0/path/mod.ts";
export { parse } from "https://deno.land/x/std@0.202.0/path/mod.ts";
4 changes: 2 additions & 2 deletions server_deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export {
createHandler,
createRoute,
} from "https://deno.land/x/[email protected]/mod.ts";
export { serveDir } from "https://deno.land/std@0.194.0/http/file_server.ts";
export { fromFileUrl } from "https://deno.land/std@0.194.0/path/mod.ts";
export { serveDir } from "https://deno.land/std@0.202.0/http/file_server.ts";
export { fromFileUrl } from "https://deno.land/std@0.202.0/path/mod.ts";
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- favicon -->
<link
rel="icon"
href="https://dev.zaubrik.com/[email protected].3/logo/favicon/favicon.svg"
href="https://dev.zaubrik.com/[email protected].6/logo/favicon/favicon.svg"
sizes="any"
type="image/svg+xml"
/>
Expand Down
2 changes: 1 addition & 1 deletion test_deps.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export {
assertEquals,
assertRejects,
} from "https://deno.land/std@0.194.0/testing/asserts.ts";
} from "https://deno.land/std@0.202.0/testing/asserts.ts";

export const connInfo = {
localAddr: { transport: "tcp" as const, hostname: "127.0.0.1", port: 8080 },
Expand Down

0 comments on commit 56e78b7

Please sign in to comment.