mol_wire_lib 1.0.180 → 1.0.183

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
@@ -900,8 +900,7 @@ var $;
900
900
  };
901
901
  }
902
902
  complete() {
903
- if (this.sub_empty)
904
- this.destructor();
903
+ this.destructor();
905
904
  }
906
905
  put(next) {
907
906
  const prev = this.cache;
@@ -2118,6 +2117,8 @@ var $node = new Proxy({ require }, {
2118
2117
  const mod = target.require('module');
2119
2118
  if (mod.builtinModules.indexOf(name) >= 0)
2120
2119
  return target.require(name);
2120
+ if (name[0] === '.')
2121
+ return target.require(name);
2121
2122
  const path = target.require('path');
2122
2123
  const fs = target.require('fs');
2123
2124
  let dir = path.resolve('.');