mol_tree2 1.0.28 → 1.0.29

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.test.js CHANGED
@@ -2011,7 +2011,7 @@ var $;
2011
2011
  if (left instanceof RegExp)
2012
2012
  return left.source === right['source'] && left.flags === right['flags'];
2013
2013
  if (left instanceof Error)
2014
- return left.stack === right['stack'];
2014
+ return left.message === right['message'] && left.stack === right['stack'];
2015
2015
  let left_cache = $.$mol_compare_deep_cache.get(left);
2016
2016
  if (left_cache) {
2017
2017
  const right_cache = left_cache.get(right);