@dilina0914/openapi-mcp 10.0.1 → 10.0.2
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 +174 -430
- package/dist/index.js.map +1 -1
- package/package.json +17 -16
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
import 'url';
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
import 'node:url';
|
|
4
4
|
import * as util2 from 'util';
|
|
5
5
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
6
6
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
@@ -9,6 +9,7 @@ import { destination, pino } from 'pino';
|
|
|
9
9
|
import { randomUUID } from 'crypto';
|
|
10
10
|
import { createWriteStream } from 'fs';
|
|
11
11
|
import { readFile, mkdir } from 'fs/promises';
|
|
12
|
+
import { join } from 'path';
|
|
12
13
|
import { parse } from 'yaml';
|
|
13
14
|
|
|
14
15
|
/**
|
|
@@ -17,16 +18,17 @@ import { parse } from 'yaml';
|
|
|
17
18
|
*
|
|
18
19
|
* MCP server for parsing OpenAPI specifications and extracting service metadata.
|
|
19
20
|
*/
|
|
21
|
+
const require$1 = createRequire(import.meta.url);
|
|
20
22
|
var __create = Object.create;
|
|
21
23
|
var __defProp = Object.defineProperty;
|
|
22
24
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
23
25
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
24
26
|
var __getProtoOf = Object.getPrototypeOf;
|
|
25
27
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
26
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
27
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
28
|
+
var __require = /* @__PURE__ */ ((x) => typeof require$1 !== "undefined" ? require$1 : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
29
|
+
get: (a, b) => (typeof require$1 !== "undefined" ? require$1 : a)[b]
|
|
28
30
|
}) : x)(function(x) {
|
|
29
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
31
|
+
if (typeof require$1 !== "undefined") return require$1.apply(this, arguments);
|
|
30
32
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
31
33
|
});
|
|
32
34
|
var __esm = (fn, res) => function __init() {
|
|
@@ -56,10 +58,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
56
58
|
mod
|
|
57
59
|
));
|
|
58
60
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
59
|
-
var init_esm_shims = __esm({
|
|
60
|
-
"../../../node_modules/.pnpm/tsup@8.5.1_postcss@8.5.6_tsx@4.21.0_typescript@5.9.3_yaml@2.8.2/node_modules/tsup/assets/esm_shims.js"() {
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
61
|
|
|
64
62
|
// ../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/to-json.js
|
|
65
63
|
function toJSON() {
|
|
@@ -91,7 +89,6 @@ function getDeepKeys(obj, omit = []) {
|
|
|
91
89
|
var nonJsonTypes, protectedProps, objectPrototype;
|
|
92
90
|
var init_to_json = __esm({
|
|
93
91
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/to-json.js"() {
|
|
94
|
-
init_esm_shims();
|
|
95
92
|
nonJsonTypes = ["function", "symbol", "undefined"];
|
|
96
93
|
protectedProps = ["constructor", "prototype", "__proto__"];
|
|
97
94
|
objectPrototype = Object.getPrototypeOf({});
|
|
@@ -113,7 +110,6 @@ function inspect2() {
|
|
|
113
110
|
var inspectMethod, format2;
|
|
114
111
|
var init_isomorphic_node = __esm({
|
|
115
112
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/isomorphic.node.js"() {
|
|
116
|
-
init_esm_shims();
|
|
117
113
|
init_to_json();
|
|
118
114
|
inspectMethod = util2.inspect.custom || /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
119
115
|
format2 = util2.format;
|
|
@@ -184,7 +180,6 @@ function lazyPopStack(error, lazyStack) {
|
|
|
184
180
|
var newline, onoCall;
|
|
185
181
|
var init_stack = __esm({
|
|
186
182
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/stack.js"() {
|
|
187
|
-
init_esm_shims();
|
|
188
183
|
newline = /\r?\n/;
|
|
189
184
|
onoCall = /\bono[ @]/;
|
|
190
185
|
}
|
|
@@ -230,7 +225,6 @@ function mergeErrors(newError, originalError) {
|
|
|
230
225
|
var protectedProps2;
|
|
231
226
|
var init_extend_error = __esm({
|
|
232
227
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/extend-error.js"() {
|
|
233
|
-
init_esm_shims();
|
|
234
228
|
init_isomorphic_node();
|
|
235
229
|
init_stack();
|
|
236
230
|
init_to_json();
|
|
@@ -279,7 +273,6 @@ function normalizeArgs(args, options) {
|
|
|
279
273
|
}
|
|
280
274
|
var init_normalize = __esm({
|
|
281
275
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/normalize.js"() {
|
|
282
|
-
init_esm_shims();
|
|
283
276
|
init_isomorphic_node();
|
|
284
277
|
}
|
|
285
278
|
});
|
|
@@ -298,7 +291,6 @@ function Ono(ErrorConstructor, options) {
|
|
|
298
291
|
var constructor;
|
|
299
292
|
var init_constructor = __esm({
|
|
300
293
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/constructor.js"() {
|
|
301
|
-
init_esm_shims();
|
|
302
294
|
init_extend_error();
|
|
303
295
|
init_normalize();
|
|
304
296
|
init_to_json();
|
|
@@ -336,7 +328,6 @@ function ono(...args) {
|
|
|
336
328
|
var singleton, onoMap;
|
|
337
329
|
var init_singleton = __esm({
|
|
338
330
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/singleton.js"() {
|
|
339
|
-
init_esm_shims();
|
|
340
331
|
init_constructor();
|
|
341
332
|
singleton = ono;
|
|
342
333
|
ono.error = new constructor(Error);
|
|
@@ -351,7 +342,6 @@ var init_singleton = __esm({
|
|
|
351
342
|
});
|
|
352
343
|
var init_types = __esm({
|
|
353
344
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/types.js"() {
|
|
354
|
-
init_esm_shims();
|
|
355
345
|
}
|
|
356
346
|
});
|
|
357
347
|
|
|
@@ -365,7 +355,6 @@ __export(esm_exports, {
|
|
|
365
355
|
var esm_default;
|
|
366
356
|
var init_esm = __esm({
|
|
367
357
|
"../../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/index.js"() {
|
|
368
|
-
init_esm_shims();
|
|
369
358
|
init_singleton();
|
|
370
359
|
init_constructor();
|
|
371
360
|
init_types();
|
|
@@ -379,7 +368,6 @@ var init_esm = __esm({
|
|
|
379
368
|
// ../../../node_modules/.pnpm/call-me-maybe@1.0.2/node_modules/call-me-maybe/src/next.js
|
|
380
369
|
var require_next = __commonJS({
|
|
381
370
|
"../../../node_modules/.pnpm/call-me-maybe@1.0.2/node_modules/call-me-maybe/src/next.js"(exports$1, module2) {
|
|
382
|
-
init_esm_shims();
|
|
383
371
|
function makeNext() {
|
|
384
372
|
if (typeof process === "object" && typeof process.nextTick === "function") {
|
|
385
373
|
return process.nextTick;
|
|
@@ -398,7 +386,6 @@ var require_next = __commonJS({
|
|
|
398
386
|
// ../../../node_modules/.pnpm/call-me-maybe@1.0.2/node_modules/call-me-maybe/src/maybe.js
|
|
399
387
|
var require_maybe = __commonJS({
|
|
400
388
|
"../../../node_modules/.pnpm/call-me-maybe@1.0.2/node_modules/call-me-maybe/src/maybe.js"(exports$1, module2) {
|
|
401
|
-
init_esm_shims();
|
|
402
389
|
var next = require_next();
|
|
403
390
|
module2.exports = function maybe(cb, promise) {
|
|
404
391
|
if (cb) {
|
|
@@ -422,7 +409,6 @@ var require_maybe = __commonJS({
|
|
|
422
409
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/url.js
|
|
423
410
|
var require_url = __commonJS({
|
|
424
411
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/url.js"(exports$1, module2) {
|
|
425
|
-
init_esm_shims();
|
|
426
412
|
var isWindows = /^win/.test(process.platform);
|
|
427
413
|
var forwardSlashPattern = /\//g;
|
|
428
414
|
var protocolPattern = /^(\w{2,}):\/\//i;
|
|
@@ -453,49 +439,49 @@ var require_url = __commonJS({
|
|
|
453
439
|
if (process.browser) {
|
|
454
440
|
return location.href;
|
|
455
441
|
}
|
|
456
|
-
const
|
|
457
|
-
const lastChar =
|
|
442
|
+
const path = process.cwd();
|
|
443
|
+
const lastChar = path.slice(-1);
|
|
458
444
|
if (lastChar === "/" || lastChar === "\\") {
|
|
459
|
-
return
|
|
445
|
+
return path;
|
|
460
446
|
}
|
|
461
|
-
return `${
|
|
447
|
+
return `${path}/`;
|
|
462
448
|
};
|
|
463
|
-
exports$1.getProtocol = function getProtocol(
|
|
464
|
-
const match = protocolPattern.exec(
|
|
449
|
+
exports$1.getProtocol = function getProtocol(path) {
|
|
450
|
+
const match = protocolPattern.exec(path);
|
|
465
451
|
if (match) {
|
|
466
452
|
return match[1].toLowerCase();
|
|
467
453
|
}
|
|
468
454
|
};
|
|
469
|
-
exports$1.getExtension = function getExtension(
|
|
470
|
-
const lastDot =
|
|
455
|
+
exports$1.getExtension = function getExtension(path) {
|
|
456
|
+
const lastDot = path.lastIndexOf(".");
|
|
471
457
|
if (lastDot >= 0) {
|
|
472
|
-
return url.stripQuery(
|
|
458
|
+
return url.stripQuery(path.substr(lastDot).toLowerCase());
|
|
473
459
|
}
|
|
474
460
|
return "";
|
|
475
461
|
};
|
|
476
|
-
exports$1.stripQuery = function stripQuery(
|
|
477
|
-
const queryIndex =
|
|
462
|
+
exports$1.stripQuery = function stripQuery(path) {
|
|
463
|
+
const queryIndex = path.indexOf("?");
|
|
478
464
|
if (queryIndex >= 0) {
|
|
479
|
-
|
|
465
|
+
path = path.substr(0, queryIndex);
|
|
480
466
|
}
|
|
481
|
-
return
|
|
467
|
+
return path;
|
|
482
468
|
};
|
|
483
|
-
exports$1.getHash = function getHash(
|
|
484
|
-
const hashIndex =
|
|
469
|
+
exports$1.getHash = function getHash(path) {
|
|
470
|
+
const hashIndex = path.indexOf("#");
|
|
485
471
|
if (hashIndex >= 0) {
|
|
486
|
-
return
|
|
472
|
+
return path.substr(hashIndex);
|
|
487
473
|
}
|
|
488
474
|
return "#";
|
|
489
475
|
};
|
|
490
|
-
exports$1.stripHash = function stripHash(
|
|
491
|
-
const hashIndex =
|
|
476
|
+
exports$1.stripHash = function stripHash(path) {
|
|
477
|
+
const hashIndex = path.indexOf("#");
|
|
492
478
|
if (hashIndex >= 0) {
|
|
493
|
-
return
|
|
479
|
+
return path.substr(0, hashIndex);
|
|
494
480
|
}
|
|
495
|
-
return
|
|
481
|
+
return path;
|
|
496
482
|
};
|
|
497
|
-
exports$1.isHttp = function isHttp(
|
|
498
|
-
const protocol = url.getProtocol(
|
|
483
|
+
exports$1.isHttp = function isHttp(path) {
|
|
484
|
+
const protocol = url.getProtocol(path);
|
|
499
485
|
if (protocol === "http" || protocol === "https") {
|
|
500
486
|
return true;
|
|
501
487
|
} else if (protocol === void 0) {
|
|
@@ -503,48 +489,48 @@ var require_url = __commonJS({
|
|
|
503
489
|
}
|
|
504
490
|
return false;
|
|
505
491
|
};
|
|
506
|
-
exports$1.isFileSystemPath = function isFileSystemPath(
|
|
492
|
+
exports$1.isFileSystemPath = function isFileSystemPath(path) {
|
|
507
493
|
if (process.browser) {
|
|
508
494
|
return false;
|
|
509
495
|
}
|
|
510
|
-
const protocol = url.getProtocol(
|
|
496
|
+
const protocol = url.getProtocol(path);
|
|
511
497
|
return protocol === void 0 || protocol === "file";
|
|
512
498
|
};
|
|
513
|
-
exports$1.fromFileSystemPath = function fromFileSystemPath(
|
|
499
|
+
exports$1.fromFileSystemPath = function fromFileSystemPath(path) {
|
|
514
500
|
if (isWindows) {
|
|
515
|
-
|
|
501
|
+
path = path.replace(/\\/g, "/");
|
|
516
502
|
}
|
|
517
|
-
|
|
503
|
+
path = encodeURI(path);
|
|
518
504
|
for (let i = 0; i < urlEncodePatterns.length; i += 2) {
|
|
519
|
-
|
|
505
|
+
path = path.replace(urlEncodePatterns[i], urlEncodePatterns[i + 1]);
|
|
520
506
|
}
|
|
521
|
-
return
|
|
507
|
+
return path;
|
|
522
508
|
};
|
|
523
|
-
exports$1.toFileSystemPath = function toFileSystemPath(
|
|
524
|
-
|
|
509
|
+
exports$1.toFileSystemPath = function toFileSystemPath(path, keepFileProtocol) {
|
|
510
|
+
path = decodeURI(path);
|
|
525
511
|
for (let i = 0; i < urlDecodePatterns.length; i += 2) {
|
|
526
|
-
|
|
512
|
+
path = path.replace(urlDecodePatterns[i], urlDecodePatterns[i + 1]);
|
|
527
513
|
}
|
|
528
|
-
let isFileUrl =
|
|
514
|
+
let isFileUrl = path.substr(0, 7).toLowerCase() === "file://";
|
|
529
515
|
if (isFileUrl) {
|
|
530
|
-
|
|
531
|
-
if (isWindows &&
|
|
532
|
-
|
|
516
|
+
path = path[7] === "/" ? path.substr(8) : path.substr(7);
|
|
517
|
+
if (isWindows && path[1] === "/") {
|
|
518
|
+
path = `${path[0]}:${path.substr(1)}`;
|
|
533
519
|
}
|
|
534
520
|
if (keepFileProtocol) {
|
|
535
|
-
|
|
521
|
+
path = `file:///${path}`;
|
|
536
522
|
} else {
|
|
537
523
|
isFileUrl = false;
|
|
538
|
-
|
|
524
|
+
path = isWindows ? path : `/${path}`;
|
|
539
525
|
}
|
|
540
526
|
}
|
|
541
527
|
if (isWindows && !isFileUrl) {
|
|
542
|
-
|
|
543
|
-
if (
|
|
544
|
-
|
|
528
|
+
path = path.replace(forwardSlashPattern, "\\");
|
|
529
|
+
if (path.substr(1, 2) === ":\\") {
|
|
530
|
+
path = path[0].toUpperCase() + path.substr(1);
|
|
545
531
|
}
|
|
546
532
|
}
|
|
547
|
-
return
|
|
533
|
+
return path;
|
|
548
534
|
};
|
|
549
535
|
exports$1.safePointerToPath = function safePointerToPath(pointer) {
|
|
550
536
|
if (pointer.length <= 1 || pointer[0] !== "#" || pointer[1] !== "/") {
|
|
@@ -560,7 +546,6 @@ var require_url = __commonJS({
|
|
|
560
546
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/errors.js
|
|
561
547
|
var require_errors = __commonJS({
|
|
562
548
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/errors.js"(exports$1) {
|
|
563
|
-
init_esm_shims();
|
|
564
549
|
var { Ono: Ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
565
550
|
var { stripHash, toFileSystemPath } = require_url();
|
|
566
551
|
function setErrorName(err) {
|
|
@@ -642,16 +627,16 @@ var require_errors = __commonJS({
|
|
|
642
627
|
exports$1.UnmatchedResolverError = UnmatchedResolverError;
|
|
643
628
|
setErrorName(UnmatchedResolverError);
|
|
644
629
|
var MissingPointerError = class MissingPointerError extends JSONParserError {
|
|
645
|
-
constructor(token,
|
|
646
|
-
super(`Token "${token}" does not exist.`, stripHash(
|
|
630
|
+
constructor(token, path) {
|
|
631
|
+
super(`Token "${token}" does not exist.`, stripHash(path));
|
|
647
632
|
this.code = "EMISSINGPOINTER";
|
|
648
633
|
}
|
|
649
634
|
};
|
|
650
635
|
exports$1.MissingPointerError = MissingPointerError;
|
|
651
636
|
setErrorName(MissingPointerError);
|
|
652
637
|
var InvalidPointerError = class InvalidPointerError extends JSONParserError {
|
|
653
|
-
constructor(pointer,
|
|
654
|
-
super(`Invalid $ref pointer "${pointer}". Pointers must begin with "#/"`, stripHash(
|
|
638
|
+
constructor(pointer, path) {
|
|
639
|
+
super(`Invalid $ref pointer "${pointer}". Pointers must begin with "#/"`, stripHash(path));
|
|
655
640
|
this.code = "EINVALIDPOINTER";
|
|
656
641
|
}
|
|
657
642
|
};
|
|
@@ -672,7 +657,6 @@ var require_errors = __commonJS({
|
|
|
672
657
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/pointer.js
|
|
673
658
|
var require_pointer = __commonJS({
|
|
674
659
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/pointer.js"(exports$1, module2) {
|
|
675
|
-
init_esm_shims();
|
|
676
660
|
var $Ref = require_ref();
|
|
677
661
|
var { JSONParserError, InvalidPointerError, MissingPointerError, isHandledError } = require_errors();
|
|
678
662
|
var url = require_url();
|
|
@@ -681,10 +665,10 @@ var require_pointer = __commonJS({
|
|
|
681
665
|
var escapedSlash = /~1/g;
|
|
682
666
|
var escapedTilde = /~0/g;
|
|
683
667
|
module2.exports = Pointer;
|
|
684
|
-
function Pointer($ref,
|
|
668
|
+
function Pointer($ref, path, friendlyPath) {
|
|
685
669
|
this.$ref = $ref;
|
|
686
|
-
this.path =
|
|
687
|
-
this.originalPath = friendlyPath ||
|
|
670
|
+
this.path = path;
|
|
671
|
+
this.originalPath = friendlyPath || path;
|
|
688
672
|
this.value = void 0;
|
|
689
673
|
this.circular = false;
|
|
690
674
|
this.indirections = 0;
|
|
@@ -734,8 +718,8 @@ var require_pointer = __commonJS({
|
|
|
734
718
|
setValue(this, token, value);
|
|
735
719
|
return obj;
|
|
736
720
|
};
|
|
737
|
-
Pointer.parse = function(
|
|
738
|
-
let pointer = url.getHash(
|
|
721
|
+
Pointer.parse = function(path, originalPath) {
|
|
722
|
+
let pointer = url.getHash(path).substr(1);
|
|
739
723
|
if (!pointer) {
|
|
740
724
|
return [];
|
|
741
725
|
}
|
|
@@ -744,7 +728,7 @@ var require_pointer = __commonJS({
|
|
|
744
728
|
pointer[i] = decodeURIComponent(pointer[i].replace(escapedSlash, "/").replace(escapedTilde, "~"));
|
|
745
729
|
}
|
|
746
730
|
if (pointer[0] !== "") {
|
|
747
|
-
throw new InvalidPointerError(pointer, originalPath === void 0 ?
|
|
731
|
+
throw new InvalidPointerError(pointer, originalPath === void 0 ? path : originalPath);
|
|
748
732
|
}
|
|
749
733
|
return pointer.slice(1);
|
|
750
734
|
};
|
|
@@ -808,7 +792,6 @@ Cannot set "${token}" of a non-object.`
|
|
|
808
792
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/ref.js
|
|
809
793
|
var require_ref = __commonJS({
|
|
810
794
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/ref.js"(exports$1, module2) {
|
|
811
|
-
init_esm_shims();
|
|
812
795
|
module2.exports = $Ref;
|
|
813
796
|
var Pointer = require_pointer();
|
|
814
797
|
var { InvalidPointerError, isHandledError, normalizeError } = require_errors();
|
|
@@ -831,19 +814,19 @@ var require_ref = __commonJS({
|
|
|
831
814
|
this.errors.push(normalizeError(err));
|
|
832
815
|
}
|
|
833
816
|
};
|
|
834
|
-
$Ref.prototype.exists = function(
|
|
817
|
+
$Ref.prototype.exists = function(path, options) {
|
|
835
818
|
try {
|
|
836
|
-
this.resolve(
|
|
819
|
+
this.resolve(path, options);
|
|
837
820
|
return true;
|
|
838
821
|
} catch (e) {
|
|
839
822
|
return false;
|
|
840
823
|
}
|
|
841
824
|
};
|
|
842
|
-
$Ref.prototype.get = function(
|
|
843
|
-
return this.resolve(
|
|
825
|
+
$Ref.prototype.get = function(path, options) {
|
|
826
|
+
return this.resolve(path, options).value;
|
|
844
827
|
};
|
|
845
|
-
$Ref.prototype.resolve = function(
|
|
846
|
-
const pointer = new Pointer(this,
|
|
828
|
+
$Ref.prototype.resolve = function(path, options, friendlyPath, pathFromRoot) {
|
|
829
|
+
const pointer = new Pointer(this, path, friendlyPath);
|
|
847
830
|
try {
|
|
848
831
|
return pointer.resolve(this.value, options, pathFromRoot);
|
|
849
832
|
} catch (err) {
|
|
@@ -860,8 +843,8 @@ var require_ref = __commonJS({
|
|
|
860
843
|
return null;
|
|
861
844
|
}
|
|
862
845
|
};
|
|
863
|
-
$Ref.prototype.set = function(
|
|
864
|
-
const pointer = new Pointer(this,
|
|
846
|
+
$Ref.prototype.set = function(path, value) {
|
|
847
|
+
const pointer = new Pointer(this, path);
|
|
865
848
|
this.value = pointer.set(this.value, value);
|
|
866
849
|
};
|
|
867
850
|
$Ref.is$Ref = function(value) {
|
|
@@ -905,7 +888,6 @@ var require_ref = __commonJS({
|
|
|
905
888
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/bundle.js
|
|
906
889
|
var require_bundle = __commonJS({
|
|
907
890
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/bundle.js"(exports$1, module2) {
|
|
908
|
-
init_esm_shims();
|
|
909
891
|
var $Ref = require_ref();
|
|
910
892
|
var Pointer = require_pointer();
|
|
911
893
|
var url = require_url();
|
|
@@ -914,11 +896,11 @@ var require_bundle = __commonJS({
|
|
|
914
896
|
crawl(parser, "schema", `${parser.$refs._root$Ref.path}#`, "#", 0, inventory, parser.$refs, options);
|
|
915
897
|
remap(inventory);
|
|
916
898
|
};
|
|
917
|
-
function crawl(parent, key,
|
|
899
|
+
function crawl(parent, key, path, pathFromRoot, indirections, inventory, $refs, options) {
|
|
918
900
|
const obj = key === null ? parent : parent[key];
|
|
919
901
|
if (obj && typeof obj === "object" && !ArrayBuffer.isView(obj)) {
|
|
920
902
|
if ($Ref.isAllowed$Ref(obj)) {
|
|
921
|
-
inventory$Ref(parent, key,
|
|
903
|
+
inventory$Ref(parent, key, path, pathFromRoot, indirections, inventory, $refs, options);
|
|
922
904
|
} else {
|
|
923
905
|
const keys = Object.keys(obj).sort((a, b) => {
|
|
924
906
|
if (a === "definitions") {
|
|
@@ -929,11 +911,11 @@ var require_bundle = __commonJS({
|
|
|
929
911
|
return a.length - b.length;
|
|
930
912
|
});
|
|
931
913
|
for (const key2 of keys) {
|
|
932
|
-
const keyPath = Pointer.join(
|
|
914
|
+
const keyPath = Pointer.join(path, key2);
|
|
933
915
|
const keyPathFromRoot = Pointer.join(pathFromRoot, key2);
|
|
934
916
|
const value = obj[key2];
|
|
935
917
|
if ($Ref.isAllowed$Ref(value)) {
|
|
936
|
-
inventory$Ref(obj, key2,
|
|
918
|
+
inventory$Ref(obj, key2, path, keyPathFromRoot, indirections, inventory, $refs, options);
|
|
937
919
|
} else {
|
|
938
920
|
crawl(obj, key2, keyPath, keyPathFromRoot, indirections, inventory, $refs, options);
|
|
939
921
|
}
|
|
@@ -941,9 +923,9 @@ var require_bundle = __commonJS({
|
|
|
941
923
|
}
|
|
942
924
|
}
|
|
943
925
|
}
|
|
944
|
-
function inventory$Ref($refParent, $refKey,
|
|
926
|
+
function inventory$Ref($refParent, $refKey, path, pathFromRoot, indirections, inventory, $refs, options) {
|
|
945
927
|
const $ref = $refKey === null ? $refParent : $refParent[$refKey];
|
|
946
|
-
const $refPath = url.resolve(
|
|
928
|
+
const $refPath = url.resolve(path, $ref.$ref);
|
|
947
929
|
const pointer = $refs._resolve($refPath, pathFromRoot, options);
|
|
948
930
|
if (pointer === null) {
|
|
949
931
|
return;
|
|
@@ -1054,7 +1036,6 @@ var require_bundle = __commonJS({
|
|
|
1054
1036
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/dereference.js
|
|
1055
1037
|
var require_dereference = __commonJS({
|
|
1056
1038
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/dereference.js"(exports$1, module2) {
|
|
1057
|
-
init_esm_shims();
|
|
1058
1039
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
1059
1040
|
var Pointer = require_pointer();
|
|
1060
1041
|
var $Ref = require_ref();
|
|
@@ -1073,7 +1054,7 @@ var require_dereference = __commonJS({
|
|
|
1073
1054
|
parser.$refs.circular = dereferenced.circular;
|
|
1074
1055
|
parser.schema = dereferenced.value;
|
|
1075
1056
|
};
|
|
1076
|
-
function crawl(obj,
|
|
1057
|
+
function crawl(obj, path, pathFromRoot, parents, processedObjects, dereferencedCache, $refs, options) {
|
|
1077
1058
|
let dereferenced;
|
|
1078
1059
|
const result = {
|
|
1079
1060
|
value: obj,
|
|
@@ -1086,7 +1067,7 @@ var require_dereference = __commonJS({
|
|
|
1086
1067
|
if ($Ref.isAllowed$Ref(obj, options)) {
|
|
1087
1068
|
dereferenced = dereference$Ref(
|
|
1088
1069
|
obj,
|
|
1089
|
-
|
|
1070
|
+
path,
|
|
1090
1071
|
pathFromRoot,
|
|
1091
1072
|
parents,
|
|
1092
1073
|
processedObjects,
|
|
@@ -1104,7 +1085,7 @@ var require_dereference = __commonJS({
|
|
|
1104
1085
|
}
|
|
1105
1086
|
} else {
|
|
1106
1087
|
for (const key of Object.keys(obj)) {
|
|
1107
|
-
const keyPath = Pointer.join(
|
|
1088
|
+
const keyPath = Pointer.join(path, key);
|
|
1108
1089
|
const keyPathFromRoot = Pointer.join(pathFromRoot, key);
|
|
1109
1090
|
const value = obj[key];
|
|
1110
1091
|
let circular = false;
|
|
@@ -1155,8 +1136,8 @@ var require_dereference = __commonJS({
|
|
|
1155
1136
|
}
|
|
1156
1137
|
return result;
|
|
1157
1138
|
}
|
|
1158
|
-
function dereference$Ref($ref,
|
|
1159
|
-
const $refPath = url.resolve(
|
|
1139
|
+
function dereference$Ref($ref, path, pathFromRoot, parents, processedObjects, dereferencedCache, $refs, options) {
|
|
1140
|
+
const $refPath = url.resolve(path, $ref.$ref);
|
|
1160
1141
|
const cache = dereferencedCache.get($refPath);
|
|
1161
1142
|
if (cache) {
|
|
1162
1143
|
const refKeys = Object.keys($ref);
|
|
@@ -1174,7 +1155,7 @@ var require_dereference = __commonJS({
|
|
|
1174
1155
|
}
|
|
1175
1156
|
return cache;
|
|
1176
1157
|
}
|
|
1177
|
-
const pointer = $refs._resolve($refPath,
|
|
1158
|
+
const pointer = $refs._resolve($refPath, path, options);
|
|
1178
1159
|
if (pointer === null) {
|
|
1179
1160
|
return {
|
|
1180
1161
|
circular: false,
|
|
@@ -1183,7 +1164,7 @@ var require_dereference = __commonJS({
|
|
|
1183
1164
|
}
|
|
1184
1165
|
const directCircular = pointer.circular;
|
|
1185
1166
|
let circular = directCircular || parents.has(pointer.value);
|
|
1186
|
-
circular && foundCircularReference(
|
|
1167
|
+
circular && foundCircularReference(path, $refs, options);
|
|
1187
1168
|
let dereferencedValue = $Ref.dereference($ref, pointer.value);
|
|
1188
1169
|
if (!circular) {
|
|
1189
1170
|
const dereferenced = crawl(
|
|
@@ -1228,7 +1209,6 @@ var require_dereference = __commonJS({
|
|
|
1228
1209
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/binary.js
|
|
1229
1210
|
var require_binary = __commonJS({
|
|
1230
1211
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/binary.js"(exports$1, module2) {
|
|
1231
|
-
init_esm_shims();
|
|
1232
1212
|
var BINARY_REGEXP = /\.(jpeg|jpg|gif|png|bmp|ico)$/i;
|
|
1233
1213
|
module2.exports = {
|
|
1234
1214
|
/**
|
|
@@ -1280,7 +1260,6 @@ var require_binary = __commonJS({
|
|
|
1280
1260
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/json.js
|
|
1281
1261
|
var require_json = __commonJS({
|
|
1282
1262
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/json.js"(exports$1, module2) {
|
|
1283
|
-
init_esm_shims();
|
|
1284
1263
|
var { ParserError } = require_errors();
|
|
1285
1264
|
module2.exports = {
|
|
1286
1265
|
/**
|
|
@@ -1338,7 +1317,6 @@ var require_json = __commonJS({
|
|
|
1338
1317
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/text.js
|
|
1339
1318
|
var require_text = __commonJS({
|
|
1340
1319
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/text.js"(exports$1, module2) {
|
|
1341
|
-
init_esm_shims();
|
|
1342
1320
|
var { ParserError } = require_errors();
|
|
1343
1321
|
var TEXT_REGEXP = /\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;
|
|
1344
1322
|
module2.exports = {
|
|
@@ -1399,7 +1377,6 @@ var require_text = __commonJS({
|
|
|
1399
1377
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/common.js
|
|
1400
1378
|
var require_common = __commonJS({
|
|
1401
1379
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/common.js"(exports$1, module2) {
|
|
1402
|
-
init_esm_shims();
|
|
1403
1380
|
function isNothing(subject) {
|
|
1404
1381
|
return typeof subject === "undefined" || subject === null;
|
|
1405
1382
|
}
|
|
@@ -1444,7 +1421,6 @@ var require_common = __commonJS({
|
|
|
1444
1421
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/exception.js
|
|
1445
1422
|
var require_exception = __commonJS({
|
|
1446
1423
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/exception.js"(exports$1, module2) {
|
|
1447
|
-
init_esm_shims();
|
|
1448
1424
|
function formatError(exception, compact) {
|
|
1449
1425
|
var where = "", message = exception.reason || "(unknown reason)";
|
|
1450
1426
|
if (!exception.mark) return message;
|
|
@@ -1481,7 +1457,6 @@ var require_exception = __commonJS({
|
|
|
1481
1457
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/snippet.js
|
|
1482
1458
|
var require_snippet = __commonJS({
|
|
1483
1459
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/snippet.js"(exports$1, module2) {
|
|
1484
|
-
init_esm_shims();
|
|
1485
1460
|
var common = require_common();
|
|
1486
1461
|
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
1487
1462
|
var head = "";
|
|
@@ -1561,7 +1536,6 @@ var require_snippet = __commonJS({
|
|
|
1561
1536
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type.js
|
|
1562
1537
|
var require_type = __commonJS({
|
|
1563
1538
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type.js"(exports$1, module2) {
|
|
1564
|
-
init_esm_shims();
|
|
1565
1539
|
var YAMLException = require_exception();
|
|
1566
1540
|
var TYPE_CONSTRUCTOR_OPTIONS = [
|
|
1567
1541
|
"kind",
|
|
@@ -1625,7 +1599,6 @@ var require_type = __commonJS({
|
|
|
1625
1599
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema.js
|
|
1626
1600
|
var require_schema = __commonJS({
|
|
1627
1601
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema.js"(exports$1, module2) {
|
|
1628
|
-
init_esm_shims();
|
|
1629
1602
|
var YAMLException = require_exception();
|
|
1630
1603
|
var Type = require_type();
|
|
1631
1604
|
function compileList(schema, name) {
|
|
@@ -1714,7 +1687,6 @@ var require_schema = __commonJS({
|
|
|
1714
1687
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/str.js
|
|
1715
1688
|
var require_str = __commonJS({
|
|
1716
1689
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/str.js"(exports$1, module2) {
|
|
1717
|
-
init_esm_shims();
|
|
1718
1690
|
var Type = require_type();
|
|
1719
1691
|
module2.exports = new Type("tag:yaml.org,2002:str", {
|
|
1720
1692
|
kind: "scalar",
|
|
@@ -1728,7 +1700,6 @@ var require_str = __commonJS({
|
|
|
1728
1700
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/seq.js
|
|
1729
1701
|
var require_seq = __commonJS({
|
|
1730
1702
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/seq.js"(exports$1, module2) {
|
|
1731
|
-
init_esm_shims();
|
|
1732
1703
|
var Type = require_type();
|
|
1733
1704
|
module2.exports = new Type("tag:yaml.org,2002:seq", {
|
|
1734
1705
|
kind: "sequence",
|
|
@@ -1742,7 +1713,6 @@ var require_seq = __commonJS({
|
|
|
1742
1713
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/map.js
|
|
1743
1714
|
var require_map = __commonJS({
|
|
1744
1715
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/map.js"(exports$1, module2) {
|
|
1745
|
-
init_esm_shims();
|
|
1746
1716
|
var Type = require_type();
|
|
1747
1717
|
module2.exports = new Type("tag:yaml.org,2002:map", {
|
|
1748
1718
|
kind: "mapping",
|
|
@@ -1756,7 +1726,6 @@ var require_map = __commonJS({
|
|
|
1756
1726
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/failsafe.js
|
|
1757
1727
|
var require_failsafe = __commonJS({
|
|
1758
1728
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/failsafe.js"(exports$1, module2) {
|
|
1759
|
-
init_esm_shims();
|
|
1760
1729
|
var Schema = require_schema();
|
|
1761
1730
|
module2.exports = new Schema({
|
|
1762
1731
|
explicit: [
|
|
@@ -1771,7 +1740,6 @@ var require_failsafe = __commonJS({
|
|
|
1771
1740
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/null.js
|
|
1772
1741
|
var require_null = __commonJS({
|
|
1773
1742
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/null.js"(exports$1, module2) {
|
|
1774
|
-
init_esm_shims();
|
|
1775
1743
|
var Type = require_type();
|
|
1776
1744
|
function resolveYamlNull(data) {
|
|
1777
1745
|
if (data === null) return true;
|
|
@@ -1814,7 +1782,6 @@ var require_null = __commonJS({
|
|
|
1814
1782
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/bool.js
|
|
1815
1783
|
var require_bool = __commonJS({
|
|
1816
1784
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/bool.js"(exports$1, module2) {
|
|
1817
|
-
init_esm_shims();
|
|
1818
1785
|
var Type = require_type();
|
|
1819
1786
|
function resolveYamlBoolean(data) {
|
|
1820
1787
|
if (data === null) return false;
|
|
@@ -1851,7 +1818,6 @@ var require_bool = __commonJS({
|
|
|
1851
1818
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/int.js
|
|
1852
1819
|
var require_int = __commonJS({
|
|
1853
1820
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/int.js"(exports$1, module2) {
|
|
1854
|
-
init_esm_shims();
|
|
1855
1821
|
var common = require_common();
|
|
1856
1822
|
var Type = require_type();
|
|
1857
1823
|
function isHexCode(c) {
|
|
@@ -1973,7 +1939,6 @@ var require_int = __commonJS({
|
|
|
1973
1939
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/float.js
|
|
1974
1940
|
var require_float = __commonJS({
|
|
1975
1941
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/float.js"(exports$1, module2) {
|
|
1976
|
-
init_esm_shims();
|
|
1977
1942
|
var common = require_common();
|
|
1978
1943
|
var Type = require_type();
|
|
1979
1944
|
var YAML_FLOAT_PATTERN = new RegExp(
|
|
@@ -2056,7 +2021,6 @@ var require_float = __commonJS({
|
|
|
2056
2021
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/json.js
|
|
2057
2022
|
var require_json2 = __commonJS({
|
|
2058
2023
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/json.js"(exports$1, module2) {
|
|
2059
|
-
init_esm_shims();
|
|
2060
2024
|
module2.exports = require_failsafe().extend({
|
|
2061
2025
|
implicit: [
|
|
2062
2026
|
require_null(),
|
|
@@ -2071,7 +2035,6 @@ var require_json2 = __commonJS({
|
|
|
2071
2035
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/core.js
|
|
2072
2036
|
var require_core = __commonJS({
|
|
2073
2037
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/core.js"(exports$1, module2) {
|
|
2074
|
-
init_esm_shims();
|
|
2075
2038
|
module2.exports = require_json2();
|
|
2076
2039
|
}
|
|
2077
2040
|
});
|
|
@@ -2079,7 +2042,6 @@ var require_core = __commonJS({
|
|
|
2079
2042
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/timestamp.js
|
|
2080
2043
|
var require_timestamp = __commonJS({
|
|
2081
2044
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/timestamp.js"(exports$1, module2) {
|
|
2082
|
-
init_esm_shims();
|
|
2083
2045
|
var Type = require_type();
|
|
2084
2046
|
var YAML_DATE_REGEXP = new RegExp(
|
|
2085
2047
|
"^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"
|
|
@@ -2140,7 +2102,6 @@ var require_timestamp = __commonJS({
|
|
|
2140
2102
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/merge.js
|
|
2141
2103
|
var require_merge = __commonJS({
|
|
2142
2104
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/merge.js"(exports$1, module2) {
|
|
2143
|
-
init_esm_shims();
|
|
2144
2105
|
var Type = require_type();
|
|
2145
2106
|
function resolveYamlMerge(data) {
|
|
2146
2107
|
return data === "<<" || data === null;
|
|
@@ -2155,7 +2116,6 @@ var require_merge = __commonJS({
|
|
|
2155
2116
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/binary.js
|
|
2156
2117
|
var require_binary2 = __commonJS({
|
|
2157
2118
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/binary.js"(exports$1, module2) {
|
|
2158
|
-
init_esm_shims();
|
|
2159
2119
|
var Type = require_type();
|
|
2160
2120
|
var BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
2161
2121
|
function resolveYamlBinary(data) {
|
|
@@ -2238,7 +2198,6 @@ var require_binary2 = __commonJS({
|
|
|
2238
2198
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/omap.js
|
|
2239
2199
|
var require_omap = __commonJS({
|
|
2240
2200
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/omap.js"(exports$1, module2) {
|
|
2241
|
-
init_esm_shims();
|
|
2242
2201
|
var Type = require_type();
|
|
2243
2202
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2244
2203
|
var _toString = Object.prototype.toString;
|
|
@@ -2275,7 +2234,6 @@ var require_omap = __commonJS({
|
|
|
2275
2234
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/pairs.js
|
|
2276
2235
|
var require_pairs = __commonJS({
|
|
2277
2236
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/pairs.js"(exports$1, module2) {
|
|
2278
|
-
init_esm_shims();
|
|
2279
2237
|
var Type = require_type();
|
|
2280
2238
|
var _toString = Object.prototype.toString;
|
|
2281
2239
|
function resolveYamlPairs(data) {
|
|
@@ -2313,7 +2271,6 @@ var require_pairs = __commonJS({
|
|
|
2313
2271
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/set.js
|
|
2314
2272
|
var require_set = __commonJS({
|
|
2315
2273
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/type/set.js"(exports$1, module2) {
|
|
2316
|
-
init_esm_shims();
|
|
2317
2274
|
var Type = require_type();
|
|
2318
2275
|
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2319
2276
|
function resolveYamlSet(data) {
|
|
@@ -2340,7 +2297,6 @@ var require_set = __commonJS({
|
|
|
2340
2297
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/default.js
|
|
2341
2298
|
var require_default = __commonJS({
|
|
2342
2299
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/schema/default.js"(exports$1, module2) {
|
|
2343
|
-
init_esm_shims();
|
|
2344
2300
|
module2.exports = require_core().extend({
|
|
2345
2301
|
implicit: [
|
|
2346
2302
|
require_timestamp(),
|
|
@@ -2359,7 +2315,6 @@ var require_default = __commonJS({
|
|
|
2359
2315
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/loader.js
|
|
2360
2316
|
var require_loader = __commonJS({
|
|
2361
2317
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/loader.js"(exports$1, module2) {
|
|
2362
|
-
init_esm_shims();
|
|
2363
2318
|
var common = require_common();
|
|
2364
2319
|
var YAMLException = require_exception();
|
|
2365
2320
|
var makeSnippet = require_snippet();
|
|
@@ -3523,7 +3478,6 @@ var require_loader = __commonJS({
|
|
|
3523
3478
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/dumper.js
|
|
3524
3479
|
var require_dumper = __commonJS({
|
|
3525
3480
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/lib/dumper.js"(exports$1, module2) {
|
|
3526
|
-
init_esm_shims();
|
|
3527
3481
|
var common = require_common();
|
|
3528
3482
|
var YAMLException = require_exception();
|
|
3529
3483
|
var DEFAULT_SCHEMA = require_default();
|
|
@@ -4152,7 +4106,6 @@ var require_dumper = __commonJS({
|
|
|
4152
4106
|
// ../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/index.js
|
|
4153
4107
|
var require_js_yaml = __commonJS({
|
|
4154
4108
|
"../../../node_modules/.pnpm/js-yaml@4.1.1/node_modules/js-yaml/index.js"(exports$1, module2) {
|
|
4155
|
-
init_esm_shims();
|
|
4156
4109
|
var loader = require_loader();
|
|
4157
4110
|
var dumper = require_dumper();
|
|
4158
4111
|
function renamed(from, to) {
|
|
@@ -4194,7 +4147,6 @@ var require_js_yaml = __commonJS({
|
|
|
4194
4147
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/yaml.js
|
|
4195
4148
|
var require_yaml = __commonJS({
|
|
4196
4149
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parsers/yaml.js"(exports$1, module2) {
|
|
4197
|
-
init_esm_shims();
|
|
4198
4150
|
var yaml = require_js_yaml();
|
|
4199
4151
|
var { JSON_SCHEMA } = require_js_yaml();
|
|
4200
4152
|
var { ParserError } = require_errors();
|
|
@@ -4252,7 +4204,6 @@ var require_yaml = __commonJS({
|
|
|
4252
4204
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js
|
|
4253
4205
|
var require_file = __commonJS({
|
|
4254
4206
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolvers/file.js"(exports$1, module2) {
|
|
4255
|
-
init_esm_shims();
|
|
4256
4207
|
var fs = __require("fs");
|
|
4257
4208
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
4258
4209
|
var { ResolverError } = require_errors();
|
|
@@ -4287,22 +4238,22 @@ var require_file = __commonJS({
|
|
|
4287
4238
|
*/
|
|
4288
4239
|
read(file) {
|
|
4289
4240
|
return new Promise((resolve, reject) => {
|
|
4290
|
-
let
|
|
4241
|
+
let path;
|
|
4291
4242
|
try {
|
|
4292
|
-
|
|
4243
|
+
path = url.toFileSystemPath(file.url);
|
|
4293
4244
|
} catch (err) {
|
|
4294
4245
|
reject(new ResolverError(ono2.uri(err, `Malformed URI: ${file.url}`), file.url));
|
|
4295
4246
|
}
|
|
4296
4247
|
try {
|
|
4297
|
-
fs.readFile(
|
|
4248
|
+
fs.readFile(path, (err, data) => {
|
|
4298
4249
|
if (err) {
|
|
4299
|
-
reject(new ResolverError(ono2(err, `Error opening file "${
|
|
4250
|
+
reject(new ResolverError(ono2(err, `Error opening file "${path}"`), path));
|
|
4300
4251
|
} else {
|
|
4301
4252
|
resolve(data);
|
|
4302
4253
|
}
|
|
4303
4254
|
});
|
|
4304
4255
|
} catch (err) {
|
|
4305
|
-
reject(new ResolverError(ono2(err, `Error opening file "${
|
|
4256
|
+
reject(new ResolverError(ono2(err, `Error opening file "${path}"`), path));
|
|
4306
4257
|
}
|
|
4307
4258
|
});
|
|
4308
4259
|
}
|
|
@@ -4313,7 +4264,6 @@ var require_file = __commonJS({
|
|
|
4313
4264
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolvers/http.js
|
|
4314
4265
|
var require_http = __commonJS({
|
|
4315
4266
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolvers/http.js"(exports$1, module2) {
|
|
4316
|
-
init_esm_shims();
|
|
4317
4267
|
var http = __require("http");
|
|
4318
4268
|
var https = __require("https");
|
|
4319
4269
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
@@ -4459,7 +4409,6 @@ Too many redirects:
|
|
|
4459
4409
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/options.js
|
|
4460
4410
|
var require_options = __commonJS({
|
|
4461
4411
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/options.js"(exports$1, module2) {
|
|
4462
|
-
init_esm_shims();
|
|
4463
4412
|
var binaryParser = require_binary();
|
|
4464
4413
|
var jsonParser = require_json();
|
|
4465
4414
|
var textParser = require_text();
|
|
@@ -4547,10 +4496,9 @@ var require_options = __commonJS({
|
|
|
4547
4496
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/normalize-args.js
|
|
4548
4497
|
var require_normalize_args = __commonJS({
|
|
4549
4498
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/normalize-args.js"(exports$1, module2) {
|
|
4550
|
-
init_esm_shims();
|
|
4551
4499
|
var Options = require_options();
|
|
4552
4500
|
module2.exports = function normalizeArgs2(args) {
|
|
4553
|
-
let
|
|
4501
|
+
let path;
|
|
4554
4502
|
let schema;
|
|
4555
4503
|
let options;
|
|
4556
4504
|
let callback;
|
|
@@ -4559,7 +4507,7 @@ var require_normalize_args = __commonJS({
|
|
|
4559
4507
|
callback = args.pop();
|
|
4560
4508
|
}
|
|
4561
4509
|
if (typeof args[0] === "string") {
|
|
4562
|
-
|
|
4510
|
+
path = args[0];
|
|
4563
4511
|
if (typeof args[2] === "object") {
|
|
4564
4512
|
schema = args[1];
|
|
4565
4513
|
options = args[2];
|
|
@@ -4568,7 +4516,7 @@ var require_normalize_args = __commonJS({
|
|
|
4568
4516
|
options = args[1];
|
|
4569
4517
|
}
|
|
4570
4518
|
} else {
|
|
4571
|
-
|
|
4519
|
+
path = "";
|
|
4572
4520
|
schema = args[0];
|
|
4573
4521
|
options = args[1];
|
|
4574
4522
|
}
|
|
@@ -4576,7 +4524,7 @@ var require_normalize_args = __commonJS({
|
|
|
4576
4524
|
options = new Options(options);
|
|
4577
4525
|
}
|
|
4578
4526
|
return {
|
|
4579
|
-
path
|
|
4527
|
+
path,
|
|
4580
4528
|
schema,
|
|
4581
4529
|
options,
|
|
4582
4530
|
callback
|
|
@@ -4588,7 +4536,6 @@ var require_normalize_args = __commonJS({
|
|
|
4588
4536
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/plugins.js
|
|
4589
4537
|
var require_plugins = __commonJS({
|
|
4590
4538
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/util/plugins.js"(exports$1) {
|
|
4591
|
-
init_esm_shims();
|
|
4592
4539
|
exports$1.all = function(plugins) {
|
|
4593
4540
|
return Object.keys(plugins).filter((key) => {
|
|
4594
4541
|
return typeof plugins[key] === "object";
|
|
@@ -4678,7 +4625,6 @@ var require_plugins = __commonJS({
|
|
|
4678
4625
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parse.js
|
|
4679
4626
|
var require_parse = __commonJS({
|
|
4680
4627
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/parse.js"(exports$1, module2) {
|
|
4681
|
-
init_esm_shims();
|
|
4682
4628
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
4683
4629
|
var {
|
|
4684
4630
|
ResolverError,
|
|
@@ -4689,12 +4635,12 @@ var require_parse = __commonJS({
|
|
|
4689
4635
|
} = require_errors();
|
|
4690
4636
|
var plugins = require_plugins();
|
|
4691
4637
|
var url = require_url();
|
|
4692
|
-
module2.exports = async function parse(
|
|
4693
|
-
|
|
4694
|
-
const $ref = $refs._add(
|
|
4638
|
+
module2.exports = async function parse(path, $refs, options) {
|
|
4639
|
+
path = url.stripHash(path);
|
|
4640
|
+
const $ref = $refs._add(path);
|
|
4695
4641
|
const file = {
|
|
4696
|
-
url:
|
|
4697
|
-
extension: url.getExtension(
|
|
4642
|
+
url: path,
|
|
4643
|
+
extension: url.getExtension(path)
|
|
4698
4644
|
};
|
|
4699
4645
|
try {
|
|
4700
4646
|
const resolver = await readFile2(file, options, $refs);
|
|
@@ -4766,7 +4712,6 @@ Parsed value is empty`));
|
|
|
4766
4712
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/refs.js
|
|
4767
4713
|
var require_refs = __commonJS({
|
|
4768
4714
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/refs.js"(exports$1, module2) {
|
|
4769
|
-
init_esm_shims();
|
|
4770
4715
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
4771
4716
|
var $Ref = require_ref();
|
|
4772
4717
|
var url = require_url();
|
|
@@ -4779,42 +4724,42 @@ var require_refs = __commonJS({
|
|
|
4779
4724
|
}
|
|
4780
4725
|
$Refs.prototype.paths = function(types) {
|
|
4781
4726
|
const paths = getPaths(this._$refs, arguments);
|
|
4782
|
-
return paths.map((
|
|
4783
|
-
return
|
|
4727
|
+
return paths.map((path) => {
|
|
4728
|
+
return path.decoded;
|
|
4784
4729
|
});
|
|
4785
4730
|
};
|
|
4786
4731
|
$Refs.prototype.values = function(types) {
|
|
4787
4732
|
const $refs = this._$refs;
|
|
4788
4733
|
const paths = getPaths($refs, arguments);
|
|
4789
|
-
return paths.reduce((obj,
|
|
4790
|
-
obj[
|
|
4734
|
+
return paths.reduce((obj, path) => {
|
|
4735
|
+
obj[path.decoded] = $refs[path.encoded].value;
|
|
4791
4736
|
return obj;
|
|
4792
4737
|
}, {});
|
|
4793
4738
|
};
|
|
4794
4739
|
$Refs.prototype.toJSON = $Refs.prototype.values;
|
|
4795
|
-
$Refs.prototype.exists = function(
|
|
4740
|
+
$Refs.prototype.exists = function(path, options) {
|
|
4796
4741
|
try {
|
|
4797
|
-
this._resolve(
|
|
4742
|
+
this._resolve(path, "", options);
|
|
4798
4743
|
return true;
|
|
4799
4744
|
} catch (e) {
|
|
4800
4745
|
return false;
|
|
4801
4746
|
}
|
|
4802
4747
|
};
|
|
4803
|
-
$Refs.prototype.get = function(
|
|
4804
|
-
return this._resolve(
|
|
4748
|
+
$Refs.prototype.get = function(path, options) {
|
|
4749
|
+
return this._resolve(path, "", options).value;
|
|
4805
4750
|
};
|
|
4806
|
-
$Refs.prototype.set = function(
|
|
4807
|
-
const absPath = url.resolve(this._root$Ref.path,
|
|
4751
|
+
$Refs.prototype.set = function(path, value) {
|
|
4752
|
+
const absPath = url.resolve(this._root$Ref.path, path);
|
|
4808
4753
|
const withoutHash = url.stripHash(absPath);
|
|
4809
4754
|
const $ref = this._$refs[withoutHash];
|
|
4810
4755
|
if (!$ref) {
|
|
4811
|
-
throw ono2(`Error resolving $ref pointer "${
|
|
4756
|
+
throw ono2(`Error resolving $ref pointer "${path}".
|
|
4812
4757
|
"${withoutHash}" not found.`);
|
|
4813
4758
|
}
|
|
4814
4759
|
$ref.set(absPath, value);
|
|
4815
4760
|
};
|
|
4816
|
-
$Refs.prototype._add = function(
|
|
4817
|
-
const withoutHash = url.stripHash(
|
|
4761
|
+
$Refs.prototype._add = function(path) {
|
|
4762
|
+
const withoutHash = url.stripHash(path);
|
|
4818
4763
|
const $ref = new $Ref();
|
|
4819
4764
|
$ref.path = withoutHash;
|
|
4820
4765
|
$ref.$refs = this;
|
|
@@ -4822,19 +4767,19 @@ var require_refs = __commonJS({
|
|
|
4822
4767
|
this._root$Ref = this._root$Ref || $ref;
|
|
4823
4768
|
return $ref;
|
|
4824
4769
|
};
|
|
4825
|
-
$Refs.prototype._resolve = function(
|
|
4826
|
-
const absPath = url.resolve(this._root$Ref.path,
|
|
4770
|
+
$Refs.prototype._resolve = function(path, pathFromRoot, options) {
|
|
4771
|
+
const absPath = url.resolve(this._root$Ref.path, path);
|
|
4827
4772
|
const withoutHash = url.stripHash(absPath);
|
|
4828
4773
|
const $ref = this._$refs[withoutHash];
|
|
4829
4774
|
if (!$ref) {
|
|
4830
|
-
throw ono2(`Error resolving $ref pointer "${
|
|
4775
|
+
throw ono2(`Error resolving $ref pointer "${path}".
|
|
4831
4776
|
"${withoutHash}" not found.`);
|
|
4832
4777
|
}
|
|
4833
|
-
return $ref.resolve(absPath, options,
|
|
4778
|
+
return $ref.resolve(absPath, options, path, pathFromRoot);
|
|
4834
4779
|
};
|
|
4835
|
-
$Refs.prototype._get$Ref = function(
|
|
4836
|
-
|
|
4837
|
-
const withoutHash = url.stripHash(
|
|
4780
|
+
$Refs.prototype._get$Ref = function(path) {
|
|
4781
|
+
path = url.resolve(this._root$Ref.path, path);
|
|
4782
|
+
const withoutHash = url.stripHash(path);
|
|
4838
4783
|
return this._$refs[withoutHash];
|
|
4839
4784
|
};
|
|
4840
4785
|
function getPaths($refs, types) {
|
|
@@ -4845,10 +4790,10 @@ var require_refs = __commonJS({
|
|
|
4845
4790
|
return types.indexOf($refs[key].pathType) !== -1;
|
|
4846
4791
|
});
|
|
4847
4792
|
}
|
|
4848
|
-
return paths.map((
|
|
4793
|
+
return paths.map((path) => {
|
|
4849
4794
|
return {
|
|
4850
|
-
encoded:
|
|
4851
|
-
decoded: $refs[
|
|
4795
|
+
encoded: path,
|
|
4796
|
+
decoded: $refs[path].pathType === "file" ? url.toFileSystemPath(path, true) : path
|
|
4852
4797
|
};
|
|
4853
4798
|
});
|
|
4854
4799
|
}
|
|
@@ -4858,7 +4803,6 @@ var require_refs = __commonJS({
|
|
|
4858
4803
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolve-external.js
|
|
4859
4804
|
var require_resolve_external = __commonJS({
|
|
4860
4805
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/resolve-external.js"(exports$1, module2) {
|
|
4861
|
-
init_esm_shims();
|
|
4862
4806
|
var parse = require_parse();
|
|
4863
4807
|
var Pointer = require_pointer();
|
|
4864
4808
|
var $Ref = require_ref();
|
|
@@ -4876,16 +4820,16 @@ var require_resolve_external = __commonJS({
|
|
|
4876
4820
|
return Promise.reject(e);
|
|
4877
4821
|
}
|
|
4878
4822
|
}
|
|
4879
|
-
function crawl(obj,
|
|
4823
|
+
function crawl(obj, path, $refs, options, seen) {
|
|
4880
4824
|
seen = seen || /* @__PURE__ */ new Set();
|
|
4881
4825
|
let promises = [];
|
|
4882
4826
|
if (obj && typeof obj === "object" && !ArrayBuffer.isView(obj) && !seen.has(obj)) {
|
|
4883
4827
|
seen.add(obj);
|
|
4884
4828
|
if ($Ref.isExternal$Ref(obj)) {
|
|
4885
|
-
promises.push(resolve$Ref(obj,
|
|
4829
|
+
promises.push(resolve$Ref(obj, path, $refs, options));
|
|
4886
4830
|
} else {
|
|
4887
4831
|
for (const key of Object.keys(obj)) {
|
|
4888
|
-
const keyPath = Pointer.join(
|
|
4832
|
+
const keyPath = Pointer.join(path, key);
|
|
4889
4833
|
const value = obj[key];
|
|
4890
4834
|
if ($Ref.isExternal$Ref(value)) {
|
|
4891
4835
|
promises.push(resolve$Ref(value, keyPath, $refs, options));
|
|
@@ -4897,8 +4841,8 @@ var require_resolve_external = __commonJS({
|
|
|
4897
4841
|
}
|
|
4898
4842
|
return promises;
|
|
4899
4843
|
}
|
|
4900
|
-
async function resolve$Ref($ref,
|
|
4901
|
-
const resolvedPath = url.resolve(
|
|
4844
|
+
async function resolve$Ref($ref, path, $refs, options) {
|
|
4845
|
+
const resolvedPath = url.resolve(path, $ref.$ref);
|
|
4902
4846
|
const withoutHash = url.stripHash(resolvedPath);
|
|
4903
4847
|
$ref = $refs._$refs[withoutHash];
|
|
4904
4848
|
if ($ref) {
|
|
@@ -4913,8 +4857,8 @@ var require_resolve_external = __commonJS({
|
|
|
4913
4857
|
throw err;
|
|
4914
4858
|
}
|
|
4915
4859
|
if ($refs._$refs[withoutHash]) {
|
|
4916
|
-
err.source = url.stripHash(
|
|
4917
|
-
err.path = url.safePointerToPath(url.getHash(
|
|
4860
|
+
err.source = url.stripHash(path);
|
|
4861
|
+
err.path = url.safePointerToPath(url.getHash(path));
|
|
4918
4862
|
}
|
|
4919
4863
|
return [];
|
|
4920
4864
|
}
|
|
@@ -4925,7 +4869,6 @@ var require_resolve_external = __commonJS({
|
|
|
4925
4869
|
// ../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/index.js
|
|
4926
4870
|
var require_lib = __commonJS({
|
|
4927
4871
|
"../../../node_modules/.pnpm/@readme+json-schema-ref-parser@1.2.0/node_modules/@readme/json-schema-ref-parser/lib/index.js"(exports$1, module2) {
|
|
4928
|
-
init_esm_shims();
|
|
4929
4872
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
4930
4873
|
var maybe = require_maybe();
|
|
4931
4874
|
var _bundle = require_bundle();
|
|
@@ -4959,12 +4902,12 @@ var require_lib = __commonJS({
|
|
|
4959
4902
|
this.schema = null;
|
|
4960
4903
|
this.$refs = new $Refs();
|
|
4961
4904
|
}
|
|
4962
|
-
$RefParser.parse = function parse(
|
|
4905
|
+
$RefParser.parse = function parse(path, schema, options, callback) {
|
|
4963
4906
|
const Class = this;
|
|
4964
4907
|
const instance = new Class();
|
|
4965
4908
|
return instance.parse.apply(instance, arguments);
|
|
4966
4909
|
};
|
|
4967
|
-
$RefParser.prototype.parse = async function parse(
|
|
4910
|
+
$RefParser.prototype.parse = async function parse(path, schema, options, callback) {
|
|
4968
4911
|
const args = normalizeArgs2(arguments);
|
|
4969
4912
|
let promise;
|
|
4970
4913
|
if (!args.path && !args.schema) {
|
|
@@ -5008,12 +4951,12 @@ var require_lib = __commonJS({
|
|
|
5008
4951
|
return maybe(args.callback, Promise.resolve(null));
|
|
5009
4952
|
}
|
|
5010
4953
|
};
|
|
5011
|
-
$RefParser.resolve = function resolve(
|
|
4954
|
+
$RefParser.resolve = function resolve(path, schema, options, callback) {
|
|
5012
4955
|
const Class = this;
|
|
5013
4956
|
const instance = new Class();
|
|
5014
4957
|
return instance.resolve.apply(instance, arguments);
|
|
5015
4958
|
};
|
|
5016
|
-
$RefParser.prototype.resolve = async function resolve(
|
|
4959
|
+
$RefParser.prototype.resolve = async function resolve(path, schema, options, callback) {
|
|
5017
4960
|
const me = this;
|
|
5018
4961
|
const args = normalizeArgs2(arguments);
|
|
5019
4962
|
try {
|
|
@@ -5025,12 +4968,12 @@ var require_lib = __commonJS({
|
|
|
5025
4968
|
return maybe(args.callback, Promise.reject(err));
|
|
5026
4969
|
}
|
|
5027
4970
|
};
|
|
5028
|
-
$RefParser.bundle = function bundle(
|
|
4971
|
+
$RefParser.bundle = function bundle(path, schema, options, callback) {
|
|
5029
4972
|
const Class = this;
|
|
5030
4973
|
const instance = new Class();
|
|
5031
4974
|
return instance.bundle.apply(instance, arguments);
|
|
5032
4975
|
};
|
|
5033
|
-
$RefParser.prototype.bundle = async function bundle(
|
|
4976
|
+
$RefParser.prototype.bundle = async function bundle(path, schema, options, callback) {
|
|
5034
4977
|
const me = this;
|
|
5035
4978
|
const args = normalizeArgs2(arguments);
|
|
5036
4979
|
try {
|
|
@@ -5042,12 +4985,12 @@ var require_lib = __commonJS({
|
|
|
5042
4985
|
return maybe(args.callback, Promise.reject(err));
|
|
5043
4986
|
}
|
|
5044
4987
|
};
|
|
5045
|
-
$RefParser.dereference = function dereference(
|
|
4988
|
+
$RefParser.dereference = function dereference(path, schema, options, callback) {
|
|
5046
4989
|
const Class = this;
|
|
5047
4990
|
const instance = new Class();
|
|
5048
4991
|
return instance.dereference.apply(instance, arguments);
|
|
5049
4992
|
};
|
|
5050
|
-
$RefParser.prototype.dereference = async function dereference(
|
|
4993
|
+
$RefParser.prototype.dereference = async function dereference(path, schema, options, callback) {
|
|
5051
4994
|
const me = this;
|
|
5052
4995
|
const args = normalizeArgs2(arguments);
|
|
5053
4996
|
try {
|
|
@@ -5071,16 +5014,15 @@ var require_lib = __commonJS({
|
|
|
5071
5014
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/util.js
|
|
5072
5015
|
var require_util = __commonJS({
|
|
5073
5016
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/util.js"(exports$1) {
|
|
5074
|
-
init_esm_shims();
|
|
5075
5017
|
var util3 = __require("util");
|
|
5076
5018
|
var url = require_url();
|
|
5077
5019
|
exports$1.format = util3.format;
|
|
5078
5020
|
exports$1.inherits = util3.inherits;
|
|
5079
5021
|
exports$1.swaggerParamRegExp = /\{([^/}]+)}/g;
|
|
5080
5022
|
var operationsList = ["get", "post", "put", "delete", "patch", "options", "head", "trace"];
|
|
5081
|
-
function fixServers(server2,
|
|
5023
|
+
function fixServers(server2, path) {
|
|
5082
5024
|
if (server2.url && server2.url.startsWith("/")) {
|
|
5083
|
-
const inUrl = url.parse(
|
|
5025
|
+
const inUrl = url.parse(path);
|
|
5084
5026
|
const finalUrl = `${inUrl.protocol}//${inUrl.hostname}${server2.url}`;
|
|
5085
5027
|
server2.url = finalUrl;
|
|
5086
5028
|
}
|
|
@@ -5092,8 +5034,8 @@ var require_util = __commonJS({
|
|
|
5092
5034
|
schema.servers.map((server2) => fixServers(server2, filePath));
|
|
5093
5035
|
}
|
|
5094
5036
|
["paths", "webhooks"].forEach((component) => {
|
|
5095
|
-
Object.keys(schema[component] || []).forEach((
|
|
5096
|
-
const pathItem = schema[component][
|
|
5037
|
+
Object.keys(schema[component] || []).forEach((path) => {
|
|
5038
|
+
const pathItem = schema[component][path];
|
|
5097
5039
|
Object.keys(pathItem).forEach((opItem) => {
|
|
5098
5040
|
if (opItem === "servers") {
|
|
5099
5041
|
pathItem[opItem].map((server2) => fixServers(server2, filePath));
|
|
@@ -5118,7 +5060,6 @@ var require_util = __commonJS({
|
|
|
5118
5060
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js
|
|
5119
5061
|
var require_interopRequireDefault = __commonJS({
|
|
5120
5062
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/interopRequireDefault.js"(exports$1, module2) {
|
|
5121
|
-
init_esm_shims();
|
|
5122
5063
|
function _interopRequireDefault(e) {
|
|
5123
5064
|
return e && e.__esModule ? e : {
|
|
5124
5065
|
"default": e
|
|
@@ -5131,7 +5072,6 @@ var require_interopRequireDefault = __commonJS({
|
|
|
5131
5072
|
// ../../../node_modules/.pnpm/@humanwhocodes+momoa@2.0.4/node_modules/@humanwhocodes/momoa/api.js
|
|
5132
5073
|
var require_api = __commonJS({
|
|
5133
5074
|
"../../../node_modules/.pnpm/@humanwhocodes+momoa@2.0.4/node_modules/@humanwhocodes/momoa/api.js"(exports$1) {
|
|
5134
|
-
init_esm_shims();
|
|
5135
5075
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
5136
5076
|
var LBRACKET = "[";
|
|
5137
5077
|
var RBRACKET = "]";
|
|
@@ -5841,7 +5781,6 @@ var require_api = __commonJS({
|
|
|
5841
5781
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js
|
|
5842
5782
|
var require_typeof = __commonJS({
|
|
5843
5783
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/typeof.js"(exports$1, module2) {
|
|
5844
|
-
init_esm_shims();
|
|
5845
5784
|
function _typeof(o) {
|
|
5846
5785
|
"@babel/helpers - typeof";
|
|
5847
5786
|
return module2.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -5857,7 +5796,6 @@ var require_typeof = __commonJS({
|
|
|
5857
5796
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js
|
|
5858
5797
|
var require_toPrimitive = __commonJS({
|
|
5859
5798
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toPrimitive.js"(exports$1, module2) {
|
|
5860
|
-
init_esm_shims();
|
|
5861
5799
|
var _typeof = require_typeof()["default"];
|
|
5862
5800
|
function toPrimitive(t, r) {
|
|
5863
5801
|
if ("object" != _typeof(t) || !t) return t;
|
|
@@ -5876,7 +5814,6 @@ var require_toPrimitive = __commonJS({
|
|
|
5876
5814
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js
|
|
5877
5815
|
var require_toPropertyKey = __commonJS({
|
|
5878
5816
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toPropertyKey.js"(exports$1, module2) {
|
|
5879
|
-
init_esm_shims();
|
|
5880
5817
|
var _typeof = require_typeof()["default"];
|
|
5881
5818
|
var toPrimitive = require_toPrimitive();
|
|
5882
5819
|
function toPropertyKey(t) {
|
|
@@ -5890,7 +5827,6 @@ var require_toPropertyKey = __commonJS({
|
|
|
5890
5827
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js
|
|
5891
5828
|
var require_defineProperty = __commonJS({
|
|
5892
5829
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/defineProperty.js"(exports$1, module2) {
|
|
5893
|
-
init_esm_shims();
|
|
5894
5830
|
var toPropertyKey = require_toPropertyKey();
|
|
5895
5831
|
function _defineProperty(e, r, t) {
|
|
5896
5832
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
@@ -5907,7 +5843,6 @@ var require_defineProperty = __commonJS({
|
|
|
5907
5843
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayLikeToArray.js
|
|
5908
5844
|
var require_arrayLikeToArray = __commonJS({
|
|
5909
5845
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayLikeToArray.js"(exports$1, module2) {
|
|
5910
|
-
init_esm_shims();
|
|
5911
5846
|
function _arrayLikeToArray(r, a) {
|
|
5912
5847
|
(null == a || a > r.length) && (a = r.length);
|
|
5913
5848
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -5920,7 +5855,6 @@ var require_arrayLikeToArray = __commonJS({
|
|
|
5920
5855
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js
|
|
5921
5856
|
var require_arrayWithoutHoles = __commonJS({
|
|
5922
5857
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js"(exports$1, module2) {
|
|
5923
|
-
init_esm_shims();
|
|
5924
5858
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
5925
5859
|
function _arrayWithoutHoles(r) {
|
|
5926
5860
|
if (Array.isArray(r)) return arrayLikeToArray(r);
|
|
@@ -5932,7 +5866,6 @@ var require_arrayWithoutHoles = __commonJS({
|
|
|
5932
5866
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/iterableToArray.js
|
|
5933
5867
|
var require_iterableToArray = __commonJS({
|
|
5934
5868
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/iterableToArray.js"(exports$1, module2) {
|
|
5935
|
-
init_esm_shims();
|
|
5936
5869
|
function _iterableToArray(r) {
|
|
5937
5870
|
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
5938
5871
|
}
|
|
@@ -5943,7 +5876,6 @@ var require_iterableToArray = __commonJS({
|
|
|
5943
5876
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js
|
|
5944
5877
|
var require_unsupportedIterableToArray = __commonJS({
|
|
5945
5878
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"(exports$1, module2) {
|
|
5946
|
-
init_esm_shims();
|
|
5947
5879
|
var arrayLikeToArray = require_arrayLikeToArray();
|
|
5948
5880
|
function _unsupportedIterableToArray(r, a) {
|
|
5949
5881
|
if (r) {
|
|
@@ -5959,7 +5891,6 @@ var require_unsupportedIterableToArray = __commonJS({
|
|
|
5959
5891
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/nonIterableSpread.js
|
|
5960
5892
|
var require_nonIterableSpread = __commonJS({
|
|
5961
5893
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/nonIterableSpread.js"(exports$1, module2) {
|
|
5962
|
-
init_esm_shims();
|
|
5963
5894
|
function _nonIterableSpread() {
|
|
5964
5895
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5965
5896
|
}
|
|
@@ -5970,7 +5901,6 @@ var require_nonIterableSpread = __commonJS({
|
|
|
5970
5901
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toConsumableArray.js
|
|
5971
5902
|
var require_toConsumableArray = __commonJS({
|
|
5972
5903
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/toConsumableArray.js"(exports$1, module2) {
|
|
5973
|
-
init_esm_shims();
|
|
5974
5904
|
var arrayWithoutHoles = require_arrayWithoutHoles();
|
|
5975
5905
|
var iterableToArray = require_iterableToArray();
|
|
5976
5906
|
var unsupportedIterableToArray = require_unsupportedIterableToArray();
|
|
@@ -5985,7 +5915,6 @@ var require_toConsumableArray = __commonJS({
|
|
|
5985
5915
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayWithHoles.js
|
|
5986
5916
|
var require_arrayWithHoles = __commonJS({
|
|
5987
5917
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/arrayWithHoles.js"(exports$1, module2) {
|
|
5988
|
-
init_esm_shims();
|
|
5989
5918
|
function _arrayWithHoles(r) {
|
|
5990
5919
|
if (Array.isArray(r)) return r;
|
|
5991
5920
|
}
|
|
@@ -5996,7 +5925,6 @@ var require_arrayWithHoles = __commonJS({
|
|
|
5996
5925
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js
|
|
5997
5926
|
var require_iterableToArrayLimit = __commonJS({
|
|
5998
5927
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"(exports$1, module2) {
|
|
5999
|
-
init_esm_shims();
|
|
6000
5928
|
function _iterableToArrayLimit(r, l) {
|
|
6001
5929
|
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
6002
5930
|
if (null != t) {
|
|
@@ -6025,7 +5953,6 @@ var require_iterableToArrayLimit = __commonJS({
|
|
|
6025
5953
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/nonIterableRest.js
|
|
6026
5954
|
var require_nonIterableRest = __commonJS({
|
|
6027
5955
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/nonIterableRest.js"(exports$1, module2) {
|
|
6028
|
-
init_esm_shims();
|
|
6029
5956
|
function _nonIterableRest() {
|
|
6030
5957
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
6031
5958
|
}
|
|
@@ -6036,7 +5963,6 @@ var require_nonIterableRest = __commonJS({
|
|
|
6036
5963
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/slicedToArray.js
|
|
6037
5964
|
var require_slicedToArray = __commonJS({
|
|
6038
5965
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/slicedToArray.js"(exports$1, module2) {
|
|
6039
|
-
init_esm_shims();
|
|
6040
5966
|
var arrayWithHoles = require_arrayWithHoles();
|
|
6041
5967
|
var iterableToArrayLimit = require_iterableToArrayLimit();
|
|
6042
5968
|
var unsupportedIterableToArray = require_unsupportedIterableToArray();
|
|
@@ -6051,7 +5977,6 @@ var require_slicedToArray = __commonJS({
|
|
|
6051
5977
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/utils.js
|
|
6052
5978
|
var require_utils = __commonJS({
|
|
6053
5979
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/utils.js"(exports$1) {
|
|
6054
|
-
init_esm_shims();
|
|
6055
5980
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6056
5981
|
value: true
|
|
6057
5982
|
});
|
|
@@ -6105,7 +6030,6 @@ var require_utils = __commonJS({
|
|
|
6105
6030
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/classCallCheck.js
|
|
6106
6031
|
var require_classCallCheck = __commonJS({
|
|
6107
6032
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/classCallCheck.js"(exports$1, module2) {
|
|
6108
|
-
init_esm_shims();
|
|
6109
6033
|
function _classCallCheck(a, n) {
|
|
6110
6034
|
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
6111
6035
|
}
|
|
@@ -6116,7 +6040,6 @@ var require_classCallCheck = __commonJS({
|
|
|
6116
6040
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/createClass.js
|
|
6117
6041
|
var require_createClass = __commonJS({
|
|
6118
6042
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/createClass.js"(exports$1, module2) {
|
|
6119
|
-
init_esm_shims();
|
|
6120
6043
|
var toPropertyKey = require_toPropertyKey();
|
|
6121
6044
|
function _defineProperties(e, r) {
|
|
6122
6045
|
for (var t = 0; t < r.length; t++) {
|
|
@@ -6136,7 +6059,6 @@ var require_createClass = __commonJS({
|
|
|
6136
6059
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js
|
|
6137
6060
|
var require_assertThisInitialized = __commonJS({
|
|
6138
6061
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/assertThisInitialized.js"(exports$1, module2) {
|
|
6139
|
-
init_esm_shims();
|
|
6140
6062
|
function _assertThisInitialized(e) {
|
|
6141
6063
|
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6142
6064
|
return e;
|
|
@@ -6148,7 +6070,6 @@ var require_assertThisInitialized = __commonJS({
|
|
|
6148
6070
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js
|
|
6149
6071
|
var require_possibleConstructorReturn = __commonJS({
|
|
6150
6072
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"(exports$1, module2) {
|
|
6151
|
-
init_esm_shims();
|
|
6152
6073
|
var _typeof = require_typeof()["default"];
|
|
6153
6074
|
var assertThisInitialized = require_assertThisInitialized();
|
|
6154
6075
|
function _possibleConstructorReturn(t, e) {
|
|
@@ -6163,7 +6084,6 @@ var require_possibleConstructorReturn = __commonJS({
|
|
|
6163
6084
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/getPrototypeOf.js
|
|
6164
6085
|
var require_getPrototypeOf = __commonJS({
|
|
6165
6086
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/getPrototypeOf.js"(exports$1, module2) {
|
|
6166
|
-
init_esm_shims();
|
|
6167
6087
|
function _getPrototypeOf(t) {
|
|
6168
6088
|
return module2.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
|
|
6169
6089
|
return t2.__proto__ || Object.getPrototypeOf(t2);
|
|
@@ -6176,7 +6096,6 @@ var require_getPrototypeOf = __commonJS({
|
|
|
6176
6096
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/setPrototypeOf.js
|
|
6177
6097
|
var require_setPrototypeOf = __commonJS({
|
|
6178
6098
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/setPrototypeOf.js"(exports$1, module2) {
|
|
6179
|
-
init_esm_shims();
|
|
6180
6099
|
function _setPrototypeOf(t, e) {
|
|
6181
6100
|
return module2.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
6182
6101
|
return t2.__proto__ = e2, t2;
|
|
@@ -6189,7 +6108,6 @@ var require_setPrototypeOf = __commonJS({
|
|
|
6189
6108
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/inherits.js
|
|
6190
6109
|
var require_inherits = __commonJS({
|
|
6191
6110
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/inherits.js"(exports$1, module2) {
|
|
6192
|
-
init_esm_shims();
|
|
6193
6111
|
var setPrototypeOf = require_setPrototypeOf();
|
|
6194
6112
|
function _inherits(t, e) {
|
|
6195
6113
|
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -6210,7 +6128,6 @@ var require_inherits = __commonJS({
|
|
|
6210
6128
|
// ../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js
|
|
6211
6129
|
var require_picocolors = __commonJS({
|
|
6212
6130
|
"../../../node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js"(exports$1, module2) {
|
|
6213
|
-
init_esm_shims();
|
|
6214
6131
|
var p = process || {};
|
|
6215
6132
|
var argv = p.argv || [];
|
|
6216
6133
|
var env = p.env || {};
|
|
@@ -6283,7 +6200,6 @@ var require_picocolors = __commonJS({
|
|
|
6283
6200
|
// ../../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js
|
|
6284
6201
|
var require_js_tokens = __commonJS({
|
|
6285
6202
|
"../../../node_modules/.pnpm/js-tokens@4.0.0/node_modules/js-tokens/index.js"(exports$1) {
|
|
6286
|
-
init_esm_shims();
|
|
6287
6203
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6288
6204
|
value: true
|
|
6289
6205
|
});
|
|
@@ -6306,7 +6222,6 @@ var require_js_tokens = __commonJS({
|
|
|
6306
6222
|
// ../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js
|
|
6307
6223
|
var require_identifier = __commonJS({
|
|
6308
6224
|
"../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/identifier.js"(exports$1) {
|
|
6309
|
-
init_esm_shims();
|
|
6310
6225
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6311
6226
|
value: true
|
|
6312
6227
|
});
|
|
@@ -6379,7 +6294,6 @@ var require_identifier = __commonJS({
|
|
|
6379
6294
|
// ../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js
|
|
6380
6295
|
var require_keyword = __commonJS({
|
|
6381
6296
|
"../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/keyword.js"(exports$1) {
|
|
6382
|
-
init_esm_shims();
|
|
6383
6297
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6384
6298
|
value: true
|
|
6385
6299
|
});
|
|
@@ -6417,7 +6331,6 @@ var require_keyword = __commonJS({
|
|
|
6417
6331
|
// ../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js
|
|
6418
6332
|
var require_lib2 = __commonJS({
|
|
6419
6333
|
"../../../node_modules/.pnpm/@babel+helper-validator-identifier@7.28.5/node_modules/@babel/helper-validator-identifier/lib/index.js"(exports$1) {
|
|
6420
|
-
init_esm_shims();
|
|
6421
6334
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6422
6335
|
value: true
|
|
6423
6336
|
});
|
|
@@ -6477,7 +6390,6 @@ var require_lib2 = __commonJS({
|
|
|
6477
6390
|
// ../../../node_modules/.pnpm/@babel+code-frame@7.28.6/node_modules/@babel/code-frame/lib/index.js
|
|
6478
6391
|
var require_lib3 = __commonJS({
|
|
6479
6392
|
"../../../node_modules/.pnpm/@babel+code-frame@7.28.6/node_modules/@babel/code-frame/lib/index.js"(exports$1) {
|
|
6480
|
-
init_esm_shims();
|
|
6481
6393
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
6482
6394
|
var picocolors = require_picocolors();
|
|
6483
6395
|
var jsTokens = require_js_tokens();
|
|
@@ -6692,7 +6604,6 @@ ${frame}`;
|
|
|
6692
6604
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/utils.js
|
|
6693
6605
|
var require_utils2 = __commonJS({
|
|
6694
6606
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/utils.js"(exports$1) {
|
|
6695
|
-
init_esm_shims();
|
|
6696
6607
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6697
6608
|
value: true
|
|
6698
6609
|
});
|
|
@@ -6710,7 +6621,6 @@ var require_utils2 = __commonJS({
|
|
|
6710
6621
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js
|
|
6711
6622
|
var require_get_decorated_data_path = __commonJS({
|
|
6712
6623
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js"(exports$1, module2) {
|
|
6713
|
-
init_esm_shims();
|
|
6714
6624
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6715
6625
|
value: true
|
|
6716
6626
|
});
|
|
@@ -6760,7 +6670,6 @@ var require_get_decorated_data_path = __commonJS({
|
|
|
6760
6670
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js
|
|
6761
6671
|
var require_get_meta_from_path = __commonJS({
|
|
6762
6672
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js"(exports$1, module2) {
|
|
6763
|
-
init_esm_shims();
|
|
6764
6673
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6765
6674
|
value: true
|
|
6766
6675
|
});
|
|
@@ -6795,7 +6704,6 @@ var require_get_meta_from_path = __commonJS({
|
|
|
6795
6704
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/index.js
|
|
6796
6705
|
var require_json3 = __commonJS({
|
|
6797
6706
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/json/index.js"(exports$1) {
|
|
6798
|
-
init_esm_shims();
|
|
6799
6707
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
6800
6708
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6801
6709
|
value: true
|
|
@@ -6820,7 +6728,6 @@ var require_json3 = __commonJS({
|
|
|
6820
6728
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js
|
|
6821
6729
|
var require_base = __commonJS({
|
|
6822
6730
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js"(exports$1, module2) {
|
|
6823
|
-
init_esm_shims();
|
|
6824
6731
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
6825
6732
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6826
6733
|
value: true
|
|
@@ -6926,7 +6833,6 @@ var require_base = __commonJS({
|
|
|
6926
6833
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js
|
|
6927
6834
|
var require_additional_prop = __commonJS({
|
|
6928
6835
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js"(exports$1, module2) {
|
|
6929
|
-
init_esm_shims();
|
|
6930
6836
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
6931
6837
|
Object.defineProperty(exports$1, "__esModule", {
|
|
6932
6838
|
value: true
|
|
@@ -7012,7 +6918,6 @@ var require_additional_prop = __commonJS({
|
|
|
7012
6918
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js
|
|
7013
6919
|
var require_default2 = __commonJS({
|
|
7014
6920
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js"(exports$1, module2) {
|
|
7015
|
-
init_esm_shims();
|
|
7016
6921
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7017
6922
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7018
6923
|
value: true
|
|
@@ -7098,7 +7003,6 @@ var require_default2 = __commonJS({
|
|
|
7098
7003
|
// ../../../node_modules/.pnpm/jsonpointer@5.0.1/node_modules/jsonpointer/jsonpointer.js
|
|
7099
7004
|
var require_jsonpointer = __commonJS({
|
|
7100
7005
|
"../../../node_modules/.pnpm/jsonpointer@5.0.1/node_modules/jsonpointer/jsonpointer.js"(exports$1) {
|
|
7101
|
-
init_esm_shims();
|
|
7102
7006
|
var hasExcape = /~/;
|
|
7103
7007
|
var escapeMatcher = /~[01]/g;
|
|
7104
7008
|
function escapeReplacer(m) {
|
|
@@ -7190,7 +7094,6 @@ var require_jsonpointer = __commonJS({
|
|
|
7190
7094
|
// ../../../node_modules/.pnpm/leven@3.1.0/node_modules/leven/index.js
|
|
7191
7095
|
var require_leven = __commonJS({
|
|
7192
7096
|
"../../../node_modules/.pnpm/leven@3.1.0/node_modules/leven/index.js"(exports$1, module2) {
|
|
7193
|
-
init_esm_shims();
|
|
7194
7097
|
var array = [];
|
|
7195
7098
|
var charCodeCache = [];
|
|
7196
7099
|
var leven = (left, right) => {
|
|
@@ -7247,7 +7150,6 @@ var require_leven = __commonJS({
|
|
|
7247
7150
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js
|
|
7248
7151
|
var require_enum = __commonJS({
|
|
7249
7152
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js"(exports$1, module2) {
|
|
7250
|
-
init_esm_shims();
|
|
7251
7153
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7252
7154
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7253
7155
|
value: true
|
|
@@ -7359,7 +7261,6 @@ var require_enum = __commonJS({
|
|
|
7359
7261
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js
|
|
7360
7262
|
var require_pattern = __commonJS({
|
|
7361
7263
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js"(exports$1, module2) {
|
|
7362
|
-
init_esm_shims();
|
|
7363
7264
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7364
7265
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7365
7266
|
value: true
|
|
@@ -7445,7 +7346,6 @@ var require_pattern = __commonJS({
|
|
|
7445
7346
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/superPropBase.js
|
|
7446
7347
|
var require_superPropBase = __commonJS({
|
|
7447
7348
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/superPropBase.js"(exports$1, module2) {
|
|
7448
|
-
init_esm_shims();
|
|
7449
7349
|
var getPrototypeOf = require_getPrototypeOf();
|
|
7450
7350
|
function _superPropBase(t, o) {
|
|
7451
7351
|
for (; !{}.hasOwnProperty.call(t, o) && null !== (t = getPrototypeOf(t)); ) ;
|
|
@@ -7458,7 +7358,6 @@ var require_superPropBase = __commonJS({
|
|
|
7458
7358
|
// ../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/get.js
|
|
7459
7359
|
var require_get = __commonJS({
|
|
7460
7360
|
"../../../node_modules/.pnpm/@babel+runtime@7.28.6/node_modules/@babel/runtime/helpers/get.js"(exports$1, module2) {
|
|
7461
|
-
init_esm_shims();
|
|
7462
7361
|
var superPropBase = require_superPropBase();
|
|
7463
7362
|
function _get() {
|
|
7464
7363
|
return module2.exports = _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function(e, t, r) {
|
|
@@ -7476,7 +7375,6 @@ var require_get = __commonJS({
|
|
|
7476
7375
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js
|
|
7477
7376
|
var require_required = __commonJS({
|
|
7478
7377
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js"(exports$1, module2) {
|
|
7479
|
-
init_esm_shims();
|
|
7480
7378
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7481
7379
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7482
7380
|
value: true
|
|
@@ -7577,7 +7475,6 @@ var require_required = __commonJS({
|
|
|
7577
7475
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js
|
|
7578
7476
|
var require_unevaluated_prop = __commonJS({
|
|
7579
7477
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js"(exports$1, module2) {
|
|
7580
|
-
init_esm_shims();
|
|
7581
7478
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7582
7479
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7583
7480
|
value: true
|
|
@@ -7663,7 +7560,6 @@ var require_unevaluated_prop = __commonJS({
|
|
|
7663
7560
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js
|
|
7664
7561
|
var require_validation_errors = __commonJS({
|
|
7665
7562
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js"(exports$1) {
|
|
7666
|
-
init_esm_shims();
|
|
7667
7563
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7668
7564
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7669
7565
|
value: true
|
|
@@ -7716,7 +7612,6 @@ var require_validation_errors = __commonJS({
|
|
|
7716
7612
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/helpers.js
|
|
7717
7613
|
var require_helpers = __commonJS({
|
|
7718
7614
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/helpers.js"(exports$1) {
|
|
7719
|
-
init_esm_shims();
|
|
7720
7615
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7721
7616
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7722
7617
|
value: true
|
|
@@ -7761,15 +7656,15 @@ var require_helpers = __commonJS({
|
|
|
7761
7656
|
var instancePath = typeof ajvError.instancePath !== "undefined" ? ajvError.instancePath : ajvError.dataPath;
|
|
7762
7657
|
var paths = instancePath === "" ? [""] : instancePath.match(JSON_POINTERS_REGEX);
|
|
7763
7658
|
if (paths) {
|
|
7764
|
-
paths.reduce(function(obj,
|
|
7765
|
-
obj.children[
|
|
7659
|
+
paths.reduce(function(obj, path, i) {
|
|
7660
|
+
obj.children[path] = obj.children[path] || {
|
|
7766
7661
|
children: {},
|
|
7767
7662
|
errors: []
|
|
7768
7663
|
};
|
|
7769
7664
|
if (i === paths.length - 1) {
|
|
7770
|
-
obj.children[
|
|
7665
|
+
obj.children[path].errors.push(ajvError);
|
|
7771
7666
|
}
|
|
7772
|
-
return obj.children[
|
|
7667
|
+
return obj.children[path];
|
|
7773
7668
|
}, root);
|
|
7774
7669
|
}
|
|
7775
7670
|
});
|
|
@@ -7840,7 +7735,6 @@ var require_helpers = __commonJS({
|
|
|
7840
7735
|
// ../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/index.js
|
|
7841
7736
|
var require_lib4 = __commonJS({
|
|
7842
7737
|
"../../../node_modules/.pnpm/@readme+better-ajv-errors@2.4.0_ajv@8.17.1/node_modules/@readme/better-ajv-errors/lib/index.js"(exports$1, module2) {
|
|
7843
|
-
init_esm_shims();
|
|
7844
7738
|
var _interopRequireDefault = require_interopRequireDefault();
|
|
7845
7739
|
Object.defineProperty(exports$1, "__esModule", {
|
|
7846
7740
|
value: true
|
|
@@ -7884,7 +7778,6 @@ var require_lib4 = __commonJS({
|
|
|
7884
7778
|
// ../../../node_modules/.pnpm/@readme+openapi-schemas@3.1.0/node_modules/@readme/openapi-schemas/dist/index.js
|
|
7885
7779
|
var require_dist = __commonJS({
|
|
7886
7780
|
"../../../node_modules/.pnpm/@readme+openapi-schemas@3.1.0/node_modules/@readme/openapi-schemas/dist/index.js"(exports$1) {
|
|
7887
|
-
init_esm_shims();
|
|
7888
7781
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
7889
7782
|
var apiDeclaration_default = {
|
|
7890
7783
|
id: "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v1.2/apiDeclaration.json#",
|
|
@@ -14031,7 +13924,6 @@ var require_dist = __commonJS({
|
|
|
14031
13924
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js
|
|
14032
13925
|
var require_code = __commonJS({
|
|
14033
13926
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/code.js"(exports$1) {
|
|
14034
|
-
init_esm_shims();
|
|
14035
13927
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
14036
13928
|
exports$1.regexpCode = exports$1.getEsmExportName = exports$1.getProperty = exports$1.safeStringify = exports$1.stringify = exports$1.strConcat = exports$1.addCodeArg = exports$1.str = exports$1._ = exports$1.nil = exports$1._Code = exports$1.Name = exports$1.IDENTIFIER = exports$1._CodeOrName = void 0;
|
|
14037
13929
|
var _CodeOrName = class {
|
|
@@ -14185,7 +14077,6 @@ var require_code = __commonJS({
|
|
|
14185
14077
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js
|
|
14186
14078
|
var require_scope = __commonJS({
|
|
14187
14079
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/scope.js"(exports$1) {
|
|
14188
|
-
init_esm_shims();
|
|
14189
14080
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
14190
14081
|
exports$1.ValueScope = exports$1.ValueScopeName = exports$1.Scope = exports$1.varKinds = exports$1.UsedValueState = void 0;
|
|
14191
14082
|
var code_1 = require_code();
|
|
@@ -14330,7 +14221,6 @@ var require_scope = __commonJS({
|
|
|
14330
14221
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js
|
|
14331
14222
|
var require_codegen = __commonJS({
|
|
14332
14223
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/codegen/index.js"(exports$1) {
|
|
14333
|
-
init_esm_shims();
|
|
14334
14224
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
14335
14225
|
exports$1.or = exports$1.and = exports$1.not = exports$1.CodeGen = exports$1.operators = exports$1.varKinds = exports$1.ValueScopeName = exports$1.ValueScope = exports$1.Scope = exports$1.Name = exports$1.regexpCode = exports$1.stringify = exports$1.getProperty = exports$1.nil = exports$1.strConcat = exports$1.str = exports$1._ = void 0;
|
|
14336
14226
|
var code_1 = require_code();
|
|
@@ -15050,7 +14940,6 @@ var require_codegen = __commonJS({
|
|
|
15050
14940
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js
|
|
15051
14941
|
var require_util2 = __commonJS({
|
|
15052
14942
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/util.js"(exports$1) {
|
|
15053
|
-
init_esm_shims();
|
|
15054
14943
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15055
14944
|
exports$1.checkStrictMode = exports$1.getErrorPath = exports$1.Type = exports$1.useFunc = exports$1.setEvaluated = exports$1.evaluatedPropsToName = exports$1.mergeEvaluated = exports$1.eachItem = exports$1.unescapeJsonPointer = exports$1.escapeJsonPointer = exports$1.escapeFragment = exports$1.unescapeFragment = exports$1.schemaRefOrVal = exports$1.schemaHasRulesButRef = exports$1.schemaHasRules = exports$1.checkUnknownRules = exports$1.alwaysValidSchema = exports$1.toHash = void 0;
|
|
15056
14945
|
var codegen_1 = require_codegen();
|
|
@@ -15217,7 +15106,6 @@ var require_util2 = __commonJS({
|
|
|
15217
15106
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js
|
|
15218
15107
|
var require_names = __commonJS({
|
|
15219
15108
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/names.js"(exports$1) {
|
|
15220
|
-
init_esm_shims();
|
|
15221
15109
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15222
15110
|
var codegen_1 = require_codegen();
|
|
15223
15111
|
var names = {
|
|
@@ -15256,7 +15144,6 @@ var require_names = __commonJS({
|
|
|
15256
15144
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js
|
|
15257
15145
|
var require_errors2 = __commonJS({
|
|
15258
15146
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/errors.js"(exports$1) {
|
|
15259
|
-
init_esm_shims();
|
|
15260
15147
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15261
15148
|
exports$1.extendErrors = exports$1.resetErrorsCount = exports$1.reportExtraError = exports$1.reportError = exports$1.keyword$DataError = exports$1.keywordError = void 0;
|
|
15262
15149
|
var codegen_1 = require_codegen();
|
|
@@ -15378,7 +15265,6 @@ var require_errors2 = __commonJS({
|
|
|
15378
15265
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
15379
15266
|
var require_boolSchema = __commonJS({
|
|
15380
15267
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports$1) {
|
|
15381
|
-
init_esm_shims();
|
|
15382
15268
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15383
15269
|
exports$1.boolOrEmptySchema = exports$1.topBoolOrEmptySchema = void 0;
|
|
15384
15270
|
var errors_1 = require_errors2();
|
|
@@ -15429,7 +15315,6 @@ var require_boolSchema = __commonJS({
|
|
|
15429
15315
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js
|
|
15430
15316
|
var require_rules = __commonJS({
|
|
15431
15317
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/rules.js"(exports$1) {
|
|
15432
|
-
init_esm_shims();
|
|
15433
15318
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15434
15319
|
exports$1.getRules = exports$1.isJSONType = void 0;
|
|
15435
15320
|
var _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
|
|
@@ -15460,7 +15345,6 @@ var require_rules = __commonJS({
|
|
|
15460
15345
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js
|
|
15461
15346
|
var require_applicability = __commonJS({
|
|
15462
15347
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/applicability.js"(exports$1) {
|
|
15463
|
-
init_esm_shims();
|
|
15464
15348
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15465
15349
|
exports$1.shouldUseRule = exports$1.shouldUseGroup = exports$1.schemaHasRulesForType = void 0;
|
|
15466
15350
|
function schemaHasRulesForType({ schema, self }, type) {
|
|
@@ -15483,7 +15367,6 @@ var require_applicability = __commonJS({
|
|
|
15483
15367
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js
|
|
15484
15368
|
var require_dataType = __commonJS({
|
|
15485
15369
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/dataType.js"(exports$1) {
|
|
15486
|
-
init_esm_shims();
|
|
15487
15370
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15488
15371
|
exports$1.reportTypeError = exports$1.checkDataTypes = exports$1.checkDataType = exports$1.coerceAndCheckDataType = exports$1.getJSONTypes = exports$1.getSchemaTypes = exports$1.DataType = void 0;
|
|
15489
15372
|
var rules_1 = require_rules();
|
|
@@ -15667,7 +15550,6 @@ var require_dataType = __commonJS({
|
|
|
15667
15550
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js
|
|
15668
15551
|
var require_defaults = __commonJS({
|
|
15669
15552
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/defaults.js"(exports$1) {
|
|
15670
|
-
init_esm_shims();
|
|
15671
15553
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15672
15554
|
exports$1.assignDefaults = void 0;
|
|
15673
15555
|
var codegen_1 = require_codegen();
|
|
@@ -15704,7 +15586,6 @@ var require_defaults = __commonJS({
|
|
|
15704
15586
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js
|
|
15705
15587
|
var require_code2 = __commonJS({
|
|
15706
15588
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/code.js"(exports$1) {
|
|
15707
|
-
init_esm_shims();
|
|
15708
15589
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15709
15590
|
exports$1.validateUnion = exports$1.validateArray = exports$1.usePattern = exports$1.callValidateCode = exports$1.schemaProperties = exports$1.allSchemaProperties = exports$1.noPropertyInData = exports$1.propertyInData = exports$1.isOwnProperty = exports$1.hasPropFunc = exports$1.reportMissingProp = exports$1.checkMissingProp = exports$1.checkReportMissingProp = void 0;
|
|
15710
15591
|
var codegen_1 = require_codegen();
|
|
@@ -15837,7 +15718,6 @@ var require_code2 = __commonJS({
|
|
|
15837
15718
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js
|
|
15838
15719
|
var require_keyword2 = __commonJS({
|
|
15839
15720
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/keyword.js"(exports$1) {
|
|
15840
|
-
init_esm_shims();
|
|
15841
15721
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15842
15722
|
exports$1.validateKeywordUsage = exports$1.validSchemaType = exports$1.funcKeywordCode = exports$1.macroKeywordCode = void 0;
|
|
15843
15723
|
var codegen_1 = require_codegen();
|
|
@@ -15955,7 +15835,6 @@ var require_keyword2 = __commonJS({
|
|
|
15955
15835
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js
|
|
15956
15836
|
var require_subschema = __commonJS({
|
|
15957
15837
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/subschema.js"(exports$1) {
|
|
15958
|
-
init_esm_shims();
|
|
15959
15838
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
15960
15839
|
exports$1.extendSubschemaMode = exports$1.extendSubschemaData = exports$1.getSubschema = void 0;
|
|
15961
15840
|
var codegen_1 = require_codegen();
|
|
@@ -16038,7 +15917,6 @@ var require_subschema = __commonJS({
|
|
|
16038
15917
|
// ../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
16039
15918
|
var require_fast_deep_equal = __commonJS({
|
|
16040
15919
|
"../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports$1, module2) {
|
|
16041
|
-
init_esm_shims();
|
|
16042
15920
|
module2.exports = function equal(a, b) {
|
|
16043
15921
|
if (a === b) return true;
|
|
16044
15922
|
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
@@ -16073,7 +15951,6 @@ var require_fast_deep_equal = __commonJS({
|
|
|
16073
15951
|
// ../../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
16074
15952
|
var require_json_schema_traverse = __commonJS({
|
|
16075
15953
|
"../../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports$1, module2) {
|
|
16076
|
-
init_esm_shims();
|
|
16077
15954
|
var traverse = module2.exports = function(schema, opts, cb) {
|
|
16078
15955
|
if (typeof opts == "function") {
|
|
16079
15956
|
cb = opts;
|
|
@@ -16161,7 +16038,6 @@ var require_json_schema_traverse = __commonJS({
|
|
|
16161
16038
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js
|
|
16162
16039
|
var require_resolve = __commonJS({
|
|
16163
16040
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/resolve.js"(exports$1) {
|
|
16164
|
-
init_esm_shims();
|
|
16165
16041
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16166
16042
|
exports$1.getSchemaRefs = exports$1.resolveUrl = exports$1.normalizeId = exports$1._getFullPath = exports$1.getFullPath = exports$1.inlineRef = void 0;
|
|
16167
16043
|
var util_1 = require_util2();
|
|
@@ -16317,7 +16193,6 @@ var require_resolve = __commonJS({
|
|
|
16317
16193
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js
|
|
16318
16194
|
var require_validate = __commonJS({
|
|
16319
16195
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/validate/index.js"(exports$1) {
|
|
16320
|
-
init_esm_shims();
|
|
16321
16196
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16322
16197
|
exports$1.getData = exports$1.KeywordCxt = exports$1.validateFunctionCode = void 0;
|
|
16323
16198
|
var boolSchema_1 = require_boolSchema();
|
|
@@ -16824,7 +16699,6 @@ var require_validate = __commonJS({
|
|
|
16824
16699
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js
|
|
16825
16700
|
var require_validation_error = __commonJS({
|
|
16826
16701
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/validation_error.js"(exports$1) {
|
|
16827
|
-
init_esm_shims();
|
|
16828
16702
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16829
16703
|
var ValidationError = class extends Error {
|
|
16830
16704
|
constructor(errors) {
|
|
@@ -16840,7 +16714,6 @@ var require_validation_error = __commonJS({
|
|
|
16840
16714
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js
|
|
16841
16715
|
var require_ref_error = __commonJS({
|
|
16842
16716
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/ref_error.js"(exports$1) {
|
|
16843
|
-
init_esm_shims();
|
|
16844
16717
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16845
16718
|
var resolve_1 = require_resolve();
|
|
16846
16719
|
var MissingRefError = class extends Error {
|
|
@@ -16857,7 +16730,6 @@ var require_ref_error = __commonJS({
|
|
|
16857
16730
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js
|
|
16858
16731
|
var require_compile = __commonJS({
|
|
16859
16732
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/compile/index.js"(exports$1) {
|
|
16860
|
-
init_esm_shims();
|
|
16861
16733
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
16862
16734
|
exports$1.resolveSchema = exports$1.getCompilingSchema = exports$1.resolveRef = exports$1.compileSchema = exports$1.SchemaEnv = void 0;
|
|
16863
16735
|
var codegen_1 = require_codegen();
|
|
@@ -17100,7 +16972,6 @@ var require_data = __commonJS({
|
|
|
17100
16972
|
// ../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
17101
16973
|
var require_utils3 = __commonJS({
|
|
17102
16974
|
"../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js"(exports$1, module2) {
|
|
17103
|
-
init_esm_shims();
|
|
17104
16975
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
17105
16976
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
17106
16977
|
function stringArrayToHexStripped(input) {
|
|
@@ -17220,8 +17091,8 @@ var require_utils3 = __commonJS({
|
|
|
17220
17091
|
}
|
|
17221
17092
|
return ind;
|
|
17222
17093
|
}
|
|
17223
|
-
function removeDotSegments(
|
|
17224
|
-
let input =
|
|
17094
|
+
function removeDotSegments(path) {
|
|
17095
|
+
let input = path;
|
|
17225
17096
|
const output = [];
|
|
17226
17097
|
let nextSlash = -1;
|
|
17227
17098
|
let len = 0;
|
|
@@ -17357,7 +17228,6 @@ var require_utils3 = __commonJS({
|
|
|
17357
17228
|
// ../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
17358
17229
|
var require_schemes = __commonJS({
|
|
17359
17230
|
"../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js"(exports$1, module2) {
|
|
17360
|
-
init_esm_shims();
|
|
17361
17231
|
var { isUUID } = require_utils3();
|
|
17362
17232
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
17363
17233
|
var supportedSchemeNames = (
|
|
@@ -17420,8 +17290,8 @@ var require_schemes = __commonJS({
|
|
|
17420
17290
|
wsComponent.secure = void 0;
|
|
17421
17291
|
}
|
|
17422
17292
|
if (wsComponent.resourceName) {
|
|
17423
|
-
const [
|
|
17424
|
-
wsComponent.path =
|
|
17293
|
+
const [path, query] = wsComponent.resourceName.split("?");
|
|
17294
|
+
wsComponent.path = path && path !== "/" ? path : void 0;
|
|
17425
17295
|
wsComponent.query = query;
|
|
17426
17296
|
wsComponent.resourceName = void 0;
|
|
17427
17297
|
}
|
|
@@ -17567,7 +17437,6 @@ var require_schemes = __commonJS({
|
|
|
17567
17437
|
// ../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
17568
17438
|
var require_fast_uri = __commonJS({
|
|
17569
17439
|
"../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js"(exports$1, module2) {
|
|
17570
|
-
init_esm_shims();
|
|
17571
17440
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils3();
|
|
17572
17441
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
17573
17442
|
function normalize(uri, options) {
|
|
@@ -17822,7 +17691,6 @@ var require_fast_uri = __commonJS({
|
|
|
17822
17691
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js
|
|
17823
17692
|
var require_uri = __commonJS({
|
|
17824
17693
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/uri.js"(exports$1) {
|
|
17825
|
-
init_esm_shims();
|
|
17826
17694
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
17827
17695
|
var uri = require_fast_uri();
|
|
17828
17696
|
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
@@ -17833,7 +17701,6 @@ var require_uri = __commonJS({
|
|
|
17833
17701
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js
|
|
17834
17702
|
var require_core2 = __commonJS({
|
|
17835
17703
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/core.js"(exports$1) {
|
|
17836
|
-
init_esm_shims();
|
|
17837
17704
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
17838
17705
|
exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = void 0;
|
|
17839
17706
|
var validate_1 = require_validate();
|
|
@@ -18444,7 +18311,6 @@ var require_core2 = __commonJS({
|
|
|
18444
18311
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js
|
|
18445
18312
|
var require_id = __commonJS({
|
|
18446
18313
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/id.js"(exports$1) {
|
|
18447
|
-
init_esm_shims();
|
|
18448
18314
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18449
18315
|
var def = {
|
|
18450
18316
|
keyword: "id",
|
|
@@ -18459,7 +18325,6 @@ var require_id = __commonJS({
|
|
|
18459
18325
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
18460
18326
|
var require_ref2 = __commonJS({
|
|
18461
18327
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/ref.js"(exports$1) {
|
|
18462
|
-
init_esm_shims();
|
|
18463
18328
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18464
18329
|
exports$1.callRef = exports$1.getValidate = void 0;
|
|
18465
18330
|
var ref_error_1 = require_ref_error();
|
|
@@ -18581,7 +18446,6 @@ var require_ref2 = __commonJS({
|
|
|
18581
18446
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js
|
|
18582
18447
|
var require_core3 = __commonJS({
|
|
18583
18448
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/core/index.js"(exports$1) {
|
|
18584
|
-
init_esm_shims();
|
|
18585
18449
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18586
18450
|
var id_1 = require_id();
|
|
18587
18451
|
var ref_1 = require_ref2();
|
|
@@ -18602,7 +18466,6 @@ var require_core3 = __commonJS({
|
|
|
18602
18466
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
18603
18467
|
var require_limitNumber = __commonJS({
|
|
18604
18468
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports$1) {
|
|
18605
|
-
init_esm_shims();
|
|
18606
18469
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18607
18470
|
var codegen_1 = require_codegen();
|
|
18608
18471
|
var ops = codegen_1.operators;
|
|
@@ -18634,7 +18497,6 @@ var require_limitNumber = __commonJS({
|
|
|
18634
18497
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
18635
18498
|
var require_multipleOf = __commonJS({
|
|
18636
18499
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports$1) {
|
|
18637
|
-
init_esm_shims();
|
|
18638
18500
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18639
18501
|
var codegen_1 = require_codegen();
|
|
18640
18502
|
var error = {
|
|
@@ -18662,7 +18524,6 @@ var require_multipleOf = __commonJS({
|
|
|
18662
18524
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js
|
|
18663
18525
|
var require_ucs2length = __commonJS({
|
|
18664
18526
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/ucs2length.js"(exports$1) {
|
|
18665
|
-
init_esm_shims();
|
|
18666
18527
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18667
18528
|
function ucs2length(str) {
|
|
18668
18529
|
const len = str.length;
|
|
@@ -18688,7 +18549,6 @@ var require_ucs2length = __commonJS({
|
|
|
18688
18549
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
18689
18550
|
var require_limitLength = __commonJS({
|
|
18690
18551
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports$1) {
|
|
18691
|
-
init_esm_shims();
|
|
18692
18552
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18693
18553
|
var codegen_1 = require_codegen();
|
|
18694
18554
|
var util_1 = require_util2();
|
|
@@ -18720,7 +18580,6 @@ var require_limitLength = __commonJS({
|
|
|
18720
18580
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
18721
18581
|
var require_pattern2 = __commonJS({
|
|
18722
18582
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports$1) {
|
|
18723
|
-
init_esm_shims();
|
|
18724
18583
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18725
18584
|
var code_1 = require_code2();
|
|
18726
18585
|
var codegen_1 = require_codegen();
|
|
@@ -18748,7 +18607,6 @@ var require_pattern2 = __commonJS({
|
|
|
18748
18607
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
18749
18608
|
var require_limitProperties = __commonJS({
|
|
18750
18609
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports$1) {
|
|
18751
|
-
init_esm_shims();
|
|
18752
18610
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18753
18611
|
var codegen_1 = require_codegen();
|
|
18754
18612
|
var error = {
|
|
@@ -18777,7 +18635,6 @@ var require_limitProperties = __commonJS({
|
|
|
18777
18635
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
18778
18636
|
var require_required2 = __commonJS({
|
|
18779
18637
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/required.js"(exports$1) {
|
|
18780
|
-
init_esm_shims();
|
|
18781
18638
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18782
18639
|
var code_1 = require_code2();
|
|
18783
18640
|
var codegen_1 = require_codegen();
|
|
@@ -18859,7 +18716,6 @@ var require_required2 = __commonJS({
|
|
|
18859
18716
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
18860
18717
|
var require_limitItems = __commonJS({
|
|
18861
18718
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports$1) {
|
|
18862
|
-
init_esm_shims();
|
|
18863
18719
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18864
18720
|
var codegen_1 = require_codegen();
|
|
18865
18721
|
var error = {
|
|
@@ -18888,7 +18744,6 @@ var require_limitItems = __commonJS({
|
|
|
18888
18744
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js
|
|
18889
18745
|
var require_equal = __commonJS({
|
|
18890
18746
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/runtime/equal.js"(exports$1) {
|
|
18891
|
-
init_esm_shims();
|
|
18892
18747
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18893
18748
|
var equal = require_fast_deep_equal();
|
|
18894
18749
|
equal.code = 'require("ajv/dist/runtime/equal").default';
|
|
@@ -18899,7 +18754,6 @@ var require_equal = __commonJS({
|
|
|
18899
18754
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
18900
18755
|
var require_uniqueItems = __commonJS({
|
|
18901
18756
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports$1) {
|
|
18902
|
-
init_esm_shims();
|
|
18903
18757
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18904
18758
|
var dataType_1 = require_dataType();
|
|
18905
18759
|
var codegen_1 = require_codegen();
|
|
@@ -18966,7 +18820,6 @@ var require_uniqueItems = __commonJS({
|
|
|
18966
18820
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
18967
18821
|
var require_const = __commonJS({
|
|
18968
18822
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/const.js"(exports$1) {
|
|
18969
|
-
init_esm_shims();
|
|
18970
18823
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
18971
18824
|
var codegen_1 = require_codegen();
|
|
18972
18825
|
var util_1 = require_util2();
|
|
@@ -18995,7 +18848,6 @@ var require_const = __commonJS({
|
|
|
18995
18848
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
18996
18849
|
var require_enum2 = __commonJS({
|
|
18997
18850
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports$1) {
|
|
18998
|
-
init_esm_shims();
|
|
18999
18851
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19000
18852
|
var codegen_1 = require_codegen();
|
|
19001
18853
|
var util_1 = require_util2();
|
|
@@ -19044,7 +18896,6 @@ var require_enum2 = __commonJS({
|
|
|
19044
18896
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
19045
18897
|
var require_validation = __commonJS({
|
|
19046
18898
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/index.js"(exports$1) {
|
|
19047
|
-
init_esm_shims();
|
|
19048
18899
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19049
18900
|
var limitNumber_1 = require_limitNumber();
|
|
19050
18901
|
var multipleOf_1 = require_multipleOf();
|
|
@@ -19082,7 +18933,6 @@ var require_validation = __commonJS({
|
|
|
19082
18933
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
19083
18934
|
var require_additionalItems = __commonJS({
|
|
19084
18935
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports$1) {
|
|
19085
|
-
init_esm_shims();
|
|
19086
18936
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19087
18937
|
exports$1.validateAdditionalItems = void 0;
|
|
19088
18938
|
var codegen_1 = require_codegen();
|
|
@@ -19135,7 +18985,6 @@ var require_additionalItems = __commonJS({
|
|
|
19135
18985
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
19136
18986
|
var require_items = __commonJS({
|
|
19137
18987
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports$1) {
|
|
19138
|
-
init_esm_shims();
|
|
19139
18988
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19140
18989
|
exports$1.validateTuple = void 0;
|
|
19141
18990
|
var codegen_1 = require_codegen();
|
|
@@ -19192,7 +19041,6 @@ var require_items = __commonJS({
|
|
|
19192
19041
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
19193
19042
|
var require_prefixItems = __commonJS({
|
|
19194
19043
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports$1) {
|
|
19195
|
-
init_esm_shims();
|
|
19196
19044
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19197
19045
|
var items_1 = require_items();
|
|
19198
19046
|
var def = {
|
|
@@ -19209,7 +19057,6 @@ var require_prefixItems = __commonJS({
|
|
|
19209
19057
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
19210
19058
|
var require_items2020 = __commonJS({
|
|
19211
19059
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports$1) {
|
|
19212
|
-
init_esm_shims();
|
|
19213
19060
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19214
19061
|
var codegen_1 = require_codegen();
|
|
19215
19062
|
var util_1 = require_util2();
|
|
@@ -19244,7 +19091,6 @@ var require_items2020 = __commonJS({
|
|
|
19244
19091
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
19245
19092
|
var require_contains = __commonJS({
|
|
19246
19093
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports$1) {
|
|
19247
|
-
init_esm_shims();
|
|
19248
19094
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19249
19095
|
var codegen_1 = require_codegen();
|
|
19250
19096
|
var util_1 = require_util2();
|
|
@@ -19338,7 +19184,6 @@ var require_contains = __commonJS({
|
|
|
19338
19184
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
19339
19185
|
var require_dependencies = __commonJS({
|
|
19340
19186
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports$1) {
|
|
19341
|
-
init_esm_shims();
|
|
19342
19187
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19343
19188
|
exports$1.validateSchemaDeps = exports$1.validatePropertyDeps = exports$1.error = void 0;
|
|
19344
19189
|
var codegen_1 = require_codegen();
|
|
@@ -19432,7 +19277,6 @@ var require_dependencies = __commonJS({
|
|
|
19432
19277
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
19433
19278
|
var require_propertyNames = __commonJS({
|
|
19434
19279
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports$1) {
|
|
19435
|
-
init_esm_shims();
|
|
19436
19280
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19437
19281
|
var codegen_1 = require_codegen();
|
|
19438
19282
|
var util_1 = require_util2();
|
|
@@ -19475,7 +19319,6 @@ var require_propertyNames = __commonJS({
|
|
|
19475
19319
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
19476
19320
|
var require_additionalProperties = __commonJS({
|
|
19477
19321
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports$1) {
|
|
19478
|
-
init_esm_shims();
|
|
19479
19322
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19480
19323
|
var code_1 = require_code2();
|
|
19481
19324
|
var codegen_1 = require_codegen();
|
|
@@ -19581,7 +19424,6 @@ var require_additionalProperties = __commonJS({
|
|
|
19581
19424
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
19582
19425
|
var require_properties = __commonJS({
|
|
19583
19426
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports$1) {
|
|
19584
|
-
init_esm_shims();
|
|
19585
19427
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19586
19428
|
var validate_1 = require_validate();
|
|
19587
19429
|
var code_1 = require_code2();
|
|
@@ -19639,7 +19481,6 @@ var require_properties = __commonJS({
|
|
|
19639
19481
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
19640
19482
|
var require_patternProperties = __commonJS({
|
|
19641
19483
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports$1) {
|
|
19642
|
-
init_esm_shims();
|
|
19643
19484
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19644
19485
|
var code_1 = require_code2();
|
|
19645
19486
|
var codegen_1 = require_codegen();
|
|
@@ -19713,7 +19554,6 @@ var require_patternProperties = __commonJS({
|
|
|
19713
19554
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
19714
19555
|
var require_not = __commonJS({
|
|
19715
19556
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports$1) {
|
|
19716
|
-
init_esm_shims();
|
|
19717
19557
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19718
19558
|
var util_1 = require_util2();
|
|
19719
19559
|
var def = {
|
|
@@ -19744,7 +19584,6 @@ var require_not = __commonJS({
|
|
|
19744
19584
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
19745
19585
|
var require_anyOf = __commonJS({
|
|
19746
19586
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports$1) {
|
|
19747
|
-
init_esm_shims();
|
|
19748
19587
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19749
19588
|
var code_1 = require_code2();
|
|
19750
19589
|
var def = {
|
|
@@ -19761,7 +19600,6 @@ var require_anyOf = __commonJS({
|
|
|
19761
19600
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
19762
19601
|
var require_oneOf = __commonJS({
|
|
19763
19602
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports$1) {
|
|
19764
|
-
init_esm_shims();
|
|
19765
19603
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19766
19604
|
var codegen_1 = require_codegen();
|
|
19767
19605
|
var util_1 = require_util2();
|
|
@@ -19819,7 +19657,6 @@ var require_oneOf = __commonJS({
|
|
|
19819
19657
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
19820
19658
|
var require_allOf = __commonJS({
|
|
19821
19659
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports$1) {
|
|
19822
|
-
init_esm_shims();
|
|
19823
19660
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19824
19661
|
var util_1 = require_util2();
|
|
19825
19662
|
var def = {
|
|
@@ -19846,7 +19683,6 @@ var require_allOf = __commonJS({
|
|
|
19846
19683
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
19847
19684
|
var require_if = __commonJS({
|
|
19848
19685
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports$1) {
|
|
19849
|
-
init_esm_shims();
|
|
19850
19686
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19851
19687
|
var codegen_1 = require_codegen();
|
|
19852
19688
|
var util_1 = require_util2();
|
|
@@ -19915,7 +19751,6 @@ var require_if = __commonJS({
|
|
|
19915
19751
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
19916
19752
|
var require_thenElse = __commonJS({
|
|
19917
19753
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports$1) {
|
|
19918
|
-
init_esm_shims();
|
|
19919
19754
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19920
19755
|
var util_1 = require_util2();
|
|
19921
19756
|
var def = {
|
|
@@ -19933,7 +19768,6 @@ var require_thenElse = __commonJS({
|
|
|
19933
19768
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
19934
19769
|
var require_applicator = __commonJS({
|
|
19935
19770
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports$1) {
|
|
19936
|
-
init_esm_shims();
|
|
19937
19771
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19938
19772
|
var additionalItems_1 = require_additionalItems();
|
|
19939
19773
|
var prefixItems_1 = require_prefixItems();
|
|
@@ -19981,7 +19815,6 @@ var require_applicator = __commonJS({
|
|
|
19981
19815
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js
|
|
19982
19816
|
var require_dynamicAnchor = __commonJS({
|
|
19983
19817
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js"(exports$1) {
|
|
19984
|
-
init_esm_shims();
|
|
19985
19818
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
19986
19819
|
exports$1.dynamicAnchor = void 0;
|
|
19987
19820
|
var codegen_1 = require_codegen();
|
|
@@ -20016,7 +19849,6 @@ var require_dynamicAnchor = __commonJS({
|
|
|
20016
19849
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js
|
|
20017
19850
|
var require_dynamicRef = __commonJS({
|
|
20018
19851
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js"(exports$1) {
|
|
20019
|
-
init_esm_shims();
|
|
20020
19852
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20021
19853
|
exports$1.dynamicRef = void 0;
|
|
20022
19854
|
var codegen_1 = require_codegen();
|
|
@@ -20062,7 +19894,6 @@ var require_dynamicRef = __commonJS({
|
|
|
20062
19894
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js
|
|
20063
19895
|
var require_recursiveAnchor = __commonJS({
|
|
20064
19896
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js"(exports$1) {
|
|
20065
|
-
init_esm_shims();
|
|
20066
19897
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20067
19898
|
var dynamicAnchor_1 = require_dynamicAnchor();
|
|
20068
19899
|
var util_1 = require_util2();
|
|
@@ -20083,7 +19914,6 @@ var require_recursiveAnchor = __commonJS({
|
|
|
20083
19914
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js
|
|
20084
19915
|
var require_recursiveRef = __commonJS({
|
|
20085
19916
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js"(exports$1) {
|
|
20086
|
-
init_esm_shims();
|
|
20087
19917
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20088
19918
|
var dynamicRef_1 = require_dynamicRef();
|
|
20089
19919
|
var def = {
|
|
@@ -20098,7 +19928,6 @@ var require_recursiveRef = __commonJS({
|
|
|
20098
19928
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/index.js
|
|
20099
19929
|
var require_dynamic = __commonJS({
|
|
20100
19930
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/dynamic/index.js"(exports$1) {
|
|
20101
|
-
init_esm_shims();
|
|
20102
19931
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20103
19932
|
var dynamicAnchor_1 = require_dynamicAnchor();
|
|
20104
19933
|
var dynamicRef_1 = require_dynamicRef();
|
|
@@ -20112,7 +19941,6 @@ var require_dynamic = __commonJS({
|
|
|
20112
19941
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js
|
|
20113
19942
|
var require_dependentRequired = __commonJS({
|
|
20114
19943
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js"(exports$1) {
|
|
20115
|
-
init_esm_shims();
|
|
20116
19944
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20117
19945
|
var dependencies_1 = require_dependencies();
|
|
20118
19946
|
var def = {
|
|
@@ -20129,7 +19957,6 @@ var require_dependentRequired = __commonJS({
|
|
|
20129
19957
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js
|
|
20130
19958
|
var require_dependentSchemas = __commonJS({
|
|
20131
19959
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js"(exports$1) {
|
|
20132
|
-
init_esm_shims();
|
|
20133
19960
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20134
19961
|
var dependencies_1 = require_dependencies();
|
|
20135
19962
|
var def = {
|
|
@@ -20145,7 +19972,6 @@ var require_dependentSchemas = __commonJS({
|
|
|
20145
19972
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitContains.js
|
|
20146
19973
|
var require_limitContains = __commonJS({
|
|
20147
19974
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/validation/limitContains.js"(exports$1) {
|
|
20148
|
-
init_esm_shims();
|
|
20149
19975
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20150
19976
|
var util_1 = require_util2();
|
|
20151
19977
|
var def = {
|
|
@@ -20165,7 +19991,6 @@ var require_limitContains = __commonJS({
|
|
|
20165
19991
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/next.js
|
|
20166
19992
|
var require_next2 = __commonJS({
|
|
20167
19993
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/next.js"(exports$1) {
|
|
20168
|
-
init_esm_shims();
|
|
20169
19994
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20170
19995
|
var dependentRequired_1 = require_dependentRequired();
|
|
20171
19996
|
var dependentSchemas_1 = require_dependentSchemas();
|
|
@@ -20178,7 +20003,6 @@ var require_next2 = __commonJS({
|
|
|
20178
20003
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js
|
|
20179
20004
|
var require_unevaluatedProperties = __commonJS({
|
|
20180
20005
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js"(exports$1) {
|
|
20181
|
-
init_esm_shims();
|
|
20182
20006
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20183
20007
|
var codegen_1 = require_codegen();
|
|
20184
20008
|
var util_1 = require_util2();
|
|
@@ -20244,7 +20068,6 @@ var require_unevaluatedProperties = __commonJS({
|
|
|
20244
20068
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js
|
|
20245
20069
|
var require_unevaluatedItems = __commonJS({
|
|
20246
20070
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js"(exports$1) {
|
|
20247
|
-
init_esm_shims();
|
|
20248
20071
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20249
20072
|
var codegen_1 = require_codegen();
|
|
20250
20073
|
var util_1 = require_util2();
|
|
@@ -20288,7 +20111,6 @@ var require_unevaluatedItems = __commonJS({
|
|
|
20288
20111
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/index.js
|
|
20289
20112
|
var require_unevaluated = __commonJS({
|
|
20290
20113
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/unevaluated/index.js"(exports$1) {
|
|
20291
|
-
init_esm_shims();
|
|
20292
20114
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20293
20115
|
var unevaluatedProperties_1 = require_unevaluatedProperties();
|
|
20294
20116
|
var unevaluatedItems_1 = require_unevaluatedItems();
|
|
@@ -20300,7 +20122,6 @@ var require_unevaluated = __commonJS({
|
|
|
20300
20122
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js
|
|
20301
20123
|
var require_format = __commonJS({
|
|
20302
20124
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/format.js"(exports$1) {
|
|
20303
|
-
init_esm_shims();
|
|
20304
20125
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20305
20126
|
var codegen_1 = require_codegen();
|
|
20306
20127
|
var error = {
|
|
@@ -20390,7 +20211,6 @@ var require_format = __commonJS({
|
|
|
20390
20211
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js
|
|
20391
20212
|
var require_format2 = __commonJS({
|
|
20392
20213
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/format/index.js"(exports$1) {
|
|
20393
|
-
init_esm_shims();
|
|
20394
20214
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20395
20215
|
var format_1 = require_format();
|
|
20396
20216
|
var format3 = [format_1.default];
|
|
@@ -20401,7 +20221,6 @@ var require_format2 = __commonJS({
|
|
|
20401
20221
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js
|
|
20402
20222
|
var require_metadata = __commonJS({
|
|
20403
20223
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/metadata.js"(exports$1) {
|
|
20404
|
-
init_esm_shims();
|
|
20405
20224
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20406
20225
|
exports$1.contentVocabulary = exports$1.metadataVocabulary = void 0;
|
|
20407
20226
|
exports$1.metadataVocabulary = [
|
|
@@ -20424,7 +20243,6 @@ var require_metadata = __commonJS({
|
|
|
20424
20243
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft2020.js
|
|
20425
20244
|
var require_draft2020 = __commonJS({
|
|
20426
20245
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/draft2020.js"(exports$1) {
|
|
20427
|
-
init_esm_shims();
|
|
20428
20246
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20429
20247
|
var core_1 = require_core3();
|
|
20430
20248
|
var validation_1 = require_validation();
|
|
@@ -20452,7 +20270,6 @@ var require_draft2020 = __commonJS({
|
|
|
20452
20270
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
20453
20271
|
var require_types = __commonJS({
|
|
20454
20272
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports$1) {
|
|
20455
|
-
init_esm_shims();
|
|
20456
20273
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20457
20274
|
exports$1.DiscrError = void 0;
|
|
20458
20275
|
var DiscrError;
|
|
@@ -20466,7 +20283,6 @@ var require_types = __commonJS({
|
|
|
20466
20283
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
20467
20284
|
var require_discriminator = __commonJS({
|
|
20468
20285
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports$1) {
|
|
20469
|
-
init_esm_shims();
|
|
20470
20286
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20471
20287
|
var codegen_1 = require_codegen();
|
|
20472
20288
|
var types_1 = require_types();
|
|
@@ -20936,7 +20752,6 @@ var require_validation2 = __commonJS({
|
|
|
20936
20752
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-2020-12/index.js
|
|
20937
20753
|
var require_json_schema_2020_12 = __commonJS({
|
|
20938
20754
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/refs/json-schema-2020-12/index.js"(exports$1) {
|
|
20939
|
-
init_esm_shims();
|
|
20940
20755
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20941
20756
|
var metaSchema = require_schema2();
|
|
20942
20757
|
var applicator = require_applicator2();
|
|
@@ -20970,7 +20785,6 @@ var require_json_schema_2020_12 = __commonJS({
|
|
|
20970
20785
|
// ../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/2020.js
|
|
20971
20786
|
var require__ = __commonJS({
|
|
20972
20787
|
"../../../node_modules/.pnpm/ajv@8.17.1/node_modules/ajv/dist/2020.js"(exports$1, module2) {
|
|
20973
|
-
init_esm_shims();
|
|
20974
20788
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
20975
20789
|
exports$1.MissingRefError = exports$1.ValidationError = exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = exports$1.Ajv2020 = void 0;
|
|
20976
20790
|
var core_1 = require_core2();
|
|
@@ -21047,7 +20861,6 @@ var require__ = __commonJS({
|
|
|
21047
20861
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/core.js
|
|
21048
20862
|
var require_core5 = __commonJS({
|
|
21049
20863
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/core.js"(exports$1) {
|
|
21050
|
-
init_esm_shims();
|
|
21051
20864
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21052
20865
|
var ref_1 = require_ref2();
|
|
21053
20866
|
var core = [
|
|
@@ -21065,7 +20878,6 @@ var require_core5 = __commonJS({
|
|
|
21065
20878
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js
|
|
21066
20879
|
var require_limitNumber2 = __commonJS({
|
|
21067
20880
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js"(exports$1) {
|
|
21068
|
-
init_esm_shims();
|
|
21069
20881
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21070
20882
|
var core_1 = require_core2();
|
|
21071
20883
|
var codegen_1 = require_codegen();
|
|
@@ -21114,7 +20926,6 @@ var require_limitNumber2 = __commonJS({
|
|
|
21114
20926
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js
|
|
21115
20927
|
var require_limitNumberExclusive = __commonJS({
|
|
21116
20928
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js"(exports$1) {
|
|
21117
|
-
init_esm_shims();
|
|
21118
20929
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21119
20930
|
var KWDs = {
|
|
21120
20931
|
exclusiveMaximum: "maximum",
|
|
@@ -21138,7 +20949,6 @@ var require_limitNumberExclusive = __commonJS({
|
|
|
21138
20949
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js
|
|
21139
20950
|
var require_validation3 = __commonJS({
|
|
21140
20951
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js"(exports$1) {
|
|
21141
|
-
init_esm_shims();
|
|
21142
20952
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21143
20953
|
var limitNumber_1 = require_limitNumber2();
|
|
21144
20954
|
var limitNumberExclusive_1 = require_limitNumberExclusive();
|
|
@@ -21178,7 +20988,6 @@ var require_validation3 = __commonJS({
|
|
|
21178
20988
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/draft4.js
|
|
21179
20989
|
var require_draft4 = __commonJS({
|
|
21180
20990
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/vocabulary/draft4.js"(exports$1) {
|
|
21181
|
-
init_esm_shims();
|
|
21182
20991
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21183
20992
|
var core_1 = require_core5();
|
|
21184
20993
|
var validation_1 = require_validation3();
|
|
@@ -21343,7 +21152,6 @@ var require_json_schema_draft_04 = __commonJS({
|
|
|
21343
21152
|
// ../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/index.js
|
|
21344
21153
|
var require_dist2 = __commonJS({
|
|
21345
21154
|
"../../../node_modules/.pnpm/ajv-draft-04@1.0.0_ajv@8.17.1/node_modules/ajv-draft-04/dist/index.js"(exports$1, module2) {
|
|
21346
|
-
init_esm_shims();
|
|
21347
21155
|
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
21348
21156
|
exports$1.CodeGen = exports$1.Name = exports$1.nil = exports$1.stringify = exports$1.str = exports$1._ = exports$1.KeywordCxt = void 0;
|
|
21349
21157
|
var core_1 = require_core2();
|
|
@@ -21409,7 +21217,6 @@ var require_dist2 = __commonJS({
|
|
|
21409
21217
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/schema.js
|
|
21410
21218
|
var require_schema3 = __commonJS({
|
|
21411
21219
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/schema.js"(exports$1, module2) {
|
|
21412
|
-
init_esm_shims();
|
|
21413
21220
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
21414
21221
|
var betterAjvErrors = require_lib4();
|
|
21415
21222
|
var { openapi } = require_dist();
|
|
@@ -21511,7 +21318,6 @@ var require_schema3 = __commonJS({
|
|
|
21511
21318
|
// ../../../node_modules/.pnpm/@apidevtools+swagger-methods@3.0.2/node_modules/@apidevtools/swagger-methods/lib/index.js
|
|
21512
21319
|
var require_lib5 = __commonJS({
|
|
21513
21320
|
"../../../node_modules/.pnpm/@apidevtools+swagger-methods@3.0.2/node_modules/@apidevtools/swagger-methods/lib/index.js"(exports$1, module2) {
|
|
21514
|
-
init_esm_shims();
|
|
21515
21321
|
module2.exports = [
|
|
21516
21322
|
"get",
|
|
21517
21323
|
"put",
|
|
@@ -21527,7 +21333,6 @@ var require_lib5 = __commonJS({
|
|
|
21527
21333
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/openapi.js
|
|
21528
21334
|
var require_openapi = __commonJS({
|
|
21529
21335
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/openapi.js"(exports$1, module2) {
|
|
21530
|
-
init_esm_shims();
|
|
21531
21336
|
var swaggerMethods = require_lib5();
|
|
21532
21337
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
21533
21338
|
var util3 = require_util();
|
|
@@ -21535,10 +21340,10 @@ var require_openapi = __commonJS({
|
|
|
21535
21340
|
function validateSpec(api) {
|
|
21536
21341
|
const operationIds = [];
|
|
21537
21342
|
Object.keys(api.paths || {}).forEach((pathName) => {
|
|
21538
|
-
const
|
|
21343
|
+
const path = api.paths[pathName];
|
|
21539
21344
|
const pathId = `/paths${pathName}`;
|
|
21540
|
-
if (
|
|
21541
|
-
validatePath(api,
|
|
21345
|
+
if (path && pathName.indexOf("/") === 0) {
|
|
21346
|
+
validatePath(api, path, pathId, operationIds);
|
|
21542
21347
|
}
|
|
21543
21348
|
});
|
|
21544
21349
|
if (api.openapi.startsWith("3.0")) {
|
|
@@ -21556,9 +21361,9 @@ var require_openapi = __commonJS({
|
|
|
21556
21361
|
}
|
|
21557
21362
|
}
|
|
21558
21363
|
}
|
|
21559
|
-
function validatePath(api,
|
|
21364
|
+
function validatePath(api, path, pathId, operationIds) {
|
|
21560
21365
|
[...swaggerMethods, "trace"].forEach((operationName) => {
|
|
21561
|
-
const operation =
|
|
21366
|
+
const operation = path[operationName];
|
|
21562
21367
|
const operationId = `${pathId}/${operationName}`;
|
|
21563
21368
|
if (operation) {
|
|
21564
21369
|
const declaredOperationId = operation.operationId;
|
|
@@ -21569,7 +21374,7 @@ var require_openapi = __commonJS({
|
|
|
21569
21374
|
throw ono2.syntax(`Validation failed. Duplicate operation id '${declaredOperationId}'`);
|
|
21570
21375
|
}
|
|
21571
21376
|
}
|
|
21572
|
-
validateParameters(api,
|
|
21377
|
+
validateParameters(api, path, pathId, operation, operationId);
|
|
21573
21378
|
Object.keys(operation.responses || {}).forEach((responseCode) => {
|
|
21574
21379
|
const response = operation.responses[responseCode];
|
|
21575
21380
|
const responseId = `${operationId}/responses/${responseCode}`;
|
|
@@ -21578,8 +21383,8 @@ var require_openapi = __commonJS({
|
|
|
21578
21383
|
}
|
|
21579
21384
|
});
|
|
21580
21385
|
}
|
|
21581
|
-
function validateParameters(api,
|
|
21582
|
-
const pathParams =
|
|
21386
|
+
function validateParameters(api, path, pathId, operation, operationId) {
|
|
21387
|
+
const pathParams = path.parameters || [];
|
|
21583
21388
|
const operationParams = operation.parameters || [];
|
|
21584
21389
|
try {
|
|
21585
21390
|
checkForDuplicates(pathParams);
|
|
@@ -21676,7 +21481,6 @@ var require_openapi = __commonJS({
|
|
|
21676
21481
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/swagger.js
|
|
21677
21482
|
var require_swagger = __commonJS({
|
|
21678
21483
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec/swagger.js"(exports$1, module2) {
|
|
21679
|
-
init_esm_shims();
|
|
21680
21484
|
var swaggerMethods = require_lib5();
|
|
21681
21485
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
21682
21486
|
var util3 = require_util();
|
|
@@ -21686,10 +21490,10 @@ var require_swagger = __commonJS({
|
|
|
21686
21490
|
function validateSpec(api) {
|
|
21687
21491
|
const operationIds = [];
|
|
21688
21492
|
Object.keys(api.paths || {}).forEach((pathName) => {
|
|
21689
|
-
const
|
|
21493
|
+
const path = api.paths[pathName];
|
|
21690
21494
|
const pathId = `/paths${pathName}`;
|
|
21691
|
-
if (
|
|
21692
|
-
validatePath(api,
|
|
21495
|
+
if (path && pathName.indexOf("/") === 0) {
|
|
21496
|
+
validatePath(api, path, pathId, operationIds);
|
|
21693
21497
|
}
|
|
21694
21498
|
});
|
|
21695
21499
|
Object.keys(api.definitions || {}).forEach((definitionName) => {
|
|
@@ -21703,9 +21507,9 @@ var require_swagger = __commonJS({
|
|
|
21703
21507
|
validateRequiredPropertiesExist(definition, definitionId);
|
|
21704
21508
|
});
|
|
21705
21509
|
}
|
|
21706
|
-
function validatePath(api,
|
|
21510
|
+
function validatePath(api, path, pathId, operationIds) {
|
|
21707
21511
|
swaggerMethods.forEach((operationName) => {
|
|
21708
|
-
const operation =
|
|
21512
|
+
const operation = path[operationName];
|
|
21709
21513
|
const operationId = `${pathId}/${operationName}`;
|
|
21710
21514
|
if (operation) {
|
|
21711
21515
|
const declaredOperationId = operation.operationId;
|
|
@@ -21716,7 +21520,7 @@ var require_swagger = __commonJS({
|
|
|
21716
21520
|
throw ono2.syntax(`Validation failed. Duplicate operation id '${declaredOperationId}'`);
|
|
21717
21521
|
}
|
|
21718
21522
|
}
|
|
21719
|
-
validateParameters(api,
|
|
21523
|
+
validateParameters(api, path, pathId, operation, operationId);
|
|
21720
21524
|
Object.keys(operation.responses || {}).forEach((responseName) => {
|
|
21721
21525
|
const response = operation.responses[responseName];
|
|
21722
21526
|
const responseId = `${operationId}/responses/${responseName}`;
|
|
@@ -21725,8 +21529,8 @@ var require_swagger = __commonJS({
|
|
|
21725
21529
|
}
|
|
21726
21530
|
});
|
|
21727
21531
|
}
|
|
21728
|
-
function validateParameters(api,
|
|
21729
|
-
const pathParams =
|
|
21532
|
+
function validateParameters(api, path, pathId, operation, operationId) {
|
|
21533
|
+
const pathParams = path.parameters || [];
|
|
21730
21534
|
const operationParams = operation.parameters || [];
|
|
21731
21535
|
try {
|
|
21732
21536
|
checkForDuplicates(pathParams);
|
|
@@ -21902,7 +21706,6 @@ var require_swagger = __commonJS({
|
|
|
21902
21706
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec.js
|
|
21903
21707
|
var require_spec = __commonJS({
|
|
21904
21708
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/validators/spec.js"(exports$1, module2) {
|
|
21905
|
-
init_esm_shims();
|
|
21906
21709
|
var validateOpenAPI = require_openapi();
|
|
21907
21710
|
var validateSwagger = require_swagger();
|
|
21908
21711
|
module2.exports = function validateSpec(api) {
|
|
@@ -21917,7 +21720,6 @@ var require_spec = __commonJS({
|
|
|
21917
21720
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/options.js
|
|
21918
21721
|
var require_options2 = __commonJS({
|
|
21919
21722
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/options.js"(exports$1, module2) {
|
|
21920
|
-
init_esm_shims();
|
|
21921
21723
|
var $RefParserOptions = require_options();
|
|
21922
21724
|
var util3 = require_util();
|
|
21923
21725
|
var schemaValidator = require_schema3();
|
|
@@ -21947,7 +21749,6 @@ var require_options2 = __commonJS({
|
|
|
21947
21749
|
// ../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/index.js
|
|
21948
21750
|
var require_lib6 = __commonJS({
|
|
21949
21751
|
"../../../node_modules/.pnpm/@readme+openapi-parser@2.7.0_openapi-types@12.1.3/node_modules/@readme/openapi-parser/lib/index.js"(exports$1, module2) {
|
|
21950
|
-
init_esm_shims();
|
|
21951
21752
|
var { ono: ono2 } = (init_esm(), __toCommonJS(esm_exports));
|
|
21952
21753
|
var $RefParser = require_lib();
|
|
21953
21754
|
var dereference = require_dereference();
|
|
@@ -21976,7 +21777,7 @@ var require_lib6 = __commonJS({
|
|
|
21976
21777
|
return this.schema;
|
|
21977
21778
|
}
|
|
21978
21779
|
});
|
|
21979
|
-
OpenAPIParser2.prototype.parse = async function(
|
|
21780
|
+
OpenAPIParser2.prototype.parse = async function(path, api, options, callback) {
|
|
21980
21781
|
const args = normalizeArgs2(arguments);
|
|
21981
21782
|
args.options = new Options(args.options);
|
|
21982
21783
|
try {
|
|
@@ -22018,12 +21819,12 @@ var require_lib6 = __commonJS({
|
|
|
22018
21819
|
return maybe(args.callback, Promise.reject(err));
|
|
22019
21820
|
}
|
|
22020
21821
|
};
|
|
22021
|
-
OpenAPIParser2.validate = function(
|
|
21822
|
+
OpenAPIParser2.validate = function(path, api, options, callback) {
|
|
22022
21823
|
const Class = this;
|
|
22023
21824
|
const instance = new Class();
|
|
22024
21825
|
return instance.validate.apply(instance, arguments);
|
|
22025
21826
|
};
|
|
22026
|
-
OpenAPIParser2.prototype.validate = async function(
|
|
21827
|
+
OpenAPIParser2.prototype.validate = async function(path, api, options, callback) {
|
|
22027
21828
|
const me = this;
|
|
22028
21829
|
const args = normalizeArgs2(arguments);
|
|
22029
21830
|
args.options = new Options(args.options);
|
|
@@ -22055,20 +21856,7 @@ var require_lib6 = __commonJS({
|
|
|
22055
21856
|
}
|
|
22056
21857
|
});
|
|
22057
21858
|
|
|
22058
|
-
// src/index.ts
|
|
22059
|
-
init_esm_shims();
|
|
22060
|
-
|
|
22061
|
-
// src/server.ts
|
|
22062
|
-
init_esm_shims();
|
|
22063
|
-
|
|
22064
|
-
// ../../shared/mcp-core/dist/index.js
|
|
22065
|
-
init_esm_shims();
|
|
22066
|
-
|
|
22067
|
-
// ../../shared/mcp-core/dist/server/base-server.js
|
|
22068
|
-
init_esm_shims();
|
|
22069
|
-
|
|
22070
21859
|
// ../../shared/mcp-core/dist/server/tool-registry.js
|
|
22071
|
-
init_esm_shims();
|
|
22072
21860
|
var ToolRegistry = class {
|
|
22073
21861
|
tools = /* @__PURE__ */ new Map();
|
|
22074
21862
|
/**
|
|
@@ -22233,11 +22021,7 @@ var BaseMcpServer = class {
|
|
|
22233
22021
|
}
|
|
22234
22022
|
};
|
|
22235
22023
|
|
|
22236
|
-
// ../../shared/mcp-core/dist/types/mcp-types.js
|
|
22237
|
-
init_esm_shims();
|
|
22238
|
-
|
|
22239
22024
|
// ../../shared/mcp-core/dist/types/tool-schema.js
|
|
22240
|
-
init_esm_shims();
|
|
22241
22025
|
var ToolSchemaBuilder = class {
|
|
22242
22026
|
properties = {};
|
|
22243
22027
|
requiredFields = [];
|
|
@@ -22349,15 +22133,6 @@ function createSchema() {
|
|
|
22349
22133
|
return new ToolSchemaBuilder();
|
|
22350
22134
|
}
|
|
22351
22135
|
|
|
22352
|
-
// ../../shared/mcp-core/dist/utils/result.js
|
|
22353
|
-
init_esm_shims();
|
|
22354
|
-
|
|
22355
|
-
// ../../shared/mcp-core/dist/utils/validation.js
|
|
22356
|
-
init_esm_shims();
|
|
22357
|
-
|
|
22358
|
-
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/index.js
|
|
22359
|
-
init_esm_shims();
|
|
22360
|
-
|
|
22361
22136
|
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/external.js
|
|
22362
22137
|
var external_exports = {};
|
|
22363
22138
|
__export(external_exports, {
|
|
@@ -22469,19 +22244,8 @@ __export(external_exports, {
|
|
|
22469
22244
|
util: () => util,
|
|
22470
22245
|
void: () => voidType
|
|
22471
22246
|
});
|
|
22472
|
-
init_esm_shims();
|
|
22473
|
-
|
|
22474
|
-
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js
|
|
22475
|
-
init_esm_shims();
|
|
22476
|
-
|
|
22477
|
-
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js
|
|
22478
|
-
init_esm_shims();
|
|
22479
|
-
|
|
22480
|
-
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js
|
|
22481
|
-
init_esm_shims();
|
|
22482
22247
|
|
|
22483
22248
|
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js
|
|
22484
|
-
init_esm_shims();
|
|
22485
22249
|
var util;
|
|
22486
22250
|
(function(util3) {
|
|
22487
22251
|
util3.assertEqual = (_) => {
|
|
@@ -22846,10 +22610,9 @@ function getErrorMap() {
|
|
|
22846
22610
|
}
|
|
22847
22611
|
|
|
22848
22612
|
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
22849
|
-
init_esm_shims();
|
|
22850
22613
|
var makeIssue = (params) => {
|
|
22851
|
-
const { data, path
|
|
22852
|
-
const fullPath = [...
|
|
22614
|
+
const { data, path, errorMaps, issueData } = params;
|
|
22615
|
+
const fullPath = [...path, ...issueData.path || []];
|
|
22853
22616
|
const fullIssue = {
|
|
22854
22617
|
...issueData,
|
|
22855
22618
|
path: fullPath
|
|
@@ -22956,11 +22719,7 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
22956
22719
|
var isValid = (x) => x.status === "valid";
|
|
22957
22720
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
22958
22721
|
|
|
22959
|
-
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
|
|
22960
|
-
init_esm_shims();
|
|
22961
|
-
|
|
22962
22722
|
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js
|
|
22963
|
-
init_esm_shims();
|
|
22964
22723
|
var errorUtil;
|
|
22965
22724
|
(function(errorUtil2) {
|
|
22966
22725
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
@@ -22969,11 +22728,11 @@ var errorUtil;
|
|
|
22969
22728
|
|
|
22970
22729
|
// ../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
|
|
22971
22730
|
var ParseInputLazyPath = class {
|
|
22972
|
-
constructor(parent, value,
|
|
22731
|
+
constructor(parent, value, path, key) {
|
|
22973
22732
|
this._cachedPath = [];
|
|
22974
22733
|
this.parent = parent;
|
|
22975
22734
|
this.data = value;
|
|
22976
|
-
this._path =
|
|
22735
|
+
this._path = path;
|
|
22977
22736
|
this._key = key;
|
|
22978
22737
|
}
|
|
22979
22738
|
get path() {
|
|
@@ -26437,12 +26196,6 @@ var NEVER = INVALID;
|
|
|
26437
26196
|
/** Email */
|
|
26438
26197
|
email: external_exports.string().email("Invalid email format")
|
|
26439
26198
|
});
|
|
26440
|
-
|
|
26441
|
-
// ../../shared/logging/dist/index.js
|
|
26442
|
-
init_esm_shims();
|
|
26443
|
-
|
|
26444
|
-
// ../../shared/logging/dist/logger.js
|
|
26445
|
-
init_esm_shims();
|
|
26446
26199
|
var DEFAULT_CONFIG = {
|
|
26447
26200
|
level: "info",
|
|
26448
26201
|
name: "mcp-server",
|
|
@@ -26587,9 +26340,6 @@ var McpLogger = class _McpLogger {
|
|
|
26587
26340
|
function createLogger(config) {
|
|
26588
26341
|
return new McpLogger(config);
|
|
26589
26342
|
}
|
|
26590
|
-
|
|
26591
|
-
// ../../shared/logging/dist/audit-logger.js
|
|
26592
|
-
init_esm_shims();
|
|
26593
26343
|
var AuditLogger = class {
|
|
26594
26344
|
config;
|
|
26595
26345
|
writeStream = null;
|
|
@@ -26757,11 +26507,7 @@ function createAuditLogger(config) {
|
|
|
26757
26507
|
return new AuditLogger(config);
|
|
26758
26508
|
}
|
|
26759
26509
|
|
|
26760
|
-
// ../../shared/logging/dist/types.js
|
|
26761
|
-
init_esm_shims();
|
|
26762
|
-
|
|
26763
26510
|
// src/parser/spec-parser.ts
|
|
26764
|
-
init_esm_shims();
|
|
26765
26511
|
var import_openapi_parser = __toESM(require_lib6());
|
|
26766
26512
|
var HTTP_METHODS = ["get", "post", "put", "patch", "delete", "head", "options"];
|
|
26767
26513
|
var SpecParser = class {
|
|
@@ -26846,14 +26592,14 @@ var SpecParser = class {
|
|
|
26846
26592
|
if (!doc.paths) {
|
|
26847
26593
|
return endpoints;
|
|
26848
26594
|
}
|
|
26849
|
-
for (const [
|
|
26595
|
+
for (const [path, pathItem] of Object.entries(doc.paths)) {
|
|
26850
26596
|
if (!pathItem) continue;
|
|
26851
26597
|
for (const method of HTTP_METHODS) {
|
|
26852
26598
|
const operation = pathItem[method];
|
|
26853
26599
|
if (!operation) continue;
|
|
26854
26600
|
endpoints.push({
|
|
26855
26601
|
method: method.toUpperCase(),
|
|
26856
|
-
path
|
|
26602
|
+
path,
|
|
26857
26603
|
operationId: operation.operationId,
|
|
26858
26604
|
summary: operation.summary,
|
|
26859
26605
|
description: operation.description,
|
|
@@ -26900,7 +26646,6 @@ var SpecParser = class {
|
|
|
26900
26646
|
};
|
|
26901
26647
|
|
|
26902
26648
|
// src/extractor/entity-extractor.ts
|
|
26903
|
-
init_esm_shims();
|
|
26904
26649
|
var EntityExtractor = class {
|
|
26905
26650
|
/**
|
|
26906
26651
|
* Extract an entity schema by name.
|
|
@@ -27050,7 +26795,6 @@ var EntityExtractor = class {
|
|
|
27050
26795
|
};
|
|
27051
26796
|
|
|
27052
26797
|
// src/mapper/operation-mapper.ts
|
|
27053
|
-
init_esm_shims();
|
|
27054
26798
|
var OperationMapper = class {
|
|
27055
26799
|
/**
|
|
27056
26800
|
* Get operation by operationId.
|
|
@@ -27065,12 +26809,12 @@ var OperationMapper = class {
|
|
|
27065
26809
|
/**
|
|
27066
26810
|
* Get operation by path and method.
|
|
27067
26811
|
*/
|
|
27068
|
-
getByPathMethod(spec,
|
|
26812
|
+
getByPathMethod(spec, path, method) {
|
|
27069
26813
|
const paths = spec.raw.paths;
|
|
27070
26814
|
if (!paths) {
|
|
27071
26815
|
return null;
|
|
27072
26816
|
}
|
|
27073
|
-
const pathItem = paths[
|
|
26817
|
+
const pathItem = paths[path];
|
|
27074
26818
|
if (!pathItem) {
|
|
27075
26819
|
return null;
|
|
27076
26820
|
}
|
|
@@ -27078,7 +26822,7 @@ var OperationMapper = class {
|
|
|
27078
26822
|
if (!operation) {
|
|
27079
26823
|
return null;
|
|
27080
26824
|
}
|
|
27081
|
-
return this.mapOperation(
|
|
26825
|
+
return this.mapOperation(path, method.toUpperCase(), operation, pathItem);
|
|
27082
26826
|
}
|
|
27083
26827
|
/**
|
|
27084
26828
|
* Search operations by criteria.
|
|
@@ -27125,7 +26869,7 @@ var OperationMapper = class {
|
|
|
27125
26869
|
/**
|
|
27126
26870
|
* Map an operation to OperationDetails.
|
|
27127
26871
|
*/
|
|
27128
|
-
mapOperation(
|
|
26872
|
+
mapOperation(path, method, operation, pathItem) {
|
|
27129
26873
|
const allParams = [
|
|
27130
26874
|
...pathItem.parameters ?? [],
|
|
27131
26875
|
...operation.parameters ?? []
|
|
@@ -27136,7 +26880,7 @@ var OperationMapper = class {
|
|
|
27136
26880
|
return {
|
|
27137
26881
|
operationId: operation.operationId,
|
|
27138
26882
|
method,
|
|
27139
|
-
path
|
|
26883
|
+
path,
|
|
27140
26884
|
summary: operation.summary,
|
|
27141
26885
|
description: operation.description,
|
|
27142
26886
|
tags: operation.tags,
|