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