max-priority-queue-typed 2.0.1 → 2.0.4

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": "max-priority-queue-typed",
3
- "version": "2.0.1",
4
- "description": "Max Priority Queue. Javascript & Typescript Data Structure.",
3
+ "version": "2.0.4",
4
+ "description": "Max Priority Queue",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "build": "rm -rf dist && npx tsc",
@@ -127,6 +127,6 @@
127
127
  "typescript": "^4.9.5"
128
128
  },
129
129
  "dependencies": {
130
- "data-structure-typed": "^2.0.1"
130
+ "data-structure-typed": "^2.0.4"
131
131
  }
132
132
  }
@@ -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
  *