diff --git a/add-two-polynomials-represented-as-linked-lists/test.ts b/add-two-polynomials-represented-as-linked-lists/test.ts index 5b149971..dfe78768 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 0bf14a02..a8f8dfcc 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 d7647c47..b8e2b382 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 be35607f..6e53237f 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.0/testing/asserts.ts"; import braceExpansionII from "./index.ts"; diff --git a/brace-expansion/test.ts b/brace-expansion/test.ts index 638311eb..7e63d37d 100644 --- a/brace-expansion/test.ts +++ b/brace-expansion/test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 027e8168..dda47305 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 ac2c3507..2135f411 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.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 018ec8c0..218e4c97 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.0/testing/asserts.ts"; import countSmaller from "./index.ts"; diff --git a/delete-tree-nodes/test.ts b/delete-tree-nodes/test.ts index 9ba15f67..bc03a9d5 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.162.0/testing/asserts.ts"; +import { assertEquals } from "https://deno.land/std@0.163.0/testing/asserts.ts"; import deleteTreeNodes from "./index.ts"; diff --git a/deps.ts b/deps.ts index 66b5c9c3..909e2d31 100644 --- a/deps.ts +++ b/deps.ts @@ -5,7 +5,7 @@ export { assertFalse, assertStrictEquals, equal, -} from "https://deno.land/std@0.162.0/testing/asserts.ts"; +} from "https://deno.land/std@0.163.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.162.0/fs/mod.ts"; -export { parse } from "https://deno.land/std@0.162.0/flags/mod.ts"; +export { walk } from "https://deno.land/std@0.163.0/fs/mod.ts"; +export { parse } from "https://deno.land/std@0.163.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.162.0/node/internal/net.ts"; +export { isIP } from "https://deno.land/std@0.163.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.162.0/fs/_util.ts"; +export type { WalkEntry } from "https://deno.land/std@0.163.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 bcbe1258..991c3872 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.162.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.163.0/collections/binary_heap.ts"; diff --git a/import_map.json b/import_map.json index 1d17e092..3a9d2464 100644 --- a/import_map.json +++ b/import_map.json @@ -1,6 +1,6 @@ { "imports": { "leetcode-class": "https://esm.sh/@masx200/leetcode-class@1.2.5", - "asserts": "https://deno.land/std@0.162.0/testing/asserts.ts" + "asserts": "https://deno.land/std@0.163.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 dc5313b6..f2119227 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.162.0/collections/binary_heap.ts"; +import { BinaryHeap } from "https://deno.land/std@0.163.0/collections/binary_heap.ts"; diff --git a/utils/split_by_count.ts b/utils/split_by_count.ts index 55298594..b39d005b 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.162.0/collections/chunk.ts"; +import { chunk } from "https://deno.land/std@0.163.0/collections/chunk.ts"; export function split_by_count(files: T[], limit: number): T[][] { return chunk(files, limit) as T[][]; }