@kubb/studio 5.18.4 → 5.18.6

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 CHANGED
@@ -234,7 +234,7 @@ function getElapsedMs(hrStart) {
234
234
  return Math.round(ms * 100) / 100;
235
235
  }
236
236
  // package.json
237
- var version = "5.18.4";
237
+ var version = "5.18.6";
238
238
  // ../../internals/shared/src/constants.ts
239
239
  /**
240
240
  * Extensions `kubb` ships at its own version, so they count as installed without being a direct
@@ -1530,7 +1530,7 @@ function createGenerationStore({ storage, maxCount, maxMb, ttlMs, now = Date.now
1530
1530
  if (!input) return 0;
1531
1531
  let json;
1532
1532
  try {
1533
- json = JSON.stringify(_kubb_ast.ast.transform(input, { schema: (node) => node.type === "ref" && node.schema ? {
1533
+ json = JSON.stringify(_kubb_ast.ast.node.transform(input, { schema: (node) => node.type === "ref" && node.schema ? {
1534
1534
  ...node,
1535
1535
  schema: void 0
1536
1536
  } : void 0 }));