From d3741eebb937267cc4864519689cc33d896be3aa Mon Sep 17 00:00:00 2001 From: Yuki Tanaka Date: Sat, 4 Jun 2022 21:17:48 +0900 Subject: [PATCH] deps: deno@v1.22.2, deno_std@v0.142.0 (#312) --- .denov | 2 +- modules-lock.json | 2 +- modules.json | 2 +- tests/commands/geo.ts | 2 ++ tests/commands/list.ts | 2 ++ tests/commands/string.ts | 10 ++++++++++ vendor/https/deno.land/std/async/deferred.ts | 2 +- vendor/https/deno.land/std/async/delay.ts | 2 +- vendor/https/deno.land/std/io/buffer.ts | 2 +- vendor/https/deno.land/std/io/util.ts | 2 +- vendor/https/deno.land/std/testing/asserts.ts | 2 +- vendor/https/deno.land/std/testing/bdd.ts | 2 +- 12 files changed, 23 insertions(+), 9 deletions(-) diff --git a/.denov b/.denov index e3e48c4c..c7309241 100644 --- a/.denov +++ b/.denov @@ -1 +1 @@ -v1.22.0 +v1.22.2 diff --git a/modules-lock.json b/modules-lock.json index 65f702c0..5c4f6cc1 100644 --- a/modules-lock.json +++ b/modules-lock.json @@ -1,6 +1,6 @@ { "https://deno.land/std": { - "version": "@0.140.0", + "version": "@0.142.0", "modules": [ "/async/deferred.ts", "/async/delay.ts", diff --git a/modules.json b/modules.json index 65f702c0..5c4f6cc1 100644 --- a/modules.json +++ b/modules.json @@ -1,6 +1,6 @@ { "https://deno.land/std": { - "version": "@0.140.0", + "version": "@0.142.0", "modules": [ "/async/deferred.ts", "/async/delay.ts", diff --git a/tests/commands/geo.ts b/tests/commands/geo.ts index 4bbe93b0..b65f6541 100644 --- a/tests/commands/geo.ts +++ b/tests/commands/geo.ts @@ -62,6 +62,8 @@ export function geoTests( assertEquals(resp, [ ["13.36138933897018433", "38.11555639549629859"], ["15.08726745843887329", "37.50266842333162032"], + // deno-lint-ignore ban-ts-comment + // @ts-expect-error [], ]); }); diff --git a/tests/commands/list.ts b/tests/commands/list.ts index 186d0ca0..534e1038 100644 --- a/tests/commands/list.ts +++ b/tests/commands/list.ts @@ -48,6 +48,8 @@ export function listTests( }); it("brpoplpush timeout", async () => { + // deno-lint-ignore ban-ts-comment + // @ts-expect-error assertEquals(await client.brpoplpush("list", "list", 1), []); }); diff --git a/tests/commands/string.ts b/tests/commands/string.ts index fb635b94..5cfad6f4 100644 --- a/tests/commands/string.ts +++ b/tests/commands/string.ts @@ -227,10 +227,14 @@ export function stringTests( assertEquals(await client.stralgo("LCS", "KEYS", "a", "b"), "eo"); assertEquals( await client.stralgo("LCS", "KEYS", "a", "b", { len: true }), + // deno-lint-ignore ban-ts-comment + // @ts-expect-error 2, ); assertEquals( await client.stralgo("LCS", "KEYS", "a", "b", { idx: true }), + // deno-lint-ignore ban-ts-comment + // @ts-expect-error ["matches", matches, "len", 2], ); assertEquals( @@ -241,6 +245,8 @@ export function stringTests( "b", { idx: true, withmatchlen: true }, ), + // deno-lint-ignore ban-ts-comment + // @ts-expect-error ["matches", matchesWithLen, "len", 2], ); assertEquals( @@ -251,6 +257,8 @@ export function stringTests( "b", { idx: true, minmatchlen: 2 }, ), + // deno-lint-ignore ban-ts-comment + // @ts-expect-error ["matches", [], "len", 2], ); assertEquals( @@ -259,6 +267,8 @@ export function stringTests( ); assertEquals( await client.stralgo("LCS", "STRINGS", "Hello", "Deno!", { len: true }), + // deno-lint-ignore ban-ts-comment + // @ts-expect-error 2, ); }); diff --git a/vendor/https/deno.land/std/async/deferred.ts b/vendor/https/deno.land/std/async/deferred.ts index 0ca951d0..9b50a0d5 100644 --- a/vendor/https/deno.land/std/async/deferred.ts +++ b/vendor/https/deno.land/std/async/deferred.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/async/deferred.ts"; +export * from "https://deno.land/std@0.142.0/async/deferred.ts"; diff --git a/vendor/https/deno.land/std/async/delay.ts b/vendor/https/deno.land/std/async/delay.ts index cd581cda..fc5e330b 100644 --- a/vendor/https/deno.land/std/async/delay.ts +++ b/vendor/https/deno.land/std/async/delay.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/async/delay.ts"; +export * from "https://deno.land/std@0.142.0/async/delay.ts"; diff --git a/vendor/https/deno.land/std/io/buffer.ts b/vendor/https/deno.land/std/io/buffer.ts index 156685b1..da5e340d 100644 --- a/vendor/https/deno.land/std/io/buffer.ts +++ b/vendor/https/deno.land/std/io/buffer.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/io/buffer.ts"; +export * from "https://deno.land/std@0.142.0/io/buffer.ts"; diff --git a/vendor/https/deno.land/std/io/util.ts b/vendor/https/deno.land/std/io/util.ts index f6bd81d8..ae3f85b9 100644 --- a/vendor/https/deno.land/std/io/util.ts +++ b/vendor/https/deno.land/std/io/util.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/io/util.ts"; +export * from "https://deno.land/std@0.142.0/io/util.ts"; diff --git a/vendor/https/deno.land/std/testing/asserts.ts b/vendor/https/deno.land/std/testing/asserts.ts index 1d1f4e63..64a69cfe 100644 --- a/vendor/https/deno.land/std/testing/asserts.ts +++ b/vendor/https/deno.land/std/testing/asserts.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/testing/asserts.ts"; +export * from "https://deno.land/std@0.142.0/testing/asserts.ts"; diff --git a/vendor/https/deno.land/std/testing/bdd.ts b/vendor/https/deno.land/std/testing/bdd.ts index 76aa692d..16fdd822 100644 --- a/vendor/https/deno.land/std/testing/bdd.ts +++ b/vendor/https/deno.land/std/testing/bdd.ts @@ -1 +1 @@ -export * from "https://deno.land/std@0.140.0/testing/bdd.ts"; +export * from "https://deno.land/std@0.142.0/testing/bdd.ts";