mol_plot_all 1.2.323 → 1.2.326

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/web.js CHANGED
@@ -1138,7 +1138,7 @@ var $;
1138
1138
  }
1139
1139
  return true;
1140
1140
  }
1141
- function compare_iterator(left, right, compare) {
1141
+ function compare_iterator(left, right) {
1142
1142
  while (true) {
1143
1143
  const left_next = left.next();
1144
1144
  const right_next = right.next();
@@ -1146,7 +1146,7 @@ var $;
1146
1146
  return false;
1147
1147
  if (left_next.done)
1148
1148
  break;
1149
- if (!compare(left_next.value, right_next.value))
1149
+ if (!$mol_compare_deep(left_next.value, right_next.value))
1150
1150
  return false;
1151
1151
  }
1152
1152
  return true;
@@ -1154,13 +1154,13 @@ var $;
1154
1154
  function compare_set(left, right) {
1155
1155
  if (left.size !== right.size)
1156
1156
  return false;
1157
- return compare_iterator(left.values(), right.values(), $mol_compare_deep);
1157
+ return compare_iterator(left.values(), right.values());
1158
1158
  }
1159
1159
  function compare_map(left, right) {
1160
1160
  if (left.size !== right.size)
1161
1161
  return false;
1162
- return compare_iterator(left.keys(), right.keys(), Object.is)
1163
- && compare_iterator(left.values(), right.values(), $mol_compare_deep);
1162
+ return compare_iterator(left.keys(), right.keys())
1163
+ && compare_iterator(left.values(), right.values());
1164
1164
  }
1165
1165
  function compare_pojo(left, right) {
1166
1166
  const left_keys = Object.getOwnPropertyNames(left);