zod-nest 1.6.0 → 1.6.1

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.js CHANGED
@@ -119,7 +119,7 @@ var discoverDependents = /* @__PURE__ */ __name((schema) => {
119
119
  }
120
120
  visited.add(current);
121
121
  for (const child of collectChildren(current)) {
122
- if (visited.has(child)) {
122
+ if (child === void 0 || visited.has(child)) {
123
123
  continue;
124
124
  }
125
125
  const id = readId(child);