mol_regexp 0.0.1669 → 0.0.1671

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
@@ -570,7 +570,7 @@ var $node = new Proxy({ require }, {
570
570
  const module = cache.get(name);
571
571
  if (module)
572
572
  return module;
573
- throw import(name).then(module => cache.set(name, module));
573
+ throw Object.assign(import(name).then(module => cache.set(name, module)), { cause: error });
574
574
  }
575
575
  $.$mol_fail_log(error);
576
576
  return null;