mol_plot_all 1.2.324 → 1.2.327

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/node.js CHANGED
@@ -1661,7 +1661,7 @@ var $;
1661
1661
  }
1662
1662
  return true;
1663
1663
  }
1664
- function compare_iterator(left, right, compare) {
1664
+ function compare_iterator(left, right) {
1665
1665
  while (true) {
1666
1666
  const left_next = left.next();
1667
1667
  const right_next = right.next();
@@ -1669,7 +1669,7 @@ var $;
1669
1669
  return false;
1670
1670
  if (left_next.done)
1671
1671
  break;
1672
- if (!compare(left_next.value, right_next.value))
1672
+ if (!$mol_compare_deep(left_next.value, right_next.value))
1673
1673
  return false;
1674
1674
  }
1675
1675
  return true;
@@ -1677,13 +1677,13 @@ var $;
1677
1677
  function compare_set(left, right) {
1678
1678
  if (left.size !== right.size)
1679
1679
  return false;
1680
- return compare_iterator(left.values(), right.values(), $mol_compare_deep);
1680
+ return compare_iterator(left.values(), right.values());
1681
1681
  }
1682
1682
  function compare_map(left, right) {
1683
1683
  if (left.size !== right.size)
1684
1684
  return false;
1685
- return compare_iterator(left.keys(), right.keys(), Object.is)
1686
- && compare_iterator(left.values(), right.values(), $mol_compare_deep);
1685
+ return compare_iterator(left.keys(), right.keys())
1686
+ && compare_iterator(left.values(), right.values());
1687
1687
  }
1688
1688
  function compare_pojo(left, right) {
1689
1689
  const left_keys = Object.getOwnPropertyNames(left);