diff --git a/add-two-polynomials-represented-as-linked-lists/test.ts b/add-two-polynomials-represented-as-linked-lists/test.ts index ac5fb4d0..0856faab 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 6b9ce92f..4be1f423 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 c5d3022e..b4cb63ac 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 61a85166..b6219d38 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.0/testing/asserts.ts"; import braceExpansionII from "./index.ts"; diff --git a/brace-expansion/test.ts b/brace-expansion/test.ts index 52d1ce93..30bcc5ed 100644 --- a/brace-expansion/test.ts +++ b/brace-expansion/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 e4650706..39743768 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 d09d3dce..8589019a 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.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 d54aa3ff..6cba9880 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.0/testing/asserts.ts"; import countSmaller from "./index.ts"; diff --git a/delete-tree-nodes/test.ts b/delete-tree-nodes/test.ts index 681f1137..5f25d500 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.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.0/testing/asserts.ts"; import deleteTreeNodes from "./index.ts"; diff --git a/deps.ts b/deps.ts index 2509786c..4b34f554 100644 --- a/deps.ts +++ b/deps.ts @@ -5,15 +5,15 @@ export { assertFalse, assertStrictEquals, equal, -} from "https://deno.land/std@0.180.0/testing/asserts.ts"; +} from "https://deno.land/std@0.181.0/testing/asserts.ts"; import AsyncLimiterClass, { AsyncCurrentLimiter, } from "https://esm.sh/@masx200/async-task-current-limiter@2.1.0/"; -import { BinaryHeap } from "https://deno.land/std@0.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.0/collections/binary_heap.ts"; import { Deque } from "https://esm.sh/@datastructures-js/deque@1.0.4/"; -import { RedBlackNode } from "https://deno.land/std@0.180.0/collections/red_black_node.ts"; +import { RedBlackNode } from "https://deno.land/std@0.181.0/collections/red_black_node.ts"; import memoize from "https://cdn.skypack.dev/lodash@4.17.21/memoize?dts"; export { Deque }; @@ -27,8 +27,8 @@ export { default as sum } from "https://cdn.skypack.dev/lodash@4.17.21/sum?dts"; export { default as intersection } from "https://cdn.skypack.dev/lodash@4.17.21/intersection?dts"; export { BinaryHeap }; -export { walk } from "https://deno.land/std@0.180.0/fs/mod.ts"; -export { parse } from "https://deno.land/std@0.180.0/flags/mod.ts"; +export { walk } from "https://deno.land/std@0.181.0/fs/mod.ts"; +export { parse } from "https://deno.land/std@0.181.0/flags/mod.ts"; export { combinations } from "https://deno.land/x/combinatorics@1.1.2/mod.ts"; export { isIP } from "node:net"; export { Heap } from "npm:@datastructures-js/heap@4.3.1"; @@ -44,7 +44,7 @@ export { TreeNode, } from "https://esm.sh/@masx200/leetcode-class@1.2.7/"; -export type { WalkEntry } from "https://deno.land/std@0.180.0/fs/_util.ts"; +export type { WalkEntry } from "https://deno.land/std@0.181.0/fs/_util.ts"; export { AsyncLimiterClass }; export type { AsyncCurrentLimiter }; diff --git a/design-a-file-sharing-system/index.ts b/design-a-file-sharing-system/index.ts index ad41ba20..5033bfde 100644 --- a/design-a-file-sharing-system/index.ts +++ b/design-a-file-sharing-system/index.ts @@ -65,4 +65,4 @@ export default class FileSharing { return usersList; } } -import { BinaryHeap } from "https://deno.land/std@0.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.0/collections/binary_heap.ts"; diff --git a/dinner-plate-stacks/RedBlackTree.ts b/dinner-plate-stacks/RedBlackTree.ts index 7967fbf3..064e07c2 100644 --- a/dinner-plate-stacks/RedBlackTree.ts +++ b/dinner-plate-stacks/RedBlackTree.ts @@ -1,8 +1,8 @@ import { Direction, RedBlackNode, -} from "https://deno.land/std@0.180.0/collections/red_black_node.ts"; -import { RedBlackTree } from "https://deno.land/std@0.180.0/collections/red_black_tree.ts"; +} from "https://deno.land/std@0.181.0/collections/red_black_node.ts"; +import { RedBlackTree } from "https://deno.land/std@0.181.0/collections/red_black_tree.ts"; export default class RedBlackTreeExtended extends RedBlackTree { insertGetNode(value: T): RedBlackNode | null { diff --git a/dinner-plate-stacks/index.ts b/dinner-plate-stacks/index.ts index 41850fc0..8127697e 100644 --- a/dinner-plate-stacks/index.ts +++ b/dinner-plate-stacks/index.ts @@ -1,4 +1,4 @@ -import { ascend } from "https://deno.land/std@0.180.0/collections/binary_search_tree.ts"; +import { ascend } from "https://deno.land/std@0.181.0/collections/binary_search_tree.ts"; import RedBlackTree from "./RedBlackTree.ts"; import { reverseInOrderIterator } from "./reverseInOrderIterator.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 85d9ccfb..95b1f47b 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.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.0/collections/binary_heap.ts"; export default function findTheCity( n: number, diff --git a/finding-mk-average/MultiRedBlackTree.ts b/finding-mk-average/MultiRedBlackTree.ts index d1e263b5..ad7ecd68 100644 --- a/finding-mk-average/MultiRedBlackTree.ts +++ b/finding-mk-average/MultiRedBlackTree.ts @@ -1,6 +1,6 @@ -import { ascend } from "https://deno.land/std@0.180.0/collections/_comparators.ts"; -import { Direction } from "https://deno.land/std@0.180.0/collections/binary_search_node.ts"; -import { RedBlackNode } from "https://deno.land/std@0.180.0/collections/red_black_node.ts"; +import { ascend } from "https://deno.land/std@0.181.0/collections/_comparators.ts"; +import { Direction } from "https://deno.land/std@0.181.0/collections/binary_search_node.ts"; +import { RedBlackNode } from "https://deno.land/std@0.181.0/collections/red_black_node.ts"; import RedBlackTreeExtended from "../dinner-plate-stacks/RedBlackTree.ts"; export class MultiRedBlackTree extends RedBlackTreeExtended { diff --git a/finding-mk-average/simple.test.ts b/finding-mk-average/simple.test.ts index 6d787f24..03e13013 100644 --- a/finding-mk-average/simple.test.ts +++ b/finding-mk-average/simple.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.180.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.181.0/testing/asserts.ts"; import { runScript } from "leetcode-class"; import MKAverage from "./index.ts"; diff --git a/import_map.json b/import_map.json index ce5743f7..babe7c6e 100644 --- a/import_map.json +++ b/import_map.json @@ -1,6 +1,6 @@ { "imports": { - "asserts": "https://deno.land/std@0.180.0/testing/asserts.ts", + "asserts": "https://deno.land/std@0.181.0/testing/asserts.ts", "leetcode-class": "https://esm.sh/@masx200/leetcode-class@1.2.7/", "assert": "https://esm.sh/assert@2.0.0" }, diff --git a/minimum-path-sum/test.ts b/minimum-path-sum/test.ts index 36ab1fa2..b0b9c66c 100644 --- a/minimum-path-sum/test.ts +++ b/minimum-path-sum/test.ts @@ -1,4 +1,4 @@ -import { assertStrictEquals } from "https://deno.land/std@0.180.0/testing/asserts.ts"; +import { assertStrictEquals } from "https://deno.land/std@0.181.0/testing/asserts.ts"; import minPathSum from "./index.ts"; Deno.test("minimum-path-sum", () => { diff --git a/path-with-minimum-effort/minimumEffortPath.ts b/path-with-minimum-effort/minimumEffortPath.ts index 08a374f2..ba776c56 100644 --- a/path-with-minimum-effort/minimumEffortPath.ts +++ b/path-with-minimum-effort/minimumEffortPath.ts @@ -1,4 +1,4 @@ -import { BinaryHeap } from "https://deno.land/std@0.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.0/collections/binary_heap.ts"; function minimumEffortPath(heights: number[][]): number { const dirs = [ diff --git a/reachable-nodes-in-subdivided-graph/index.ts b/reachable-nodes-in-subdivided-graph/index.ts index 7c850cdd..59b4aa8f 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.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.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 17234b13..0b957dc5 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.180.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.181.0/collections/binary_heap.ts"; diff --git a/utils/split_by_count.ts b/utils/split_by_count.ts index 5484ea1d..a33b8fb0 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.180.0/collections/chunk.ts"; +import { chunk } from "https://deno.land/std@0.181.0/collections/chunk.ts"; export function split_by_count(files: T[], limit: number): T[][] { return chunk(files, limit) as T[][];