diff --git a/add-two-polynomials-represented-as-linked-lists/test.ts b/add-two-polynomials-represented-as-linked-lists/test.ts index 5e127d33..c2d20955 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 ce397bdc..8227fbed 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 1855f672..47831c6b 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 ebd35664..19e43402 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.0/testing/asserts.ts"; import braceExpansionII from "./index.ts"; diff --git a/brace-expansion/test.ts b/brace-expansion/test.ts index 8fd83738..5fd46743 100644 --- a/brace-expansion/test.ts +++ b/brace-expansion/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 69284e87..0d8d46e4 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 23fdb3f8..682b200a 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.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 456e147e..24273daf 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.0/testing/asserts.ts"; import countSmaller from "./index.ts"; diff --git a/delete-tree-nodes/test.ts b/delete-tree-nodes/test.ts index 9a5d9c2e..92f6bd6a 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.166.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.167.0/testing/asserts.ts"; import deleteTreeNodes from "./index.ts"; diff --git a/deno.json b/deno.json index 2d23a73d..51b407d1 100644 --- a/deno.json +++ b/deno.json @@ -10,8 +10,8 @@ }, "importMap": "import_map.json", "tasks": { - "udd": " deno run -A https://deno.land/x/udd@0.8.1/main.ts '*.json' deps.ts '*.ts' '*/*.ts'", - "install-udd": "deno install -A -f -n udd https://deno.land/x/udd@0.8.1/main.ts", + "udd": " deno run -A https://deno.land/x/udd@0.8.2/main.ts '*.json' deps.ts '*.ts' '*/*.ts'", + "install-udd": "deno install -A -f -n udd https://deno.land/x/udd@0.8.2/main.ts", "fmt": " deno fmt --config deno.json", "test": "deno test --parallel --unstable -A --config deno.json", "lint": "deno lint --config deno.json", diff --git a/deps.ts b/deps.ts index 33fed419..1c30af61 100644 --- a/deps.ts +++ b/deps.ts @@ -5,7 +5,7 @@ export { assertFalse, assertStrictEquals, equal, -} from "https://deno.land/std@0.166.0/testing/asserts.ts"; +} from "https://deno.land/std@0.167.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.166.0/fs/mod.ts"; -export { parse } from "https://deno.land/std@0.166.0/flags/mod.ts"; +export { walk } from "https://deno.land/std@0.167.0/fs/mod.ts"; +export { parse } from "https://deno.land/std@0.167.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.166.0/node/internal/net.ts"; +export { isIP } from "https://deno.land/std@0.167.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.166.0/fs/_util.ts"; +export type { WalkEntry } from "https://deno.land/std@0.167.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 d170c89e..426c0e19 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.166.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.167.0/collections/binary_heap.ts"; diff --git a/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/findTheCity.ts b/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/findTheCity.ts index 64781c39..4de1e5db 100644 --- a/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/findTheCity.ts +++ b/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/findTheCity.ts @@ -1,4 +1,4 @@ -import { BinaryHeap } from "https://deno.land/std@0.166.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.167.0/collections/binary_heap.ts"; export default function findTheCity( n: number, edges: number[][], diff --git a/import_map.json b/import_map.json index 8f0370ad..910faa01 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.166.0/testing/asserts.ts" + "asserts": "https://deno.land/std@0.167.0/testing/asserts.ts" } } diff --git a/reachable-nodes-in-subdivided-graph/index.ts b/reachable-nodes-in-subdivided-graph/index.ts index 17f1aeaf..3af981db 100644 --- a/reachable-nodes-in-subdivided-graph/index.ts +++ b/reachable-nodes-in-subdivided-graph/index.ts @@ -44,4 +44,4 @@ export default function reachableNodes( } return reachableNodes; } -import { BinaryHeap } from "https://deno.land/std@0.166.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.167.0/collections/binary_heap.ts"; diff --git a/total-cost-to-hire-k-workers/index.ts b/total-cost-to-hire-k-workers/index.ts index 93d807b7..49b343d6 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.166.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.167.0/collections/binary_heap.ts"; diff --git a/utils/split_by_count.ts b/utils/split_by_count.ts index 941aa97d..8c2df4dd 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.166.0/collections/chunk.ts"; +import { chunk } from "https://deno.land/std@0.167.0/collections/chunk.ts"; export function split_by_count(files: T[], limit: number): T[][] { return chunk(files, limit) as T[][]; }