@woosh/meep-engine 2.93.1 → 2.93.2

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/build/meep.cjs CHANGED
@@ -60513,54 +60513,21 @@ class HashMap {
60513
60513
  *
60514
60514
  * @returns {Iterator<V>}
60515
60515
  */
60516
- values() {
60517
- const entryIterator = this[Symbol.iterator]();
60518
-
60519
- return {
60520
- next() {
60521
- const n = entryIterator.next();
60522
-
60523
- if (n.done) {
60524
- return {
60525
- done: true,
60526
- value: undefined
60527
- };
60528
- } else {
60529
- return {
60530
- done: false,
60531
- value: n.value[1]
60532
- };
60533
- }
60516
+ * values() {
60534
60517
 
60535
- }
60536
- };
60518
+ for (const [k, v] of this) {
60519
+ yield v;
60520
+ }
60537
60521
  }
60538
60522
 
60539
60523
  /**
60540
60524
  *
60541
60525
  * @returns {Iterator<K>}
60542
60526
  */
60543
- keys() {
60544
- const entryIterator = this[Symbol.iterator]();
60545
-
60546
- return {
60547
- next() {
60548
- const n = entryIterator.next();
60549
-
60550
- if (n.done) {
60551
- return {
60552
- done: true,
60553
- value: undefined
60554
- };
60555
- } else {
60556
- return {
60557
- done: false,
60558
- value: n.value[0]
60559
- };
60560
- }
60561
-
60562
- }
60563
- };
60527
+ * keys() {
60528
+ for (const [k, v] of this) {
60529
+ yield k;
60530
+ }
60564
60531
  }
60565
60532
  }
60566
60533