undirected-graph-typed 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ import { LinearBase } from '../base/linear-base';
23
23
  * let maxSum = 0;
24
24
  * let currentSum = 0;
25
25
  *
26
- * nums.forEach((num, i) => {
26
+ * nums.forEach((num) => {
27
27
  * queue.push(num);
28
28
  * currentSum += num;
29
29
  *
@@ -20,7 +20,7 @@ const linear_base_1 = require("../base/linear-base");
20
20
  * let maxSum = 0;
21
21
  * let currentSum = 0;
22
22
  *
23
- * nums.forEach((num, i) => {
23
+ * nums.forEach((num) => {
24
24
  * queue.push(num);
25
25
  * currentSum += num;
26
26
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "undirected-graph-typed",
3
- "version": "2.0.1",
4
- "description": "Undirected Graph. Javascript & Typescript Data Structure.",
3
+ "version": "2.0.3",
4
+ "description": "Undirected Graph",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "build": "rm -rf dist && npx tsc",
@@ -145,6 +145,6 @@
145
145
  "typescript": "^4.9.5"
146
146
  },
147
147
  "dependencies": {
148
- "data-structure-typed": "^2.0.1"
148
+ "data-structure-typed": "^2.0.3"
149
149
  }
150
150
  }
@@ -24,7 +24,7 @@ import { LinearBase } from '../base/linear-base';
24
24
  * let maxSum = 0;
25
25
  * let currentSum = 0;
26
26
  *
27
- * nums.forEach((num, i) => {
27
+ * nums.forEach((num) => {
28
28
  * queue.push(num);
29
29
  * currentSum += num;
30
30
  *