From b94b3872072dd4114df6aa8676d5bc4a5a458770 Mon Sep 17 00:00:00 2001 From: Tyler Hall Date: Mon, 20 Feb 2023 21:20:20 +0000 Subject: [PATCH] ci(connect): use latest deno2node to transpile connect -> node --- packages/connect/Makefile | 2 +- packages/connect/deno/tests/mod.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/connect/Makefile b/packages/connect/Makefile index b550e1ab..a12854ff 100644 --- a/packages/connect/Makefile +++ b/packages/connect/Makefile @@ -9,7 +9,7 @@ test-integration: clean to-node to-node: @deno run --no-check --allow-read --allow-write \ - https://deno.land/x/deno2node@v1.6.0/src/cli.ts ./tsconfig.to-node.jsonc && \ + https://deno.land/x/deno2node@v1.7.1/src/cli.ts ./tsconfig.to-node.jsonc && \ yarn build && \ echo "copying types..." && find ./to-node -mindepth 1 -depth -name '*.d.ts' -exec cp --parents \{\} ./dist \; && \ mv ./dist/to-node/* ./dist && rm -rf ./dist/to-node diff --git a/packages/connect/deno/tests/mod.ts b/packages/connect/deno/tests/mod.ts index 76362dd3..803991d2 100644 --- a/packages/connect/deno/tests/mod.ts +++ b/packages/connect/deno/tests/mod.ts @@ -11,7 +11,7 @@ test("mod", async (t) => { new Response(JSON.stringify({ ok: false }), { status: 404, headers: { "content-type": "application/json" }, - }) + }), ); const hyper = connect("http://localhost:6363/test"); @@ -27,7 +27,7 @@ test("mod", async (t) => { new Response(JSON.stringify({ ok: true, doc: { _id: "test-1" } }), { status: 404, headers: { "content-type": "application/json" }, - }) + }), ); const hyper = connect("http://localhost:6363/test");