@kubb/core 5.0.0-beta.56 → 5.0.0-beta.57

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
@@ -609,7 +609,7 @@ function createAdapter(build) {
609
609
  /**
610
610
  * Docs major, derived from the package version so the link tracks the published major.
611
611
  */
612
- const docsMajor = "5.0.0-beta.56".split(".")[0] ?? "5";
612
+ const docsMajor = "5.0.0-beta.57".split(".")[0] ?? "5";
613
613
  /**
614
614
  * Narrows a {@link Diagnostic} to the variant for `code`, or `null` when it does not match.
615
615
  *
@@ -1170,7 +1170,7 @@ function defaultResolver(name, type) {
1170
1170
  */
1171
1171
  const resolveOptionsCache = /* @__PURE__ */ new WeakMap();
1172
1172
  function computeOptions(node, options, exclude, include, override) {
1173
- if ((0, _kubb_ast.isOperationNode)(node)) {
1173
+ if (_kubb_ast.operationDef.is(node)) {
1174
1174
  if (exclude.some(({ type, pattern }) => matchesOperationPattern(node, type, pattern))) return null;
1175
1175
  if (include && !include.some(({ type, pattern }) => matchesOperationPattern(node, type, pattern))) return null;
1176
1176
  const overrideOptions = override.find(({ type, pattern }) => matchesOperationPattern(node, type, pattern))?.options;
@@ -1179,7 +1179,7 @@ function computeOptions(node, options, exclude, include, override) {
1179
1179
  ...overrideOptions
1180
1180
  };
1181
1181
  }
1182
- if ((0, _kubb_ast.isSchemaNode)(node)) {
1182
+ if (_kubb_ast.schemaDef.is(node)) {
1183
1183
  if (exclude.some(({ type, pattern }) => matchesSchemaPattern(node, type, pattern) === true)) return null;
1184
1184
  if (include) {
1185
1185
  const applicable = include.map(({ type, pattern }) => matchesSchemaPattern(node, type, pattern)).filter((result) => result !== null);