Skip to content

Update dependencies #32

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

Merged
merged 1 commit into from
Dec 2, 2022
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.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";
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.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";
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.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";
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.166.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.167.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.166.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.167.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.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";
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.166.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.167.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.166.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.167.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.166.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.167.0/testing/asserts.ts";

import deleteTreeNodes from "./index.ts";

Expand Down
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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,
Expand All @@ -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";
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 @@ -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";
Original file line number Diff line number Diff line change
@@ -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[][],
Expand Down
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
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.166.0/collections/binary_heap.ts";
import { BinaryHeap } from "https://deno.land/std@0.167.0/collections/binary_heap.ts";
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.166.0/collections/binary_heap.ts";
import { BinaryHeap } from "https://deno.land/std@0.167.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.166.0/collections/chunk.ts";
import { chunk } from "https://deno.land/std@0.167.0/collections/chunk.ts";
export function split_by_count<T>(files: T[], limit: number): T[][] {
return chunk(files, limit) as T[][];
}