Skip to content

Commit a20c91c

Browse files
chore(deps): update deno dependencies (#34)
Co-authored-by: GitHub <[email protected]>
1 parent e19bcfe commit a20c91c

10 files changed

+19
-19
lines changed

Diff for: example/serve.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
1+
import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
22
import { serveDirWithTs } from "../mod.ts";
33
serve((req) => serveDirWithTs(req, { fsRoot: "example" }));

Diff for: file_server_test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
22
assertEquals,
33
fail,
4-
} from "https://deno.land/std@0.177.0/testing/asserts.ts";
5-
import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
4+
} from "https://deno.land/std@0.178.0/testing/asserts.ts";
5+
import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
66
import {
77
MediaType,
88
serveDirWithTs,

Diff for: mod.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { MediaType, transpile } from "./utils/transpile.ts";
1010
* In that case, calling this function in advance can speed up later calls to the transpile function.
1111
*
1212
* ```ts
13-
* import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
13+
* import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
1414
* import { serveDirWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$MODULE_VERSION/mod.ts";
1515
*
1616
* // load the wasm file in the background when the server starts.

Diff for: mod_test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { assert } from "https://deno.land/std@0.177.0/testing/asserts.ts";
1+
import { assert } from "https://deno.land/std@0.178.0/testing/asserts.ts";
22
import {
33
assertSpyCalls,
44
stub,
5-
} from "https://deno.land/std@0.177.0/testing/mock.ts";
5+
} from "https://deno.land/std@0.178.0/testing/mock.ts";
66

77
import { fourceInstantiateWasm, MediaType, transpile } from "./mod.ts";
88

Diff for: oak_test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
22
assertEquals,
33
fail,
4-
} from "https://deno.land/std@0.177.0/testing/asserts.ts";
5-
import { deferred } from "https://deno.land/std@0.177.0/async/mod.ts";
4+
} from "https://deno.land/std@0.178.0/testing/asserts.ts";
5+
import { deferred } from "https://deno.land/std@0.178.0/async/mod.ts";
66
import { Application } from "https://deno.land/x/[email protected]/mod.ts";
77
import { MediaType, transpile, tsMiddleware } from "./mod.ts";
88

Diff for: src/file_server.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import {
33
type ServeDirOptions,
44
serveFile,
55
type ServeFileOptions,
6-
} from "https://deno.land/std@0.177.0/http/file_server.ts";
6+
} from "https://deno.land/std@0.178.0/http/file_server.ts";
77

88
import { transpileResponse } from "../utils/transpile_response.ts";
99

1010
/**
11-
* This can be used in the same way as the [serveFile](https://doc.deno.land/https://deno.land/std@0.177.0/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
11+
* This can be used in the same way as the [serveFile](https://doc.deno.land/https://deno.land/std@0.178.0/http/file_server.ts/~/serveFile) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
1212
*
1313
* ```ts
14-
* import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
14+
* import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
1515
* import { serveFileWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$MODULE_VERSION/mod.ts";
1616
*
1717
* fourceInstantiateWasm();
@@ -28,10 +28,10 @@ export async function serveFileWithTs(
2828
}
2929

3030
/**
31-
* This can be used in the same way as the [serveDir](https://doc.deno.land/https://deno.land/std@0.177.0/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
31+
* This can be used in the same way as the [serveDir](https://doc.deno.land/https://deno.land/std@0.178.0/http/file_server.ts/~/serveDir) function of the standard library, but if the file is TypeScript, it will be rewritten to JavaScript.
3232
*
3333
* ```ts
34-
* import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
34+
* import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
3535
* import { serveDirWithTs, fourceInstantiateWasm } from "https://deno.land/x/ts_serve@$MODULE_VERSION/mod.ts";
3636
*
3737
* fourceInstantiateWasm();

Diff for: utils/transpile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { emit } from "https://deno.land/x/emit@0.15.0/mod.ts";
1+
import { emit } from "https://deno.land/x/emit@0.16.0/mod.ts";
22

33
/** File type. You can pass it as an option to the transpile function to tell it what media type the source is. */
44
export enum MediaType {

Diff for: utils/transpile_response.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { contentType } from "https://deno.land/std@0.177.0/media_types/mod.ts";
1+
import { contentType } from "https://deno.land/std@0.178.0/media_types/mod.ts";
22
import { MediaType, transpile } from "../utils/transpile.ts";
33

44
const jsContentType = contentType(".js");
@@ -7,8 +7,8 @@ const jsContentType = contentType(".js");
77
* Transpile the body of the response and return a new response.
88
*
99
* ```ts
10-
* import { serve } from "https://deno.land/std@0.177.0/http/mod.ts";
11-
* import { serveFile } from "https://deno.land/std@0.177.0/http/file_server.ts";
10+
* import { serve } from "https://deno.land/std@0.178.0/http/mod.ts";
11+
* import { serveFile } from "https://deno.land/std@0.178.0/http/file_server.ts";
1212
*
1313
* import { transpileResponse } from "https://deno.land/x/ts_serve@$MODULE_VERSION/utils/transpile_response.ts"
1414
*

Diff for: utils/transpile_response_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.178.0/testing/asserts.ts";
22
import { transpileResponse } from "./transpile_response.ts";
33

44
Deno.test({

Diff for: utils/transpile_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.178.0/testing/asserts.ts";
22
import { MediaType, transpile } from "./transpile.ts";
33

44
const codes = [

0 commit comments

Comments
 (0)