Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Commit 9ba399e

Browse files
committed
📦 Update Deno dependencies
Update dependencies by udd: /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/response_waiter_test.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/README.md /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/deps.ts [1/5] Looking for releases: https://deno.land/x/msgpack@v1.4/mod.ts [1/5] Skip updating: https://deno.land/x/msgpack@v1.4/mod.ts [2/5] Looking for releases: https://deno.land/x/std@0.184.0/async/mod.ts [2/5] Attempting update: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.219.1 [2/5] Update successful: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.219.1 [3/5] Looking for releases: https://deno.land/x/std@0.184.0/streams/mod.ts [3/5] Attempting update: https://deno.land/x/std@0.184.0/streams/mod.ts -> 0.219.1 [3/5] Update successful: https://deno.land/x/std@0.184.0/streams/mod.ts -> 0.219.1 [4/5] Looking for releases: https://deno.land/x/std@0.184.0/async/mod.ts [4/5] Attempting update: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.219.1 [4/5] Update successful: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.219.1 [5/5] Looking for releases: https://deno.land/x/disposable@v1.1.0/mod.ts [5/5] Attempting update: https://deno.land/x/disposable@v1.1.0/mod.ts -> v1.2.0 [5/5] Update successful: https://deno.land/x/disposable@v1.1.0/mod.ts -> v1.2.0 /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/message_test.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/response_waiter.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/message.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/session_test.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/deps_test.ts [1/3] Looking for releases: https://deno.land/std@0.184.0/testing/asserts.ts [1/3] Attempting update: https://deno.land/std@0.184.0/testing/asserts.ts -> 0.219.1 [1/3] Update successful: https://deno.land/std@0.184.0/testing/asserts.ts -> 0.219.1 [2/3] Looking for releases: https://deno.land/std@0.184.0/async/mod.ts [2/3] Attempting update: https://deno.land/std@0.184.0/async/mod.ts -> 0.219.1 [2/3] Update successful: https://deno.land/std@0.184.0/async/mod.ts -> 0.219.1 [3/3] Looking for releases: https://deno.land/x/disposable@v1.1.0/mod.ts [3/3] Attempting update: https://deno.land/x/disposable@v1.1.0/mod.ts -> v1.2.0 [3/3] Update successful: https://deno.land/x/disposable@v1.1.0/mod.ts -> v1.2.0 /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/indexer.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/session.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/example/README.md /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/example/client.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/example/server.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/indexer_test.ts /home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/mod.ts Already latest version: https://deno.land/x/msgpack@v1.4/mod.ts == v1.4 Successfully updated: https://deno.land/x/std@0.184.0/async/mod.ts 0.184.0 -> 0.219.1 https://deno.land/x/std@0.184.0/streams/mod.ts 0.184.0 -> 0.219.1 https://deno.land/x/std@0.184.0/async/mod.ts 0.184.0 -> 0.219.1 https://deno.land/x/disposable@v1.1.0/mod.ts v1.1.0 -> v1.2.0 https://deno.land/std@0.184.0/testing/asserts.ts 0.184.0 -> 0.219.1 https://deno.land/std@0.184.0/async/mod.ts 0.184.0 -> 0.219.1 https://deno.land/x/disposable@v1.1.0/mod.ts v1.1.0 -> v1.2.0 make[1]: Entering directory '/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc' make[1]: Leaving directory '/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc'
1 parent 96faa35 commit 9ba399e

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const dispatcher: Dispatcher = {
4545
};
4646

4747
async function establishSession(conn: Deno.Conn) {
48-
await using(new Session(conn, conn, dispatcher), async (server) => {
48+
using(new Session(conn, conn, dispatcher), async (server) => {
4949
console.log("Session has connected");
5050
console.log(await server.call("helloServer", "Alice"));
5151
console.log(await server.call("helloClient", "Alice"));
@@ -88,7 +88,7 @@ const dispatcher: Dispatcher = {
8888
try {
8989
console.log(`Connect to MessagePack-RPC server (${hostname}:${port})`);
9090
const conn = await Deno.connect({ hostname, port });
91-
await using(new Session(conn, conn, dispatcher), async (client) => {
91+
using(new Session(conn, conn, dispatcher), async (client) => {
9292
console.log(await client.call("sum", 1, 1));
9393
console.log(await client.call("helloServer", "Bob"));
9494
console.log(await client.call("helloClient", "Bob"));

deps.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { decodeStream, encode } from "https://deno.land/x/msgpack@v1.4/mod.ts";
2-
export { deferred, delay } from "https://deno.land/x/std@0.184.0/async/mod.ts";
3-
export * as streams from "https://deno.land/x/std@0.184.0/streams/mod.ts";
4-
export type { Deferred } from "https://deno.land/x/std@0.184.0/async/mod.ts";
5-
export type { Disposable } from "https://deno.land/x/disposable@v1.1.0/mod.ts";
2+
export { deferred, delay } from "https://deno.land/x/std@0.219.1/async/mod.ts";
3+
export * as streams from "https://deno.land/x/std@0.219.1/streams/mod.ts";
4+
export type { Deferred } from "https://deno.land/x/std@0.219.1/async/mod.ts";
5+
export type { Disposable } from "https://deno.land/x/disposable@v1.2.0/mod.ts";

deps_test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export * from "https://deno.land/std@0.184.0/testing/asserts.ts";
2-
export { delay } from "https://deno.land/std@0.184.0/async/mod.ts";
3-
export { using } from "https://deno.land/x/disposable@v1.1.0/mod.ts";
1+
export * from "https://deno.land/std@0.219.1/testing/asserts.ts";
2+
export { delay } from "https://deno.land/std@0.219.1/async/mod.ts";
3+
export { using } from "https://deno.land/x/disposable@v1.2.0/mod.ts";

example/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const dispatcher: Dispatcher = {
1818
try {
1919
console.log(`Connect to MessagePack-RPC server (${hostname}:${port})`);
2020
const conn = await Deno.connect({ hostname, port });
21-
await using(new Session(conn, conn, dispatcher), async (client) => {
21+
using(new Session(conn, conn, dispatcher), async (client) => {
2222
console.log(await client.call("sum", 1, 1));
2323
console.log(await client.call("helloServer", "Bob"));
2424
console.log(await client.call("helloClient", "Bob"));

example/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const dispatcher: Dispatcher = {
2323
};
2424

2525
async function establishSession(conn: Deno.Conn) {
26-
await using(new Session(conn, conn, dispatcher), async (server) => {
26+
using(new Session(conn, conn, dispatcher), async (server) => {
2727
console.log("Session has connected");
2828
console.log(await server.call("helloServer", "Alice"));
2929
console.log(await server.call("helloClient", "Alice"));

session_test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Deno.test({
263263
},
264264
});
265265

266-
await using(local, async (local) => {
266+
using(local, async (local) => {
267267
// Session is not closed
268268
assertEquals(await local.call("say"), "Hello");
269269
});

0 commit comments

Comments
 (0)