@spotlightjs/spotlight 4.11.2 → 4.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index.js +3 -3
- package/dist/_virtual/index2.js +3 -3
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +3 -3
- package/dist/_virtual/index7.js +3 -3
- package/dist/_virtual/index8.js +3 -3
- package/dist/_virtual/index9.js +3 -3
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +7 -9
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +18 -20
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -44
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +35 -29
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js +467 -465
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js +110 -104
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js +80 -74
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js +7 -9
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js +17 -8
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +3 -4
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +3 -3
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +4 -4
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +5 -5
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +2 -2
- package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/index.js +54 -23
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -0
- package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js.map +1 -1
- package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/utils.js +76 -20
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -0
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/helper/streaming/sse.js.map +1 -0
- package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/middleware/cors/index.js +8 -8
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/middleware/cors/index.js.map +1 -0
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/html.js.map +1 -0
- package/dist/node_modules/.pnpm/hono@4.12.18/node_modules/hono/dist/utils/stream.js.map +1 -0
- package/dist/sentry-config.js +2 -2
- package/dist/server/cli/run.js +2 -2
- package/dist/server/cli.js +2 -2
- package/dist/server/main.js +2 -2
- package/dist/server/mcp/mcp.js +2 -2
- package/dist/server/routes/stream/streaming.js +2 -2
- package/dist/ui/assets/instrumentation.js +2 -2
- package/package.json +6 -6
- package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js.map +0 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js.map +0 -1
- package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/helper/streaming/sse.js.map +0 -1
- package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/middleware/cors/index.js.map +0 -1
- package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/html.js.map +0 -1
- package/dist/node_modules/.pnpm/hono@4.12.8/node_modules/hono/dist/utils/stream.js.map +0 -1
- /package/dist/node_modules/.pnpm/{fast-uri@3.1.0 → fast-uri@3.1.2}/node_modules/fast-uri/lib/schemes.js +0 -0
- /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/helper/streaming/sse.js +0 -0
- /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/html.js +0 -0
- /package/dist/node_modules/.pnpm/{hono@4.12.8 → hono@4.12.18}/node_modules/hono/dist/utils/stream.js +0 -0
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6e8026d9-d192-460f-bd92-6d263502bec1", e._sentryDebugIdIdentifier = "sentry-dbid-6e8026d9-d192-460f-bd92-6d263502bec1");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
@@ -11,53 +11,59 @@ import "../errors.js";
|
|
|
11
11
|
import "../codegen/index.js";
|
|
12
12
|
import "../names.js";
|
|
13
13
|
import { __exports as names } from "../../../../../../../../_virtual/names.js";
|
|
14
|
-
import { __exports as codegen } from "../../../../../../../../_virtual/
|
|
14
|
+
import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
|
|
15
15
|
import { __exports as errors } from "../../../../../../../../_virtual/errors.js";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
gen
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
16
|
+
var hasRequiredBoolSchema;
|
|
17
|
+
function requireBoolSchema() {
|
|
18
|
+
if (hasRequiredBoolSchema) return boolSchema;
|
|
19
|
+
hasRequiredBoolSchema = 1;
|
|
20
|
+
Object.defineProperty(boolSchema, "__esModule", { value: true });
|
|
21
|
+
boolSchema.boolOrEmptySchema = boolSchema.topBoolOrEmptySchema = void 0;
|
|
22
|
+
const errors_1 = errors;
|
|
23
|
+
const codegen_1 = codegen;
|
|
24
|
+
const names_1 = names;
|
|
25
|
+
const boolError = {
|
|
26
|
+
message: "boolean schema is false"
|
|
27
|
+
};
|
|
28
|
+
function topBoolOrEmptySchema(it) {
|
|
29
|
+
const { gen, schema, validateName } = it;
|
|
30
|
+
if (schema === false) {
|
|
31
|
+
falseSchemaError(it, false);
|
|
32
|
+
} else if (typeof schema == "object" && schema.$async === true) {
|
|
33
|
+
gen.return(names_1.default.data);
|
|
34
|
+
} else {
|
|
35
|
+
gen.assign((0, codegen_1._)`${validateName}.errors`, null);
|
|
36
|
+
gen.return(true);
|
|
37
|
+
}
|
|
33
38
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
boolSchema.topBoolOrEmptySchema = topBoolOrEmptySchema;
|
|
40
|
+
function boolOrEmptySchema(it, valid) {
|
|
41
|
+
const { gen, schema } = it;
|
|
42
|
+
if (schema === false) {
|
|
43
|
+
gen.var(valid, false);
|
|
44
|
+
falseSchemaError(it);
|
|
45
|
+
} else {
|
|
46
|
+
gen.var(valid, true);
|
|
47
|
+
}
|
|
43
48
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
49
|
+
boolSchema.boolOrEmptySchema = boolOrEmptySchema;
|
|
50
|
+
function falseSchemaError(it, overrideAllErrors) {
|
|
51
|
+
const { gen, data } = it;
|
|
52
|
+
const cxt = {
|
|
53
|
+
gen,
|
|
54
|
+
keyword: "false schema",
|
|
55
|
+
data,
|
|
56
|
+
schema: false,
|
|
57
|
+
schemaCode: false,
|
|
58
|
+
schemaValue: false,
|
|
59
|
+
params: {},
|
|
60
|
+
it
|
|
61
|
+
};
|
|
62
|
+
(0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
|
|
63
|
+
}
|
|
64
|
+
return boolSchema;
|
|
59
65
|
}
|
|
60
66
|
export {
|
|
61
|
-
|
|
67
|
+
requireBoolSchema as __require
|
|
62
68
|
};
|
|
63
69
|
//# sourceMappingURL=boolSchema.js.map
|
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"boolSchema.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\nconst errors_1 = require(\"../errors\");\nconst codegen_1 = require(\"../codegen\");\nconst names_1 = require(\"../names\");\nconst boolError = {\n message: \"boolean schema is false\",\n};\nfunction topBoolOrEmptySchema(it) {\n const { gen, schema, validateName } = it;\n if (schema === false) {\n falseSchemaError(it, false);\n }\n else if (typeof schema == \"object\" && schema.$async === true) {\n gen.return(names_1.default.data);\n }\n else {\n gen.assign((0, codegen_1._) `${validateName}.errors`, null);\n gen.return(true);\n }\n}\nexports.topBoolOrEmptySchema = topBoolOrEmptySchema;\nfunction boolOrEmptySchema(it, valid) {\n const { gen, schema } = it;\n if (schema === false) {\n gen.var(valid, false); // TODO var\n falseSchemaError(it);\n }\n else {\n gen.var(valid, true); // TODO var\n }\n}\nexports.boolOrEmptySchema = boolOrEmptySchema;\nfunction falseSchemaError(it, overrideAllErrors) {\n const { gen, data } = it;\n // TODO maybe some other interface should be used for non-keyword validation errors...\n const cxt = {\n gen,\n keyword: \"false schema\",\n data,\n schema: false,\n schemaCode: false,\n schemaValue: false,\n params: {},\n it,\n };\n (0, errors_1.reportError)(cxt, boolError, undefined, overrideAllErrors);\n}\n//# sourceMappingURL=boolSchema.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,aAAA,oBAA4B,WAAA,uBAA+B;AAC3D,QAAM,WAAWA;AACjB,QAAM,YAAYC;AAClB,QAAM,UAAUC;AAChB,QAAM,YAAY;AAAA,IACd,SAAS;AAAA,EACb;AACA,WAAS,qBAAqB,IAAI;AAC9B,UAAM,EAAE,KAAK,QAAQ,aAAY,IAAK;AACtC,QAAI,WAAW,OAAO;AAClB,uBAAiB,IAAI,KAAK;AAAA,IAClC,WACa,OAAO,UAAU,YAAY,OAAO,WAAW,MAAM;AAC1D,UAAI,OAAO,QAAQ,QAAQ,IAAI;AAAA,IACvC,OACS;AACD,UAAI,QAAO,GAAI,UAAU,KAAM,YAAY,WAAW,IAAI;AAC1D,UAAI,OAAO,IAAI;AAAA,IACvB;AAAA,EACA;AACA,aAAA,uBAA+B;AAC/B,WAAS,kBAAkB,IAAI,OAAO;AAClC,UAAM,EAAE,KAAK,OAAM,IAAK;AACxB,QAAI,WAAW,OAAO;AAClB,UAAI,IAAI,OAAO,KAAK;AACpB,uBAAiB,EAAE;AAAA,IAC3B,OACS;AACD,UAAI,IAAI,OAAO,IAAI;AAAA,IAC3B;AAAA,EACA;AACA,aAAA,oBAA4B;AAC5B,WAAS,iBAAiB,IAAI,mBAAmB;AAC7C,UAAM,EAAE,KAAK,KAAI,IAAK;AAEtB,UAAM,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,MACT;AAAA,MACA,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,QAAQ,CAAA;AAAA,MACR;AAAA,IACR;AACI,KAAA,GAAI,SAAS,aAAa,KAAK,WAAW,QAAW,iBAAiB;AAAA,EAC1E;;;","x_google_ignoreList":[0]}
|
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ffe13390-f361-43d1-aa07-37f7fb213dac", e._sentryDebugIdIdentifier = "sentry-dbid-ffe13390-f361-43d1-aa07-37f7fb213dac");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
@@ -14,7 +14,7 @@ import "../codegen/index.js";
|
|
|
14
14
|
import "../util.js";
|
|
15
15
|
import { __exports as rules } from "../../../../../../../../_virtual/rules.js";
|
|
16
16
|
import { __exports as applicability } from "../../../../../../../../_virtual/applicability.js";
|
|
17
|
-
import { __exports as codegen } from "../../../../../../../../_virtual/
|
|
17
|
+
import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
|
|
18
18
|
import { __exports as util } from "../../../../../../../../_virtual/util.js";
|
|
19
19
|
import { __exports as errors } from "../../../../../../../../_virtual/errors.js";
|
|
20
20
|
Object.defineProperty(dataType, "__esModule", { value: true });
|
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
CHANGED
|
@@ -2,46 +2,52 @@
|
|
|
2
2
|
!(function() {
|
|
3
3
|
try {
|
|
4
4
|
var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6005baff-8cd7-4928-a78c-fc21054c26fc", e._sentryDebugIdIdentifier = "sentry-dbid-6005baff-8cd7-4928-a78c-fc21054c26fc");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as defaults } from "../../../../../../../../_virtual/defaults.js";
|
|
10
10
|
import "../codegen/index.js";
|
|
11
11
|
import "../util.js";
|
|
12
|
-
import { __exports as codegen } from "../../../../../../../../_virtual/
|
|
12
|
+
import { __exports as codegen } from "../../../../../../../../_virtual/index.js";
|
|
13
13
|
import { __exports as util } from "../../../../../../../../_virtual/util.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
var hasRequiredDefaults;
|
|
15
|
+
function requireDefaults() {
|
|
16
|
+
if (hasRequiredDefaults) return defaults;
|
|
17
|
+
hasRequiredDefaults = 1;
|
|
18
|
+
Object.defineProperty(defaults, "__esModule", { value: true });
|
|
19
|
+
defaults.assignDefaults = void 0;
|
|
20
|
+
const codegen_1 = codegen;
|
|
21
|
+
const util_1 = util;
|
|
22
|
+
function assignDefaults(it, ty) {
|
|
23
|
+
const { properties, items } = it.schema;
|
|
24
|
+
if (ty === "object" && properties) {
|
|
25
|
+
for (const key in properties) {
|
|
26
|
+
assignDefault(it, key, properties[key].default);
|
|
27
|
+
}
|
|
28
|
+
} else if (ty === "array" && Array.isArray(items)) {
|
|
29
|
+
items.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
23
30
|
}
|
|
24
|
-
} else if (ty === "array" && Array.isArray(items)) {
|
|
25
|
-
items.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
26
31
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
defaults.assignDefaults = assignDefaults;
|
|
33
|
+
function assignDefault(it, prop, defaultValue) {
|
|
34
|
+
const { gen, compositeRule, data, opts } = it;
|
|
35
|
+
if (defaultValue === void 0)
|
|
36
|
+
return;
|
|
37
|
+
const childData = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(prop)}`;
|
|
38
|
+
if (compositeRule) {
|
|
39
|
+
(0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let condition = (0, codegen_1._)`${childData} === undefined`;
|
|
43
|
+
if (opts.useDefaults === "empty") {
|
|
44
|
+
condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === ""`;
|
|
45
|
+
}
|
|
46
|
+
gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
|
|
41
47
|
}
|
|
42
|
-
|
|
48
|
+
return defaults;
|
|
43
49
|
}
|
|
44
50
|
export {
|
|
45
|
-
|
|
51
|
+
requireDefaults as __require
|
|
46
52
|
};
|
|
47
53
|
//# sourceMappingURL=defaults.js.map
|
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assignDefaults = void 0;\nconst codegen_1 = require(\"../codegen\");\nconst util_1 = require(\"../util\");\nfunction assignDefaults(it, ty) {\n const { properties, items } = it.schema;\n if (ty === \"object\" && properties) {\n for (const key in properties) {\n assignDefault(it, key, properties[key].default);\n }\n }\n else if (ty === \"array\" && Array.isArray(items)) {\n items.forEach((sch, i) => assignDefault(it, i, sch.default));\n }\n}\nexports.assignDefaults = assignDefaults;\nfunction assignDefault(it, prop, defaultValue) {\n const { gen, compositeRule, data, opts } = it;\n if (defaultValue === undefined)\n return;\n const childData = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(prop)}`;\n if (compositeRule) {\n (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);\n return;\n }\n let condition = (0, codegen_1._) `${childData} === undefined`;\n if (opts.useDefaults === \"empty\") {\n condition = (0, codegen_1._) `${condition} || ${childData} === null || ${childData} === \"\"`;\n }\n // `${childData} === undefined` +\n // (opts.useDefaults === \"empty\" ? ` || ${childData} === null || ${childData} === \"\"` : \"\")\n gen.if(condition, (0, codegen_1._) `${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);\n}\n//# sourceMappingURL=defaults.js.map"],"names":["require$$0","require$$1"],"mappings":"
|
|
1
|
+
{"version":3,"file":"defaults.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assignDefaults = void 0;\nconst codegen_1 = require(\"../codegen\");\nconst util_1 = require(\"../util\");\nfunction assignDefaults(it, ty) {\n const { properties, items } = it.schema;\n if (ty === \"object\" && properties) {\n for (const key in properties) {\n assignDefault(it, key, properties[key].default);\n }\n }\n else if (ty === \"array\" && Array.isArray(items)) {\n items.forEach((sch, i) => assignDefault(it, i, sch.default));\n }\n}\nexports.assignDefaults = assignDefaults;\nfunction assignDefault(it, prop, defaultValue) {\n const { gen, compositeRule, data, opts } = it;\n if (defaultValue === undefined)\n return;\n const childData = (0, codegen_1._) `${data}${(0, codegen_1.getProperty)(prop)}`;\n if (compositeRule) {\n (0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);\n return;\n }\n let condition = (0, codegen_1._) `${childData} === undefined`;\n if (opts.useDefaults === \"empty\") {\n condition = (0, codegen_1._) `${condition} || ${childData} === null || ${childData} === \"\"`;\n }\n // `${childData} === undefined` +\n // (opts.useDefaults === \"empty\" ? ` || ${childData} === null || ${childData} === \"\"` : \"\")\n gen.if(condition, (0, codegen_1._) `${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);\n}\n//# sourceMappingURL=defaults.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,UAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,WAAA,iBAAyB;AACzB,QAAM,YAAYA;AAClB,QAAM,SAASC;AACf,WAAS,eAAe,IAAI,IAAI;AAC5B,UAAM,EAAE,YAAY,MAAK,IAAK,GAAG;AACjC,QAAI,OAAO,YAAY,YAAY;AAC/B,iBAAW,OAAO,YAAY;AAC1B,sBAAc,IAAI,KAAK,WAAW,GAAG,EAAE,OAAO;AAAA,MAC1D;AAAA,IACA,WACa,OAAO,WAAW,MAAM,QAAQ,KAAK,GAAG;AAC7C,YAAM,QAAQ,CAAC,KAAK,MAAM,cAAc,IAAI,GAAG,IAAI,OAAO,CAAC;AAAA,IACnE;AAAA,EACA;AACA,WAAA,iBAAyB;AACzB,WAAS,cAAc,IAAI,MAAM,cAAc;AAC3C,UAAM,EAAE,KAAK,eAAe,MAAM,KAAI,IAAK;AAC3C,QAAI,iBAAiB;AACjB;AACJ,UAAM,aAAY,GAAI,UAAU,KAAM,IAAI,OAAO,UAAU,aAAa,IAAI,CAAC;AAC7E,QAAI,eAAe;AACf,OAAA,GAAI,OAAO,iBAAiB,IAAI,2BAA2B,SAAS,EAAE;AACtE;AAAA,IACR;AACI,QAAI,aAAY,GAAI,UAAU,KAAM,SAAS;AAC7C,QAAI,KAAK,gBAAgB,SAAS;AAC9B,mBAAY,GAAI,UAAU,KAAM,SAAS,OAAO,SAAS,gBAAgB,SAAS;AAAA,IAC1F;AAGI,QAAI,GAAG,YAAW,GAAI,UAAU,KAAM,SAAS,OAAM,GAAI,UAAU,WAAW,YAAY,CAAC,EAAE;AAAA,EACjG;;;","x_google_ignoreList":[0]}
|