From 4452fb07146ce7a031dafde40cf4949a8f4a94f9 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Thu, 3 Sep 2020 08:02:26 -0500 Subject: [PATCH] chore: update for deno 1.3.0 & std 0.67.0 (#165) --- connection.ts | 4 ---- deps.ts | 8 ++++---- test_deps.ts | 2 +- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/connection.ts b/connection.ts index cef18b87..717b0067 100644 --- a/connection.ts +++ b/connection.ts @@ -609,9 +609,5 @@ export class Connection { await this.bufWriter.write(terminationMessage); await this.bufWriter.flush(); this.conn.close(); - delete this.conn; - delete this.bufReader; - delete this.bufWriter; - delete this.packetWriter; } } diff --git a/deps.ts b/deps.ts index 1e135614..ce179a71 100644 --- a/deps.ts +++ b/deps.ts @@ -1,10 +1,10 @@ export { BufReader, BufWriter, -} from "https://deno.land/std@0.63.0/io/bufio.ts"; -export { copyBytes } from "https://deno.land/std@0.63.0/bytes/mod.ts"; +} from "https://deno.land/std@0.67.0/io/bufio.ts"; +export { copyBytes } from "https://deno.land/std@0.67.0/bytes/mod.ts"; export { Deferred, deferred, -} from "https://deno.land/std@0.63.0/async/deferred.ts"; -export { createHash } from "https://deno.land/std@0.63.0/hash/mod.ts"; +} from "https://deno.land/std@0.67.0/async/deferred.ts"; +export { createHash } from "https://deno.land/std@0.67.0/hash/mod.ts"; diff --git a/test_deps.ts b/test_deps.ts index f84ef633..30d8d184 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -5,4 +5,4 @@ export { assertStringContains, assertThrows, assertThrowsAsync, -} from "https://deno.land/std@0.63.0/testing/asserts.ts"; +} from "https://deno.land/std@0.67.0/testing/asserts.ts";