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

Commit

Permalink
📦 Update Deno dependencies
Browse files Browse the repository at this point in the history
Update dependencies by udd:

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/indexer.ts

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/mod.ts

/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/session.ts

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/indexer_test.ts

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/message.ts

/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.215.0
[2/5] Update successful: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.215.0
[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.215.0
[3/5] Update successful: https://deno.land/x/std@0.184.0/streams/mod.ts -> 0.215.0
[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.215.0
[4/5] Update successful: https://deno.land/x/std@0.184.0/async/mod.ts -> 0.215.0
[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/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_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.215.0
[1/3] Update successful: https://deno.land/std@0.184.0/testing/asserts.ts -> 0.215.0
[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.215.0
[2/3] Update successful: https://deno.land/std@0.184.0/async/mod.ts -> 0.215.0
[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/example/client.ts

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/example/README.md

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/example/server.ts

/home/runner/work/deno-msgpack-rpc/deno-msgpack-rpc/session_test.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.215.0
https://deno.land/x/std@0.184.0/streams/mod.ts 0.184.0 -> 0.215.0
https://deno.land/x/std@0.184.0/async/mod.ts 0.184.0 -> 0.215.0
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.215.0
https://deno.land/std@0.184.0/async/mod.ts 0.184.0 -> 0.215.0
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'
  • Loading branch information
lambdalisue committed Feb 9, 2024
1 parent 96faa35 commit 3bb0cae
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const dispatcher: Dispatcher = {
};

async function establishSession(conn: Deno.Conn) {
await using(new Session(conn, conn, dispatcher), async (server) => {
using(new Session(conn, conn, dispatcher), async (server) => {
console.log("Session has connected");
console.log(await server.call("helloServer", "Alice"));
console.log(await server.call("helloClient", "Alice"));
Expand Down Expand Up @@ -88,7 +88,7 @@ const dispatcher: Dispatcher = {
try {
console.log(`Connect to MessagePack-RPC server (${hostname}:${port})`);
const conn = await Deno.connect({ hostname, port });
await using(new Session(conn, conn, dispatcher), async (client) => {
using(new Session(conn, conn, dispatcher), async (client) => {
console.log(await client.call("sum", 1, 1));
console.log(await client.call("helloServer", "Bob"));
console.log(await client.call("helloClient", "Bob"));
Expand Down
8 changes: 4 additions & 4 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { decodeStream, encode } from "https://deno.land/x/msgpack@v1.4/mod.ts";
export { deferred, delay } from "https://deno.land/x/std@0.184.0/async/mod.ts";
export * as streams from "https://deno.land/x/std@0.184.0/streams/mod.ts";
export type { Deferred } from "https://deno.land/x/std@0.184.0/async/mod.ts";
export type { Disposable } from "https://deno.land/x/disposable@v1.1.0/mod.ts";
export { deferred, delay } from "https://deno.land/x/std@0.215.0/async/mod.ts";
export * as streams from "https://deno.land/x/std@0.215.0/streams/mod.ts";
export type { Deferred } from "https://deno.land/x/std@0.215.0/async/mod.ts";
export type { Disposable } from "https://deno.land/x/disposable@v1.2.0/mod.ts";
6 changes: 3 additions & 3 deletions deps_test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "https://deno.land/std@0.184.0/testing/asserts.ts";
export { delay } from "https://deno.land/std@0.184.0/async/mod.ts";
export { using } from "https://deno.land/x/disposable@v1.1.0/mod.ts";
export * from "https://deno.land/std@0.215.0/testing/asserts.ts";
export { delay } from "https://deno.land/std@0.215.0/async/mod.ts";
export { using } from "https://deno.land/x/disposable@v1.2.0/mod.ts";
2 changes: 1 addition & 1 deletion example/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const dispatcher: Dispatcher = {
try {
console.log(`Connect to MessagePack-RPC server (${hostname}:${port})`);
const conn = await Deno.connect({ hostname, port });
await using(new Session(conn, conn, dispatcher), async (client) => {
using(new Session(conn, conn, dispatcher), async (client) => {
console.log(await client.call("sum", 1, 1));
console.log(await client.call("helloServer", "Bob"));
console.log(await client.call("helloClient", "Bob"));
Expand Down
2 changes: 1 addition & 1 deletion example/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const dispatcher: Dispatcher = {
};

async function establishSession(conn: Deno.Conn) {
await using(new Session(conn, conn, dispatcher), async (server) => {
using(new Session(conn, conn, dispatcher), async (server) => {
console.log("Session has connected");
console.log(await server.call("helloServer", "Alice"));
console.log(await server.call("helloClient", "Alice"));
Expand Down
2 changes: 1 addition & 1 deletion session_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Deno.test({
},
});

await using(local, async (local) => {
using(local, async (local) => {
// Session is not closed
assertEquals(await local.call("say"), "Hello");
});
Expand Down

0 comments on commit 3bb0cae

Please sign in to comment.