Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #108

Merged
merged 1 commit into from
May 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion add-two-polynomials-represented-as-linked-lists/test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion basic-calculator-iv/test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion booking-concert-tickets-in-groups/test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion brace-expansion-ii/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion brace-expansion/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion construct-binary-tree-from-string/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion count-of-smaller-numbers-after-self/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion delete-tree-nodes/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
12 changes: 6 additions & 6 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/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/[email protected]/";
import AsyncLimiterClass, {
AsyncCurrentLimiter,
Expand All @@ -26,8 +26,8 @@ export { default as sum } from "https://cdn.skypack.dev/[email protected]/sum?dts";
export { default as intersection } from "https://cdn.skypack.dev/[email protected]/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/[email protected]/mod.ts";
export { isIP } from "node:net";
export { Heap } from "npm:@datastructures-js/[email protected]";
Expand All @@ -43,7 +43,7 @@ export {
TreeNode,
} from "https://esm.sh/@masx200/[email protected]/";

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 };
Expand Down
2 changes: 1 addition & 1 deletion design-a-file-sharing-system/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
4 changes: 2 additions & 2 deletions dinner-plate-stacks/RedBlackTree.ts
Original file line number Diff line number Diff line change
@@ -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<T> extends RedBlackTree<T> {
insertGetNode(value: T): RedBlackNode<T> | null {
Expand Down
2 changes: 1 addition & 1 deletion dinner-plate-stacks/index.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
6 changes: 3 additions & 3 deletions finding-mk-average/MultiRedBlackTree.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion finding-mk-average/simple.test.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]/",
"assert": "https://esm.sh/[email protected]"
},
Expand Down
2 changes: 1 addition & 1 deletion lua-format.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { RunCommandShell } from "./xmake.ts";
import parse from "npm:@masx200/[email protected]";
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();
}
Expand Down
2 changes: 1 addition & 1 deletion minimum-path-sum/test.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion path-with-minimum-effort/minimumEffortPath.ts
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion reachable-nodes-in-subdivided-graph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion retry.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion total-cost-to-hire-k-workers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion utils/split_by_count.ts
Original file line number Diff line number Diff line change
@@ -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<T>(files: T[], limit: number): T[][] {
return chunk(files, limit) as T[][];
Expand Down
6 changes: 3 additions & 3 deletions xmake.ts
Original file line number Diff line number Diff line change
@@ -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/[email protected]/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/[email protected]";
import { retry } from "./retry.ts";

Expand Down