Skip to content

Commit a4104a6

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

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/oak-ci.yml

Lines changed: 1 addition & 1 deletion
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'

_build_npm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @module
99
*/
1010

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

1414
async function start() {

deps.ts

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ 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+
// TODO(@kitsonk) refactor when denoland/node_deno_shims#88 is resolved
76+
// deno-lint-ignore no-deprecated-deno-api
7577
if (body instanceof Deno.File) {
7678
return fstat(body);
7779
}

0 commit comments

Comments
 (0)