diff --git a/add-two-polynomials-represented-as-linked-lists/test.ts b/add-two-polynomials-represented-as-linked-lists/test.ts index 761c4948..816a7a40 100644 --- a/add-two-polynomials-represented-as-linked-lists/test.ts +++ b/add-two-polynomials-represented-as-linked-lists/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import { ArrayToPolyNode } from "./ArrayToPolyNode.ts"; import addPoly from "./index.ts"; diff --git a/basic-calculator-iv/test.ts b/basic-calculator-iv/test.ts index 16fd92fa..0f4e5e03 100644 --- a/basic-calculator-iv/test.ts +++ b/basic-calculator-iv/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import basicCalculatorIV from "./index.ts"; import { Poly } from "./Poly.ts"; diff --git a/booking-concert-tickets-in-groups/test.ts b/booking-concert-tickets-in-groups/test.ts index 88ea88d1..e2cbde31 100644 --- a/booking-concert-tickets-in-groups/test.ts +++ b/booking-concert-tickets-in-groups/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import { runScript } from "leetcode-class"; import BookMyShow from "./index.ts"; diff --git a/brace-expansion-ii/test.ts b/brace-expansion-ii/test.ts index 4443571c..f70a61a8 100644 --- a/brace-expansion-ii/test.ts +++ b/brace-expansion-ii/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import braceExpansionII from "./index.ts"; diff --git a/brace-expansion/test.ts b/brace-expansion/test.ts index 4ba2dd4c..c91e5eaf 100644 --- a/brace-expansion/test.ts +++ b/brace-expansion/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import expand from "./index.ts"; diff --git a/construct-binary-search-tree-from-preorder-traversal/test.ts b/construct-binary-search-tree-from-preorder-traversal/test.ts index 03423d2b..ba4c7b43 100644 --- a/construct-binary-search-tree-from-preorder-traversal/test.ts +++ b/construct-binary-search-tree-from-preorder-traversal/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import { TreeNodeLeetCodeFromJSON } from "../utils/TreeNodeLeetCodeParse.ts"; import { TreeNodeLeetCodeToJSON } from "../utils/TreeNodeLeetCodeStringify.ts"; diff --git a/construct-binary-tree-from-string/test.ts b/construct-binary-tree-from-string/test.ts index bdae44d7..7fe9a3a9 100644 --- a/construct-binary-tree-from-string/test.ts +++ b/construct-binary-tree-from-string/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import str2tree from "./index.ts"; diff --git a/count-of-smaller-numbers-after-self/test.ts b/count-of-smaller-numbers-after-self/test.ts index e6bb45bb..fc66ead3 100644 --- a/count-of-smaller-numbers-after-self/test.ts +++ b/count-of-smaller-numbers-after-self/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import countSmaller from "./index.ts"; diff --git a/delete-tree-nodes/test.ts b/delete-tree-nodes/test.ts index 34149c17..ce845d05 100644 --- a/delete-tree-nodes/test.ts +++ b/delete-tree-nodes/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.164.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.165.0/testing/asserts.ts"; import deleteTreeNodes from "./index.ts"; diff --git a/deps.ts b/deps.ts index 5ef7f52a..2bb23ce4 100644 --- a/deps.ts +++ b/deps.ts @@ -5,7 +5,7 @@ export { assertFalse, assertStrictEquals, equal, -} from "https://deno.land/std@0.164.0/testing/asserts.ts"; +} from "https://deno.land/std@0.165.0/testing/asserts.ts"; export { default as random } from "https://cdn.skypack.dev/lodash@4.17.21/random?dts"; export { default as countBy } from "https://cdn.skypack.dev/lodash@4.17.21/countBy?dts"; export { default as zip } from "https://cdn.skypack.dev/lodash@4.17.21/zip?dts"; @@ -14,10 +14,10 @@ export { default as uniqBy } from "https://cdn.skypack.dev/lodash@4.17.21/uniqBy export { default as intersection } from "https://cdn.skypack.dev/lodash@4.17.21/intersection?dts"; -export { walk } from "https://deno.land/std@0.164.0/fs/mod.ts"; -export { parse } from "https://deno.land/std@0.164.0/flags/mod.ts"; +export { walk } from "https://deno.land/std@0.165.0/fs/mod.ts"; +export { parse } from "https://deno.land/std@0.165.0/flags/mod.ts"; export { combinations } from "https://deno.land/x/combinatorics@1.1.2/mod.ts"; -export { isIP } from "https://deno.land/std@0.164.0/node/internal/net.ts"; +export { isIP } from "https://deno.land/std@0.165.0/node/internal/net.ts"; export { Heap } from "https://esm.sh/@datastructures-js/heap@4.1.2/"; export { AvlTree, @@ -31,7 +31,7 @@ export { TreeNode, } from "https://esm.sh/@masx200/leetcode-class@1.2.5"; -export type { WalkEntry } from "https://deno.land/std@0.164.0/fs/_util.ts"; +export type { WalkEntry } from "https://deno.land/std@0.165.0/fs/_util.ts"; import AsyncLimiterClass, { AsyncCurrentLimiter, } from "https://cdn.skypack.dev/@masx200/async-task-current-limiter@2.1.0?dts"; diff --git a/design-a-file-sharing-system/index.ts b/design-a-file-sharing-system/index.ts index 90c0209d..9da6dd54 100644 --- a/design-a-file-sharing-system/index.ts +++ b/design-a-file-sharing-system/index.ts @@ -63,4 +63,4 @@ export default class FileSharing { return usersList; } } -import { BinaryHeap } from "https://deno.land/std@0.164.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.165.0/collections/binary_heap.ts"; diff --git a/import_map.json b/import_map.json index 78b9e19b..5429a031 100644 --- a/import_map.json +++ b/import_map.json @@ -2,6 +2,6 @@ "imports": { "assert": "https://esm.sh/assert@2.0.0", "leetcode-class": "https://esm.sh/@masx200/leetcode-class@1.2.5", - "asserts": "https://deno.land/std@0.164.0/testing/asserts.ts" + "asserts": "https://deno.land/std@0.165.0/testing/asserts.ts" } } diff --git a/total-cost-to-hire-k-workers/index.ts b/total-cost-to-hire-k-workers/index.ts index 81f89f72..095633b0 100644 --- a/total-cost-to-hire-k-workers/index.ts +++ b/total-cost-to-hire-k-workers/index.ts @@ -30,4 +30,4 @@ export default function totalCost( costs.sort(compare); return ans + costs.slice(0, k).reduce((p, c) => p + c, 0); } -import { BinaryHeap } from "https://deno.land/std@0.164.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.165.0/collections/binary_heap.ts"; diff --git a/utils/split_by_count.ts b/utils/split_by_count.ts index 927ea406..7de56218 100644 --- a/utils/split_by_count.ts +++ b/utils/split_by_count.ts @@ -1,4 +1,4 @@ -import { chunk } from "https://deno.land/std@0.164.0/collections/chunk.ts"; +import { chunk } from "https://deno.land/std@0.165.0/collections/chunk.ts"; export function split_by_count(files: T[], limit: number): T[][] { return chunk(files, limit) as T[][]; }