@woosh/meep-engine 2.131.2 → 2.131.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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Pure JavaScript game engine. Fully featured and production ready.",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.131.2",
8
+ "version": "2.131.3",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -264,7 +264,7 @@ export class Deque {
264
264
  /**
265
265
  *
266
266
  * @param {T} e
267
- * @returns {number}
267
+ * @returns {number} absolute index of the element in the backing array, or -1 if not found
268
268
  * @private
269
269
  */
270
270
  #index_of(e) {
@@ -280,7 +280,7 @@ export class Deque {
280
280
  const el = data[index];
281
281
 
282
282
  if (el === e) {
283
- return i;
283
+ return index;
284
284
  }
285
285
  }
286
286