Skip to content

Commit ca1a03b

Browse files
committed
chore: update to Deno 1.19.0, media_types 2.12.2
1 parent c81504f commit ca1a03b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/oak-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: download deno
1616
uses: denoland/setup-deno@main
1717
with:
18-
deno-version: 1.18.0
18+
deno-version: 1.19.0
1919

2020
- name: check format
2121
if: matrix.os == 'ubuntu-latest'

deps.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export {
3636
contentType,
3737
extension,
3838
lookup,
39-
} from "https://deno.land/x/[email protected].1/mod.ts";
39+
} from "https://deno.land/x/[email protected].2/mod.ts";
4040
export {
4141
compile,
4242
match as pathMatch,

etag.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function getEntity<S extends State = Record<string, any>>(
7272
context: Context<S>,
7373
): Promise<string | Uint8Array | Deno.FileInfo | undefined> {
7474
const { body } = context.response;
75-
if (body instanceof Deno.File) {
75+
if (body instanceof Deno.FsFile) {
7676
return fstat(body);
7777
}
7878
if (body instanceof Uint8Array) {

0 commit comments

Comments
 (0)