vue-hook-optimizer 0.0.21 → 0.0.22

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.mjs CHANGED
@@ -86873,15 +86873,6 @@ function noIndegreeFilter(graph) {
86873
86873
  });
86874
86874
  return nodes.filter((node2) => indegree.get(node2) === 0);
86875
86875
  }
86876
- function noOutdegreeFilter(graph) {
86877
- const zeroOutdegreeNodes = [];
86878
- for (let [node2, edges] of graph.entries()) {
86879
- if (edges.size === 0) {
86880
- zeroOutdegreeNodes.push(node2);
86881
- }
86882
- }
86883
- return zeroOutdegreeNodes;
86884
- }
86885
86876
  function removeVariable(graph, targets) {
86886
86877
  const newTarget = /* @__PURE__ */ new Set();
86887
86878
  targets.forEach((target) => {
@@ -87051,15 +87042,6 @@ function gen(graph, usedNodes) {
87051
87042
  });
87052
87043
  }
87053
87044
  });
87054
- const noOutdegreeNodes = noOutdegreeFilter(graph.edges);
87055
- noOutdegreeNodes.forEach((node2) => {
87056
- if (!usedNodes.has(node2.label)) {
87057
- suggestions.push({
87058
- type: "info" /* info */,
87059
- message: `Node [${node2.label}] is not used, perhaps you can remove it.`
87060
- });
87061
- }
87062
- });
87063
87045
  return suggestions;
87064
87046
  }
87065
87047