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 a4104a6
Show file tree
Hide file tree
Showing 4 changed files with 5 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 _build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @module
*/

import { build, emptyDir } from "https://deno.land/x/dnt@0.19.0/mod.ts";
import { build, emptyDir } from "https://deno.land/x/dnt@0.20.0/mod.ts";
import { copy } from "https://deno.land/[email protected]/fs/copy.ts";

async function start() {
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: 2 additions & 0 deletions etag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export function getEntity<S extends State = Record<string, any>>(
context: Context<S>,
): Promise<string | Uint8Array | Deno.FileInfo | undefined> {
const { body } = context.response;
// TODO(@kitsonk) refactor when denoland/node_deno_shims#88 is resolved
// deno-lint-ignore no-deprecated-deno-api
if (body instanceof Deno.File) {
return fstat(body);
}
Expand Down

0 comments on commit a4104a6

Please sign in to comment.