mol_plot_all 1.2.752 → 1.2.754
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 +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +281 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
- package/web.mjs +2 -2
- package/web.test.js +279 -0
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.js
CHANGED
|
@@ -944,6 +944,8 @@ var $;
|
|
|
944
944
|
result = compare_pojo(left, right);
|
|
945
945
|
else if (!Reflect.getPrototypeOf(left_proto))
|
|
946
946
|
result = compare_pojo(left, right);
|
|
947
|
+
else if (Symbol.toPrimitive in left)
|
|
948
|
+
result = compare_primitive(left, right);
|
|
947
949
|
else if (Array.isArray(left))
|
|
948
950
|
result = compare_array(left, right);
|
|
949
951
|
else if (left instanceof Set)
|
|
@@ -954,8 +956,6 @@ var $;
|
|
|
954
956
|
result = compare_buffer(left, right);
|
|
955
957
|
else if (Symbol.iterator in left)
|
|
956
958
|
result = compare_iterator(left[Symbol.iterator](), right[Symbol.iterator]());
|
|
957
|
-
else if (Symbol.toPrimitive in left)
|
|
958
|
-
result = compare_primitive(left, right);
|
|
959
959
|
else
|
|
960
960
|
result = false;
|
|
961
961
|
}
|