Skip to content

Commit

Permalink
chore: update to Deno 1.19.0, media_types 2.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 21, 2022
1 parent c81504f commit ca1a03b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oak-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: download deno
uses: denoland/setup-deno@main
with:
deno-version: 1.18.0
deno-version: 1.19.0

- name: check format
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export {
contentType,
extension,
lookup,
} from "https://deno.land/x/[email protected].1/mod.ts";
} from "https://deno.land/x/[email protected].2/mod.ts";
export {
compile,
match as pathMatch,
Expand Down
2 changes: 1 addition & 1 deletion etag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function getEntity<S extends State = Record<string, any>>(
context: Context<S>,
): Promise<string | Uint8Array | Deno.FileInfo | undefined> {
const { body } = context.response;
if (body instanceof Deno.File) {
if (body instanceof Deno.FsFile) {
return fstat(body);
}
if (body instanceof Uint8Array) {
Expand Down

0 comments on commit ca1a03b

Please sign in to comment.