mol_plot_all 1.2.245 → 1.2.246

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 CHANGED
@@ -240,6 +240,8 @@ var $node = new Proxy({ require }, {
240
240
  const mod = target.require('module');
241
241
  if (mod.builtinModules.indexOf(name) >= 0)
242
242
  return target.require(name);
243
+ if (name[0] === '.')
244
+ return target.require(name);
243
245
  const path = target.require('path');
244
246
  const fs = target.require('fs');
245
247
  let dir = path.resolve('.');
@@ -2115,7 +2117,12 @@ var $;
2115
2117
  fiber = temp(obj, args);
2116
2118
  return fiber.async();
2117
2119
  };
2118
- }
2120
+ },
2121
+ apply(obj, self, args) {
2122
+ const temp = $mol_wire_task.getter(obj);
2123
+ const fiber = temp(self, args);
2124
+ return fiber.async();
2125
+ },
2119
2126
  });
2120
2127
  }
2121
2128
  $.$mol_wire_async = $mol_wire_async;