queue-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.
package/README.md CHANGED
@@ -103,7 +103,7 @@ for (let i = 0; i < magnitude; i++) {
103
103
  let maxSum = 0;
104
104
  let currentSum = 0;
105
105
 
106
- nums.forEach((num, i) => {
106
+ nums.forEach((num) => {
107
107
  queue.push(num);
108
108
  currentSum += num;
109
109
 
@@ -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": "queue-typed",
3
- "version": "2.0.1",
4
- "description": "Queue, ArrayQueue. Javascript & Typescript Data Structure.",
3
+ "version": "2.0.3",
4
+ "description": "Queue data structure",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "build": "rm -rf dist && npx tsc",
@@ -115,6 +115,6 @@
115
115
  "typescript": "^4.9.5"
116
116
  },
117
117
  "dependencies": {
118
- "data-structure-typed": "^2.0.1"
118
+ "data-structure-typed": "^2.0.3"
119
119
  }
120
120
  }
@@ -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
  *