mol_jsx_lib 0.0.147 → 0.0.148
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.deps.json +1 -1
- package/node.esm.js +5 -5
- package/node.esm.js.map +1 -1
- package/node.js +5 -5
- package/node.js.map +1 -1
- package/node.test.js +7 -6
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +5 -5
- package/web.esm.js.map +1 -1
- package/web.js +5 -5
- package/web.js.map +1 -1
- package/web.test.js +2 -1
- package/web.test.js.map +1 -1
package/web.js
CHANGED
|
@@ -1151,7 +1151,7 @@ var $;
|
|
|
1151
1151
|
}
|
|
1152
1152
|
return true;
|
|
1153
1153
|
}
|
|
1154
|
-
function compare_iterator(left, right
|
|
1154
|
+
function compare_iterator(left, right) {
|
|
1155
1155
|
while (true) {
|
|
1156
1156
|
const left_next = left.next();
|
|
1157
1157
|
const right_next = right.next();
|
|
@@ -1159,7 +1159,7 @@ var $;
|
|
|
1159
1159
|
return false;
|
|
1160
1160
|
if (left_next.done)
|
|
1161
1161
|
break;
|
|
1162
|
-
if (
|
|
1162
|
+
if (!$mol_compare_deep(left_next.value, right_next.value))
|
|
1163
1163
|
return false;
|
|
1164
1164
|
}
|
|
1165
1165
|
return true;
|
|
@@ -1167,13 +1167,13 @@ var $;
|
|
|
1167
1167
|
function compare_set(left, right) {
|
|
1168
1168
|
if (left.size !== right.size)
|
|
1169
1169
|
return false;
|
|
1170
|
-
return compare_iterator(left.values(), right.values()
|
|
1170
|
+
return compare_iterator(left.values(), right.values());
|
|
1171
1171
|
}
|
|
1172
1172
|
function compare_map(left, right) {
|
|
1173
1173
|
if (left.size !== right.size)
|
|
1174
1174
|
return false;
|
|
1175
|
-
return compare_iterator(left.keys(), right.keys()
|
|
1176
|
-
&& compare_iterator(left.values(), right.values()
|
|
1175
|
+
return compare_iterator(left.keys(), right.keys())
|
|
1176
|
+
&& compare_iterator(left.values(), right.values());
|
|
1177
1177
|
}
|
|
1178
1178
|
function compare_pojo(left, right) {
|
|
1179
1179
|
const left_keys = Object.getOwnPropertyNames(left);
|