diff --git a/add-two-polynomials-represented-as-linked-lists/test.ts b/add-two-polynomials-represented-as-linked-lists/test.ts index 01cd0876..d86c9e93 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 b7b67c13..57e688e6 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 74bf2630..57ca292f 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 48d7e3d8..947b6dd1 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts"; import braceExpansionII from "./index.ts"; diff --git a/brace-expansion/test.ts b/brace-expansion/test.ts index 6cf95009..581a579a 100644 --- a/brace-expansion/test.ts +++ b/brace-expansion/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 b92c597c..7c51d1a8 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 741a9474..7ca9bfd6 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 6953231f..ca841201 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts"; import countSmaller from "./index.ts"; diff --git a/delete-tree-nodes/test.ts b/delete-tree-nodes/test.ts index ab53a292..c17ee063 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts"; import deleteTreeNodes from "./index.ts"; diff --git a/deps.ts b/deps.ts index a22161c0..45e02839 100644 --- a/deps.ts +++ b/deps.ts @@ -5,11 +5,11 @@ export { assertFalse, assertStrictEquals, equal, -} from "https://deno.land/std@0.186.0/testing/asserts.ts"; +} from "https://deno.land/std@0.187.0/testing/asserts.ts"; import memoize from "https://cdn.skypack.dev/lodash@4.17.21/memoize?dts"; -import { BinaryHeap } from "https://deno.land/std@0.186.0/collections/binary_heap.ts"; -import { RedBlackNode } from "https://deno.land/std@0.186.0/collections/red_black_node.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts"; +import { RedBlackNode } from "https://deno.land/std@0.187.0/collections/red_black_node.ts"; import { Deque } from "https://esm.sh/@datastructures-js/deque@1.0.4/"; import AsyncLimiterClass, { AsyncCurrentLimiter, @@ -26,8 +26,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.186.0/fs/mod.ts"; -export { parse } from "https://deno.land/std@0.186.0/flags/mod.ts"; +export { walk } from "https://deno.land/std@0.187.0/fs/mod.ts"; +export { parse } from "https://deno.land/std@0.187.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"; @@ -43,7 +43,7 @@ export { TreeNode, } from "https://esm.sh/@masx200/leetcode-class@1.2.7/"; -export type { WalkEntry } from "https://deno.land/std@0.186.0/fs/_util.ts"; +export type { WalkEntry } from "https://deno.land/std@0.187.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 550916b2..a80385fb 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.186.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts"; diff --git a/dinner-plate-stacks/RedBlackTree.ts b/dinner-plate-stacks/RedBlackTree.ts index a865b686..f47fa88e 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.186.0/collections/red_black_node.ts"; -import { RedBlackTree } from "https://deno.land/std@0.186.0/collections/red_black_tree.ts"; +} from "https://deno.land/std@0.187.0/collections/red_black_node.ts"; +import { RedBlackTree } from "https://deno.land/std@0.187.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 b4d9ba94..2b78b301 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.186.0/collections/binary_search_tree.ts"; +import { ascend } from "https://deno.land/std@0.187.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 de7c1be5..2679b1e9 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.186.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.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 744fcc71..2e9665b1 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.186.0/collections/_comparators.ts"; -import { Direction } from "https://deno.land/std@0.186.0/collections/binary_search_node.ts"; -import { RedBlackNode } from "https://deno.land/std@0.186.0/collections/red_black_node.ts"; +import { ascend } from "https://deno.land/std@0.187.0/collections/_comparators.ts"; +import { Direction } from "https://deno.land/std@0.187.0/collections/binary_search_node.ts"; +import { RedBlackNode } from "https://deno.land/std@0.187.0/collections/red_black_node.ts"; import RedBlackTreeExtended from "../dinner-plate-stacks/RedBlackTree.ts"; diff --git a/finding-mk-average/simple.test.ts b/finding-mk-average/simple.test.ts index d1e91cc9..20b0e673 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.186.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.187.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 9e9b5931..3a3cbf5e 100644 --- a/import_map.json +++ b/import_map.json @@ -1,6 +1,6 @@ { "imports": { - "asserts": "https://deno.land/std@0.186.0/testing/asserts.ts", + "asserts": "https://deno.land/std@0.187.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/lua-format.ts b/lua-format.ts index c89934bd..15ddd3e4 100644 --- a/lua-format.ts +++ b/lua-format.ts @@ -1,6 +1,6 @@ import { RunCommandShell } from "./xmake.ts"; import parse from "npm:@masx200/mini-cli-args-parser@1.0.5"; -import { walk } from "https://deno.land/std@0.186.0/fs/walk.ts"; +import { walk } from "https://deno.land/std@0.187.0/fs/walk.ts"; if (import.meta.main) { await start(); } diff --git a/minimum-path-sum/test.ts b/minimum-path-sum/test.ts index ed29a77d..77e7ae48 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.186.0/testing/asserts.ts"; +import { assertStrictEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts"; import minPathSum from "./index.ts"; diff --git a/path-with-minimum-effort/minimumEffortPath.ts b/path-with-minimum-effort/minimumEffortPath.ts index b13dc521..cc3dd559 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.186.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.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 2d05b5de..38c3a154 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.186.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts"; diff --git a/retry.ts b/retry.ts index f3161527..41d9a1ef 100644 --- a/retry.ts +++ b/retry.ts @@ -1,7 +1,7 @@ import { RetryError, RetryOptions, -} from "https://deno.land/std@0.186.0/async/retry.ts"; +} from "https://deno.land/std@0.187.0/async/retry.ts"; export const defaultRetryOptions = { multiplier: 2, diff --git a/total-cost-to-hire-k-workers/index.ts b/total-cost-to-hire-k-workers/index.ts index dc19dcc8..db6e01d8 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.186.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts"; diff --git a/utils/split_by_count.ts b/utils/split_by_count.ts index d3fd87c1..486792e3 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.186.0/collections/chunk.ts"; +import { chunk } from "https://deno.land/std@0.187.0/collections/chunk.ts"; export function split_by_count(files: T[], limit: number): T[][] { return chunk(files, limit) as T[][]; diff --git a/xmake.ts b/xmake.ts index 3945303b..231f50c0 100644 --- a/xmake.ts +++ b/xmake.ts @@ -1,10 +1,10 @@ -import * as path from "https://deno.land/std@0.186.0/path/mod.ts"; +import * as path from "https://deno.land/std@0.187.0/path/mod.ts"; -import { join, resolve } from "https://deno.land/std@0.186.0/path/mod.ts"; +import { join, resolve } from "https://deno.land/std@0.187.0/path/mod.ts"; import { assertEquals } from "asserts"; // import { dirname } from "https://deno.land/x/dirname_es@v1.0.1/mod.ts"; -import { ensureDir } from "https://deno.land/std@0.186.0/fs/mod.ts"; +import { ensureDir } from "https://deno.land/std@0.187.0/fs/mod.ts"; import parse from "npm:@masx200/mini-cli-args-parser@1.0.5"; import { retry } from "./retry.ts";