heap-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": "heap-typed",
3
- "version": "2.0.1",
4
- "description": "Heap. Javascript & Typescript Data Structure.",
3
+ "version": "2.0.3",
4
+ "description": "Heap",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "build": "rm -rf dist && npx tsc",
@@ -131,6 +131,6 @@
131
131
  "typescript": "^4.9.5"
132
132
  },
133
133
  "dependencies": {
134
- "data-structure-typed": "^2.0.1"
134
+ "data-structure-typed": "^2.0.3"
135
135
  }
136
136
  }
@@ -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
  *