Skip to content

Commit 5080ae7

Browse files
authored
Merge pull request #127 from masx200/deno-dependency-updates
Update dependencies
2 parents eb8a5d6 + 94c38e8 commit 5080ae7

File tree

27 files changed

+69
-63
lines changed

27 files changed

+69
-63
lines changed

add-two-polynomials-represented-as-linked-lists/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import { ArrayToPolyNode } from "./ArrayToPolyNode.ts";
44
import addPoly from "./index.ts";

basic-calculator-iv/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import basicCalculatorIV from "./index.ts";
44
import { Poly } from "./Poly.ts";

booking-concert-tickets-in-groups/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import { runScript } from "leetcode-class";
33

44
import BookMyShow from "./index.ts";

brace-expansion-ii/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import braceExpansionII from "./index.ts";
44

brace-expansion/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import expand from "./index.ts";
44

construct-binary-search-tree-from-preorder-traversal/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import { TreeNodeLeetCodeFromJSON } from "../utils/TreeNodeLeetCodeParse.ts";
44
import { TreeNodeLeetCodeToJSON } from "../utils/TreeNodeLeetCodeStringify.ts";

construct-binary-tree-from-string/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import str2tree from "./index.ts";
44

count-of-smaller-numbers-after-self/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import countSmaller from "./index.ts";
44

delete-tree-nodes/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22

33
import deleteTreeNodes from "./index.ts";
44

deps.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import * as path from "https://deno.land/std@0.187.0/path/mod.ts";
1+
import * as path from "https://deno.land/std@0.188.0/path/mod.ts";
22

33
import AsyncLimiterClass, {
44
AsyncCurrentLimiter,
55
} from "https://esm.sh/@masx200/async-task-current-limiter@2.1.0/";
6-
import { join, resolve } from "https://deno.land/std@0.187.0/path/mod.ts";
6+
import { join, resolve } from "https://deno.land/std@0.188.0/path/mod.ts";
77

8-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
8+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";
99
import { Deque } from "https://esm.sh/@datastructures-js/deque@1.0.4/";
10-
import { RedBlackNode } from "https://deno.land/std@0.187.0/collections/red_black_node.ts";
11-
import { ensureDir } from "https://deno.land/std@0.187.0/fs/mod.ts";
10+
import { RedBlackNode } from "https://deno.land/std@0.188.0/collections/red_black_node.ts";
11+
import { ensureDir } from "https://deno.land/std@0.188.0/fs/mod.ts";
1212
import memoize from "https://cdn.skypack.dev/lodash@4.17.21/memoize?dts";
1313
import { retry } from "./retry.ts";
1414

@@ -21,7 +21,7 @@ export {
2121
assertFalse,
2222
assertStrictEquals,
2323
equal,
24-
} from "https://deno.land/std@0.187.0/testing/asserts.ts";
24+
} from "https://deno.land/std@0.188.0/testing/asserts.ts";
2525

2626
export { Deque };
2727
export { default as random } from "https://cdn.skypack.dev/lodash@4.17.21/random?dts";
@@ -34,8 +34,8 @@ export { default as sum } from "https://cdn.skypack.dev/lodash@4.17.21/sum?dts";
3434
export { default as intersection } from "https://cdn.skypack.dev/lodash@4.17.21/intersection?dts";
3535

3636
export { BinaryHeap };
37-
export { walk } from "https://deno.land/std@0.187.0/fs/mod.ts";
38-
export { parse } from "https://deno.land/std@0.187.0/flags/mod.ts";
37+
export { walk } from "https://deno.land/std@0.188.0/fs/mod.ts";
38+
export { parse } from "https://deno.land/std@0.188.0/flags/mod.ts";
3939
export { combinations } from "https://deno.land/x/combinatorics@1.1.2/mod.ts";
4040
export { isIP } from "node:net";
4141
export { Heap } from "npm:@datastructures-js/heap@4.3.1";
@@ -51,7 +51,7 @@ export {
5151
TreeNode,
5252
} from "https://esm.sh/@masx200/leetcode-class@1.2.7/";
5353

54-
export type { WalkEntry } from "https://deno.land/std@0.187.0/fs/_util.ts";
54+
export type { WalkEntry } from "https://deno.land/std@0.188.0/fs/_util.ts";
5555

5656
export { AsyncLimiterClass };
5757
export type { AsyncCurrentLimiter };

design-a-file-sharing-system/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ export default class FileSharing {
6565
return usersList;
6666
}
6767
}
68-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
68+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";

dinner-plate-stacks/RedBlackTree.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
22
Direction,
33
RedBlackNode,
4-
} from "https://deno.land/std@0.187.0/collections/red_black_node.ts";
5-
import { RedBlackTree } from "https://deno.land/std@0.187.0/collections/red_black_tree.ts";
4+
} from "https://deno.land/std@0.188.0/collections/red_black_node.ts";
5+
import { RedBlackTree } from "https://deno.land/std@0.188.0/collections/red_black_tree.ts";
66

77
export default class RedBlackTreeExtended<T> extends RedBlackTree<T> {
88
insertGetNode(value: T): RedBlackNode<T> | null {

dinner-plate-stacks/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ascend } from "https://deno.land/std@0.187.0/collections/binary_search_tree.ts";
1+
import { ascend } from "https://deno.land/std@0.188.0/collections/binary_search_tree.ts";
22

33
import RedBlackTree from "./RedBlackTree.ts";
44
import { reverseInOrderIterator } from "./reverseInOrderIterator.ts";

find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/findTheCity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
1+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";
22

33
export default function findTheCity(
44
n: number,

finding-mk-average/MultiRedBlackTree.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { ascend } from "https://deno.land/std@0.187.0/collections/_comparators.ts";
2-
import { Direction } from "https://deno.land/std@0.187.0/collections/binary_search_node.ts";
3-
import { RedBlackNode } from "https://deno.land/std@0.187.0/collections/red_black_node.ts";
1+
import { ascend } from "https://deno.land/std@0.188.0/collections/_comparators.ts";
2+
import { Direction } from "https://deno.land/std@0.188.0/collections/binary_search_node.ts";
3+
import { RedBlackNode } from "https://deno.land/std@0.188.0/collections/red_black_node.ts";
44

55
import RedBlackTreeExtended from "../dinner-plate-stacks/RedBlackTree.ts";
66

finding-mk-average/simple.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import { runScript } from "leetcode-class";
33

44
import MKAverage from "./index.ts";

import_map.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"imports": {
3-
"asserts": "https://deno.land/std@0.187.0/testing/asserts.ts",
3+
"asserts": "https://deno.land/std@0.188.0/testing/asserts.ts",
44
"leetcode-class": "https://esm.sh/@masx200/leetcode-class@1.2.7/",
55
"assert": "https://esm.sh/assert@2.0.0"
66
},

lua-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { RunCommandShell } from "./xmake.ts";
22
import parse from "npm:@masx200/mini-cli-args-parser@1.0.5";
3-
import { walk } from "https://deno.land/std@0.187.0/fs/walk.ts";
3+
import { walk } from "https://deno.land/std@0.188.0/fs/walk.ts";
44
if (import.meta.main) {
55
await start();
66
}

minimum-path-sum/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { assertStrictEquals } from "https://deno.land/std@0.187.0/testing/asserts.ts";
1+
import { assertStrictEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
22
import minPathSum from "./index.ts";
33

44
Deno.test("minimum-path-sum", () => {

path-with-minimum-effort/minimumEffortPath.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
1+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";
22

33
function minimumEffortPath(heights: number[][]): number {
44
const dirs = [

reachable-nodes-in-subdivided-graph/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ export default function reachableNodes(
4444
}
4545
return reachableNodes;
4646
}
47-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
47+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";

retry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
RetryError,
33
RetryOptions,
4-
} from "https://deno.land/std@0.187.0/async/retry.ts";
4+
} from "https://deno.land/std@0.188.0/async/retry.ts";
55

66
export const defaultRetryOptions = {
77
multiplier: 2,

split-a-circular-linked-list/test.cpp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,31 @@ using namespace leetcode_test::split_a_circular_linked_list;
1717
using namespace std;
1818
using std::vector;
1919
template <class T>
20-
concept sizable = requires(T& t) {
20+
concept sizable = requires(T& t)
21+
{
2122
{
2223
t.size()
23-
} -> std::same_as<size_t>;
24+
} -> std::same_as<size_t>;
2425
};
2526
template <class T>
26-
concept iterable = requires(T& t) {
27+
concept iterable = requires(T& t)
28+
{
2729
++t.begin();
2830
{
2931
t.begin() != t.end()
3032

31-
} -> std::same_as<bool>;
33+
} -> std::same_as<bool>;
3234
};
3335

3436
template <class T, typename Y>
35-
concept equalable = requires(T& t, Y& y, size_t i) {
37+
concept equalable = requires(T& t, Y& y, size_t i)
38+
{
3639
{
3740
*t.begin() == *y.begin()
38-
} -> std::same_as<bool>;
41+
} -> std::same_as<bool>;
3942
};
4043
template <typename T, typename Y>
41-
requires sizable<T> and sizable<Y> and equalable<T, Y> and iterable<T> and iterable<Y>
44+
requires sizable<T> and sizable<Y> and equalable<T, Y> and iterable<T> and iterable<Y>
4245
auto assertContentEquals(T& left, Y& right)
4346
{
4447

total-cost-to-hire-k-workers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ export default function totalCost(
3030
costs.sort(compare);
3131
return ans + costs.slice(0, k).reduce((p, c) => p + c, 0);
3232
}
33-
import { BinaryHeap } from "https://deno.land/std@0.187.0/collections/binary_heap.ts";
33+
import { BinaryHeap } from "https://deno.land/std@0.188.0/collections/binary_heap.ts";

utils/split_by_count.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { chunk } from "https://deno.land/std@0.187.0/collections/chunk.ts";
1+
import { chunk } from "https://deno.land/std@0.188.0/collections/chunk.ts";
22

33
export function split_by_count<T>(files: T[], limit: number): T[][] {
44
return chunk(files, limit) as T[][];

web-crawler-multithreaded/format.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"style": "WebKit",
3-
"filter": [
4-
"*.ixx",
5-
"*.c",
6-
"*.cc",
7-
"*.cpp",
8-
"*.h",
9-
"*.hh",
10-
"*.hpp"
11-
],
12-
"dirs": [
13-
"./"
14-
]
15-
}
2+
"style": "WebKit",
3+
"filter": [
4+
"*.ixx",
5+
"*.c",
6+
"*.cc",
7+
"*.cpp",
8+
"*.h",
9+
"*.hh",
10+
"*.hpp"
11+
],
12+
"dirs": [
13+
"./"
14+
]
15+
}

web-crawler-multithreaded/test.cpp

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,30 @@ import leetcode_test.web_crawler_multithreaded.Solution;
1111
using namespace std;
1212
using namespace leetcode_test::web_crawler_multithreaded;
1313
template <class T>
14-
concept sizable = requires(T& t) {
14+
concept sizable = requires(T& t)
15+
{
1516
{
1617
t.size()
17-
} -> std::same_as<size_t>;
18+
} -> std::same_as<size_t>;
1819
};
1920
template <class T>
20-
concept iterable = requires(T& t) {
21+
concept iterable = requires(T& t)
22+
{
2123
++t.begin();
2224
{
2325
t.begin() != t.end()
24-
} -> std::same_as<bool>;
26+
} -> std::same_as<bool>;
2527
};
2628

2729
template <class T, typename Y>
28-
concept equalable = requires(T& t, Y& y, size_t i) {
30+
concept equalable = requires(T& t, Y& y, size_t i)
31+
{
2932
{
3033
*t.begin() == *y.begin()
31-
} -> std::same_as<bool>;
34+
} -> std::same_as<bool>;
3235
};
3336
template <typename T, typename Y>
34-
requires sizable<T> and sizable<Y> and equalable<T, Y> and iterable<T> and iterable<Y>
37+
requires sizable<T> and sizable<Y> and equalable<T, Y> and iterable<T> and iterable<Y>
3538
auto assertContentEquals(const T& left, const Y& right)
3639
{
3740

0 commit comments

Comments
 (0)