@aws/nx-plugin-mcp 1.0.0-rc.24 → 1.0.0-rc.26
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/bin/aws-nx-mcp.js +649 -542
- package/docs/guides/connection.mdx +12 -0
- package/docs/guides/react-website-auth.mdx +7 -1
- package/docs/guides/typescript-infrastructure.mdx +8 -0
- package/docs/snippets/mcp/config.mdx +3 -2
- package/package.json +1 -1
- package/src/agentcore-gateway/gateway-connection/schema.json +5 -0
- package/src/agentcore-gateway/mcp-connection/schema.json +5 -0
- package/src/agentcore-gateway/schema.json +5 -0
- package/src/connection/schema.json +5 -0
- package/src/infra/app/schema.json +5 -0
- package/src/license/schema.json +5 -0
- package/src/preset/schema.json +5 -0
- package/src/py/agent/a2a-connection/schema.json +5 -0
- package/src/py/agent/gateway-connection/schema.json +5 -0
- package/src/py/agent/mcp-connection/schema.json +5 -0
- package/src/py/agent/react-connection/schema.json +5 -0
- package/src/py/agent/schema.json +5 -0
- package/src/py/api/schema.json +5 -0
- package/src/py/dynamodb/agent-connection/schema.json +5 -0
- package/src/py/dynamodb/fast-api-connection/schema.json +5 -0
- package/src/py/dynamodb/mcp-server-connection/schema.json +5 -0
- package/src/py/dynamodb/schema.json +5 -0
- package/src/py/fast-api/react/schema.json +5 -0
- package/src/py/fast-api/schema.json +5 -0
- package/src/py/lambda-function/schema.json +5 -0
- package/src/py/mcp-server/schema.json +5 -0
- package/src/py/project/schema.json +5 -0
- package/src/smithy/project/schema.json +5 -0
- package/src/smithy/react-connection/schema.json +5 -0
- package/src/smithy/ts/api/schema.json +5 -0
- package/src/terraform/project/schema.json +5 -0
- package/src/trpc/backend/schema.json +5 -0
- package/src/trpc/react/schema.json +5 -0
- package/src/ts/agent/a2a-connection/schema.json +5 -0
- package/src/ts/agent/gateway-connection/schema.json +5 -0
- package/src/ts/agent/mcp-connection/schema.json +5 -0
- package/src/ts/agent/react-connection/schema.json +5 -0
- package/src/ts/agent/schema.json +5 -0
- package/src/ts/api/schema.json +5 -0
- package/src/ts/astro-docs/schema.json +3 -3
- package/src/ts/docs/schema.json +3 -3
- package/src/ts/dynamodb/agent-connection/schema.json +5 -0
- package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
- package/src/ts/dynamodb/schema.json +5 -0
- package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
- package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
- package/src/ts/lambda-function/schema.json +5 -0
- package/src/ts/lib/schema.json +5 -0
- package/src/ts/mcp-server/schema.json +5 -0
- package/src/ts/nx-generator/schema.json +5 -0
- package/src/ts/nx-plugin/schema.json +5 -0
- package/src/ts/rdb/agent-connection/schema.json +5 -0
- package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
- package/src/ts/rdb/schema.json +5 -0
- package/src/ts/rdb/smithy-connection/schema.json +5 -0
- package/src/ts/rdb/trpc-connection/schema.json +5 -0
- package/src/ts/react-website/app/schema.json +5 -0
- package/src/ts/react-website/cognito-auth/schema.json +5 -0
- package/src/ts/react-website/runtime-config/schema.json +5 -0
- package/src/ts/website/app/schema.json +5 -0
- package/src/ts/website/auth/schema.json +5 -0
package/bin/aws-nx-mcp.js
CHANGED
|
@@ -1,46 +1,53 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
//#region \0rolldown/runtime.js
|
|
3
|
-
var __create
|
|
4
|
-
var __defProp
|
|
5
|
-
var __getOwnPropDesc
|
|
6
|
-
var __getOwnPropNames
|
|
7
|
-
var __getProtoOf
|
|
8
|
-
var __hasOwnProp
|
|
9
|
-
var __esmMin = (fn, res) => () =>
|
|
10
|
-
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __esmMin = (fn, res, err) => () => {
|
|
10
|
+
if (err) throw err[0];
|
|
11
|
+
try {
|
|
12
|
+
return fn && (res = fn(fn = 0)), res;
|
|
13
|
+
} catch (e) {
|
|
14
|
+
throw err = [e], e;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
11
18
|
var __exportAll = (all, no_symbols) => {
|
|
12
19
|
let target = {};
|
|
13
|
-
for (var name in all) __defProp
|
|
20
|
+
for (var name in all) __defProp(target, name, {
|
|
14
21
|
get: all[name],
|
|
15
22
|
enumerable: true
|
|
16
23
|
});
|
|
17
|
-
if (!no_symbols) __defProp
|
|
24
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
18
25
|
return target;
|
|
19
26
|
};
|
|
20
|
-
var __copyProps
|
|
21
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames
|
|
27
|
+
var __copyProps = (to, from, except, desc) => {
|
|
28
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
29
|
key = keys[i];
|
|
23
|
-
if (!__hasOwnProp
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
24
31
|
get: ((k) => from[k]).bind(null, key),
|
|
25
|
-
enumerable: !(desc = __getOwnPropDesc
|
|
32
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
26
33
|
});
|
|
27
34
|
}
|
|
28
35
|
return to;
|
|
29
36
|
};
|
|
30
|
-
var __toESM
|
|
37
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
31
38
|
value: mod,
|
|
32
39
|
enumerable: true
|
|
33
40
|
}) : target, mod));
|
|
34
41
|
//#endregion
|
|
35
42
|
let node_process = require("node:process");
|
|
36
|
-
node_process = __toESM
|
|
43
|
+
node_process = __toESM(node_process, 1);
|
|
37
44
|
let path = require("path");
|
|
38
|
-
let path$3 = __toESM
|
|
39
|
-
path = __toESM
|
|
45
|
+
let path$3 = __toESM(path, 1);
|
|
46
|
+
path = __toESM(path);
|
|
40
47
|
let fs = require("fs");
|
|
41
|
-
fs = __toESM
|
|
48
|
+
fs = __toESM(fs, 1);
|
|
42
49
|
let node_path = require("node:path");
|
|
43
|
-
node_path = __toESM
|
|
50
|
+
node_path = __toESM(node_path, 1);
|
|
44
51
|
let node_url = require("node:url");
|
|
45
52
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
46
53
|
var _a$1;
|
|
@@ -163,7 +170,10 @@ function assignProp(target, prop, value) {
|
|
|
163
170
|
}
|
|
164
171
|
function mergeDefs(...defs) {
|
|
165
172
|
const mergedDescriptors = {};
|
|
166
|
-
for (const def of defs)
|
|
173
|
+
for (const def of defs) {
|
|
174
|
+
const descriptors = Object.getOwnPropertyDescriptors(def);
|
|
175
|
+
Object.assign(mergedDescriptors, descriptors);
|
|
176
|
+
}
|
|
167
177
|
return Object.defineProperties({}, mergedDescriptors);
|
|
168
178
|
}
|
|
169
179
|
function esc(str) {
|
|
@@ -306,7 +316,7 @@ function safeExtend(schema, shape) {
|
|
|
306
316
|
return _shape;
|
|
307
317
|
} }));
|
|
308
318
|
}
|
|
309
|
-
function merge(a, b) {
|
|
319
|
+
function merge$1(a, b) {
|
|
310
320
|
if (a._zod.def.checks?.length) throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
311
321
|
return clone(a, mergeDefs(a._zod.def, {
|
|
312
322
|
get shape() {
|
|
@@ -650,7 +660,7 @@ const string$3 = (params) => {
|
|
|
650
660
|
const integer = /^-?\d+$/;
|
|
651
661
|
const number$1 = /^-?\d+(?:\.\d+)?$/;
|
|
652
662
|
const boolean$1 = /^(?:true|false)$/i;
|
|
653
|
-
const _null$
|
|
663
|
+
const _null$3 = /^null$/i;
|
|
654
664
|
const lowercase = /^[^A-Z]*$/;
|
|
655
665
|
const uppercase = /^[^a-z]*$/;
|
|
656
666
|
//#endregion
|
|
@@ -1465,8 +1475,8 @@ const $ZodBoolean = /*@__PURE__*/ $constructor("$ZodBoolean", (inst, def) => {
|
|
|
1465
1475
|
});
|
|
1466
1476
|
const $ZodNull = /*@__PURE__*/ $constructor("$ZodNull", (inst, def) => {
|
|
1467
1477
|
$ZodType.init(inst, def);
|
|
1468
|
-
inst._zod.pattern = _null$
|
|
1469
|
-
inst._zod.values = new Set([null]);
|
|
1478
|
+
inst._zod.pattern = _null$3;
|
|
1479
|
+
inst._zod.values = /* @__PURE__ */ new Set([null]);
|
|
1470
1480
|
inst._zod.parse = (payload, _ctx) => {
|
|
1471
1481
|
const input = payload.value;
|
|
1472
1482
|
if (input === null) return payload;
|
|
@@ -1613,13 +1623,13 @@ const $ZodObject = /*@__PURE__*/ $constructor("$ZodObject", (inst, def) => {
|
|
|
1613
1623
|
}
|
|
1614
1624
|
return propValues;
|
|
1615
1625
|
});
|
|
1616
|
-
const isObject$
|
|
1626
|
+
const isObject$2 = isObject;
|
|
1617
1627
|
const catchall = def.catchall;
|
|
1618
1628
|
let value;
|
|
1619
1629
|
inst._zod.parse = (payload, ctx) => {
|
|
1620
1630
|
value ?? (value = _normalized.value);
|
|
1621
1631
|
const input = payload.value;
|
|
1622
|
-
if (!isObject$
|
|
1632
|
+
if (!isObject$2(input)) {
|
|
1623
1633
|
payload.issues.push({
|
|
1624
1634
|
expected: "object",
|
|
1625
1635
|
code: "invalid_type",
|
|
@@ -1742,7 +1752,7 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
1742
1752
|
return (payload, ctx) => fn(shape, payload, ctx);
|
|
1743
1753
|
};
|
|
1744
1754
|
let fastpass;
|
|
1745
|
-
const isObject$
|
|
1755
|
+
const isObject$1 = isObject;
|
|
1746
1756
|
const jit = !globalConfig.jitless;
|
|
1747
1757
|
const fastEnabled = jit && allowsEval.value;
|
|
1748
1758
|
const catchall = def.catchall;
|
|
@@ -1750,7 +1760,7 @@ const $ZodObjectJIT = /*@__PURE__*/ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
1750
1760
|
inst._zod.parse = (payload, ctx) => {
|
|
1751
1761
|
value ?? (value = _normalized.value);
|
|
1752
1762
|
const input = payload.value;
|
|
1753
|
-
if (!isObject$
|
|
1763
|
+
if (!isObject$1(input)) {
|
|
1754
1764
|
payload.issues.push({
|
|
1755
1765
|
expected: "object",
|
|
1756
1766
|
code: "invalid_type",
|
|
@@ -2152,7 +2162,7 @@ const $ZodOptional = /*@__PURE__*/ $constructor("$ZodOptional", (inst, def) => {
|
|
|
2152
2162
|
inst._zod.optin = "optional";
|
|
2153
2163
|
inst._zod.optout = "optional";
|
|
2154
2164
|
defineLazy(inst._zod, "values", () => {
|
|
2155
|
-
return def.innerType._zod.values ? new Set([...def.innerType._zod.values, void 0]) : void 0;
|
|
2165
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, void 0]) : void 0;
|
|
2156
2166
|
});
|
|
2157
2167
|
defineLazy(inst._zod, "pattern", () => {
|
|
2158
2168
|
const pattern = def.innerType._zod.pattern;
|
|
@@ -2186,7 +2196,7 @@ const $ZodNullable = /*@__PURE__*/ $constructor("$ZodNullable", (inst, def) => {
|
|
|
2186
2196
|
return pattern ? new RegExp(`^(${cleanRegex(pattern.source)}|null)$`) : void 0;
|
|
2187
2197
|
});
|
|
2188
2198
|
defineLazy(inst._zod, "values", () => {
|
|
2189
|
-
return def.innerType._zod.values ? new Set([...def.innerType._zod.values, null]) : void 0;
|
|
2199
|
+
return def.innerType._zod.values ? /* @__PURE__ */ new Set([...def.innerType._zod.values, null]) : void 0;
|
|
2190
2200
|
});
|
|
2191
2201
|
inst._zod.parse = (payload, ctx) => {
|
|
2192
2202
|
if (payload.value === null) return payload;
|
|
@@ -2704,7 +2714,7 @@ function _boolean(Class, params) {
|
|
|
2704
2714
|
});
|
|
2705
2715
|
}
|
|
2706
2716
|
// @__NO_SIDE_EFFECTS__
|
|
2707
|
-
function _null$
|
|
2717
|
+
function _null$2(Class, params) {
|
|
2708
2718
|
return new Class({
|
|
2709
2719
|
type: "null",
|
|
2710
2720
|
...normalizeParams(params)
|
|
@@ -3855,7 +3865,7 @@ const ZodType$1 = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
|
|
|
3855
3865
|
return pipe(this, transform(tx));
|
|
3856
3866
|
},
|
|
3857
3867
|
default(d) {
|
|
3858
|
-
return _default(this, d);
|
|
3868
|
+
return _default$1(this, d);
|
|
3859
3869
|
},
|
|
3860
3870
|
prefault(d) {
|
|
3861
3871
|
return prefault(this, d);
|
|
@@ -4098,10 +4108,10 @@ const ZodNumber$1 = /*@__PURE__*/ $constructor("ZodNumber", (inst, def) => {
|
|
|
4098
4108
|
return this.check(/* @__PURE__ */ _lte(value, params));
|
|
4099
4109
|
},
|
|
4100
4110
|
int(params) {
|
|
4101
|
-
return this.check(int(params));
|
|
4111
|
+
return this.check(int$1(params));
|
|
4102
4112
|
},
|
|
4103
4113
|
safe(params) {
|
|
4104
|
-
return this.check(int(params));
|
|
4114
|
+
return this.check(int$1(params));
|
|
4105
4115
|
},
|
|
4106
4116
|
positive(params) {
|
|
4107
4117
|
return this.check(/* @__PURE__ */ _gt(0, params));
|
|
@@ -4139,7 +4149,7 @@ const ZodNumberFormat = /*@__PURE__*/ $constructor("ZodNumberFormat", (inst, def
|
|
|
4139
4149
|
$ZodNumberFormat.init(inst, def);
|
|
4140
4150
|
ZodNumber$1.init(inst, def);
|
|
4141
4151
|
});
|
|
4142
|
-
function int(params) {
|
|
4152
|
+
function int$1(params) {
|
|
4143
4153
|
return /* @__PURE__ */ _int(ZodNumberFormat, params);
|
|
4144
4154
|
}
|
|
4145
4155
|
const ZodBoolean$1 = /*@__PURE__*/ $constructor("ZodBoolean", (inst, def) => {
|
|
@@ -4155,8 +4165,8 @@ const ZodNull$1 = /*@__PURE__*/ $constructor("ZodNull", (inst, def) => {
|
|
|
4155
4165
|
ZodType$1.init(inst, def);
|
|
4156
4166
|
inst._zod.processJSONSchema = (ctx, json, params) => nullProcessor(inst, ctx, json, params);
|
|
4157
4167
|
});
|
|
4158
|
-
function _null(params) {
|
|
4159
|
-
return /* @__PURE__ */ _null$
|
|
4168
|
+
function _null$1(params) {
|
|
4169
|
+
return /* @__PURE__ */ _null$2(ZodNull$1, params);
|
|
4160
4170
|
}
|
|
4161
4171
|
const ZodUnknown$1 = /*@__PURE__*/ $constructor("ZodUnknown", (inst, def) => {
|
|
4162
4172
|
$ZodUnknown.init(inst, def);
|
|
@@ -4248,7 +4258,7 @@ const ZodObject$1 = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
|
|
|
4248
4258
|
return safeExtend(this, incoming);
|
|
4249
4259
|
},
|
|
4250
4260
|
merge(other) {
|
|
4251
|
-
return merge(this, other);
|
|
4261
|
+
return merge$1(this, other);
|
|
4252
4262
|
},
|
|
4253
4263
|
pick(mask) {
|
|
4254
4264
|
return pick$2(this, mask);
|
|
@@ -4468,7 +4478,7 @@ const ZodDefault$1 = /*@__PURE__*/ $constructor("ZodDefault", (inst, def) => {
|
|
|
4468
4478
|
inst.unwrap = () => inst._zod.def.innerType;
|
|
4469
4479
|
inst.removeDefault = inst.unwrap;
|
|
4470
4480
|
});
|
|
4471
|
-
function _default(innerType, defaultValue) {
|
|
4481
|
+
function _default$1(innerType, defaultValue) {
|
|
4472
4482
|
return new ZodDefault$1({
|
|
4473
4483
|
type: "default",
|
|
4474
4484
|
innerType,
|
|
@@ -5123,7 +5133,7 @@ const TaskSchema = object$1({
|
|
|
5123
5133
|
* Time in milliseconds to keep task results available after completion.
|
|
5124
5134
|
* If null, the task has unlimited lifetime until manually cleaned up.
|
|
5125
5135
|
*/
|
|
5126
|
-
ttl: union([number(), _null()]),
|
|
5136
|
+
ttl: union([number(), _null$1()]),
|
|
5127
5137
|
/**
|
|
5128
5138
|
* ISO 8601 timestamp when the task was created.
|
|
5129
5139
|
*/
|
|
@@ -12234,7 +12244,7 @@ function mergeCapabilities(base, additional) {
|
|
|
12234
12244
|
}
|
|
12235
12245
|
//#endregion
|
|
12236
12246
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
12237
|
-
var require_code$1 = /* @__PURE__ */ __commonJSMin
|
|
12247
|
+
var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12238
12248
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12239
12249
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
12240
12250
|
var _CodeOrName = class {};
|
|
@@ -12369,7 +12379,7 @@ var require_code$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
12369
12379
|
}));
|
|
12370
12380
|
//#endregion
|
|
12371
12381
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
12372
|
-
var require_scope = /* @__PURE__ */ __commonJSMin
|
|
12382
|
+
var require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12373
12383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12374
12384
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
12375
12385
|
const code_1 = require_code$1();
|
|
@@ -12506,7 +12516,7 @@ var require_scope = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
12506
12516
|
}));
|
|
12507
12517
|
//#endregion
|
|
12508
12518
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
12509
|
-
var require_codegen = /* @__PURE__ */ __commonJSMin
|
|
12519
|
+
var require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
12510
12520
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12511
12521
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
12512
12522
|
const code_1 = require_code$1();
|
|
@@ -13175,7 +13185,7 @@ var require_codegen = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13175
13185
|
}));
|
|
13176
13186
|
//#endregion
|
|
13177
13187
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
13178
|
-
var require_util = /* @__PURE__ */ __commonJSMin
|
|
13188
|
+
var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13179
13189
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13180
13190
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
13181
13191
|
const codegen_1 = require_codegen();
|
|
@@ -13316,7 +13326,7 @@ var require_util = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13316
13326
|
}));
|
|
13317
13327
|
//#endregion
|
|
13318
13328
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
13319
|
-
var require_names = /* @__PURE__ */ __commonJSMin
|
|
13329
|
+
var require_names = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13320
13330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13321
13331
|
const codegen_1 = require_codegen();
|
|
13322
13332
|
exports.default = {
|
|
@@ -13340,7 +13350,7 @@ var require_names = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13340
13350
|
}));
|
|
13341
13351
|
//#endregion
|
|
13342
13352
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
13343
|
-
var require_errors = /* @__PURE__ */ __commonJSMin
|
|
13353
|
+
var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13344
13354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13345
13355
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
13346
13356
|
const codegen_1 = require_codegen();
|
|
@@ -13436,7 +13446,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13436
13446
|
}));
|
|
13437
13447
|
//#endregion
|
|
13438
13448
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
13439
|
-
var require_boolSchema = /* @__PURE__ */ __commonJSMin
|
|
13449
|
+
var require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13440
13450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13441
13451
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
13442
13452
|
const errors_1 = require_errors();
|
|
@@ -13478,10 +13488,10 @@ var require_boolSchema = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13478
13488
|
}));
|
|
13479
13489
|
//#endregion
|
|
13480
13490
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
13481
|
-
var require_rules = /* @__PURE__ */ __commonJSMin
|
|
13491
|
+
var require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13482
13492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13483
13493
|
exports.getRules = exports.isJSONType = void 0;
|
|
13484
|
-
const jsonTypes = new Set([
|
|
13494
|
+
const jsonTypes = /* @__PURE__ */ new Set([
|
|
13485
13495
|
"string",
|
|
13486
13496
|
"number",
|
|
13487
13497
|
"integer",
|
|
@@ -13536,7 +13546,7 @@ var require_rules = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13536
13546
|
}));
|
|
13537
13547
|
//#endregion
|
|
13538
13548
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
13539
|
-
var require_applicability = /* @__PURE__ */ __commonJSMin
|
|
13549
|
+
var require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13540
13550
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13541
13551
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
13542
13552
|
function schemaHasRulesForType({ schema, self }, type) {
|
|
@@ -13556,7 +13566,7 @@ var require_applicability = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13556
13566
|
}));
|
|
13557
13567
|
//#endregion
|
|
13558
13568
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
13559
|
-
var require_dataType = /* @__PURE__ */ __commonJSMin
|
|
13569
|
+
var require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13560
13570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13561
13571
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
13562
13572
|
const rules_1 = require_rules();
|
|
@@ -13600,7 +13610,7 @@ var require_dataType = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13600
13610
|
return checkTypes;
|
|
13601
13611
|
}
|
|
13602
13612
|
exports.coerceAndCheckDataType = coerceAndCheckDataType;
|
|
13603
|
-
const COERCIBLE = new Set([
|
|
13613
|
+
const COERCIBLE = /* @__PURE__ */ new Set([
|
|
13604
13614
|
"string",
|
|
13605
13615
|
"number",
|
|
13606
13616
|
"integer",
|
|
@@ -13720,7 +13730,7 @@ var require_dataType = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13720
13730
|
}));
|
|
13721
13731
|
//#endregion
|
|
13722
13732
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
13723
|
-
var require_defaults = /* @__PURE__ */ __commonJSMin
|
|
13733
|
+
var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13724
13734
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13725
13735
|
exports.assignDefaults = void 0;
|
|
13726
13736
|
const codegen_1 = require_codegen();
|
|
@@ -13746,7 +13756,7 @@ var require_defaults = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13746
13756
|
}));
|
|
13747
13757
|
//#endregion
|
|
13748
13758
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
13749
|
-
var require_code = /* @__PURE__ */ __commonJSMin
|
|
13759
|
+
var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13750
13760
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13751
13761
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
13752
13762
|
const codegen_1 = require_codegen();
|
|
@@ -13870,7 +13880,7 @@ var require_code = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13870
13880
|
}));
|
|
13871
13881
|
//#endregion
|
|
13872
13882
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
13873
|
-
var require_keyword = /* @__PURE__ */ __commonJSMin
|
|
13883
|
+
var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13874
13884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13875
13885
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
13876
13886
|
const codegen_1 = require_codegen();
|
|
@@ -13976,7 +13986,7 @@ var require_keyword = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
13976
13986
|
}));
|
|
13977
13987
|
//#endregion
|
|
13978
13988
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
13979
|
-
var require_subschema = /* @__PURE__ */ __commonJSMin
|
|
13989
|
+
var require_subschema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13980
13990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13981
13991
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
13982
13992
|
const codegen_1 = require_codegen();
|
|
@@ -14043,7 +14053,7 @@ var require_subschema = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14043
14053
|
}));
|
|
14044
14054
|
//#endregion
|
|
14045
14055
|
//#region ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
14046
|
-
var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin
|
|
14056
|
+
var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14047
14057
|
module.exports = function equal(a, b) {
|
|
14048
14058
|
if (a === b) return true;
|
|
14049
14059
|
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
@@ -14073,7 +14083,7 @@ var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin$1(((exports, module)
|
|
|
14073
14083
|
}));
|
|
14074
14084
|
//#endregion
|
|
14075
14085
|
//#region ../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
14076
|
-
var require_json_schema_traverse = /* @__PURE__ */ __commonJSMin
|
|
14086
|
+
var require_json_schema_traverse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14077
14087
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
14078
14088
|
if (typeof opts == "function") {
|
|
14079
14089
|
cb = opts;
|
|
@@ -14148,13 +14158,13 @@ var require_json_schema_traverse = /* @__PURE__ */ __commonJSMin$1(((exports, mo
|
|
|
14148
14158
|
}));
|
|
14149
14159
|
//#endregion
|
|
14150
14160
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
14151
|
-
var require_resolve = /* @__PURE__ */ __commonJSMin
|
|
14161
|
+
var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14152
14162
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14153
14163
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
14154
14164
|
const util_1 = require_util();
|
|
14155
14165
|
const equal = require_fast_deep_equal();
|
|
14156
14166
|
const traverse = require_json_schema_traverse();
|
|
14157
|
-
const SIMPLE_INLINED = new Set([
|
|
14167
|
+
const SIMPLE_INLINED = /* @__PURE__ */ new Set([
|
|
14158
14168
|
"type",
|
|
14159
14169
|
"format",
|
|
14160
14170
|
"pattern",
|
|
@@ -14179,7 +14189,7 @@ var require_resolve = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14179
14189
|
return countKeys(schema) <= limit;
|
|
14180
14190
|
}
|
|
14181
14191
|
exports.inlineRef = inlineRef;
|
|
14182
|
-
const REF_KEYWORDS = new Set([
|
|
14192
|
+
const REF_KEYWORDS = /* @__PURE__ */ new Set([
|
|
14183
14193
|
"$ref",
|
|
14184
14194
|
"$recursiveRef",
|
|
14185
14195
|
"$recursiveAnchor",
|
|
@@ -14275,7 +14285,7 @@ var require_resolve = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14275
14285
|
}));
|
|
14276
14286
|
//#endregion
|
|
14277
14287
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
14278
|
-
var require_validate = /* @__PURE__ */ __commonJSMin
|
|
14288
|
+
var require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14279
14289
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14280
14290
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
14281
14291
|
const boolSchema_1 = require_boolSchema();
|
|
@@ -14694,7 +14704,7 @@ var require_validate = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14694
14704
|
}));
|
|
14695
14705
|
//#endregion
|
|
14696
14706
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
14697
|
-
var require_validation_error = /* @__PURE__ */ __commonJSMin
|
|
14707
|
+
var require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14698
14708
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14699
14709
|
var ValidationError = class extends Error {
|
|
14700
14710
|
constructor(errors) {
|
|
@@ -14707,7 +14717,7 @@ var require_validation_error = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14707
14717
|
}));
|
|
14708
14718
|
//#endregion
|
|
14709
14719
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
14710
|
-
var require_ref_error = /* @__PURE__ */ __commonJSMin
|
|
14720
|
+
var require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14711
14721
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14712
14722
|
const resolve_1 = require_resolve();
|
|
14713
14723
|
var MissingRefError = class extends Error {
|
|
@@ -14721,7 +14731,7 @@ var require_ref_error = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14721
14731
|
}));
|
|
14722
14732
|
//#endregion
|
|
14723
14733
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
14724
|
-
var require_compile = /* @__PURE__ */ __commonJSMin
|
|
14734
|
+
var require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14725
14735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14726
14736
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
14727
14737
|
const codegen_1 = require_codegen();
|
|
@@ -14900,7 +14910,7 @@ var require_compile = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14900
14910
|
return getJsonPointer.call(this, p, schOrRef);
|
|
14901
14911
|
}
|
|
14902
14912
|
exports.resolveSchema = resolveSchema;
|
|
14903
|
-
const PREVENT_SCOPE_CHANGE = new Set([
|
|
14913
|
+
const PREVENT_SCOPE_CHANGE = /* @__PURE__ */ new Set([
|
|
14904
14914
|
"properties",
|
|
14905
14915
|
"patternProperties",
|
|
14906
14916
|
"enum",
|
|
@@ -14935,7 +14945,7 @@ var require_compile = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
14935
14945
|
}));
|
|
14936
14946
|
//#endregion
|
|
14937
14947
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
14938
|
-
var require_data = /* @__PURE__ */ __commonJSMin
|
|
14948
|
+
var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14939
14949
|
module.exports = {
|
|
14940
14950
|
"$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
14941
14951
|
"description": "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -14950,7 +14960,7 @@ var require_data = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
14950
14960
|
}));
|
|
14951
14961
|
//#endregion
|
|
14952
14962
|
//#region ../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
14953
|
-
var require_utils = /* @__PURE__ */ __commonJSMin
|
|
14963
|
+
var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14954
14964
|
/** @type {(value: string) => boolean} */
|
|
14955
14965
|
const isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
14956
14966
|
/** @type {(value: string) => boolean} */
|
|
@@ -15229,7 +15239,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
15229
15239
|
}));
|
|
15230
15240
|
//#endregion
|
|
15231
15241
|
//#region ../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
15232
|
-
var require_schemes = /* @__PURE__ */ __commonJSMin
|
|
15242
|
+
var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15233
15243
|
const { isUUID } = require_utils();
|
|
15234
15244
|
const URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
15235
15245
|
const supportedSchemeNames = [
|
|
@@ -15412,7 +15422,7 @@ var require_schemes = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
15412
15422
|
}));
|
|
15413
15423
|
//#endregion
|
|
15414
15424
|
//#region ../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
15415
|
-
var require_fast_uri = /* @__PURE__ */ __commonJSMin
|
|
15425
|
+
var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15416
15426
|
const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
|
|
15417
15427
|
const { SCHEMES, getSchemeHandler } = require_schemes();
|
|
15418
15428
|
/**
|
|
@@ -15643,7 +15653,7 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
15643
15653
|
}));
|
|
15644
15654
|
//#endregion
|
|
15645
15655
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
15646
|
-
var require_uri = /* @__PURE__ */ __commonJSMin
|
|
15656
|
+
var require_uri = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
15647
15657
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15648
15658
|
const uri = require_fast_uri();
|
|
15649
15659
|
uri.code = "require(\"ajv/dist/runtime/uri\").default";
|
|
@@ -15651,7 +15661,7 @@ var require_uri = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
15651
15661
|
}));
|
|
15652
15662
|
//#endregion
|
|
15653
15663
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
15654
|
-
var require_core$
|
|
15664
|
+
var require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
15655
15665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15656
15666
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
15657
15667
|
var validate_1 = require_validate();
|
|
@@ -15715,7 +15725,7 @@ var require_core$2 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
15715
15725
|
"useDefaults",
|
|
15716
15726
|
"coerceTypes"
|
|
15717
15727
|
];
|
|
15718
|
-
const EXT_SCOPE_NAMES = new Set([
|
|
15728
|
+
const EXT_SCOPE_NAMES = /* @__PURE__ */ new Set([
|
|
15719
15729
|
"validate",
|
|
15720
15730
|
"serialize",
|
|
15721
15731
|
"parse",
|
|
@@ -16220,7 +16230,7 @@ var require_core$2 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16220
16230
|
}));
|
|
16221
16231
|
//#endregion
|
|
16222
16232
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
16223
|
-
var require_id = /* @__PURE__ */ __commonJSMin
|
|
16233
|
+
var require_id = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16224
16234
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16225
16235
|
exports.default = {
|
|
16226
16236
|
keyword: "id",
|
|
@@ -16231,7 +16241,7 @@ var require_id = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16231
16241
|
}));
|
|
16232
16242
|
//#endregion
|
|
16233
16243
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
16234
|
-
var require_ref = /* @__PURE__ */ __commonJSMin
|
|
16244
|
+
var require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16235
16245
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16236
16246
|
exports.callRef = exports.getValidate = void 0;
|
|
16237
16247
|
const ref_error_1 = require_ref_error();
|
|
@@ -16334,7 +16344,7 @@ var require_ref = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16334
16344
|
}));
|
|
16335
16345
|
//#endregion
|
|
16336
16346
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
16337
|
-
var require_core
|
|
16347
|
+
var require_core = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16338
16348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16339
16349
|
const id_1 = require_id();
|
|
16340
16350
|
const ref_1 = require_ref();
|
|
@@ -16351,7 +16361,7 @@ var require_core$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16351
16361
|
}));
|
|
16352
16362
|
//#endregion
|
|
16353
16363
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
16354
|
-
var require_limitNumber = /* @__PURE__ */ __commonJSMin
|
|
16364
|
+
var require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16355
16365
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16356
16366
|
const codegen_1 = require_codegen();
|
|
16357
16367
|
const ops = codegen_1.operators;
|
|
@@ -16394,7 +16404,7 @@ var require_limitNumber = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16394
16404
|
}));
|
|
16395
16405
|
//#endregion
|
|
16396
16406
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
16397
|
-
var require_multipleOf = /* @__PURE__ */ __commonJSMin
|
|
16407
|
+
var require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16398
16408
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16399
16409
|
const codegen_1 = require_codegen();
|
|
16400
16410
|
exports.default = {
|
|
@@ -16417,7 +16427,7 @@ var require_multipleOf = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16417
16427
|
}));
|
|
16418
16428
|
//#endregion
|
|
16419
16429
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
16420
|
-
var require_ucs2length = /* @__PURE__ */ __commonJSMin
|
|
16430
|
+
var require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16421
16431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16422
16432
|
function ucs2length(str) {
|
|
16423
16433
|
const len = str.length;
|
|
@@ -16439,7 +16449,7 @@ var require_ucs2length = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16439
16449
|
}));
|
|
16440
16450
|
//#endregion
|
|
16441
16451
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
16442
|
-
var require_limitLength = /* @__PURE__ */ __commonJSMin
|
|
16452
|
+
var require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16443
16453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16444
16454
|
const codegen_1 = require_codegen();
|
|
16445
16455
|
const util_1 = require_util();
|
|
@@ -16466,7 +16476,7 @@ var require_limitLength = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16466
16476
|
}));
|
|
16467
16477
|
//#endregion
|
|
16468
16478
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
16469
|
-
var require_pattern = /* @__PURE__ */ __commonJSMin
|
|
16479
|
+
var require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16470
16480
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16471
16481
|
const code_1 = require_code();
|
|
16472
16482
|
const util_1 = require_util();
|
|
@@ -16498,7 +16508,7 @@ var require_pattern = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16498
16508
|
}));
|
|
16499
16509
|
//#endregion
|
|
16500
16510
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
16501
|
-
var require_limitProperties = /* @__PURE__ */ __commonJSMin
|
|
16511
|
+
var require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16502
16512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16503
16513
|
const codegen_1 = require_codegen();
|
|
16504
16514
|
exports.default = {
|
|
@@ -16522,7 +16532,7 @@ var require_limitProperties = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16522
16532
|
}));
|
|
16523
16533
|
//#endregion
|
|
16524
16534
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
16525
|
-
var require_required = /* @__PURE__ */ __commonJSMin
|
|
16535
|
+
var require_required = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16526
16536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16527
16537
|
const code_1 = require_code();
|
|
16528
16538
|
const codegen_1 = require_codegen();
|
|
@@ -16588,7 +16598,7 @@ var require_required = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16588
16598
|
}));
|
|
16589
16599
|
//#endregion
|
|
16590
16600
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
16591
|
-
var require_limitItems = /* @__PURE__ */ __commonJSMin
|
|
16601
|
+
var require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16592
16602
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16593
16603
|
const codegen_1 = require_codegen();
|
|
16594
16604
|
exports.default = {
|
|
@@ -16612,7 +16622,7 @@ var require_limitItems = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16612
16622
|
}));
|
|
16613
16623
|
//#endregion
|
|
16614
16624
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
16615
|
-
var require_equal = /* @__PURE__ */ __commonJSMin
|
|
16625
|
+
var require_equal = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16616
16626
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16617
16627
|
const equal = require_fast_deep_equal();
|
|
16618
16628
|
equal.code = "require(\"ajv/dist/runtime/equal\").default";
|
|
@@ -16620,7 +16630,7 @@ var require_equal = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16620
16630
|
}));
|
|
16621
16631
|
//#endregion
|
|
16622
16632
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
16623
|
-
var require_uniqueItems = /* @__PURE__ */ __commonJSMin
|
|
16633
|
+
var require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16624
16634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16625
16635
|
const dataType_1 = require_dataType();
|
|
16626
16636
|
const codegen_1 = require_codegen();
|
|
@@ -16683,7 +16693,7 @@ var require_uniqueItems = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16683
16693
|
}));
|
|
16684
16694
|
//#endregion
|
|
16685
16695
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
16686
|
-
var require_const = /* @__PURE__ */ __commonJSMin
|
|
16696
|
+
var require_const = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16687
16697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16688
16698
|
const codegen_1 = require_codegen();
|
|
16689
16699
|
const util_1 = require_util();
|
|
@@ -16704,7 +16714,7 @@ var require_const = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16704
16714
|
}));
|
|
16705
16715
|
//#endregion
|
|
16706
16716
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
16707
|
-
var require_enum = /* @__PURE__ */ __commonJSMin
|
|
16717
|
+
var require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16708
16718
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16709
16719
|
const codegen_1 = require_codegen();
|
|
16710
16720
|
const util_1 = require_util();
|
|
@@ -16747,7 +16757,7 @@ var require_enum = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16747
16757
|
}));
|
|
16748
16758
|
//#endregion
|
|
16749
16759
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
16750
|
-
var require_validation = /* @__PURE__ */ __commonJSMin
|
|
16760
|
+
var require_validation = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16751
16761
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16752
16762
|
const limitNumber_1 = require_limitNumber();
|
|
16753
16763
|
const multipleOf_1 = require_multipleOf();
|
|
@@ -16782,7 +16792,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16782
16792
|
}));
|
|
16783
16793
|
//#endregion
|
|
16784
16794
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
16785
|
-
var require_additionalItems = /* @__PURE__ */ __commonJSMin
|
|
16795
|
+
var require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16786
16796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16787
16797
|
exports.validateAdditionalItems = void 0;
|
|
16788
16798
|
const codegen_1 = require_codegen();
|
|
@@ -16834,7 +16844,7 @@ var require_additionalItems = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16834
16844
|
}));
|
|
16835
16845
|
//#endregion
|
|
16836
16846
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
16837
|
-
var require_items = /* @__PURE__ */ __commonJSMin
|
|
16847
|
+
var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16838
16848
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16839
16849
|
exports.validateTuple = void 0;
|
|
16840
16850
|
const codegen_1 = require_codegen();
|
|
@@ -16887,7 +16897,7 @@ var require_items = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16887
16897
|
}));
|
|
16888
16898
|
//#endregion
|
|
16889
16899
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
16890
|
-
var require_prefixItems = /* @__PURE__ */ __commonJSMin
|
|
16900
|
+
var require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16891
16901
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16892
16902
|
const items_1 = require_items();
|
|
16893
16903
|
exports.default = {
|
|
@@ -16900,7 +16910,7 @@ var require_prefixItems = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16900
16910
|
}));
|
|
16901
16911
|
//#endregion
|
|
16902
16912
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
16903
|
-
var require_items2020 = /* @__PURE__ */ __commonJSMin
|
|
16913
|
+
var require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16904
16914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16905
16915
|
const codegen_1 = require_codegen();
|
|
16906
16916
|
const util_1 = require_util();
|
|
@@ -16927,7 +16937,7 @@ var require_items2020 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
16927
16937
|
}));
|
|
16928
16938
|
//#endregion
|
|
16929
16939
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
16930
|
-
var require_contains = /* @__PURE__ */ __commonJSMin
|
|
16940
|
+
var require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
16931
16941
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16932
16942
|
const codegen_1 = require_codegen();
|
|
16933
16943
|
const util_1 = require_util();
|
|
@@ -17011,7 +17021,7 @@ var require_contains = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17011
17021
|
}));
|
|
17012
17022
|
//#endregion
|
|
17013
17023
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
17014
|
-
var require_dependencies = /* @__PURE__ */ __commonJSMin
|
|
17024
|
+
var require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17015
17025
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17016
17026
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
17017
17027
|
const codegen_1 = require_codegen();
|
|
@@ -17092,7 +17102,7 @@ var require_dependencies = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17092
17102
|
}));
|
|
17093
17103
|
//#endregion
|
|
17094
17104
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
17095
|
-
var require_propertyNames = /* @__PURE__ */ __commonJSMin
|
|
17105
|
+
var require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17096
17106
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17097
17107
|
const codegen_1 = require_codegen();
|
|
17098
17108
|
const util_1 = require_util();
|
|
@@ -17128,7 +17138,7 @@ var require_propertyNames = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17128
17138
|
}));
|
|
17129
17139
|
//#endregion
|
|
17130
17140
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
17131
|
-
var require_additionalProperties = /* @__PURE__ */ __commonJSMin
|
|
17141
|
+
var require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17132
17142
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17133
17143
|
const code_1 = require_code();
|
|
17134
17144
|
const codegen_1 = require_codegen();
|
|
@@ -17217,7 +17227,7 @@ var require_additionalProperties = /* @__PURE__ */ __commonJSMin$1(((exports) =>
|
|
|
17217
17227
|
}));
|
|
17218
17228
|
//#endregion
|
|
17219
17229
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
17220
|
-
var require_properties = /* @__PURE__ */ __commonJSMin
|
|
17230
|
+
var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17221
17231
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17222
17232
|
const validate_1 = require_validate();
|
|
17223
17233
|
const code_1 = require_code();
|
|
@@ -17262,7 +17272,7 @@ var require_properties = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17262
17272
|
}));
|
|
17263
17273
|
//#endregion
|
|
17264
17274
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
17265
|
-
var require_patternProperties = /* @__PURE__ */ __commonJSMin
|
|
17275
|
+
var require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17266
17276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17267
17277
|
const code_1 = require_code();
|
|
17268
17278
|
const codegen_1 = require_codegen();
|
|
@@ -17317,7 +17327,7 @@ var require_patternProperties = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17317
17327
|
}));
|
|
17318
17328
|
//#endregion
|
|
17319
17329
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
17320
|
-
var require_not = /* @__PURE__ */ __commonJSMin
|
|
17330
|
+
var require_not = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17321
17331
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17322
17332
|
const util_1 = require_util();
|
|
17323
17333
|
exports.default = {
|
|
@@ -17344,7 +17354,7 @@ var require_not = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17344
17354
|
}));
|
|
17345
17355
|
//#endregion
|
|
17346
17356
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
17347
|
-
var require_anyOf = /* @__PURE__ */ __commonJSMin
|
|
17357
|
+
var require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17348
17358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17349
17359
|
exports.default = {
|
|
17350
17360
|
keyword: "anyOf",
|
|
@@ -17356,7 +17366,7 @@ var require_anyOf = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17356
17366
|
}));
|
|
17357
17367
|
//#endregion
|
|
17358
17368
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
17359
|
-
var require_oneOf = /* @__PURE__ */ __commonJSMin
|
|
17369
|
+
var require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17360
17370
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17361
17371
|
const codegen_1 = require_codegen();
|
|
17362
17372
|
const util_1 = require_util();
|
|
@@ -17402,7 +17412,7 @@ var require_oneOf = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17402
17412
|
}));
|
|
17403
17413
|
//#endregion
|
|
17404
17414
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
17405
|
-
var require_allOf = /* @__PURE__ */ __commonJSMin
|
|
17415
|
+
var require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17406
17416
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17407
17417
|
const util_1 = require_util();
|
|
17408
17418
|
exports.default = {
|
|
@@ -17427,7 +17437,7 @@ var require_allOf = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17427
17437
|
}));
|
|
17428
17438
|
//#endregion
|
|
17429
17439
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
17430
|
-
var require_if = /* @__PURE__ */ __commonJSMin
|
|
17440
|
+
var require_if = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17431
17441
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17432
17442
|
const codegen_1 = require_codegen();
|
|
17433
17443
|
const util_1 = require_util();
|
|
@@ -17484,7 +17494,7 @@ var require_if = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17484
17494
|
}));
|
|
17485
17495
|
//#endregion
|
|
17486
17496
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
17487
|
-
var require_thenElse = /* @__PURE__ */ __commonJSMin
|
|
17497
|
+
var require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17488
17498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17489
17499
|
const util_1 = require_util();
|
|
17490
17500
|
exports.default = {
|
|
@@ -17497,7 +17507,7 @@ var require_thenElse = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17497
17507
|
}));
|
|
17498
17508
|
//#endregion
|
|
17499
17509
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
17500
|
-
var require_applicator = /* @__PURE__ */ __commonJSMin
|
|
17510
|
+
var require_applicator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17501
17511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17502
17512
|
const additionalItems_1 = require_additionalItems();
|
|
17503
17513
|
const prefixItems_1 = require_prefixItems();
|
|
@@ -17538,7 +17548,7 @@ var require_applicator = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17538
17548
|
}));
|
|
17539
17549
|
//#endregion
|
|
17540
17550
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
17541
|
-
var require_format$2 = /* @__PURE__ */ __commonJSMin
|
|
17551
|
+
var require_format$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17542
17552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17543
17553
|
const codegen_1 = require_codegen();
|
|
17544
17554
|
exports.default = {
|
|
@@ -17626,13 +17636,13 @@ var require_format$2 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17626
17636
|
}));
|
|
17627
17637
|
//#endregion
|
|
17628
17638
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
17629
|
-
var require_format$1 = /* @__PURE__ */ __commonJSMin
|
|
17639
|
+
var require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17630
17640
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17631
17641
|
exports.default = [require_format$2().default];
|
|
17632
17642
|
}));
|
|
17633
17643
|
//#endregion
|
|
17634
17644
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
17635
|
-
var require_metadata = /* @__PURE__ */ __commonJSMin
|
|
17645
|
+
var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17636
17646
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17637
17647
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
17638
17648
|
exports.metadataVocabulary = [
|
|
@@ -17652,9 +17662,9 @@ var require_metadata = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17652
17662
|
}));
|
|
17653
17663
|
//#endregion
|
|
17654
17664
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
17655
|
-
var require_draft7 = /* @__PURE__ */ __commonJSMin
|
|
17665
|
+
var require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17656
17666
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17657
|
-
const core_1 = require_core
|
|
17667
|
+
const core_1 = require_core();
|
|
17658
17668
|
const validation_1 = require_validation();
|
|
17659
17669
|
const applicator_1 = require_applicator();
|
|
17660
17670
|
const format_1 = require_format$1();
|
|
@@ -17670,7 +17680,7 @@ var require_draft7 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17670
17680
|
}));
|
|
17671
17681
|
//#endregion
|
|
17672
17682
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
17673
|
-
var require_types = /* @__PURE__ */ __commonJSMin
|
|
17683
|
+
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17674
17684
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17675
17685
|
exports.DiscrError = void 0;
|
|
17676
17686
|
var DiscrError;
|
|
@@ -17681,7 +17691,7 @@ var require_types = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17681
17691
|
}));
|
|
17682
17692
|
//#endregion
|
|
17683
17693
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
17684
|
-
var require_discriminator = /* @__PURE__ */ __commonJSMin
|
|
17694
|
+
var require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
17685
17695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17686
17696
|
const codegen_1 = require_codegen();
|
|
17687
17697
|
const types_1 = require_types();
|
|
@@ -17774,7 +17784,7 @@ var require_discriminator = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
17774
17784
|
}));
|
|
17775
17785
|
//#endregion
|
|
17776
17786
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
17777
|
-
var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin
|
|
17787
|
+
var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17778
17788
|
module.exports = {
|
|
17779
17789
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
17780
17790
|
"$id": "http://json-schema.org/draft-07/schema#",
|
|
@@ -17912,10 +17922,10 @@ var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin$1(((exports, mo
|
|
|
17912
17922
|
}));
|
|
17913
17923
|
//#endregion
|
|
17914
17924
|
//#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
17915
|
-
var require_ajv = /* @__PURE__ */ __commonJSMin
|
|
17925
|
+
var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
17916
17926
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17917
17927
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
17918
|
-
const core_1 = require_core$
|
|
17928
|
+
const core_1 = require_core$1();
|
|
17919
17929
|
const draft7_1 = require_draft7();
|
|
17920
17930
|
const discriminator_1 = require_discriminator();
|
|
17921
17931
|
const draft7MetaSchema = require_json_schema_draft_07();
|
|
@@ -18004,7 +18014,7 @@ var require_ajv = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
18004
18014
|
}));
|
|
18005
18015
|
//#endregion
|
|
18006
18016
|
//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js
|
|
18007
|
-
var require_formats = /* @__PURE__ */ __commonJSMin
|
|
18017
|
+
var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18008
18018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18009
18019
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
18010
18020
|
function fmtDef(validate, compare) {
|
|
@@ -18192,7 +18202,7 @@ var require_formats = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
18192
18202
|
}));
|
|
18193
18203
|
//#endregion
|
|
18194
18204
|
//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js
|
|
18195
|
-
var require_limit = /* @__PURE__ */ __commonJSMin
|
|
18205
|
+
var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
18196
18206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18197
18207
|
exports.formatLimitDefinition = void 0;
|
|
18198
18208
|
const ajv_1 = require_ajv();
|
|
@@ -18270,7 +18280,7 @@ var require_limit = /* @__PURE__ */ __commonJSMin$1(((exports) => {
|
|
|
18270
18280
|
}));
|
|
18271
18281
|
//#endregion
|
|
18272
18282
|
//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js
|
|
18273
|
-
var require_dist = /* @__PURE__ */ __commonJSMin
|
|
18283
|
+
var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
18274
18284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18275
18285
|
const formats_1 = require_formats();
|
|
18276
18286
|
const limit_1 = require_limit();
|
|
@@ -18304,8 +18314,8 @@ var require_dist = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
18304
18314
|
}));
|
|
18305
18315
|
//#endregion
|
|
18306
18316
|
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
18307
|
-
var import_ajv = /* @__PURE__ */ __toESM
|
|
18308
|
-
var import_dist = /* @__PURE__ */ __toESM
|
|
18317
|
+
var import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
|
|
18318
|
+
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
|
|
18309
18319
|
function createDefaultAjvInstance() {
|
|
18310
18320
|
const ajv = new import_ajv.default({
|
|
18311
18321
|
strict: false,
|
|
@@ -20335,17 +20345,7 @@ Refer to the \`general-guidance\` tool for full workspace documentation includin
|
|
|
20335
20345
|
};
|
|
20336
20346
|
//#endregion
|
|
20337
20347
|
//#region ../../node_modules/.pnpm/lodash.camelcase@4.3.0/node_modules/lodash.camelcase/index.js
|
|
20338
|
-
var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin
|
|
20339
|
-
/**
|
|
20340
|
-
* lodash (Custom Build) <https://lodash.com/>
|
|
20341
|
-
* Build: `lodash modularize exports="npm" -o ./`
|
|
20342
|
-
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
20343
|
-
* Released under MIT license <https://lodash.com/license>
|
|
20344
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
20345
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
20346
|
-
*/
|
|
20347
|
-
/** Used as references for various `Number` constants. */
|
|
20348
|
-
var INFINITY = Infinity;
|
|
20348
|
+
var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20349
20349
|
/** `Object#toString` result references. */
|
|
20350
20350
|
var symbolTag = "[object Symbol]";
|
|
20351
20351
|
/** Used to match words composed of alphanumeric characters. */
|
|
@@ -20752,7 +20752,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin$1(((exports, module
|
|
|
20752
20752
|
if (typeof value == "string") return value;
|
|
20753
20753
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
20754
20754
|
var result = value + "";
|
|
20755
|
-
return result == "0" && 1 / value == -
|
|
20755
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
20756
20756
|
}
|
|
20757
20757
|
/**
|
|
20758
20758
|
* Casts `array` to a slice if it's needed.
|
|
@@ -20978,17 +20978,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin$1(((exports, module
|
|
|
20978
20978
|
}));
|
|
20979
20979
|
//#endregion
|
|
20980
20980
|
//#region ../../node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.js
|
|
20981
|
-
var require_lodash_deburr = /* @__PURE__ */ __commonJSMin
|
|
20982
|
-
/**
|
|
20983
|
-
* lodash (Custom Build) <https://lodash.com/>
|
|
20984
|
-
* Build: `lodash modularize exports="npm" -o ./`
|
|
20985
|
-
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
|
|
20986
|
-
* Released under MIT license <https://lodash.com/license>
|
|
20987
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
20988
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
20989
|
-
*/
|
|
20990
|
-
/** Used as references for various `Number` constants. */
|
|
20991
|
-
var INFINITY = Infinity;
|
|
20981
|
+
var require_lodash_deburr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
20992
20982
|
/** `Object#toString` result references. */
|
|
20993
20983
|
var symbolTag = "[object Symbol]";
|
|
20994
20984
|
/** Used to match Latin Unicode letters (excluding mathematical operators). */
|
|
@@ -21240,7 +21230,7 @@ var require_lodash_deburr = /* @__PURE__ */ __commonJSMin$1(((exports, module) =
|
|
|
21240
21230
|
if (typeof value == "string") return value;
|
|
21241
21231
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
21242
21232
|
var result = value + "";
|
|
21243
|
-
return result == "0" && 1 / value == -
|
|
21233
|
+
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
21244
21234
|
}
|
|
21245
21235
|
/**
|
|
21246
21236
|
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
@@ -21338,7 +21328,7 @@ var require_lodash_deburr = /* @__PURE__ */ __commonJSMin$1(((exports, module) =
|
|
|
21338
21328
|
module.exports = deburr;
|
|
21339
21329
|
}));
|
|
21340
21330
|
require_lodash_camelcase();
|
|
21341
|
-
var import_lodash_deburr = /* @__PURE__ */ __toESM
|
|
21331
|
+
var import_lodash_deburr = /* @__PURE__ */ __toESM(require_lodash_deburr(), 1);
|
|
21342
21332
|
const kebabCase = (str) => {
|
|
21343
21333
|
return (0, import_lodash_deburr.default)(str).replace(/[^a-zA-Z0-9]+/g, "-").replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase().replace(/^-+|-+$/g, "");
|
|
21344
21334
|
};
|
|
@@ -21381,30 +21371,17 @@ const renderGeneratorCommand = (generatorId, schema, packageManager) => {
|
|
|
21381
21371
|
return `\`\`\`bash\n${buildNxCommand(`g @aws/nx-plugin:${generatorId} --no-interactive ${Object.keys(schema.properties ?? {}).filter((k) => required.has(k)).map((k) => `--${k}=<${k}>`).join(" ")}`, packageManager)}\n\`\`\``;
|
|
21382
21372
|
};
|
|
21383
21373
|
//#endregion
|
|
21384
|
-
//#region ../../node_modules/.pnpm/js-yaml@4.
|
|
21385
|
-
|
|
21386
|
-
|
|
21387
|
-
|
|
21388
|
-
var
|
|
21389
|
-
var
|
|
21390
|
-
var
|
|
21391
|
-
var
|
|
21392
|
-
|
|
21393
|
-
|
|
21394
|
-
|
|
21395
|
-
key = keys[i];
|
|
21396
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21397
|
-
get: ((k) => from[k]).bind(null, key),
|
|
21398
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21399
|
-
});
|
|
21400
|
-
}
|
|
21401
|
-
return to;
|
|
21402
|
-
};
|
|
21403
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
21404
|
-
value: mod,
|
|
21405
|
-
enumerable: true
|
|
21406
|
-
}) : target, mod));
|
|
21407
|
-
var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
21374
|
+
//#region ../../node_modules/.pnpm/js-yaml@4.3.0/node_modules/js-yaml/dist/js-yaml.mjs
|
|
21375
|
+
function getDefaultExportFromCjs(x) {
|
|
21376
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
21377
|
+
}
|
|
21378
|
+
var jsYaml = {};
|
|
21379
|
+
var loader = {};
|
|
21380
|
+
var common = {};
|
|
21381
|
+
var hasRequiredCommon;
|
|
21382
|
+
function requireCommon() {
|
|
21383
|
+
if (hasRequiredCommon) return common;
|
|
21384
|
+
hasRequiredCommon = 1;
|
|
21408
21385
|
function isNothing(subject) {
|
|
21409
21386
|
return typeof subject === "undefined" || subject === null;
|
|
21410
21387
|
}
|
|
@@ -21434,24 +21411,29 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21434
21411
|
function isNegativeZero(number) {
|
|
21435
21412
|
return number === 0 && Number.NEGATIVE_INFINITY === 1 / number;
|
|
21436
21413
|
}
|
|
21437
|
-
|
|
21438
|
-
|
|
21439
|
-
|
|
21440
|
-
|
|
21441
|
-
|
|
21442
|
-
|
|
21443
|
-
|
|
21444
|
-
|
|
21445
|
-
|
|
21414
|
+
common.isNothing = isNothing;
|
|
21415
|
+
common.isObject = isObject;
|
|
21416
|
+
common.toArray = toArray;
|
|
21417
|
+
common.repeat = repeat;
|
|
21418
|
+
common.isNegativeZero = isNegativeZero;
|
|
21419
|
+
common.extend = extend;
|
|
21420
|
+
return common;
|
|
21421
|
+
}
|
|
21422
|
+
var exception;
|
|
21423
|
+
var hasRequiredException;
|
|
21424
|
+
function requireException() {
|
|
21425
|
+
if (hasRequiredException) return exception;
|
|
21426
|
+
hasRequiredException = 1;
|
|
21427
|
+
function formatError(exception2, compact) {
|
|
21446
21428
|
let where = "";
|
|
21447
|
-
const message =
|
|
21448
|
-
if (!
|
|
21449
|
-
if (
|
|
21450
|
-
where += "(" + (
|
|
21451
|
-
if (!compact &&
|
|
21429
|
+
const message = exception2.reason || "(unknown reason)";
|
|
21430
|
+
if (!exception2.mark) return message;
|
|
21431
|
+
if (exception2.mark.name) where += "in \"" + exception2.mark.name + "\" ";
|
|
21432
|
+
where += "(" + (exception2.mark.line + 1) + ":" + (exception2.mark.column + 1) + ")";
|
|
21433
|
+
if (!compact && exception2.mark.snippet) where += "\n\n" + exception2.mark.snippet;
|
|
21452
21434
|
return message + " " + where;
|
|
21453
21435
|
}
|
|
21454
|
-
function
|
|
21436
|
+
function YAMLException2(reason, mark) {
|
|
21455
21437
|
Error.call(this);
|
|
21456
21438
|
this.name = "YAMLException";
|
|
21457
21439
|
this.reason = reason;
|
|
@@ -21460,15 +21442,20 @@ var require_exception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21460
21442
|
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
21461
21443
|
else this.stack = (/* @__PURE__ */ new Error()).stack || "";
|
|
21462
21444
|
}
|
|
21463
|
-
|
|
21464
|
-
|
|
21465
|
-
|
|
21445
|
+
YAMLException2.prototype = Object.create(Error.prototype);
|
|
21446
|
+
YAMLException2.prototype.constructor = YAMLException2;
|
|
21447
|
+
YAMLException2.prototype.toString = function toString(compact) {
|
|
21466
21448
|
return this.name + ": " + formatError(this, compact);
|
|
21467
21449
|
};
|
|
21468
|
-
|
|
21469
|
-
|
|
21470
|
-
|
|
21471
|
-
|
|
21450
|
+
exception = YAMLException2;
|
|
21451
|
+
return exception;
|
|
21452
|
+
}
|
|
21453
|
+
var snippet;
|
|
21454
|
+
var hasRequiredSnippet;
|
|
21455
|
+
function requireSnippet() {
|
|
21456
|
+
if (hasRequiredSnippet) return snippet;
|
|
21457
|
+
hasRequiredSnippet = 1;
|
|
21458
|
+
const common2 = requireCommon();
|
|
21472
21459
|
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
21473
21460
|
let head = "";
|
|
21474
21461
|
let tail = "";
|
|
@@ -21487,7 +21474,7 @@ var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21487
21474
|
};
|
|
21488
21475
|
}
|
|
21489
21476
|
function padStart(string, max) {
|
|
21490
|
-
return
|
|
21477
|
+
return common2.repeat(" ", max - string.length) + string;
|
|
21491
21478
|
}
|
|
21492
21479
|
function makeSnippet(mark, options) {
|
|
21493
21480
|
options = Object.create(options || null);
|
|
@@ -21512,24 +21499,29 @@ var require_snippet = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21512
21499
|
const maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);
|
|
21513
21500
|
for (let i = 1; i <= options.linesBefore; i++) {
|
|
21514
21501
|
if (foundLineNo - i < 0) break;
|
|
21515
|
-
const
|
|
21516
|
-
result =
|
|
21502
|
+
const line2 = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
|
|
21503
|
+
result = common2.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
|
|
21517
21504
|
}
|
|
21518
21505
|
const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
|
|
21519
|
-
result +=
|
|
21520
|
-
result +=
|
|
21506
|
+
result += common2.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line.str + "\n";
|
|
21507
|
+
result += common2.repeat("-", options.indent + lineNoLength + 3 + line.pos) + "^\n";
|
|
21521
21508
|
for (let i = 1; i <= options.linesAfter; i++) {
|
|
21522
21509
|
if (foundLineNo + i >= lineEnds.length) break;
|
|
21523
|
-
const
|
|
21524
|
-
result +=
|
|
21510
|
+
const line2 = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
|
|
21511
|
+
result += common2.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
|
|
21525
21512
|
}
|
|
21526
21513
|
return result.replace(/\n$/, "");
|
|
21527
21514
|
}
|
|
21528
|
-
|
|
21529
|
-
|
|
21530
|
-
|
|
21531
|
-
|
|
21532
|
-
|
|
21515
|
+
snippet = makeSnippet;
|
|
21516
|
+
return snippet;
|
|
21517
|
+
}
|
|
21518
|
+
var type;
|
|
21519
|
+
var hasRequiredType;
|
|
21520
|
+
function requireType() {
|
|
21521
|
+
if (hasRequiredType) return type;
|
|
21522
|
+
hasRequiredType = 1;
|
|
21523
|
+
const YAMLException2 = requireException();
|
|
21524
|
+
const TYPE_CONSTRUCTOR_OPTIONS = [
|
|
21533
21525
|
"kind",
|
|
21534
21526
|
"multi",
|
|
21535
21527
|
"resolve",
|
|
@@ -21541,24 +21533,24 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21541
21533
|
"defaultStyle",
|
|
21542
21534
|
"styleAliases"
|
|
21543
21535
|
];
|
|
21544
|
-
|
|
21536
|
+
const YAML_NODE_KINDS = [
|
|
21545
21537
|
"scalar",
|
|
21546
21538
|
"sequence",
|
|
21547
21539
|
"mapping"
|
|
21548
21540
|
];
|
|
21549
|
-
function compileStyleAliases(
|
|
21541
|
+
function compileStyleAliases(map2) {
|
|
21550
21542
|
const result = {};
|
|
21551
|
-
if (
|
|
21552
|
-
|
|
21543
|
+
if (map2 !== null) Object.keys(map2).forEach(function(style) {
|
|
21544
|
+
map2[style].forEach(function(alias) {
|
|
21553
21545
|
result[String(alias)] = style;
|
|
21554
21546
|
});
|
|
21555
21547
|
});
|
|
21556
21548
|
return result;
|
|
21557
21549
|
}
|
|
21558
|
-
function
|
|
21550
|
+
function Type2(tag, options) {
|
|
21559
21551
|
options = options || {};
|
|
21560
21552
|
Object.keys(options).forEach(function(name) {
|
|
21561
|
-
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) throw new
|
|
21553
|
+
if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) throw new YAMLException2("Unknown option \"" + name + "\" is met in definition of \"" + tag + "\" YAML type.");
|
|
21562
21554
|
});
|
|
21563
21555
|
this.options = options;
|
|
21564
21556
|
this.tag = tag;
|
|
@@ -21576,16 +21568,21 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21576
21568
|
this.defaultStyle = options["defaultStyle"] || null;
|
|
21577
21569
|
this.multi = options["multi"] || false;
|
|
21578
21570
|
this.styleAliases = compileStyleAliases(options["styleAliases"] || null);
|
|
21579
|
-
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) throw new
|
|
21580
|
-
}
|
|
21581
|
-
|
|
21582
|
-
|
|
21583
|
-
|
|
21584
|
-
|
|
21585
|
-
|
|
21586
|
-
|
|
21571
|
+
if (YAML_NODE_KINDS.indexOf(this.kind) === -1) throw new YAMLException2("Unknown kind \"" + this.kind + "\" is specified for \"" + tag + "\" YAML type.");
|
|
21572
|
+
}
|
|
21573
|
+
type = Type2;
|
|
21574
|
+
return type;
|
|
21575
|
+
}
|
|
21576
|
+
var schema;
|
|
21577
|
+
var hasRequiredSchema;
|
|
21578
|
+
function requireSchema() {
|
|
21579
|
+
if (hasRequiredSchema) return schema;
|
|
21580
|
+
hasRequiredSchema = 1;
|
|
21581
|
+
const YAMLException2 = requireException();
|
|
21582
|
+
const Type2 = requireType();
|
|
21583
|
+
function compileList(schema2, name) {
|
|
21587
21584
|
const result = [];
|
|
21588
|
-
|
|
21585
|
+
schema2[name].forEach(function(currentType) {
|
|
21589
21586
|
let newIndex = result.length;
|
|
21590
21587
|
result.forEach(function(previousType, previousIndex) {
|
|
21591
21588
|
if (previousType.tag === currentType.tag && previousType.kind === currentType.kind && previousType.multi === currentType.multi) newIndex = previousIndex;
|
|
@@ -21607,36 +21604,36 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21607
21604
|
fallback: []
|
|
21608
21605
|
}
|
|
21609
21606
|
};
|
|
21610
|
-
function collectType(
|
|
21611
|
-
if (
|
|
21612
|
-
result.multi[
|
|
21613
|
-
result.multi["fallback"].push(
|
|
21614
|
-
} else result[
|
|
21607
|
+
function collectType(type2) {
|
|
21608
|
+
if (type2.multi) {
|
|
21609
|
+
result.multi[type2.kind].push(type2);
|
|
21610
|
+
result.multi["fallback"].push(type2);
|
|
21611
|
+
} else result[type2.kind][type2.tag] = result["fallback"][type2.tag] = type2;
|
|
21615
21612
|
}
|
|
21616
21613
|
for (let index = 0, length = arguments.length; index < length; index += 1) arguments[index].forEach(collectType);
|
|
21617
21614
|
return result;
|
|
21618
21615
|
}
|
|
21619
|
-
function
|
|
21616
|
+
function Schema2(definition) {
|
|
21620
21617
|
return this.extend(definition);
|
|
21621
21618
|
}
|
|
21622
|
-
|
|
21619
|
+
Schema2.prototype.extend = function extend(definition) {
|
|
21623
21620
|
let implicit = [];
|
|
21624
21621
|
let explicit = [];
|
|
21625
|
-
if (definition instanceof
|
|
21622
|
+
if (definition instanceof Type2) explicit.push(definition);
|
|
21626
21623
|
else if (Array.isArray(definition)) explicit = explicit.concat(definition);
|
|
21627
21624
|
else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {
|
|
21628
21625
|
if (definition.implicit) implicit = implicit.concat(definition.implicit);
|
|
21629
21626
|
if (definition.explicit) explicit = explicit.concat(definition.explicit);
|
|
21630
|
-
} else throw new
|
|
21631
|
-
implicit.forEach(function(
|
|
21632
|
-
if (!(
|
|
21633
|
-
if (
|
|
21634
|
-
if (
|
|
21627
|
+
} else throw new YAMLException2("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
21628
|
+
implicit.forEach(function(type2) {
|
|
21629
|
+
if (!(type2 instanceof Type2)) throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
21630
|
+
if (type2.loadKind && type2.loadKind !== "scalar") throw new YAMLException2("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
21631
|
+
if (type2.multi) throw new YAMLException2("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
21635
21632
|
});
|
|
21636
|
-
explicit.forEach(function(
|
|
21637
|
-
if (!(
|
|
21633
|
+
explicit.forEach(function(type2) {
|
|
21634
|
+
if (!(type2 instanceof Type2)) throw new YAMLException2("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
21638
21635
|
});
|
|
21639
|
-
const result = Object.create(
|
|
21636
|
+
const result = Object.create(Schema2.prototype);
|
|
21640
21637
|
result.implicit = (this.implicit || []).concat(implicit);
|
|
21641
21638
|
result.explicit = (this.explicit || []).concat(explicit);
|
|
21642
21639
|
result.compiledImplicit = compileList(result, "implicit");
|
|
@@ -21644,41 +21641,66 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21644
21641
|
result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);
|
|
21645
21642
|
return result;
|
|
21646
21643
|
};
|
|
21647
|
-
|
|
21648
|
-
|
|
21649
|
-
|
|
21650
|
-
|
|
21644
|
+
schema = Schema2;
|
|
21645
|
+
return schema;
|
|
21646
|
+
}
|
|
21647
|
+
var str;
|
|
21648
|
+
var hasRequiredStr;
|
|
21649
|
+
function requireStr() {
|
|
21650
|
+
if (hasRequiredStr) return str;
|
|
21651
|
+
hasRequiredStr = 1;
|
|
21652
|
+
str = new (requireType())("tag:yaml.org,2002:str", {
|
|
21651
21653
|
kind: "scalar",
|
|
21652
21654
|
construct: function(data) {
|
|
21653
21655
|
return data !== null ? data : "";
|
|
21654
21656
|
}
|
|
21655
21657
|
});
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21658
|
+
return str;
|
|
21659
|
+
}
|
|
21660
|
+
var seq;
|
|
21661
|
+
var hasRequiredSeq;
|
|
21662
|
+
function requireSeq() {
|
|
21663
|
+
if (hasRequiredSeq) return seq;
|
|
21664
|
+
hasRequiredSeq = 1;
|
|
21665
|
+
seq = new (requireType())("tag:yaml.org,2002:seq", {
|
|
21659
21666
|
kind: "sequence",
|
|
21660
21667
|
construct: function(data) {
|
|
21661
21668
|
return data !== null ? data : [];
|
|
21662
21669
|
}
|
|
21663
21670
|
});
|
|
21664
|
-
|
|
21665
|
-
|
|
21666
|
-
|
|
21671
|
+
return seq;
|
|
21672
|
+
}
|
|
21673
|
+
var map$3;
|
|
21674
|
+
var hasRequiredMap;
|
|
21675
|
+
function requireMap() {
|
|
21676
|
+
if (hasRequiredMap) return map$3;
|
|
21677
|
+
hasRequiredMap = 1;
|
|
21678
|
+
map$3 = new (requireType())("tag:yaml.org,2002:map", {
|
|
21667
21679
|
kind: "mapping",
|
|
21668
21680
|
construct: function(data) {
|
|
21669
21681
|
return data !== null ? data : {};
|
|
21670
21682
|
}
|
|
21671
21683
|
});
|
|
21672
|
-
|
|
21673
|
-
|
|
21674
|
-
|
|
21675
|
-
|
|
21676
|
-
|
|
21677
|
-
|
|
21684
|
+
return map$3;
|
|
21685
|
+
}
|
|
21686
|
+
var failsafe;
|
|
21687
|
+
var hasRequiredFailsafe;
|
|
21688
|
+
function requireFailsafe() {
|
|
21689
|
+
if (hasRequiredFailsafe) return failsafe;
|
|
21690
|
+
hasRequiredFailsafe = 1;
|
|
21691
|
+
failsafe = new (requireSchema())({ explicit: [
|
|
21692
|
+
requireStr(),
|
|
21693
|
+
requireSeq(),
|
|
21694
|
+
requireMap()
|
|
21678
21695
|
] });
|
|
21679
|
-
|
|
21680
|
-
|
|
21681
|
-
|
|
21696
|
+
return failsafe;
|
|
21697
|
+
}
|
|
21698
|
+
var _null;
|
|
21699
|
+
var hasRequired_null;
|
|
21700
|
+
function require_null() {
|
|
21701
|
+
if (hasRequired_null) return _null;
|
|
21702
|
+
hasRequired_null = 1;
|
|
21703
|
+
const Type2 = requireType();
|
|
21682
21704
|
function resolveYamlNull(data) {
|
|
21683
21705
|
if (data === null) return true;
|
|
21684
21706
|
const max = data.length;
|
|
@@ -21690,7 +21712,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21690
21712
|
function isNull(object) {
|
|
21691
21713
|
return object === null;
|
|
21692
21714
|
}
|
|
21693
|
-
|
|
21715
|
+
_null = new Type2("tag:yaml.org,2002:null", {
|
|
21694
21716
|
kind: "scalar",
|
|
21695
21717
|
resolve: resolveYamlNull,
|
|
21696
21718
|
construct: constructYamlNull,
|
|
@@ -21714,9 +21736,14 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21714
21736
|
},
|
|
21715
21737
|
defaultStyle: "lowercase"
|
|
21716
21738
|
});
|
|
21717
|
-
|
|
21718
|
-
|
|
21719
|
-
|
|
21739
|
+
return _null;
|
|
21740
|
+
}
|
|
21741
|
+
var bool;
|
|
21742
|
+
var hasRequiredBool;
|
|
21743
|
+
function requireBool() {
|
|
21744
|
+
if (hasRequiredBool) return bool;
|
|
21745
|
+
hasRequiredBool = 1;
|
|
21746
|
+
const Type2 = requireType();
|
|
21720
21747
|
function resolveYamlBoolean(data) {
|
|
21721
21748
|
if (data === null) return false;
|
|
21722
21749
|
const max = data.length;
|
|
@@ -21728,7 +21755,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21728
21755
|
function isBoolean(object) {
|
|
21729
21756
|
return Object.prototype.toString.call(object) === "[object Boolean]";
|
|
21730
21757
|
}
|
|
21731
|
-
|
|
21758
|
+
bool = new Type2("tag:yaml.org,2002:bool", {
|
|
21732
21759
|
kind: "scalar",
|
|
21733
21760
|
resolve: resolveYamlBoolean,
|
|
21734
21761
|
construct: constructYamlBoolean,
|
|
@@ -21746,10 +21773,15 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21746
21773
|
},
|
|
21747
21774
|
defaultStyle: "lowercase"
|
|
21748
21775
|
});
|
|
21749
|
-
|
|
21750
|
-
|
|
21751
|
-
|
|
21752
|
-
|
|
21776
|
+
return bool;
|
|
21777
|
+
}
|
|
21778
|
+
var int;
|
|
21779
|
+
var hasRequiredInt;
|
|
21780
|
+
function requireInt() {
|
|
21781
|
+
if (hasRequiredInt) return int;
|
|
21782
|
+
hasRequiredInt = 1;
|
|
21783
|
+
const common2 = requireCommon();
|
|
21784
|
+
const Type2 = requireType();
|
|
21753
21785
|
function isHexCode(c) {
|
|
21754
21786
|
return c >= 48 && c <= 57 || c >= 65 && c <= 70 || c >= 97 && c <= 102;
|
|
21755
21787
|
}
|
|
@@ -21777,7 +21809,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21777
21809
|
if (ch !== "0" && ch !== "1") return false;
|
|
21778
21810
|
hasDigits = true;
|
|
21779
21811
|
}
|
|
21780
|
-
return hasDigits &&
|
|
21812
|
+
return hasDigits && isFinite(parseYamlInteger(data));
|
|
21781
21813
|
}
|
|
21782
21814
|
if (ch === "x") {
|
|
21783
21815
|
index++;
|
|
@@ -21785,7 +21817,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21785
21817
|
if (!isHexCode(data.charCodeAt(index))) return false;
|
|
21786
21818
|
hasDigits = true;
|
|
21787
21819
|
}
|
|
21788
|
-
return hasDigits &&
|
|
21820
|
+
return hasDigits && isFinite(parseYamlInteger(data));
|
|
21789
21821
|
}
|
|
21790
21822
|
if (ch === "o") {
|
|
21791
21823
|
index++;
|
|
@@ -21793,7 +21825,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21793
21825
|
if (!isOctCode(data.charCodeAt(index))) return false;
|
|
21794
21826
|
hasDigits = true;
|
|
21795
21827
|
}
|
|
21796
|
-
return hasDigits &&
|
|
21828
|
+
return hasDigits && isFinite(parseYamlInteger(data));
|
|
21797
21829
|
}
|
|
21798
21830
|
}
|
|
21799
21831
|
for (; index < max; index++) {
|
|
@@ -21801,7 +21833,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21801
21833
|
hasDigits = true;
|
|
21802
21834
|
}
|
|
21803
21835
|
if (!hasDigits) return false;
|
|
21804
|
-
return
|
|
21836
|
+
return isFinite(parseYamlInteger(data));
|
|
21805
21837
|
}
|
|
21806
21838
|
function parseYamlInteger(data) {
|
|
21807
21839
|
let value = data;
|
|
@@ -21824,9 +21856,9 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21824
21856
|
return parseYamlInteger(data);
|
|
21825
21857
|
}
|
|
21826
21858
|
function isInteger(object) {
|
|
21827
|
-
return Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !
|
|
21859
|
+
return Object.prototype.toString.call(object) === "[object Number]" && object % 1 === 0 && !common2.isNegativeZero(object);
|
|
21828
21860
|
}
|
|
21829
|
-
|
|
21861
|
+
int = new Type2("tag:yaml.org,2002:int", {
|
|
21830
21862
|
kind: "scalar",
|
|
21831
21863
|
resolve: resolveYamlInteger,
|
|
21832
21864
|
construct: constructYamlInteger,
|
|
@@ -21853,16 +21885,21 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21853
21885
|
hexadecimal: [16, "hex"]
|
|
21854
21886
|
}
|
|
21855
21887
|
});
|
|
21856
|
-
|
|
21857
|
-
|
|
21858
|
-
|
|
21859
|
-
|
|
21860
|
-
|
|
21861
|
-
|
|
21888
|
+
return int;
|
|
21889
|
+
}
|
|
21890
|
+
var float;
|
|
21891
|
+
var hasRequiredFloat;
|
|
21892
|
+
function requireFloat() {
|
|
21893
|
+
if (hasRequiredFloat) return float;
|
|
21894
|
+
hasRequiredFloat = 1;
|
|
21895
|
+
const common2 = requireCommon();
|
|
21896
|
+
const Type2 = requireType();
|
|
21897
|
+
const YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
21898
|
+
const YAML_FLOAT_SPECIAL_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
21862
21899
|
function resolveYamlFloat(data) {
|
|
21863
21900
|
if (data === null) return false;
|
|
21864
21901
|
if (!YAML_FLOAT_PATTERN.test(data)) return false;
|
|
21865
|
-
if (
|
|
21902
|
+
if (isFinite(parseFloat(data, 10))) return true;
|
|
21866
21903
|
return YAML_FLOAT_SPECIAL_PATTERN.test(data);
|
|
21867
21904
|
}
|
|
21868
21905
|
function constructYamlFloat(data) {
|
|
@@ -21873,7 +21910,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21873
21910
|
else if (value === ".nan") return NaN;
|
|
21874
21911
|
return sign * parseFloat(value, 10);
|
|
21875
21912
|
}
|
|
21876
|
-
|
|
21913
|
+
const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
21877
21914
|
function representYamlFloat(object, style) {
|
|
21878
21915
|
if (isNaN(object)) switch (style) {
|
|
21879
21916
|
case "lowercase": return ".nan";
|
|
@@ -21890,14 +21927,14 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21890
21927
|
case "uppercase": return "-.INF";
|
|
21891
21928
|
case "camelcase": return "-.Inf";
|
|
21892
21929
|
}
|
|
21893
|
-
else if (
|
|
21930
|
+
else if (common2.isNegativeZero(object)) return "-0.0";
|
|
21894
21931
|
const res = object.toString(10);
|
|
21895
21932
|
return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
|
|
21896
21933
|
}
|
|
21897
21934
|
function isFloat(object) {
|
|
21898
|
-
return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 ||
|
|
21935
|
+
return Object.prototype.toString.call(object) === "[object Number]" && (object % 1 !== 0 || common2.isNegativeZero(object));
|
|
21899
21936
|
}
|
|
21900
|
-
|
|
21937
|
+
float = new Type2("tag:yaml.org,2002:float", {
|
|
21901
21938
|
kind: "scalar",
|
|
21902
21939
|
resolve: resolveYamlFloat,
|
|
21903
21940
|
construct: constructYamlFloat,
|
|
@@ -21905,22 +21942,37 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21905
21942
|
represent: representYamlFloat,
|
|
21906
21943
|
defaultStyle: "lowercase"
|
|
21907
21944
|
});
|
|
21908
|
-
|
|
21909
|
-
|
|
21910
|
-
|
|
21945
|
+
return float;
|
|
21946
|
+
}
|
|
21947
|
+
var json;
|
|
21948
|
+
var hasRequiredJson;
|
|
21949
|
+
function requireJson() {
|
|
21950
|
+
if (hasRequiredJson) return json;
|
|
21951
|
+
hasRequiredJson = 1;
|
|
21952
|
+
json = requireFailsafe().extend({ implicit: [
|
|
21911
21953
|
require_null(),
|
|
21912
|
-
|
|
21913
|
-
|
|
21914
|
-
|
|
21954
|
+
requireBool(),
|
|
21955
|
+
requireInt(),
|
|
21956
|
+
requireFloat()
|
|
21915
21957
|
] });
|
|
21916
|
-
|
|
21917
|
-
|
|
21918
|
-
|
|
21919
|
-
|
|
21920
|
-
|
|
21921
|
-
|
|
21922
|
-
|
|
21923
|
-
|
|
21958
|
+
return json;
|
|
21959
|
+
}
|
|
21960
|
+
var core$1;
|
|
21961
|
+
var hasRequiredCore;
|
|
21962
|
+
function requireCore() {
|
|
21963
|
+
if (hasRequiredCore) return core$1;
|
|
21964
|
+
hasRequiredCore = 1;
|
|
21965
|
+
core$1 = requireJson();
|
|
21966
|
+
return core$1;
|
|
21967
|
+
}
|
|
21968
|
+
var timestamp;
|
|
21969
|
+
var hasRequiredTimestamp;
|
|
21970
|
+
function requireTimestamp() {
|
|
21971
|
+
if (hasRequiredTimestamp) return timestamp;
|
|
21972
|
+
hasRequiredTimestamp = 1;
|
|
21973
|
+
const Type2 = requireType();
|
|
21974
|
+
const YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
|
21975
|
+
const YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
21924
21976
|
function resolveYamlTimestamp(data) {
|
|
21925
21977
|
if (data === null) return false;
|
|
21926
21978
|
if (YAML_DATE_REGEXP.exec(data) !== null) return true;
|
|
@@ -21958,34 +22010,44 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21958
22010
|
function representYamlTimestamp(object) {
|
|
21959
22011
|
return object.toISOString();
|
|
21960
22012
|
}
|
|
21961
|
-
|
|
22013
|
+
timestamp = new Type2("tag:yaml.org,2002:timestamp", {
|
|
21962
22014
|
kind: "scalar",
|
|
21963
22015
|
resolve: resolveYamlTimestamp,
|
|
21964
22016
|
construct: constructYamlTimestamp,
|
|
21965
22017
|
instanceOf: Date,
|
|
21966
22018
|
represent: representYamlTimestamp
|
|
21967
22019
|
});
|
|
21968
|
-
|
|
21969
|
-
|
|
21970
|
-
|
|
22020
|
+
return timestamp;
|
|
22021
|
+
}
|
|
22022
|
+
var merge;
|
|
22023
|
+
var hasRequiredMerge;
|
|
22024
|
+
function requireMerge() {
|
|
22025
|
+
if (hasRequiredMerge) return merge;
|
|
22026
|
+
hasRequiredMerge = 1;
|
|
22027
|
+
const Type2 = requireType();
|
|
21971
22028
|
function resolveYamlMerge(data) {
|
|
21972
22029
|
return data === "<<" || data === null;
|
|
21973
22030
|
}
|
|
21974
|
-
|
|
22031
|
+
merge = new Type2("tag:yaml.org,2002:merge", {
|
|
21975
22032
|
kind: "scalar",
|
|
21976
22033
|
resolve: resolveYamlMerge
|
|
21977
22034
|
});
|
|
21978
|
-
|
|
21979
|
-
|
|
21980
|
-
|
|
21981
|
-
|
|
22035
|
+
return merge;
|
|
22036
|
+
}
|
|
22037
|
+
var binary;
|
|
22038
|
+
var hasRequiredBinary;
|
|
22039
|
+
function requireBinary() {
|
|
22040
|
+
if (hasRequiredBinary) return binary;
|
|
22041
|
+
hasRequiredBinary = 1;
|
|
22042
|
+
const Type2 = requireType();
|
|
22043
|
+
const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
21982
22044
|
function resolveYamlBinary(data) {
|
|
21983
22045
|
if (data === null) return false;
|
|
21984
22046
|
let bitlen = 0;
|
|
21985
22047
|
const max = data.length;
|
|
21986
|
-
const
|
|
22048
|
+
const map2 = BASE64_MAP;
|
|
21987
22049
|
for (let idx = 0; idx < max; idx++) {
|
|
21988
|
-
const code =
|
|
22050
|
+
const code = map2.indexOf(data.charAt(idx));
|
|
21989
22051
|
if (code > 64) continue;
|
|
21990
22052
|
if (code < 0) return false;
|
|
21991
22053
|
bitlen += 6;
|
|
@@ -21995,7 +22057,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
21995
22057
|
function constructYamlBinary(data) {
|
|
21996
22058
|
const input = data.replace(/[\r\n=]/g, "");
|
|
21997
22059
|
const max = input.length;
|
|
21998
|
-
const
|
|
22060
|
+
const map2 = BASE64_MAP;
|
|
21999
22061
|
let bits = 0;
|
|
22000
22062
|
const result = [];
|
|
22001
22063
|
for (let idx = 0; idx < max; idx++) {
|
|
@@ -22004,7 +22066,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22004
22066
|
result.push(bits >> 8 & 255);
|
|
22005
22067
|
result.push(bits & 255);
|
|
22006
22068
|
}
|
|
22007
|
-
bits = bits << 6 |
|
|
22069
|
+
bits = bits << 6 | map2.indexOf(input.charAt(idx));
|
|
22008
22070
|
}
|
|
22009
22071
|
const tailbits = max % 4 * 6;
|
|
22010
22072
|
if (tailbits === 0) {
|
|
@@ -22021,50 +22083,55 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22021
22083
|
let result = "";
|
|
22022
22084
|
let bits = 0;
|
|
22023
22085
|
const max = object.length;
|
|
22024
|
-
const
|
|
22086
|
+
const map2 = BASE64_MAP;
|
|
22025
22087
|
for (let idx = 0; idx < max; idx++) {
|
|
22026
22088
|
if (idx % 3 === 0 && idx) {
|
|
22027
|
-
result +=
|
|
22028
|
-
result +=
|
|
22029
|
-
result +=
|
|
22030
|
-
result +=
|
|
22089
|
+
result += map2[bits >> 18 & 63];
|
|
22090
|
+
result += map2[bits >> 12 & 63];
|
|
22091
|
+
result += map2[bits >> 6 & 63];
|
|
22092
|
+
result += map2[bits & 63];
|
|
22031
22093
|
}
|
|
22032
22094
|
bits = (bits << 8) + object[idx];
|
|
22033
22095
|
}
|
|
22034
22096
|
const tail = max % 3;
|
|
22035
22097
|
if (tail === 0) {
|
|
22036
|
-
result +=
|
|
22037
|
-
result +=
|
|
22038
|
-
result +=
|
|
22039
|
-
result +=
|
|
22098
|
+
result += map2[bits >> 18 & 63];
|
|
22099
|
+
result += map2[bits >> 12 & 63];
|
|
22100
|
+
result += map2[bits >> 6 & 63];
|
|
22101
|
+
result += map2[bits & 63];
|
|
22040
22102
|
} else if (tail === 2) {
|
|
22041
|
-
result +=
|
|
22042
|
-
result +=
|
|
22043
|
-
result +=
|
|
22044
|
-
result +=
|
|
22103
|
+
result += map2[bits >> 10 & 63];
|
|
22104
|
+
result += map2[bits >> 4 & 63];
|
|
22105
|
+
result += map2[bits << 2 & 63];
|
|
22106
|
+
result += map2[64];
|
|
22045
22107
|
} else if (tail === 1) {
|
|
22046
|
-
result +=
|
|
22047
|
-
result +=
|
|
22048
|
-
result +=
|
|
22049
|
-
result +=
|
|
22108
|
+
result += map2[bits >> 2 & 63];
|
|
22109
|
+
result += map2[bits << 4 & 63];
|
|
22110
|
+
result += map2[64];
|
|
22111
|
+
result += map2[64];
|
|
22050
22112
|
}
|
|
22051
22113
|
return result;
|
|
22052
22114
|
}
|
|
22053
22115
|
function isBinary(obj) {
|
|
22054
22116
|
return Object.prototype.toString.call(obj) === "[object Uint8Array]";
|
|
22055
22117
|
}
|
|
22056
|
-
|
|
22118
|
+
binary = new Type2("tag:yaml.org,2002:binary", {
|
|
22057
22119
|
kind: "scalar",
|
|
22058
22120
|
resolve: resolveYamlBinary,
|
|
22059
22121
|
construct: constructYamlBinary,
|
|
22060
22122
|
predicate: isBinary,
|
|
22061
22123
|
represent: representYamlBinary
|
|
22062
22124
|
});
|
|
22063
|
-
|
|
22064
|
-
|
|
22065
|
-
|
|
22066
|
-
|
|
22067
|
-
|
|
22125
|
+
return binary;
|
|
22126
|
+
}
|
|
22127
|
+
var omap;
|
|
22128
|
+
var hasRequiredOmap;
|
|
22129
|
+
function requireOmap() {
|
|
22130
|
+
if (hasRequiredOmap) return omap;
|
|
22131
|
+
hasRequiredOmap = 1;
|
|
22132
|
+
const Type2 = requireType();
|
|
22133
|
+
const _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
22134
|
+
const _toString = Object.prototype.toString;
|
|
22068
22135
|
function resolveYamlOmap(data) {
|
|
22069
22136
|
if (data === null) return true;
|
|
22070
22137
|
const objectKeys = [];
|
|
@@ -22085,15 +22152,20 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22085
22152
|
function constructYamlOmap(data) {
|
|
22086
22153
|
return data !== null ? data : [];
|
|
22087
22154
|
}
|
|
22088
|
-
|
|
22155
|
+
omap = new Type2("tag:yaml.org,2002:omap", {
|
|
22089
22156
|
kind: "sequence",
|
|
22090
22157
|
resolve: resolveYamlOmap,
|
|
22091
22158
|
construct: constructYamlOmap
|
|
22092
22159
|
});
|
|
22093
|
-
|
|
22094
|
-
|
|
22095
|
-
|
|
22096
|
-
|
|
22160
|
+
return omap;
|
|
22161
|
+
}
|
|
22162
|
+
var pairs;
|
|
22163
|
+
var hasRequiredPairs;
|
|
22164
|
+
function requirePairs() {
|
|
22165
|
+
if (hasRequiredPairs) return pairs;
|
|
22166
|
+
hasRequiredPairs = 1;
|
|
22167
|
+
const Type2 = requireType();
|
|
22168
|
+
const _toString = Object.prototype.toString;
|
|
22097
22169
|
function resolveYamlPairs(data) {
|
|
22098
22170
|
if (data === null) return true;
|
|
22099
22171
|
const object = data;
|
|
@@ -22118,15 +22190,20 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22118
22190
|
}
|
|
22119
22191
|
return result;
|
|
22120
22192
|
}
|
|
22121
|
-
|
|
22193
|
+
pairs = new Type2("tag:yaml.org,2002:pairs", {
|
|
22122
22194
|
kind: "sequence",
|
|
22123
22195
|
resolve: resolveYamlPairs,
|
|
22124
22196
|
construct: constructYamlPairs
|
|
22125
22197
|
});
|
|
22126
|
-
|
|
22127
|
-
|
|
22128
|
-
|
|
22129
|
-
|
|
22198
|
+
return pairs;
|
|
22199
|
+
}
|
|
22200
|
+
var set;
|
|
22201
|
+
var hasRequiredSet;
|
|
22202
|
+
function requireSet() {
|
|
22203
|
+
if (hasRequiredSet) return set;
|
|
22204
|
+
hasRequiredSet = 1;
|
|
22205
|
+
const Type2 = requireType();
|
|
22206
|
+
const _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
22130
22207
|
function resolveYamlSet(data) {
|
|
22131
22208
|
if (data === null) return true;
|
|
22132
22209
|
const object = data;
|
|
@@ -22138,41 +22215,50 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22138
22215
|
function constructYamlSet(data) {
|
|
22139
22216
|
return data !== null ? data : {};
|
|
22140
22217
|
}
|
|
22141
|
-
|
|
22218
|
+
set = new Type2("tag:yaml.org,2002:set", {
|
|
22142
22219
|
kind: "mapping",
|
|
22143
22220
|
resolve: resolveYamlSet,
|
|
22144
22221
|
construct: constructYamlSet
|
|
22145
22222
|
});
|
|
22146
|
-
|
|
22147
|
-
|
|
22148
|
-
|
|
22149
|
-
|
|
22223
|
+
return set;
|
|
22224
|
+
}
|
|
22225
|
+
var _default;
|
|
22226
|
+
var hasRequired_default;
|
|
22227
|
+
function require_default() {
|
|
22228
|
+
if (hasRequired_default) return _default;
|
|
22229
|
+
hasRequired_default = 1;
|
|
22230
|
+
_default = requireCore().extend({
|
|
22231
|
+
implicit: [requireTimestamp(), requireMerge()],
|
|
22150
22232
|
explicit: [
|
|
22151
|
-
|
|
22152
|
-
|
|
22153
|
-
|
|
22154
|
-
|
|
22233
|
+
requireBinary(),
|
|
22234
|
+
requireOmap(),
|
|
22235
|
+
requirePairs(),
|
|
22236
|
+
requireSet()
|
|
22155
22237
|
]
|
|
22156
22238
|
});
|
|
22157
|
-
|
|
22158
|
-
|
|
22159
|
-
|
|
22160
|
-
|
|
22161
|
-
|
|
22162
|
-
|
|
22163
|
-
|
|
22164
|
-
|
|
22165
|
-
|
|
22166
|
-
|
|
22167
|
-
|
|
22168
|
-
|
|
22169
|
-
|
|
22170
|
-
|
|
22171
|
-
|
|
22172
|
-
|
|
22173
|
-
|
|
22174
|
-
|
|
22175
|
-
|
|
22239
|
+
return _default;
|
|
22240
|
+
}
|
|
22241
|
+
var hasRequiredLoader;
|
|
22242
|
+
function requireLoader() {
|
|
22243
|
+
if (hasRequiredLoader) return loader;
|
|
22244
|
+
hasRequiredLoader = 1;
|
|
22245
|
+
const common2 = requireCommon();
|
|
22246
|
+
const YAMLException2 = requireException();
|
|
22247
|
+
const makeSnippet = requireSnippet();
|
|
22248
|
+
const DEFAULT_SCHEMA2 = require_default();
|
|
22249
|
+
const _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
22250
|
+
const CONTEXT_FLOW_IN = 1;
|
|
22251
|
+
const CONTEXT_FLOW_OUT = 2;
|
|
22252
|
+
const CONTEXT_BLOCK_IN = 3;
|
|
22253
|
+
const CONTEXT_BLOCK_OUT = 4;
|
|
22254
|
+
const CHOMPING_CLIP = 1;
|
|
22255
|
+
const CHOMPING_STRIP = 2;
|
|
22256
|
+
const CHOMPING_KEEP = 3;
|
|
22257
|
+
const PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
22258
|
+
const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
|
22259
|
+
const PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
|
|
22260
|
+
const PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
|
|
22261
|
+
const PATTERN_TAG_URI = /^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;
|
|
22176
22262
|
function _class(obj) {
|
|
22177
22263
|
return Object.prototype.toString.call(obj);
|
|
22178
22264
|
}
|
|
@@ -22240,8 +22326,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22240
22326
|
});
|
|
22241
22327
|
else object[key] = value;
|
|
22242
22328
|
}
|
|
22243
|
-
|
|
22244
|
-
|
|
22329
|
+
const simpleEscapeCheck = new Array(256);
|
|
22330
|
+
const simpleEscapeMap = new Array(256);
|
|
22245
22331
|
for (let i = 0; i < 256; i++) {
|
|
22246
22332
|
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
|
22247
22333
|
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
@@ -22249,13 +22335,13 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22249
22335
|
function State(input, options) {
|
|
22250
22336
|
this.input = input;
|
|
22251
22337
|
this.filename = options["filename"] || null;
|
|
22252
|
-
this.schema = options["schema"] ||
|
|
22338
|
+
this.schema = options["schema"] || DEFAULT_SCHEMA2;
|
|
22253
22339
|
this.onWarning = options["onWarning"] || null;
|
|
22254
22340
|
this.legacy = options["legacy"] || false;
|
|
22255
22341
|
this.json = options["json"] || false;
|
|
22256
22342
|
this.listener = options["listener"] || null;
|
|
22257
22343
|
this.maxDepth = typeof options["maxDepth"] === "number" ? options["maxDepth"] : 100;
|
|
22258
|
-
this.
|
|
22344
|
+
this.maxTotalMergeKeys = typeof options["maxTotalMergeKeys"] === "number" ? options["maxTotalMergeKeys"] : 1e4;
|
|
22259
22345
|
this.implicitTypes = this.schema.compiledImplicit;
|
|
22260
22346
|
this.typeMap = this.schema.compiledTypeMap;
|
|
22261
22347
|
this.length = input.length;
|
|
@@ -22264,6 +22350,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22264
22350
|
this.lineStart = 0;
|
|
22265
22351
|
this.lineIndent = 0;
|
|
22266
22352
|
this.depth = 0;
|
|
22353
|
+
this.totalMergeKeys = 0;
|
|
22267
22354
|
this.firstTabInLine = -1;
|
|
22268
22355
|
this.documents = [];
|
|
22269
22356
|
this.anchorMapTransactions = [];
|
|
@@ -22277,7 +22364,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22277
22364
|
column: state.position - state.lineStart
|
|
22278
22365
|
};
|
|
22279
22366
|
mark.snippet = makeSnippet(mark);
|
|
22280
|
-
return new
|
|
22367
|
+
return new YAMLException2(message, mark);
|
|
22281
22368
|
}
|
|
22282
22369
|
function throwError(state, message) {
|
|
22283
22370
|
throw generateError(state, message);
|
|
@@ -22297,7 +22384,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22297
22384
|
state.anchorMap[name] = value;
|
|
22298
22385
|
}
|
|
22299
22386
|
function beginAnchorTransaction(state) {
|
|
22300
|
-
state.anchorMapTransactions.push(Object.create(null));
|
|
22387
|
+
state.anchorMapTransactions.push(/* @__PURE__ */ Object.create(null));
|
|
22301
22388
|
}
|
|
22302
22389
|
function commitAnchorTransaction(state) {
|
|
22303
22390
|
const transaction = state.anchorMapTransactions.pop();
|
|
@@ -22343,7 +22430,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22343
22430
|
state.kind = snapshot.kind;
|
|
22344
22431
|
state.result = snapshot.result;
|
|
22345
22432
|
}
|
|
22346
|
-
|
|
22433
|
+
const directiveHandlers = {
|
|
22347
22434
|
YAML: function handleYamlDirective(state, name, args) {
|
|
22348
22435
|
if (state.version !== null) throwError(state, "duplication of %YAML directive");
|
|
22349
22436
|
if (args.length !== 1) throwError(state, "YAML directive accepts exactly one argument");
|
|
@@ -22384,10 +22471,11 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22384
22471
|
}
|
|
22385
22472
|
}
|
|
22386
22473
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
22387
|
-
if (!
|
|
22474
|
+
if (!common2.isObject(source)) throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
22388
22475
|
const sourceKeys = Object.keys(source);
|
|
22389
22476
|
for (let index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
22390
22477
|
const key = sourceKeys[index];
|
|
22478
|
+
if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
22391
22479
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
22392
22480
|
setProperty(destination, key, source[key]);
|
|
22393
22481
|
overridableKeys[key] = true;
|
|
@@ -22405,16 +22493,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22405
22493
|
if (typeof keyNode === "object" && _class(keyNode) === "[object Object]") keyNode = "[object Object]";
|
|
22406
22494
|
keyNode = String(keyNode);
|
|
22407
22495
|
if (_result === null) _result = {};
|
|
22408
|
-
if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode))
|
|
22409
|
-
|
|
22410
|
-
const seen = /* @__PURE__ */ new Set();
|
|
22411
|
-
for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
22412
|
-
const src = valueNode[index];
|
|
22413
|
-
if (seen.has(src)) continue;
|
|
22414
|
-
seen.add(src);
|
|
22415
|
-
mergeMappings(state, _result, src, overridableKeys);
|
|
22416
|
-
}
|
|
22417
|
-
} else mergeMappings(state, _result, valueNode, overridableKeys);
|
|
22496
|
+
if (keyTag === "tag:yaml.org,2002:merge") if (Array.isArray(valueNode)) for (let index = 0, quantity = valueNode.length; index < quantity; index += 1) mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
22497
|
+
else mergeMappings(state, _result, valueNode, overridableKeys);
|
|
22418
22498
|
else {
|
|
22419
22499
|
if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {
|
|
22420
22500
|
state.line = startLine || state.line;
|
|
@@ -22475,7 +22555,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22475
22555
|
}
|
|
22476
22556
|
function writeFoldedLines(state, count) {
|
|
22477
22557
|
if (count === 1) state.result += " ";
|
|
22478
|
-
else if (count > 1) state.result +=
|
|
22558
|
+
else if (count > 1) state.result += common2.repeat("\n", count - 1);
|
|
22479
22559
|
}
|
|
22480
22560
|
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
22481
22561
|
let captureStart;
|
|
@@ -22619,7 +22699,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22619
22699
|
let isPair;
|
|
22620
22700
|
let isExplicitPair;
|
|
22621
22701
|
let isMapping;
|
|
22622
|
-
const overridableKeys = Object.create(null);
|
|
22702
|
+
const overridableKeys = /* @__PURE__ */ Object.create(null);
|
|
22623
22703
|
let keyNode;
|
|
22624
22704
|
let keyTag;
|
|
22625
22705
|
let valueNode;
|
|
@@ -22732,7 +22812,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22732
22812
|
}
|
|
22733
22813
|
if (!detectedIndent && textIndent === 0) throwError(state, "missing indentation for block scalar");
|
|
22734
22814
|
if (state.lineIndent < textIndent) {
|
|
22735
|
-
if (chomping === CHOMPING_KEEP) state.result +=
|
|
22815
|
+
if (chomping === CHOMPING_KEEP) state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
22736
22816
|
else if (chomping === CHOMPING_CLIP) {
|
|
22737
22817
|
if (didReadContent) state.result += "\n";
|
|
22738
22818
|
}
|
|
@@ -22740,14 +22820,14 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22740
22820
|
}
|
|
22741
22821
|
if (folding) if (isWhiteSpace(ch)) {
|
|
22742
22822
|
atMoreIndented = true;
|
|
22743
|
-
state.result +=
|
|
22823
|
+
state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
22744
22824
|
} else if (atMoreIndented) {
|
|
22745
22825
|
atMoreIndented = false;
|
|
22746
|
-
state.result +=
|
|
22826
|
+
state.result += common2.repeat("\n", emptyLines + 1);
|
|
22747
22827
|
} else if (emptyLines === 0) {
|
|
22748
22828
|
if (didReadContent) state.result += " ";
|
|
22749
|
-
} else state.result +=
|
|
22750
|
-
else state.result +=
|
|
22829
|
+
} else state.result += common2.repeat("\n", emptyLines);
|
|
22830
|
+
else state.result += common2.repeat("\n", didReadContent ? 1 + emptyLines : emptyLines);
|
|
22751
22831
|
didReadContent = true;
|
|
22752
22832
|
detectedIndent = true;
|
|
22753
22833
|
emptyLines = 0;
|
|
@@ -22806,7 +22886,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22806
22886
|
const _tag = state.tag;
|
|
22807
22887
|
const _anchor = state.anchor;
|
|
22808
22888
|
const _result = {};
|
|
22809
|
-
const overridableKeys = Object.create(null);
|
|
22889
|
+
const overridableKeys = /* @__PURE__ */ Object.create(null);
|
|
22810
22890
|
let keyTag = null;
|
|
22811
22891
|
let keyNode = null;
|
|
22812
22892
|
let valueNode = null;
|
|
@@ -22996,7 +23076,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
22996
23076
|
let atNewLine = false;
|
|
22997
23077
|
let hasContent = false;
|
|
22998
23078
|
let propertyStart = null;
|
|
22999
|
-
let
|
|
23079
|
+
let type2;
|
|
23000
23080
|
let flowIndent;
|
|
23001
23081
|
let blockIndent;
|
|
23002
23082
|
if (state.depth >= state.maxDepth) throwError(state, "nesting exceeded maxDepth (" + state.maxDepth + ")");
|
|
@@ -23055,29 +23135,29 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23055
23135
|
} else if (state.tag === "?") {
|
|
23056
23136
|
if (state.result !== null && state.kind !== "scalar") throwError(state, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + state.kind + "\"");
|
|
23057
23137
|
for (let typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
|
|
23058
|
-
|
|
23059
|
-
if (
|
|
23060
|
-
state.result =
|
|
23061
|
-
state.tag =
|
|
23138
|
+
type2 = state.implicitTypes[typeIndex];
|
|
23139
|
+
if (type2.resolve(state.result)) {
|
|
23140
|
+
state.result = type2.construct(state.result);
|
|
23141
|
+
state.tag = type2.tag;
|
|
23062
23142
|
if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
|
|
23063
23143
|
break;
|
|
23064
23144
|
}
|
|
23065
23145
|
}
|
|
23066
23146
|
} else if (state.tag !== "!") {
|
|
23067
|
-
if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag))
|
|
23147
|
+
if (_hasOwnProperty.call(state.typeMap[state.kind || "fallback"], state.tag)) type2 = state.typeMap[state.kind || "fallback"][state.tag];
|
|
23068
23148
|
else {
|
|
23069
|
-
|
|
23149
|
+
type2 = null;
|
|
23070
23150
|
const typeList = state.typeMap.multi[state.kind || "fallback"];
|
|
23071
23151
|
for (let typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
|
|
23072
|
-
|
|
23152
|
+
type2 = typeList[typeIndex];
|
|
23073
23153
|
break;
|
|
23074
23154
|
}
|
|
23075
23155
|
}
|
|
23076
|
-
if (!
|
|
23077
|
-
if (state.result !== null &&
|
|
23078
|
-
if (!
|
|
23156
|
+
if (!type2) throwError(state, "unknown tag !<" + state.tag + ">");
|
|
23157
|
+
if (state.result !== null && type2.kind !== state.kind) throwError(state, "unacceptable node kind for !<" + state.tag + "> tag; it should be \"" + type2.kind + "\", not \"" + state.kind + "\"");
|
|
23158
|
+
if (!type2.resolve(state.result, state.tag)) throwError(state, "cannot resolve a node with !<" + state.tag + "> explicit tag");
|
|
23079
23159
|
else {
|
|
23080
|
-
state.result =
|
|
23160
|
+
state.result = type2.construct(state.result, state.tag);
|
|
23081
23161
|
if (state.anchor !== null) storeAnchor(state, state.anchor, state.result);
|
|
23082
23162
|
}
|
|
23083
23163
|
}
|
|
@@ -23091,8 +23171,8 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23091
23171
|
let ch;
|
|
23092
23172
|
state.version = null;
|
|
23093
23173
|
state.checkLineBreaks = state.legacy;
|
|
23094
|
-
state.tagMap = Object.create(null);
|
|
23095
|
-
state.anchorMap = Object.create(null);
|
|
23174
|
+
state.tagMap = /* @__PURE__ */ Object.create(null);
|
|
23175
|
+
state.anchorMap = /* @__PURE__ */ Object.create(null);
|
|
23096
23176
|
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
23097
23177
|
skipSeparationSpace(state, true, -1);
|
|
23098
23178
|
ch = state.input.charCodeAt(state.position);
|
|
@@ -23160,7 +23240,7 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23160
23240
|
while (state.position < state.length - 1) readDocument(state);
|
|
23161
23241
|
return state.documents;
|
|
23162
23242
|
}
|
|
23163
|
-
function
|
|
23243
|
+
function loadAll2(input, iterator, options) {
|
|
23164
23244
|
if (iterator !== null && typeof iterator === "object" && typeof options === "undefined") {
|
|
23165
23245
|
options = iterator;
|
|
23166
23246
|
iterator = null;
|
|
@@ -23169,47 +23249,52 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23169
23249
|
if (typeof iterator !== "function") return documents;
|
|
23170
23250
|
for (let index = 0, length = documents.length; index < length; index += 1) iterator(documents[index]);
|
|
23171
23251
|
}
|
|
23172
|
-
function
|
|
23252
|
+
function load2(input, options) {
|
|
23173
23253
|
const documents = loadDocuments(input, options);
|
|
23174
23254
|
if (documents.length === 0) return;
|
|
23175
23255
|
else if (documents.length === 1) return documents[0];
|
|
23176
|
-
throw new
|
|
23177
|
-
}
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
|
|
23181
|
-
|
|
23182
|
-
|
|
23183
|
-
|
|
23184
|
-
|
|
23185
|
-
|
|
23186
|
-
|
|
23187
|
-
|
|
23188
|
-
|
|
23189
|
-
|
|
23190
|
-
|
|
23191
|
-
|
|
23192
|
-
|
|
23193
|
-
|
|
23194
|
-
|
|
23195
|
-
|
|
23196
|
-
|
|
23197
|
-
|
|
23198
|
-
|
|
23199
|
-
|
|
23200
|
-
|
|
23201
|
-
|
|
23202
|
-
|
|
23203
|
-
|
|
23204
|
-
|
|
23205
|
-
|
|
23206
|
-
|
|
23207
|
-
|
|
23208
|
-
|
|
23209
|
-
|
|
23210
|
-
|
|
23211
|
-
|
|
23212
|
-
|
|
23256
|
+
throw new YAMLException2("expected a single document in the stream, but found more");
|
|
23257
|
+
}
|
|
23258
|
+
loader.loadAll = loadAll2;
|
|
23259
|
+
loader.load = load2;
|
|
23260
|
+
return loader;
|
|
23261
|
+
}
|
|
23262
|
+
var dumper = {};
|
|
23263
|
+
var hasRequiredDumper;
|
|
23264
|
+
function requireDumper() {
|
|
23265
|
+
if (hasRequiredDumper) return dumper;
|
|
23266
|
+
hasRequiredDumper = 1;
|
|
23267
|
+
const common2 = requireCommon();
|
|
23268
|
+
const YAMLException2 = requireException();
|
|
23269
|
+
const DEFAULT_SCHEMA2 = require_default();
|
|
23270
|
+
const _toString = Object.prototype.toString;
|
|
23271
|
+
const _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
23272
|
+
const CHAR_BOM = 65279;
|
|
23273
|
+
const CHAR_TAB = 9;
|
|
23274
|
+
const CHAR_LINE_FEED = 10;
|
|
23275
|
+
const CHAR_CARRIAGE_RETURN = 13;
|
|
23276
|
+
const CHAR_SPACE = 32;
|
|
23277
|
+
const CHAR_EXCLAMATION = 33;
|
|
23278
|
+
const CHAR_DOUBLE_QUOTE = 34;
|
|
23279
|
+
const CHAR_SHARP = 35;
|
|
23280
|
+
const CHAR_PERCENT = 37;
|
|
23281
|
+
const CHAR_AMPERSAND = 38;
|
|
23282
|
+
const CHAR_SINGLE_QUOTE = 39;
|
|
23283
|
+
const CHAR_ASTERISK = 42;
|
|
23284
|
+
const CHAR_COMMA = 44;
|
|
23285
|
+
const CHAR_MINUS = 45;
|
|
23286
|
+
const CHAR_COLON = 58;
|
|
23287
|
+
const CHAR_EQUALS = 61;
|
|
23288
|
+
const CHAR_GREATER_THAN = 62;
|
|
23289
|
+
const CHAR_QUESTION = 63;
|
|
23290
|
+
const CHAR_COMMERCIAL_AT = 64;
|
|
23291
|
+
const CHAR_LEFT_SQUARE_BRACKET = 91;
|
|
23292
|
+
const CHAR_RIGHT_SQUARE_BRACKET = 93;
|
|
23293
|
+
const CHAR_GRAVE_ACCENT = 96;
|
|
23294
|
+
const CHAR_LEFT_CURLY_BRACKET = 123;
|
|
23295
|
+
const CHAR_VERTICAL_LINE = 124;
|
|
23296
|
+
const CHAR_RIGHT_CURLY_BRACKET = 125;
|
|
23297
|
+
const ESCAPE_SEQUENCES = {};
|
|
23213
23298
|
ESCAPE_SEQUENCES[0] = "\\0";
|
|
23214
23299
|
ESCAPE_SEQUENCES[7] = "\\a";
|
|
23215
23300
|
ESCAPE_SEQUENCES[8] = "\\b";
|
|
@@ -23225,7 +23310,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23225
23310
|
ESCAPE_SEQUENCES[160] = "\\_";
|
|
23226
23311
|
ESCAPE_SEQUENCES[8232] = "\\L";
|
|
23227
23312
|
ESCAPE_SEQUENCES[8233] = "\\P";
|
|
23228
|
-
|
|
23313
|
+
const DEPRECATED_BOOLEANS_SYNTAX = [
|
|
23229
23314
|
"y",
|
|
23230
23315
|
"Y",
|
|
23231
23316
|
"yes",
|
|
@@ -23243,17 +23328,17 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23243
23328
|
"Off",
|
|
23244
23329
|
"OFF"
|
|
23245
23330
|
];
|
|
23246
|
-
|
|
23247
|
-
function compileStyleMap(
|
|
23248
|
-
if (
|
|
23331
|
+
const DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
23332
|
+
function compileStyleMap(schema2, map2) {
|
|
23333
|
+
if (map2 === null) return {};
|
|
23249
23334
|
const result = {};
|
|
23250
|
-
const keys = Object.keys(
|
|
23335
|
+
const keys = Object.keys(map2);
|
|
23251
23336
|
for (let index = 0, length = keys.length; index < length; index += 1) {
|
|
23252
23337
|
let tag = keys[index];
|
|
23253
|
-
let style = String(
|
|
23338
|
+
let style = String(map2[tag]);
|
|
23254
23339
|
if (tag.slice(0, 2) === "!!") tag = "tag:yaml.org,2002:" + tag.slice(2);
|
|
23255
|
-
const
|
|
23256
|
-
if (
|
|
23340
|
+
const type2 = schema2.compiledTypeMap["fallback"][tag];
|
|
23341
|
+
if (type2 && _hasOwnProperty.call(type2.styleAliases, style)) style = type2.styleAliases[style];
|
|
23257
23342
|
result[tag] = style;
|
|
23258
23343
|
}
|
|
23259
23344
|
return result;
|
|
@@ -23271,17 +23356,17 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23271
23356
|
} else if (character <= 4294967295) {
|
|
23272
23357
|
handle = "U";
|
|
23273
23358
|
length = 8;
|
|
23274
|
-
} else throw new
|
|
23275
|
-
return "\\" + handle +
|
|
23359
|
+
} else throw new YAMLException2("code point within a string may not be greater than 0xFFFFFFFF");
|
|
23360
|
+
return "\\" + handle + common2.repeat("0", length - string.length) + string;
|
|
23276
23361
|
}
|
|
23277
|
-
|
|
23278
|
-
|
|
23362
|
+
const QUOTING_TYPE_SINGLE = 1;
|
|
23363
|
+
const QUOTING_TYPE_DOUBLE = 2;
|
|
23279
23364
|
function State(options) {
|
|
23280
|
-
this.schema = options["schema"] ||
|
|
23365
|
+
this.schema = options["schema"] || DEFAULT_SCHEMA2;
|
|
23281
23366
|
this.indent = Math.max(1, options["indent"] || 2);
|
|
23282
23367
|
this.noArrayIndent = options["noArrayIndent"] || false;
|
|
23283
23368
|
this.skipInvalid = options["skipInvalid"] || false;
|
|
23284
|
-
this.flowLevel =
|
|
23369
|
+
this.flowLevel = common2.isNothing(options["flowLevel"]) ? -1 : options["flowLevel"];
|
|
23285
23370
|
this.styleMap = compileStyleMap(this.schema, options["styles"] || null);
|
|
23286
23371
|
this.sortKeys = options["sortKeys"] || false;
|
|
23287
23372
|
this.lineWidth = options["lineWidth"] || 80;
|
|
@@ -23299,7 +23384,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23299
23384
|
this.usedDuplicates = null;
|
|
23300
23385
|
}
|
|
23301
23386
|
function indentString(string, spaces) {
|
|
23302
|
-
const ind =
|
|
23387
|
+
const ind = common2.repeat(" ", spaces);
|
|
23303
23388
|
let position = 0;
|
|
23304
23389
|
let result = "";
|
|
23305
23390
|
const length = string.length;
|
|
@@ -23319,10 +23404,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23319
23404
|
return result;
|
|
23320
23405
|
}
|
|
23321
23406
|
function generateNextLine(state, level) {
|
|
23322
|
-
return "\n" +
|
|
23407
|
+
return "\n" + common2.repeat(" ", state.indent * level);
|
|
23323
23408
|
}
|
|
23324
|
-
function testImplicitResolving(state,
|
|
23325
|
-
for (let index = 0, length = state.implicitTypes.length; index < length; index += 1) if (state.implicitTypes[index].resolve(
|
|
23409
|
+
function testImplicitResolving(state, str2) {
|
|
23410
|
+
for (let index = 0, length = state.implicitTypes.length; index < length; index += 1) if (state.implicitTypes[index].resolve(str2)) return true;
|
|
23326
23411
|
return false;
|
|
23327
23412
|
}
|
|
23328
23413
|
function isWhitespace(c) {
|
|
@@ -23357,11 +23442,11 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23357
23442
|
function needIndentIndicator(string) {
|
|
23358
23443
|
return /^\n* /.test(string);
|
|
23359
23444
|
}
|
|
23360
|
-
|
|
23361
|
-
|
|
23362
|
-
|
|
23363
|
-
|
|
23364
|
-
|
|
23445
|
+
const STYLE_PLAIN = 1;
|
|
23446
|
+
const STYLE_SINGLE = 2;
|
|
23447
|
+
const STYLE_LITERAL = 3;
|
|
23448
|
+
const STYLE_FOLDED = 4;
|
|
23449
|
+
const STYLE_DOUBLE = 5;
|
|
23365
23450
|
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType, quotingType, forceQuotes, inblock) {
|
|
23366
23451
|
let i;
|
|
23367
23452
|
let char = 0;
|
|
@@ -23401,7 +23486,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23401
23486
|
return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;
|
|
23402
23487
|
}
|
|
23403
23488
|
function writeScalar(state, string, level, iskey, inblock) {
|
|
23404
|
-
state.dump = function() {
|
|
23489
|
+
state.dump = (function() {
|
|
23405
23490
|
if (string.length === 0) return state.quotingType === QUOTING_TYPE_DOUBLE ? "\"\"" : "''";
|
|
23406
23491
|
if (!state.noCompatMode) {
|
|
23407
23492
|
if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) return state.quotingType === QUOTING_TYPE_DOUBLE ? "\"" + string + "\"" : "'" + string + "'";
|
|
@@ -23409,18 +23494,18 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23409
23494
|
const indent = state.indent * Math.max(1, level);
|
|
23410
23495
|
const lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);
|
|
23411
23496
|
const singleLineOnly = iskey || state.flowLevel > -1 && level >= state.flowLevel;
|
|
23412
|
-
function testAmbiguity(
|
|
23413
|
-
return testImplicitResolving(state,
|
|
23497
|
+
function testAmbiguity(string2) {
|
|
23498
|
+
return testImplicitResolving(state, string2);
|
|
23414
23499
|
}
|
|
23415
23500
|
switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) {
|
|
23416
23501
|
case STYLE_PLAIN: return string;
|
|
23417
23502
|
case STYLE_SINGLE: return "'" + string.replace(/'/g, "''") + "'";
|
|
23418
23503
|
case STYLE_LITERAL: return "|" + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));
|
|
23419
23504
|
case STYLE_FOLDED: return ">" + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));
|
|
23420
|
-
case STYLE_DOUBLE: return "\"" + escapeString(string
|
|
23421
|
-
default: throw new
|
|
23505
|
+
case STYLE_DOUBLE: return "\"" + escapeString(string) + "\"";
|
|
23506
|
+
default: throw new YAMLException2("impossible error: invalid scalar style");
|
|
23422
23507
|
}
|
|
23423
|
-
}();
|
|
23508
|
+
})();
|
|
23424
23509
|
}
|
|
23425
23510
|
function blockHeader(string, indentPerLevel) {
|
|
23426
23511
|
const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
|
|
@@ -23432,12 +23517,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23432
23517
|
}
|
|
23433
23518
|
function foldString(string, width) {
|
|
23434
23519
|
const lineRe = /(\n+)([^\n]*)/g;
|
|
23435
|
-
let result = function() {
|
|
23520
|
+
let result = (function() {
|
|
23436
23521
|
let nextLF = string.indexOf("\n");
|
|
23437
23522
|
nextLF = nextLF !== -1 ? nextLF : string.length;
|
|
23438
23523
|
lineRe.lastIndex = nextLF;
|
|
23439
23524
|
return foldLine(string.slice(0, nextLF), width);
|
|
23440
|
-
}();
|
|
23525
|
+
})();
|
|
23441
23526
|
let prevMoreIndented = string[0] === "\n" || string[0] === " ";
|
|
23442
23527
|
let moreIndented;
|
|
23443
23528
|
let match;
|
|
@@ -23543,7 +23628,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23543
23628
|
const objectKeyList = Object.keys(object);
|
|
23544
23629
|
if (state.sortKeys === true) objectKeyList.sort();
|
|
23545
23630
|
else if (typeof state.sortKeys === "function") objectKeyList.sort(state.sortKeys);
|
|
23546
|
-
else if (state.sortKeys) throw new
|
|
23631
|
+
else if (state.sortKeys) throw new YAMLException2("sortKeys must be a boolean or a function");
|
|
23547
23632
|
for (let index = 0, length = objectKeyList.length; index < length; index += 1) {
|
|
23548
23633
|
let pairBuffer = "";
|
|
23549
23634
|
if (!compact || _result !== "") pairBuffer += generateNextLine(state, level);
|
|
@@ -23568,17 +23653,17 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23568
23653
|
function detectType(state, object, explicit) {
|
|
23569
23654
|
const typeList = explicit ? state.explicitTypes : state.implicitTypes;
|
|
23570
23655
|
for (let index = 0, length = typeList.length; index < length; index += 1) {
|
|
23571
|
-
const
|
|
23572
|
-
if ((
|
|
23573
|
-
if (explicit) if (
|
|
23574
|
-
else state.tag =
|
|
23656
|
+
const type2 = typeList[index];
|
|
23657
|
+
if ((type2.instanceOf || type2.predicate) && (!type2.instanceOf || typeof object === "object" && object instanceof type2.instanceOf) && (!type2.predicate || type2.predicate(object))) {
|
|
23658
|
+
if (explicit) if (type2.multi && type2.representName) state.tag = type2.representName(object);
|
|
23659
|
+
else state.tag = type2.tag;
|
|
23575
23660
|
else state.tag = "?";
|
|
23576
|
-
if (
|
|
23577
|
-
const style = state.styleMap[
|
|
23661
|
+
if (type2.represent) {
|
|
23662
|
+
const style = state.styleMap[type2.tag] || type2.defaultStyle;
|
|
23578
23663
|
let _result;
|
|
23579
|
-
if (_toString.call(
|
|
23580
|
-
else if (_hasOwnProperty.call(
|
|
23581
|
-
else throw new
|
|
23664
|
+
if (_toString.call(type2.represent) === "[object Function]") _result = type2.represent(object, style);
|
|
23665
|
+
else if (_hasOwnProperty.call(type2.represent, style)) _result = type2.represent[style](object, style);
|
|
23666
|
+
else throw new YAMLException2("!<" + type2.tag + "> tag resolver accepts not \"" + style + "\" style");
|
|
23582
23667
|
state.dump = _result;
|
|
23583
23668
|
}
|
|
23584
23669
|
return true;
|
|
@@ -23590,10 +23675,10 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23590
23675
|
state.tag = null;
|
|
23591
23676
|
state.dump = object;
|
|
23592
23677
|
if (!detectType(state, object, false)) detectType(state, object, true);
|
|
23593
|
-
const
|
|
23678
|
+
const type2 = _toString.call(state.dump);
|
|
23594
23679
|
const inblock = block;
|
|
23595
23680
|
if (block) block = state.flowLevel < 0 || state.flowLevel > level;
|
|
23596
|
-
const objectOrArray =
|
|
23681
|
+
const objectOrArray = type2 === "[object Object]" || type2 === "[object Array]";
|
|
23597
23682
|
let duplicateIndex;
|
|
23598
23683
|
let duplicate;
|
|
23599
23684
|
if (objectOrArray) {
|
|
@@ -23604,14 +23689,14 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23604
23689
|
if (duplicate && state.usedDuplicates[duplicateIndex]) state.dump = "*ref_" + duplicateIndex;
|
|
23605
23690
|
else {
|
|
23606
23691
|
if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) state.usedDuplicates[duplicateIndex] = true;
|
|
23607
|
-
if (
|
|
23692
|
+
if (type2 === "[object Object]") if (block && Object.keys(state.dump).length !== 0) {
|
|
23608
23693
|
writeBlockMapping(state, level, state.dump, compact);
|
|
23609
23694
|
if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
|
|
23610
23695
|
} else {
|
|
23611
23696
|
writeFlowMapping(state, level, state.dump);
|
|
23612
23697
|
if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
|
|
23613
23698
|
}
|
|
23614
|
-
else if (
|
|
23699
|
+
else if (type2 === "[object Array]") if (block && state.dump.length !== 0) {
|
|
23615
23700
|
if (state.noArrayIndent && !isblockseq && level > 0) writeBlockSequence(state, level - 1, state.dump, compact);
|
|
23616
23701
|
else writeBlockSequence(state, level, state.dump, compact);
|
|
23617
23702
|
if (duplicate) state.dump = "&ref_" + duplicateIndex + state.dump;
|
|
@@ -23619,12 +23704,12 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23619
23704
|
writeFlowSequence(state, level, state.dump);
|
|
23620
23705
|
if (duplicate) state.dump = "&ref_" + duplicateIndex + " " + state.dump;
|
|
23621
23706
|
}
|
|
23622
|
-
else if (
|
|
23707
|
+
else if (type2 === "[object String]") {
|
|
23623
23708
|
if (state.tag !== "?") writeScalar(state, state.dump, level, iskey, inblock);
|
|
23624
|
-
} else if (
|
|
23709
|
+
} else if (type2 === "[object Undefined]") return false;
|
|
23625
23710
|
else {
|
|
23626
23711
|
if (state.skipInvalid) return false;
|
|
23627
|
-
throw new
|
|
23712
|
+
throw new YAMLException2("unacceptable kind of an object to dump " + type2);
|
|
23628
23713
|
}
|
|
23629
23714
|
if (state.tag !== null && state.tag !== "?") {
|
|
23630
23715
|
let tagStr = encodeURI(state.tag[0] === "!" ? state.tag.slice(1) : state.tag).replace(/!/g, "%21");
|
|
@@ -23659,7 +23744,7 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23659
23744
|
}
|
|
23660
23745
|
}
|
|
23661
23746
|
}
|
|
23662
|
-
function
|
|
23747
|
+
function dump2(input, options) {
|
|
23663
23748
|
options = options || {};
|
|
23664
23749
|
const state = new State(options);
|
|
23665
23750
|
if (!state.noRefs) getDuplicateReferences(input, state);
|
|
@@ -23668,47 +23753,52 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
23668
23753
|
if (writeNode(state, 0, value, true, true)) return state.dump + "\n";
|
|
23669
23754
|
return "";
|
|
23670
23755
|
}
|
|
23671
|
-
|
|
23672
|
-
|
|
23673
|
-
|
|
23674
|
-
|
|
23675
|
-
|
|
23756
|
+
dumper.dump = dump2;
|
|
23757
|
+
return dumper;
|
|
23758
|
+
}
|
|
23759
|
+
var hasRequiredJsYaml;
|
|
23760
|
+
function requireJsYaml() {
|
|
23761
|
+
if (hasRequiredJsYaml) return jsYaml;
|
|
23762
|
+
hasRequiredJsYaml = 1;
|
|
23763
|
+
const loader2 = requireLoader();
|
|
23764
|
+
const dumper2 = requireDumper();
|
|
23676
23765
|
function renamed(from, to) {
|
|
23677
23766
|
return function() {
|
|
23678
23767
|
throw new Error("Function yaml." + from + " is removed in js-yaml 4. Use yaml." + to + " instead, which is now safe by default.");
|
|
23679
23768
|
};
|
|
23680
23769
|
}
|
|
23681
|
-
|
|
23682
|
-
|
|
23683
|
-
|
|
23684
|
-
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
23688
|
-
|
|
23689
|
-
|
|
23690
|
-
|
|
23691
|
-
|
|
23692
|
-
binary:
|
|
23693
|
-
float:
|
|
23694
|
-
map:
|
|
23770
|
+
jsYaml.Type = requireType();
|
|
23771
|
+
jsYaml.Schema = requireSchema();
|
|
23772
|
+
jsYaml.FAILSAFE_SCHEMA = requireFailsafe();
|
|
23773
|
+
jsYaml.JSON_SCHEMA = requireJson();
|
|
23774
|
+
jsYaml.CORE_SCHEMA = requireCore();
|
|
23775
|
+
jsYaml.DEFAULT_SCHEMA = require_default();
|
|
23776
|
+
jsYaml.load = loader2.load;
|
|
23777
|
+
jsYaml.loadAll = loader2.loadAll;
|
|
23778
|
+
jsYaml.dump = dumper2.dump;
|
|
23779
|
+
jsYaml.YAMLException = requireException();
|
|
23780
|
+
jsYaml.types = {
|
|
23781
|
+
binary: requireBinary(),
|
|
23782
|
+
float: requireFloat(),
|
|
23783
|
+
map: requireMap(),
|
|
23695
23784
|
null: require_null(),
|
|
23696
|
-
pairs:
|
|
23697
|
-
set:
|
|
23698
|
-
timestamp:
|
|
23699
|
-
bool:
|
|
23700
|
-
int:
|
|
23701
|
-
merge:
|
|
23702
|
-
omap:
|
|
23703
|
-
seq:
|
|
23704
|
-
str:
|
|
23705
|
-
};
|
|
23706
|
-
|
|
23707
|
-
|
|
23708
|
-
|
|
23709
|
-
|
|
23710
|
-
|
|
23711
|
-
|
|
23785
|
+
pairs: requirePairs(),
|
|
23786
|
+
set: requireSet(),
|
|
23787
|
+
timestamp: requireTimestamp(),
|
|
23788
|
+
bool: requireBool(),
|
|
23789
|
+
int: requireInt(),
|
|
23790
|
+
merge: requireMerge(),
|
|
23791
|
+
omap: requireOmap(),
|
|
23792
|
+
seq: requireSeq(),
|
|
23793
|
+
str: requireStr()
|
|
23794
|
+
};
|
|
23795
|
+
jsYaml.safeLoad = renamed("safeLoad", "load");
|
|
23796
|
+
jsYaml.safeLoadAll = renamed("safeLoadAll", "loadAll");
|
|
23797
|
+
jsYaml.safeDump = renamed("safeDump", "dump");
|
|
23798
|
+
return jsYaml;
|
|
23799
|
+
}
|
|
23800
|
+
const yaml = /* @__PURE__ */ getDefaultExportFromCjs(requireJsYaml());
|
|
23801
|
+
const { Type, Schema, FAILSAFE_SCHEMA, JSON_SCHEMA, CORE_SCHEMA, DEFAULT_SCHEMA, load, loadAll, dump, YAMLException, types: types$2, safeLoad, safeLoadAll, safeDump } = yaml;
|
|
23712
23802
|
//#endregion
|
|
23713
23803
|
//#region ../nx-plugin/src/mcp-server/option-filter.ts
|
|
23714
23804
|
/**
|
|
@@ -23852,7 +23942,7 @@ const extractFrontmatter = (tree) => {
|
|
|
23852
23942
|
};
|
|
23853
23943
|
let parsed;
|
|
23854
23944
|
try {
|
|
23855
|
-
parsed =
|
|
23945
|
+
parsed = yaml.load(node.value);
|
|
23856
23946
|
} catch {
|
|
23857
23947
|
return {
|
|
23858
23948
|
data: {},
|
|
@@ -23879,7 +23969,7 @@ function bail(error) {
|
|
|
23879
23969
|
var init_bail = __esmMin((() => {}));
|
|
23880
23970
|
//#endregion
|
|
23881
23971
|
//#region ../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
23882
|
-
var require_extend = /* @__PURE__ */ __commonJSMin
|
|
23972
|
+
var require_extend = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
23883
23973
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
23884
23974
|
var toStr = Object.prototype.toString;
|
|
23885
23975
|
var defineProperty = Object.defineProperty;
|
|
@@ -25084,7 +25174,7 @@ function isUint8Array(value) {
|
|
|
25084
25174
|
var import_extend, own$6, Processor, unified;
|
|
25085
25175
|
var init_lib$22 = __esmMin((() => {
|
|
25086
25176
|
init_bail();
|
|
25087
|
-
import_extend = /* @__PURE__ */ __toESM
|
|
25177
|
+
import_extend = /* @__PURE__ */ __toESM(require_extend(), 1);
|
|
25088
25178
|
init_default();
|
|
25089
25179
|
init_is_plain_obj();
|
|
25090
25180
|
init_trough();
|
|
@@ -42372,7 +42462,7 @@ var init_acorn = __esmMin((() => {
|
|
|
42372
42462
|
}));
|
|
42373
42463
|
//#endregion
|
|
42374
42464
|
//#region ../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/xhtml.js
|
|
42375
|
-
var require_xhtml = /* @__PURE__ */ __commonJSMin
|
|
42465
|
+
var require_xhtml = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
42376
42466
|
module.exports = {
|
|
42377
42467
|
quot: "\"",
|
|
42378
42468
|
amp: "&",
|
|
@@ -42631,7 +42721,7 @@ var require_xhtml = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
42631
42721
|
}));
|
|
42632
42722
|
//#endregion
|
|
42633
42723
|
//#region ../../node_modules/.pnpm/acorn@8.16.0/node_modules/acorn/dist/acorn.js
|
|
42634
|
-
var require_acorn = /* @__PURE__ */ __commonJSMin
|
|
42724
|
+
var require_acorn = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
42635
42725
|
(function(global, factory) {
|
|
42636
42726
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.acorn = {}));
|
|
42637
42727
|
})(exports, (function(exports$1) {
|
|
@@ -47749,7 +47839,7 @@ var require_acorn = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
|
|
|
47749
47839
|
}));
|
|
47750
47840
|
//#endregion
|
|
47751
47841
|
//#region ../../node_modules/.pnpm/acorn-jsx@5.3.2_acorn@8.16.0/node_modules/acorn-jsx/index.js
|
|
47752
|
-
var require_acorn_jsx = /* @__PURE__ */ __commonJSMin
|
|
47842
|
+
var require_acorn_jsx = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
47753
47843
|
const XHTMLEntities = require_xhtml();
|
|
47754
47844
|
const hexNumber = /^[\da-fA-F]+$/;
|
|
47755
47845
|
const decimalNumber = /^\d+$/;
|
|
@@ -50093,7 +50183,7 @@ var init_syntax$1 = __esmMin((() => {
|
|
|
50093
50183
|
tokenize: tokenizeNextBlank,
|
|
50094
50184
|
partial: true
|
|
50095
50185
|
};
|
|
50096
|
-
allowedAcornTypes = new Set([
|
|
50186
|
+
allowedAcornTypes = /* @__PURE__ */ new Set([
|
|
50097
50187
|
"ExportAllDeclaration",
|
|
50098
50188
|
"ExportDefaultDeclaration",
|
|
50099
50189
|
"ExportNamedDeclaration",
|
|
@@ -50135,7 +50225,7 @@ function mdxjs(options) {
|
|
|
50135
50225
|
var import_acorn_jsx;
|
|
50136
50226
|
var init_micromark_extension_mdxjs = __esmMin((() => {
|
|
50137
50227
|
init_acorn();
|
|
50138
|
-
import_acorn_jsx = /* @__PURE__ */ __toESM
|
|
50228
|
+
import_acorn_jsx = /* @__PURE__ */ __toESM(require_acorn_jsx(), 1);
|
|
50139
50229
|
init_micromark_extension_mdx_expression();
|
|
50140
50230
|
init_micromark_extension_mdx_jsx();
|
|
50141
50231
|
init_micromark_extension_mdx_md();
|
|
@@ -52604,7 +52694,7 @@ var init_remark_stringify = __esmMin((() => {
|
|
|
52604
52694
|
}));
|
|
52605
52695
|
//#endregion
|
|
52606
52696
|
//#region ../../node_modules/.pnpm/format@0.2.2/node_modules/format/format.js
|
|
52607
|
-
var require_format = /* @__PURE__ */ __commonJSMin
|
|
52697
|
+
var require_format = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
52608
52698
|
(function() {
|
|
52609
52699
|
var namespace;
|
|
52610
52700
|
if (typeof module !== "undefined") namespace = module.exports = format;
|
|
@@ -52714,7 +52804,7 @@ function create(Constructor) {
|
|
|
52714
52804
|
}
|
|
52715
52805
|
var import_format, fault;
|
|
52716
52806
|
var init_fault = __esmMin((() => {
|
|
52717
|
-
import_format = /* @__PURE__ */ __toESM
|
|
52807
|
+
import_format = /* @__PURE__ */ __toESM(require_format(), 1);
|
|
52718
52808
|
fault = Object.assign(create(Error), {
|
|
52719
52809
|
eval: create(EvalError),
|
|
52720
52810
|
range: create(RangeError),
|
|
@@ -54086,6 +54176,23 @@ ${PACKAGE_MANAGERS.map((pm) => buildNxCommand("<options>", pm)).join(" - \n")}
|
|
|
54086
54176
|
- After making changes to your projects, fix linting issues, then run a full build
|
|
54087
54177
|
- When it's time to start testing a project, suggest to the user that infrastructure is deployed to AWS. For websites, if a runtime-config.json is needed, use the load:runtime-config target after a deployment to point a local website at a sandbox stack.
|
|
54088
54178
|
|
|
54179
|
+
## Batching Generators
|
|
54180
|
+
|
|
54181
|
+
When scaffolding several projects in one go, chain generators to avoid a slow dependency install after every generator:
|
|
54182
|
+
|
|
54183
|
+
- **Chain generators** with \`&&\` in a single command. Pass \`--prefer-install-dependencies=false\` on each generator except the last so dependencies install once at the end, for example:
|
|
54184
|
+
|
|
54185
|
+
${PACKAGE_MANAGERS.map((pm) => ` \`\`\`bash
|
|
54186
|
+
${buildNxCommand("g @aws/nx-plugin:ts#trpc-api --no-interactive --name=my-app-api --auth=IAM --prefer-install-dependencies=false", pm)} && \\
|
|
54187
|
+
${buildNxCommand("g @aws/nx-plugin:ts#react-website --no-interactive --name=my-app-website --prefer-install-dependencies=false", pm)} && \\
|
|
54188
|
+
${buildNxCommand("g @aws/nx-plugin:connection --no-interactive --sourceProject=@my-app/my-app-website --targetProject=@my-app/my-app-api --prefer-install-dependencies=false", pm)} && \\
|
|
54189
|
+
${buildNxCommand("g @aws/nx-plugin:ts#infra --no-interactive --name=infra", pm)} && \\
|
|
54190
|
+
${buildNxCommand("sync", pm)}
|
|
54191
|
+
\`\`\``).join("\n")}
|
|
54192
|
+
|
|
54193
|
+
- **\`--prefer-install-dependencies=false\`** asks a generator to defer its dependency install so the batch installs once at the end (the final generator above omits the flag and installs everything).
|
|
54194
|
+
- **\`nx sync\`** is required before building — generators modify TypeScript project references.
|
|
54195
|
+
|
|
54089
54196
|
## Detailed Guides
|
|
54090
54197
|
|
|
54091
54198
|
Please refer to the below documentation for important details regarding workspaces and working with TypeScript or Python projects.
|