@kubb/plugin-oas 2.25.4 → 2.26.0

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkIOHUYXT5cjs = require('./chunk-IOHUYXT5.cjs');
4
+ var _chunkCB4BJMGCcjs = require('./chunk-CB4BJMGC.cjs');
5
5
 
6
6
 
7
7
 
@@ -3182,7 +3182,7 @@ Schema.File = function({ output, isTypeOnly, children }) {
3182
3182
  Schema.Imports = ({ isTypeOnly, extName }) => {
3183
3183
  const { tree } = useSchema();
3184
3184
  const { path: root } = _react.useFile.call(void 0, );
3185
- const refs = _chunkIOHUYXT5cjs.SchemaGenerator.deepSearch(tree, _chunkIOHUYXT5cjs.schemaKeywords.ref);
3185
+ const refs = _chunkCB4BJMGCcjs.SchemaGenerator.deepSearch(tree, _chunkCB4BJMGCcjs.schemaKeywords.ref);
3186
3186
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: _optionalChain([refs, 'optionalAccess', _ => _.map, 'call', _2 => _2((item, i) => {
3187
3187
  if (!item.args.path) {
3188
3188
  return void 0;
@@ -3262,4 +3262,4 @@ react/cjs/react-jsx-runtime.development.js:
3262
3262
  * LICENSE file in the root directory of this source tree.
3263
3263
  *)
3264
3264
  */
3265
- //# sourceMappingURL=chunk-REUEIIL3.cjs.map
3265
+ //# sourceMappingURL=chunk-7N7ULYN2.cjs.map