@kubb/plugin-ts 3.3.5 → 3.4.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.
@@ -35,9 +35,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  mod
36
36
  ));
37
37
 
38
- // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@20.17.11__jiti@2.4.2_postcss@8.4.49_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js
38
+ // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.0_@types+node@20.17.12__jiti@2.4.2_postcss@8.4.49_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js
39
39
  var init_esm_shims = __esm({
40
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@20.17.11__jiti@2.4.2_postcss@8.4.49_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js"() {
40
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.0_@types+node@20.17.12__jiti@2.4.2_postcss@8.4.49_typescript@5.7.2_yaml@2.6.1/node_modules/tsup/assets/esm_shims.js"() {
41
41
  }
42
42
  });
43
43
 
@@ -2375,7 +2375,7 @@ function parse({ parent, current, siblings }, options) {
2375
2375
  const minSchema = schemas.find((schema) => schema.keyword === schemaKeywords.min);
2376
2376
  const maxSchema = schemas.find((schema) => schema.keyword === schemaKeywords.max);
2377
2377
  const matchesSchema = schemas.find((schema) => schema.keyword === schemaKeywords.matches);
2378
- let type = schemas.map((schema) => parse({ parent: current, current: schema, siblings }, options)).filter(Boolean)[0];
2378
+ let type = schemas.map((schema) => parse({ parent: current, current: schema, siblings: schemas }, options)).filter(Boolean)[0];
2379
2379
  if (isNullable) {
2380
2380
  type = factory.createUnionDeclaration({
2381
2381
  nodes: [type, factory.keywordTypeNodes.null]
@@ -2556,5 +2556,5 @@ react/cjs/react.development.js:
2556
2556
  */
2557
2557
 
2558
2558
  export { OasType, Type2 as Type, init_esm_shims };
2559
- //# sourceMappingURL=chunk-EAOG7QZN.js.map
2560
- //# sourceMappingURL=chunk-EAOG7QZN.js.map
2559
+ //# sourceMappingURL=chunk-2YTCTJWU.js.map
2560
+ //# sourceMappingURL=chunk-2YTCTJWU.js.map