mol_compare_deep 0.0.1408 → 0.0.1410

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
@@ -705,7 +705,7 @@ var $node = new Proxy({ require }, {
705
705
  const module = cache.get(name);
706
706
  if (module)
707
707
  return module;
708
- throw import(name).then(module => cache.set(name, module));
708
+ throw Object.assign(import(name).then(module => cache.set(name, module)), { cause: error });
709
709
  }
710
710
  $.$mol_fail_log(error);
711
711
  return null;