@rkmodules/rules 0.0.164 → 0.0.165

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/dist/index.cjs.js CHANGED
@@ -7464,6 +7464,7 @@ var useFlowState = zustand.create(function (set, get) { return ({
7464
7464
  var refs = getReferences(fncall.inputs || {});
7465
7465
  // remove all incoming edges
7466
7466
  edges = edges === null || edges === void 0 ? void 0 : edges.filter(function (e) { return e.target !== key; });
7467
+ edgesToAdd = edgesToAdd.filter(function (e) { return e[0] !== key; });
7467
7468
  // add the edge
7468
7469
  refs.forEach(function (ref) {
7469
7470
  edgesToAdd.push([key, ref]);