@spotlightjs/spotlight 4.11.4 → 4.11.5
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/ajv.js +6 -3
- package/dist/_virtual/ajv2.js +13 -0
- package/dist/_virtual/index.js +6 -3
- package/dist/_virtual/index10.js +3 -3
- package/dist/_virtual/index11.js +3 -3
- package/dist/_virtual/index12.js +13 -0
- 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/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js +1 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js.map +1 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_sdk@1.27.1_zod@4.1.13/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js +3 -3
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js +203 -194
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js +47 -47
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js +77 -69
- package/dist/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js +78 -81
- 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/code.js +145 -136
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js +692 -685
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js +143 -135
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js +122 -116
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js +216 -214
- 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 +43 -35
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js +19 -11
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js +149 -144
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js +31 -25
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js +164 -160
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -17
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js +7 -10
- 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 +174 -173
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js +5 -7
- 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 +21 -28
- 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 +11 -15
- 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 +5 -7
- 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 +571 -570
- 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/refs/data.json.js +3 -17
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +4 -236
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js +16 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js +27 -18
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js +16 -7
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js.map +1 -1
- 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 +55 -48
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +104 -99
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +30 -22
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +20 -12
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -88
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +94 -88
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js +71 -64
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js +67 -74
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js +60 -54
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +41 -36
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js +34 -26
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -53
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +73 -67
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +20 -12
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +61 -55
- 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 +46 -39
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +21 -13
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js +132 -129
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js +17 -8
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js +27 -20
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js +121 -118
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -100
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +15 -9
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js +30 -26
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js +84 -76
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js +16 -8
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js +24 -18
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js +33 -27
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js +53 -47
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js +52 -53
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +32 -24
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +37 -31
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +35 -27
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +32 -24
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +31 -23
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +41 -35
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js +80 -74
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -1
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +71 -66
- package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +34 -27
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js +250 -245
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js +201 -175
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js +267 -259
- package/dist/node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js.map +1 -1
- package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +83 -78
- package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js.map +1 -1
- package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js +1 -1
- package/dist/node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.1.13/node_modules/zod-to-json-schema/dist/esm/Options.js.map +1 -1
- package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js +1 -1
- package/dist/node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js.map +1 -1
- 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/mcp/mcp.js +2 -2
- package/dist/ui/assets/index.js +61 -70
- package/dist/ui/assets/index2.js +1 -1
- package/dist/ui/assets/instrumentation.js +18 -18
- package/dist/ui/assets/main.css +1 -1
- package/dist/ui/assets/main.js +1 -1
- package/dist/ui/assets/serverTimingMeta.js +23 -30
- package/package.json +4 -4
package/dist/node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
CHANGED
|
@@ -2,64 +2,71 @@
|
|
|
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] = "8392ef4a-4d22-4ad0-afc9-7c153e3cbf62", e._sentryDebugIdIdentifier = "sentry-dbid-8392ef4a-4d22-4ad0-afc9-7c153e3cbf62");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as oneOf } from "../../../../../../../../_virtual/oneOf.js";
|
|
10
|
-
import "../../compile/codegen/index.js";
|
|
11
|
-
import "../../compile/util.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
gen.
|
|
57
|
-
|
|
58
|
-
|
|
10
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
11
|
+
import { __require as requireUtil } from "../../compile/util.js";
|
|
12
|
+
var hasRequiredOneOf;
|
|
13
|
+
function requireOneOf() {
|
|
14
|
+
if (hasRequiredOneOf) return oneOf;
|
|
15
|
+
hasRequiredOneOf = 1;
|
|
16
|
+
Object.defineProperty(oneOf, "__esModule", { value: true });
|
|
17
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
18
|
+
const util_1 = /* @__PURE__ */ requireUtil();
|
|
19
|
+
const error = {
|
|
20
|
+
message: "must match exactly one schema in oneOf",
|
|
21
|
+
params: ({ params }) => (0, codegen_1._)`{passingSchemas: ${params.passing}}`
|
|
22
|
+
};
|
|
23
|
+
const def = {
|
|
24
|
+
keyword: "oneOf",
|
|
25
|
+
schemaType: "array",
|
|
26
|
+
trackErrors: true,
|
|
27
|
+
error,
|
|
28
|
+
code(cxt) {
|
|
29
|
+
const { gen, schema, parentSchema, it } = cxt;
|
|
30
|
+
if (!Array.isArray(schema))
|
|
31
|
+
throw new Error("ajv implementation error");
|
|
32
|
+
if (it.opts.discriminator && parentSchema.discriminator)
|
|
33
|
+
return;
|
|
34
|
+
const schArr = schema;
|
|
35
|
+
const valid = gen.let("valid", false);
|
|
36
|
+
const passing = gen.let("passing", null);
|
|
37
|
+
const schValid = gen.name("_valid");
|
|
38
|
+
cxt.setParams({ passing });
|
|
39
|
+
gen.block(validateOneOf);
|
|
40
|
+
cxt.result(valid, () => cxt.reset(), () => cxt.error(true));
|
|
41
|
+
function validateOneOf() {
|
|
42
|
+
schArr.forEach((sch, i) => {
|
|
43
|
+
let schCxt;
|
|
44
|
+
if ((0, util_1.alwaysValidSchema)(it, sch)) {
|
|
45
|
+
gen.var(schValid, true);
|
|
46
|
+
} else {
|
|
47
|
+
schCxt = cxt.subschema({
|
|
48
|
+
keyword: "oneOf",
|
|
49
|
+
schemaProp: i,
|
|
50
|
+
compositeRule: true
|
|
51
|
+
}, schValid);
|
|
52
|
+
}
|
|
53
|
+
if (i > 0) {
|
|
54
|
+
gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i}]`).else();
|
|
55
|
+
}
|
|
56
|
+
gen.if(schValid, () => {
|
|
57
|
+
gen.assign(valid, true);
|
|
58
|
+
gen.assign(passing, i);
|
|
59
|
+
if (schCxt)
|
|
60
|
+
cxt.mergeEvaluated(schCxt, codegen_1.Name);
|
|
61
|
+
});
|
|
59
62
|
});
|
|
60
|
-
}
|
|
63
|
+
}
|
|
61
64
|
}
|
|
62
|
-
}
|
|
65
|
+
};
|
|
66
|
+
oneOf.default = def;
|
|
67
|
+
return oneOf;
|
|
68
|
+
}
|
|
69
|
+
export {
|
|
70
|
+
requireOneOf as __require
|
|
63
71
|
};
|
|
64
|
-
oneOf.default = def;
|
|
65
72
|
//# sourceMappingURL=oneOf.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oneOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst error = {\n message: \"must match exactly one schema in oneOf\",\n params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,\n};\nconst def = {\n keyword: \"oneOf\",\n schemaType: \"array\",\n trackErrors: true,\n error,\n code(cxt) {\n const { gen, schema, parentSchema, it } = cxt;\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n if (it.opts.discriminator && parentSchema.discriminator)\n return;\n const schArr = schema;\n const valid = gen.let(\"valid\", false);\n const passing = gen.let(\"passing\", null);\n const schValid = gen.name(\"_valid\");\n cxt.setParams({ passing });\n // TODO possibly fail straight away (with warning or exception) if there are two empty always valid schemas\n gen.block(validateOneOf);\n cxt.result(valid, () => cxt.reset(), () => cxt.error(true));\n function validateOneOf() {\n schArr.forEach((sch, i) => {\n let schCxt;\n if ((0, util_1.alwaysValidSchema)(it, sch)) {\n gen.var(schValid, true);\n }\n else {\n schCxt = cxt.subschema({\n keyword: \"oneOf\",\n schemaProp: i,\n compositeRule: true,\n }, schValid);\n }\n if (i > 0) {\n gen\n .if((0, codegen_1._) `${schValid} && ${valid}`)\n .assign(valid, false)\n .assign(passing, (0, codegen_1._) `[${passing}, ${i}]`)\n .else();\n }\n gen.if(schValid, () => {\n gen.assign(valid, true);\n gen.assign(passing, i);\n if (schCxt)\n cxt.mergeEvaluated(schCxt, codegen_1.Name);\n });\n });\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=oneOf.js.map"],"names":["require$$0","require$$1"],"mappings":"
|
|
1
|
+
{"version":3,"file":"oneOf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst error = {\n message: \"must match exactly one schema in oneOf\",\n params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,\n};\nconst def = {\n keyword: \"oneOf\",\n schemaType: \"array\",\n trackErrors: true,\n error,\n code(cxt) {\n const { gen, schema, parentSchema, it } = cxt;\n /* istanbul ignore if */\n if (!Array.isArray(schema))\n throw new Error(\"ajv implementation error\");\n if (it.opts.discriminator && parentSchema.discriminator)\n return;\n const schArr = schema;\n const valid = gen.let(\"valid\", false);\n const passing = gen.let(\"passing\", null);\n const schValid = gen.name(\"_valid\");\n cxt.setParams({ passing });\n // TODO possibly fail straight away (with warning or exception) if there are two empty always valid schemas\n gen.block(validateOneOf);\n cxt.result(valid, () => cxt.reset(), () => cxt.error(true));\n function validateOneOf() {\n schArr.forEach((sch, i) => {\n let schCxt;\n if ((0, util_1.alwaysValidSchema)(it, sch)) {\n gen.var(schValid, true);\n }\n else {\n schCxt = cxt.subschema({\n keyword: \"oneOf\",\n schemaProp: i,\n compositeRule: true,\n }, schValid);\n }\n if (i > 0) {\n gen\n .if((0, codegen_1._) `${schValid} && ${valid}`)\n .assign(valid, false)\n .assign(passing, (0, codegen_1._) `[${passing}, ${i}]`)\n .else();\n }\n gen.if(schValid, () => {\n gen.assign(valid, true);\n gen.assign(passing, i);\n if (schCxt)\n cxt.mergeEvaluated(schCxt, codegen_1.Name);\n });\n });\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=oneOf.js.map"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;AACA,SAAO,eAAe,OAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,YAAYA,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,QAAQ;AAAA,IACV,SAAS;AAAA,IACT,QAAQ,CAAC,EAAE,OAAM,UAAW,UAAU,sBAAuB,OAAO,OAAO;AAAA;AAE/E,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,aAAa;AAAA,IACb;AAAA,IACA,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,QAAQ,cAAc,GAAE,IAAK;AAE1C,UAAI,CAAC,MAAM,QAAQ,MAAM;AACrB,cAAM,IAAI,MAAM,0BAA0B;AAC9C,UAAI,GAAG,KAAK,iBAAiB,aAAa;AACtC;AACJ,YAAM,SAAS;AACf,YAAM,QAAQ,IAAI,IAAI,SAAS,KAAK;AACpC,YAAM,UAAU,IAAI,IAAI,WAAW,IAAI;AACvC,YAAM,WAAW,IAAI,KAAK,QAAQ;AAClC,UAAI,UAAU,EAAE,SAAS;AAEzB,UAAI,MAAM,aAAa;AACvB,UAAI,OAAO,OAAO,MAAM,IAAI,MAAK,GAAI,MAAM,IAAI,MAAM,IAAI,CAAC;AAC1D,eAAS,gBAAgB;AACrB,eAAO,QAAQ,CAAC,KAAK,MAAM;AACvB,cAAI;AACJ,eAAI,GAAI,OAAO,mBAAmB,IAAI,GAAG,GAAG;AACxC,gBAAI,IAAI,UAAU,IAAI;AAAA,UAC1C,OACqB;AACD,qBAAS,IAAI,UAAU;AAAA,cACnB,SAAS;AAAA,cACT,YAAY;AAAA,cACZ,eAAe;AAAA,eAChB,QAAQ;AAAA,UAC/B;AACgB,cAAI,IAAI,GAAG;AACP,gBACK,IAAG,GAAI,UAAU,KAAM,QAAQ,OAAO,KAAK,EAAE,EAC7C,OAAO,OAAO,KAAK,EACnB,OAAO,UAAS,GAAI,UAAU,MAAO,OAAO,KAAK,CAAC,GAAG,EACrD,KAAI;AAAA,UAC7B;AACgB,cAAI,GAAG,UAAU,MAAM;AACnB,gBAAI,OAAO,OAAO,IAAI;AACtB,gBAAI,OAAO,SAAS,CAAC;AACrB,gBAAI;AACA,kBAAI,eAAe,QAAQ,UAAU,IAAI;AAAA,UACjE,CAAiB;AAAA,QACjB,CAAa;AAAA,MACb;AAAA,IACA;AAAA;AAEA,QAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,82 +2,88 @@
|
|
|
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] = "fd47526d-9f2d-4873-b985-b3d3a1b2256b", e._sentryDebugIdIdentifier = "sentry-dbid-fd47526d-9f2d-4873-b985-b3d3a1b2256b");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as patternProperties } from "../../../../../../../../_virtual/patternProperties.js";
|
|
10
|
-
import "../code.js";
|
|
11
|
-
import "../../compile/codegen/index.js";
|
|
12
|
-
import "../../compile/util.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;
|
|
34
|
-
const valid = gen.name("valid");
|
|
35
|
-
if (it.props !== true && !(it.props instanceof codegen_1.Name)) {
|
|
36
|
-
it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);
|
|
37
|
-
}
|
|
38
|
-
const { props } = it;
|
|
39
|
-
validatePatternProperties();
|
|
40
|
-
function validatePatternProperties() {
|
|
41
|
-
for (const pat of patterns) {
|
|
42
|
-
if (checkProperties)
|
|
43
|
-
checkMatchingProperties(pat);
|
|
44
|
-
if (it.allErrors) {
|
|
45
|
-
validateProperties(pat);
|
|
46
|
-
} else {
|
|
47
|
-
gen.var(valid, true);
|
|
48
|
-
validateProperties(pat);
|
|
49
|
-
gen.if(valid);
|
|
50
|
-
}
|
|
10
|
+
import { __require as requireCode } from "../code.js";
|
|
11
|
+
import { __require as requireCodegen } from "../../compile/codegen/index.js";
|
|
12
|
+
import { __require as requireUtil } from "../../compile/util.js";
|
|
13
|
+
var hasRequiredPatternProperties;
|
|
14
|
+
function requirePatternProperties() {
|
|
15
|
+
if (hasRequiredPatternProperties) return patternProperties;
|
|
16
|
+
hasRequiredPatternProperties = 1;
|
|
17
|
+
Object.defineProperty(patternProperties, "__esModule", { value: true });
|
|
18
|
+
const code_1 = /* @__PURE__ */ requireCode();
|
|
19
|
+
const codegen_1 = /* @__PURE__ */ requireCodegen();
|
|
20
|
+
const util_1 = /* @__PURE__ */ requireUtil();
|
|
21
|
+
const util_2 = /* @__PURE__ */ requireUtil();
|
|
22
|
+
const def = {
|
|
23
|
+
keyword: "patternProperties",
|
|
24
|
+
type: "object",
|
|
25
|
+
schemaType: "object",
|
|
26
|
+
code(cxt) {
|
|
27
|
+
const { gen, schema, data, parentSchema, it } = cxt;
|
|
28
|
+
const { opts } = it;
|
|
29
|
+
const patterns = (0, code_1.allSchemaProperties)(schema);
|
|
30
|
+
const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));
|
|
31
|
+
if (patterns.length === 0 || alwaysValidPatterns.length === patterns.length && (!it.opts.unevaluated || it.props === true)) {
|
|
32
|
+
return;
|
|
51
33
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
|
|
57
|
-
}
|
|
34
|
+
const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;
|
|
35
|
+
const valid = gen.name("valid");
|
|
36
|
+
if (it.props !== true && !(it.props instanceof codegen_1.Name)) {
|
|
37
|
+
it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);
|
|
58
38
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
39
|
+
const { props } = it;
|
|
40
|
+
validatePatternProperties();
|
|
41
|
+
function validatePatternProperties() {
|
|
42
|
+
for (const pat of patterns) {
|
|
43
|
+
if (checkProperties)
|
|
44
|
+
checkMatchingProperties(pat);
|
|
45
|
+
if (it.allErrors) {
|
|
46
|
+
validateProperties(pat);
|
|
47
|
+
} else {
|
|
48
|
+
gen.var(valid, true);
|
|
49
|
+
validateProperties(pat);
|
|
50
|
+
gen.if(valid);
|
|
71
51
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function checkMatchingProperties(pat) {
|
|
55
|
+
for (const prop in checkProperties) {
|
|
56
|
+
if (new RegExp(pat).test(prop)) {
|
|
57
|
+
(0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);
|
|
76
58
|
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function validateProperties(pat) {
|
|
62
|
+
gen.forIn("key", data, (key) => {
|
|
63
|
+
gen.if((0, codegen_1._)`${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {
|
|
64
|
+
const alwaysValid = alwaysValidPatterns.includes(pat);
|
|
65
|
+
if (!alwaysValid) {
|
|
66
|
+
cxt.subschema({
|
|
67
|
+
keyword: "patternProperties",
|
|
68
|
+
schemaProp: pat,
|
|
69
|
+
dataProp: key,
|
|
70
|
+
dataPropType: util_2.Type.Str
|
|
71
|
+
}, valid);
|
|
72
|
+
}
|
|
73
|
+
if (it.opts.unevaluated && props !== true) {
|
|
74
|
+
gen.assign((0, codegen_1._)`${props}[${key}]`, true);
|
|
75
|
+
} else if (!alwaysValid && !it.allErrors) {
|
|
76
|
+
gen.if((0, codegen_1.not)(valid), () => gen.break());
|
|
77
|
+
}
|
|
78
|
+
});
|
|
77
79
|
});
|
|
78
|
-
}
|
|
80
|
+
}
|
|
79
81
|
}
|
|
80
|
-
}
|
|
82
|
+
};
|
|
83
|
+
patternProperties.default = def;
|
|
84
|
+
return patternProperties;
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
requirePatternProperties as __require
|
|
81
88
|
};
|
|
82
|
-
patternProperties.default = def;
|
|
83
89
|
//# sourceMappingURL=patternProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patternProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst code_1 = require(\"../code\");\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst util_2 = require(\"../../compile/util\");\nconst def = {\n keyword: \"patternProperties\",\n type: \"object\",\n schemaType: \"object\",\n code(cxt) {\n const { gen, schema, data, parentSchema, it } = cxt;\n const { opts } = it;\n const patterns = (0, code_1.allSchemaProperties)(schema);\n const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));\n if (patterns.length === 0 ||\n (alwaysValidPatterns.length === patterns.length &&\n (!it.opts.unevaluated || it.props === true))) {\n return;\n }\n const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;\n const valid = gen.name(\"valid\");\n if (it.props !== true && !(it.props instanceof codegen_1.Name)) {\n it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);\n }\n const { props } = it;\n validatePatternProperties();\n function validatePatternProperties() {\n for (const pat of patterns) {\n if (checkProperties)\n checkMatchingProperties(pat);\n if (it.allErrors) {\n validateProperties(pat);\n }\n else {\n gen.var(valid, true); // TODO var\n validateProperties(pat);\n gen.if(valid);\n }\n }\n }\n function checkMatchingProperties(pat) {\n for (const prop in checkProperties) {\n if (new RegExp(pat).test(prop)) {\n (0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);\n }\n }\n }\n function validateProperties(pat) {\n gen.forIn(\"key\", data, (key) => {\n gen.if((0, codegen_1._) `${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {\n const alwaysValid = alwaysValidPatterns.includes(pat);\n if (!alwaysValid) {\n cxt.subschema({\n keyword: \"patternProperties\",\n schemaProp: pat,\n dataProp: key,\n dataPropType: util_2.Type.Str,\n }, valid);\n }\n if (it.opts.unevaluated && props !== true) {\n gen.assign((0, codegen_1._) `${props}[${key}]`, true);\n }\n else if (!alwaysValid && !it.allErrors) {\n // can short-circuit if `unevaluatedProperties` is not supported (opts.next === false)\n // or if all properties were evaluated (props === true)\n gen.if((0, codegen_1.not)(valid), () => gen.break());\n }\n });\n });\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=patternProperties.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patternProperties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst code_1 = require(\"../code\");\nconst codegen_1 = require(\"../../compile/codegen\");\nconst util_1 = require(\"../../compile/util\");\nconst util_2 = require(\"../../compile/util\");\nconst def = {\n keyword: \"patternProperties\",\n type: \"object\",\n schemaType: \"object\",\n code(cxt) {\n const { gen, schema, data, parentSchema, it } = cxt;\n const { opts } = it;\n const patterns = (0, code_1.allSchemaProperties)(schema);\n const alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));\n if (patterns.length === 0 ||\n (alwaysValidPatterns.length === patterns.length &&\n (!it.opts.unevaluated || it.props === true))) {\n return;\n }\n const checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;\n const valid = gen.name(\"valid\");\n if (it.props !== true && !(it.props instanceof codegen_1.Name)) {\n it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);\n }\n const { props } = it;\n validatePatternProperties();\n function validatePatternProperties() {\n for (const pat of patterns) {\n if (checkProperties)\n checkMatchingProperties(pat);\n if (it.allErrors) {\n validateProperties(pat);\n }\n else {\n gen.var(valid, true); // TODO var\n validateProperties(pat);\n gen.if(valid);\n }\n }\n }\n function checkMatchingProperties(pat) {\n for (const prop in checkProperties) {\n if (new RegExp(pat).test(prop)) {\n (0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);\n }\n }\n }\n function validateProperties(pat) {\n gen.forIn(\"key\", data, (key) => {\n gen.if((0, codegen_1._) `${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {\n const alwaysValid = alwaysValidPatterns.includes(pat);\n if (!alwaysValid) {\n cxt.subschema({\n keyword: \"patternProperties\",\n schemaProp: pat,\n dataProp: key,\n dataPropType: util_2.Type.Str,\n }, valid);\n }\n if (it.opts.unevaluated && props !== true) {\n gen.assign((0, codegen_1._) `${props}[${key}]`, true);\n }\n else if (!alwaysValid && !it.allErrors) {\n // can short-circuit if `unevaluatedProperties` is not supported (opts.next === false)\n // or if all properties were evaluated (props === true)\n gen.if((0, codegen_1.not)(valid), () => gen.break());\n }\n });\n });\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=patternProperties.js.map"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAO,eAAe,mBAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,SAASA,4BAAA;AACf,QAAM,YAAYC,+BAAA;AAClB,QAAM,SAASC,4BAAA;AACf,QAAM,SAASA,4BAAA;AACf,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,QAAQ,MAAM,cAAc,GAAE,IAAK;AAChD,YAAM,EAAE,KAAI,IAAK;AACjB,YAAM,YAAW,GAAI,OAAO,qBAAqB,MAAM;AACvD,YAAM,sBAAsB,SAAS,OAAO,CAAC,OAAM,GAAI,OAAO,mBAAmB,IAAI,OAAO,CAAC,CAAC,CAAC;AAC/F,UAAI,SAAS,WAAW,KACnB,oBAAoB,WAAW,SAAS,WACpC,CAAC,GAAG,KAAK,eAAe,GAAG,UAAU,OAAQ;AAClD;AAAA,MACZ;AACQ,YAAM,kBAAkB,KAAK,gBAAgB,CAAC,KAAK,2BAA2B,aAAa;AAC3F,YAAM,QAAQ,IAAI,KAAK,OAAO;AAC9B,UAAI,GAAG,UAAU,QAAQ,EAAE,GAAG,iBAAiB,UAAU,OAAO;AAC5D,WAAG,YAAY,OAAO,sBAAsB,KAAK,GAAG,KAAK;AAAA,MACrE;AACQ,YAAM,EAAE,MAAK,IAAK;AAClB,gCAAyB;AACzB,eAAS,4BAA4B;AACjC,mBAAW,OAAO,UAAU;AACxB,cAAI;AACA,oCAAwB,GAAG;AAC/B,cAAI,GAAG,WAAW;AACd,+BAAmB,GAAG;AAAA,UAC1C,OACqB;AACD,gBAAI,IAAI,OAAO,IAAI;AACnB,+BAAmB,GAAG;AACtB,gBAAI,GAAG,KAAK;AAAA,UAChC;AAAA,QACA;AAAA,MACA;AACQ,eAAS,wBAAwB,KAAK;AAClC,mBAAW,QAAQ,iBAAiB;AAChC,cAAI,IAAI,OAAO,GAAG,EAAE,KAAK,IAAI,GAAG;AAC5B,gBAAI,OAAO,iBAAiB,IAAI,YAAY,IAAI,oBAAoB,GAAG,gCAAgC;AAAA,UAC3H;AAAA,QACA;AAAA,MACA;AACQ,eAAS,mBAAmB,KAAK;AAC7B,YAAI,MAAM,OAAO,MAAM,CAAC,QAAQ;AAC5B,cAAI,IAAG,GAAI,UAAU,MAAM,GAAI,OAAO,YAAY,KAAK,GAAG,CAAC,SAAS,GAAG,KAAK,MAAM;AAC9E,kBAAM,cAAc,oBAAoB,SAAS,GAAG;AACpD,gBAAI,CAAC,aAAa;AACd,kBAAI,UAAU;AAAA,gBACV,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AAAA,gBACV,cAAc,OAAO,KAAK;AAAA,iBAC3B,KAAK;AAAA,YAChC;AACoB,gBAAI,GAAG,KAAK,eAAe,UAAU,MAAM;AACvC,kBAAI,WAAW,UAAU,KAAM,KAAK,IAAI,GAAG,KAAK,IAAI;AAAA,YAC5E,WAC6B,CAAC,eAAe,CAAC,GAAG,WAAW;AAGpC,kBAAI,IAAG,GAAI,UAAU,KAAK,KAAK,GAAG,MAAM,IAAI,OAAO;AAAA,YAC3E;AAAA,UACA,CAAiB;AAAA,QACjB,CAAa;AAAA,MACb;AAAA,IACA;AAAA;AAEA,oBAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,21 +2,29 @@
|
|
|
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] = "e4f3dd35-ca7e-4d54-963f-ae7469817331", e._sentryDebugIdIdentifier = "sentry-dbid-e4f3dd35-ca7e-4d54-963f-ae7469817331");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as prefixItems } from "../../../../../../../../_virtual/prefixItems.js";
|
|
10
|
-
import "./items.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
import { __require as requireItems } from "./items.js";
|
|
11
|
+
var hasRequiredPrefixItems;
|
|
12
|
+
function requirePrefixItems() {
|
|
13
|
+
if (hasRequiredPrefixItems) return prefixItems;
|
|
14
|
+
hasRequiredPrefixItems = 1;
|
|
15
|
+
Object.defineProperty(prefixItems, "__esModule", { value: true });
|
|
16
|
+
const items_1 = /* @__PURE__ */ requireItems();
|
|
17
|
+
const def = {
|
|
18
|
+
keyword: "prefixItems",
|
|
19
|
+
type: "array",
|
|
20
|
+
schemaType: ["array"],
|
|
21
|
+
before: "uniqueItems",
|
|
22
|
+
code: (cxt) => (0, items_1.validateTuple)(cxt, "items")
|
|
23
|
+
};
|
|
24
|
+
prefixItems.default = def;
|
|
25
|
+
return prefixItems;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
requirePrefixItems as __require
|
|
20
29
|
};
|
|
21
|
-
prefixItems.default = def;
|
|
22
30
|
//# sourceMappingURL=prefixItems.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefixItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst items_1 = require(\"./items\");\nconst def = {\n keyword: \"prefixItems\",\n type: \"array\",\n schemaType: [\"array\"],\n before: \"uniqueItems\",\n code: (cxt) => (0, items_1.validateTuple)(cxt, \"items\"),\n};\nexports.default = def;\n//# sourceMappingURL=prefixItems.js.map"],"names":["require$$0"],"mappings":"
|
|
1
|
+
{"version":3,"file":"prefixItems.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst items_1 = require(\"./items\");\nconst def = {\n keyword: \"prefixItems\",\n type: \"array\",\n schemaType: [\"array\"],\n before: \"uniqueItems\",\n code: (cxt) => (0, items_1.validateTuple)(cxt, \"items\"),\n};\nexports.default = def;\n//# sourceMappingURL=prefixItems.js.map"],"names":["require$$0"],"mappings":";;;;;;;;;;;;;;AACA,SAAO,eAAe,aAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,UAAUA,6BAAA;AAChB,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,YAAY,CAAC,OAAO;AAAA,IACpB,QAAQ;AAAA,IACR,MAAM,CAAC,SAAQ,GAAI,QAAQ,eAAe,KAAK,OAAO;AAAA;AAE1D,cAAA,UAAkB;;;","x_google_ignoreList":[0]}
|
|
@@ -2,67 +2,73 @@
|
|
|
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] = "678a269f-02ff-4064-84ad-bc54dc7d9a0f", e._sentryDebugIdIdentifier = "sentry-dbid-678a269f-02ff-4064-84ad-bc54dc7d9a0f");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
})();
|
|
9
9
|
import { __exports as properties } from "../../../../../../../../_virtual/properties.js";
|
|
10
10
|
import { __require as requireValidate } from "../../compile/validate/index.js";
|
|
11
|
-
import "../code.js";
|
|
12
|
-
import "../../compile/util.js";
|
|
13
|
-
import "./additionalProperties.js";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
it.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
11
|
+
import { __require as requireCode } from "../code.js";
|
|
12
|
+
import { __require as requireUtil } from "../../compile/util.js";
|
|
13
|
+
import { __require as requireAdditionalProperties } from "./additionalProperties.js";
|
|
14
|
+
var hasRequiredProperties;
|
|
15
|
+
function requireProperties() {
|
|
16
|
+
if (hasRequiredProperties) return properties;
|
|
17
|
+
hasRequiredProperties = 1;
|
|
18
|
+
Object.defineProperty(properties, "__esModule", { value: true });
|
|
19
|
+
const validate_1 = /* @__PURE__ */ requireValidate();
|
|
20
|
+
const code_1 = /* @__PURE__ */ requireCode();
|
|
21
|
+
const util_1 = /* @__PURE__ */ requireUtil();
|
|
22
|
+
const additionalProperties_1 = /* @__PURE__ */ requireAdditionalProperties();
|
|
23
|
+
const def = {
|
|
24
|
+
keyword: "properties",
|
|
25
|
+
type: "object",
|
|
26
|
+
schemaType: "object",
|
|
27
|
+
code(cxt) {
|
|
28
|
+
const { gen, schema, parentSchema, data, it } = cxt;
|
|
29
|
+
if (it.opts.removeAdditional === "all" && parentSchema.additionalProperties === void 0) {
|
|
30
|
+
additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, "additionalProperties"));
|
|
31
|
+
}
|
|
32
|
+
const allProps = (0, code_1.allSchemaProperties)(schema);
|
|
33
|
+
for (const prop of allProps) {
|
|
34
|
+
it.definedProperties.add(prop);
|
|
35
|
+
}
|
|
36
|
+
if (it.opts.unevaluated && allProps.length && it.props !== true) {
|
|
37
|
+
it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
|
|
38
|
+
}
|
|
39
|
+
const properties2 = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
|
|
40
|
+
if (properties2.length === 0)
|
|
41
|
+
return;
|
|
42
|
+
const valid = gen.name("valid");
|
|
43
|
+
for (const prop of properties2) {
|
|
44
|
+
if (hasDefault(prop)) {
|
|
45
|
+
applyPropertySchema(prop);
|
|
46
|
+
} else {
|
|
47
|
+
gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
|
|
48
|
+
applyPropertySchema(prop);
|
|
49
|
+
if (!it.allErrors)
|
|
50
|
+
gen.else().var(valid, true);
|
|
51
|
+
gen.endIf();
|
|
52
|
+
}
|
|
53
|
+
cxt.it.definedProperties.add(prop);
|
|
54
|
+
cxt.ok(valid);
|
|
55
|
+
}
|
|
56
|
+
function hasDefault(prop) {
|
|
57
|
+
return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== void 0;
|
|
58
|
+
}
|
|
59
|
+
function applyPropertySchema(prop) {
|
|
60
|
+
cxt.subschema({
|
|
61
|
+
keyword: "properties",
|
|
62
|
+
schemaProp: prop,
|
|
63
|
+
dataProp: prop
|
|
64
|
+
}, valid);
|
|
51
65
|
}
|
|
52
|
-
cxt.it.definedProperties.add(prop);
|
|
53
|
-
cxt.ok(valid);
|
|
54
|
-
}
|
|
55
|
-
function hasDefault(prop) {
|
|
56
|
-
return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== void 0;
|
|
57
|
-
}
|
|
58
|
-
function applyPropertySchema(prop) {
|
|
59
|
-
cxt.subschema({
|
|
60
|
-
keyword: "properties",
|
|
61
|
-
schemaProp: prop,
|
|
62
|
-
dataProp: prop
|
|
63
|
-
}, valid);
|
|
64
66
|
}
|
|
65
|
-
}
|
|
67
|
+
};
|
|
68
|
+
properties.default = def;
|
|
69
|
+
return properties;
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
requireProperties as __require
|
|
66
73
|
};
|
|
67
|
-
properties.default = def;
|
|
68
74
|
//# sourceMappingURL=properties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst validate_1 = require(\"../../compile/validate\");\nconst code_1 = require(\"../code\");\nconst util_1 = require(\"../../compile/util\");\nconst additionalProperties_1 = require(\"./additionalProperties\");\nconst def = {\n keyword: \"properties\",\n type: \"object\",\n schemaType: \"object\",\n code(cxt) {\n const { gen, schema, parentSchema, data, it } = cxt;\n if (it.opts.removeAdditional === \"all\" && parentSchema.additionalProperties === undefined) {\n additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, \"additionalProperties\"));\n }\n const allProps = (0, code_1.allSchemaProperties)(schema);\n for (const prop of allProps) {\n it.definedProperties.add(prop);\n }\n if (it.opts.unevaluated && allProps.length && it.props !== true) {\n it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);\n }\n const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));\n if (properties.length === 0)\n return;\n const valid = gen.name(\"valid\");\n for (const prop of properties) {\n if (hasDefault(prop)) {\n applyPropertySchema(prop);\n }\n else {\n gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));\n applyPropertySchema(prop);\n if (!it.allErrors)\n gen.else().var(valid, true);\n gen.endIf();\n }\n cxt.it.definedProperties.add(prop);\n cxt.ok(valid);\n }\n function hasDefault(prop) {\n return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== undefined;\n }\n function applyPropertySchema(prop) {\n cxt.subschema({\n keyword: \"properties\",\n schemaProp: prop,\n dataProp: prop,\n }, valid);\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=properties.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","properties"],"mappings":"
|
|
1
|
+
{"version":3,"file":"properties.js","sources":["../../../../../../../../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst validate_1 = require(\"../../compile/validate\");\nconst code_1 = require(\"../code\");\nconst util_1 = require(\"../../compile/util\");\nconst additionalProperties_1 = require(\"./additionalProperties\");\nconst def = {\n keyword: \"properties\",\n type: \"object\",\n schemaType: \"object\",\n code(cxt) {\n const { gen, schema, parentSchema, data, it } = cxt;\n if (it.opts.removeAdditional === \"all\" && parentSchema.additionalProperties === undefined) {\n additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, \"additionalProperties\"));\n }\n const allProps = (0, code_1.allSchemaProperties)(schema);\n for (const prop of allProps) {\n it.definedProperties.add(prop);\n }\n if (it.opts.unevaluated && allProps.length && it.props !== true) {\n it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);\n }\n const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));\n if (properties.length === 0)\n return;\n const valid = gen.name(\"valid\");\n for (const prop of properties) {\n if (hasDefault(prop)) {\n applyPropertySchema(prop);\n }\n else {\n gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));\n applyPropertySchema(prop);\n if (!it.allErrors)\n gen.else().var(valid, true);\n gen.endIf();\n }\n cxt.it.definedProperties.add(prop);\n cxt.ok(valid);\n }\n function hasDefault(prop) {\n return it.opts.useDefaults && !it.compositeRule && schema[prop].default !== undefined;\n }\n function applyPropertySchema(prop) {\n cxt.subschema({\n keyword: \"properties\",\n schemaProp: prop,\n dataProp: prop,\n }, valid);\n }\n },\n};\nexports.default = def;\n//# sourceMappingURL=properties.js.map"],"names":["require$$0","require$$1","require$$2","require$$3","properties"],"mappings":";;;;;;;;;;;;;;;;;AACA,SAAO,eAAe,YAAS,cAAc,EAAE,OAAO,MAAM;AAC5D,QAAM,aAAaA,gCAAA;AACnB,QAAM,SAASC,4BAAA;AACf,QAAM,SAASC,4BAAA;AACf,QAAM,yBAAyBC,4CAAA;AAC/B,QAAM,MAAM;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,KAAK,KAAK;AACN,YAAM,EAAE,KAAK,QAAQ,cAAc,MAAM,GAAE,IAAK;AAChD,UAAI,GAAG,KAAK,qBAAqB,SAAS,aAAa,yBAAyB,QAAW;AACvF,+BAAuB,QAAQ,KAAK,IAAI,WAAW,WAAW,IAAI,uBAAuB,SAAS,sBAAsB,CAAC;AAAA,MACrI;AACQ,YAAM,YAAW,GAAI,OAAO,qBAAqB,MAAM;AACvD,iBAAW,QAAQ,UAAU;AACzB,WAAG,kBAAkB,IAAI,IAAI;AAAA,MACzC;AACQ,UAAI,GAAG,KAAK,eAAe,SAAS,UAAU,GAAG,UAAU,MAAM;AAC7D,WAAG,QAAQ,OAAO,eAAe,MAAM,MAAK,GAAI,OAAO,QAAQ,QAAQ,GAAG,GAAG,KAAK;AAAA,MAC9F;AACQ,YAAMC,cAAa,SAAS,OAAO,CAAC,MAAM,KAAK,OAAO,mBAAmB,IAAI,OAAO,CAAC,CAAC,CAAC;AACvF,UAAIA,YAAW,WAAW;AACtB;AACJ,YAAM,QAAQ,IAAI,KAAK,OAAO;AAC9B,iBAAW,QAAQA,aAAY;AAC3B,YAAI,WAAW,IAAI,GAAG;AAClB,8BAAoB,IAAI;AAAA,QACxC,OACiB;AACD,cAAI,OAAO,OAAO,gBAAgB,KAAK,MAAM,MAAM,GAAG,KAAK,aAAa,CAAC;AACzE,8BAAoB,IAAI;AACxB,cAAI,CAAC,GAAG;AACJ,gBAAI,KAAI,EAAG,IAAI,OAAO,IAAI;AAC9B,cAAI,MAAK;AAAA,QACzB;AACY,YAAI,GAAG,kBAAkB,IAAI,IAAI;AACjC,YAAI,GAAG,KAAK;AAAA,MACxB;AACQ,eAAS,WAAW,MAAM;AACtB,eAAO,GAAG,KAAK,eAAe,CAAC,GAAG,iBAAiB,OAAO,IAAI,EAAE,YAAY;AAAA,MACxF;AACQ,eAAS,oBAAoB,MAAM;AAC/B,YAAI,UAAU;AAAA,UACV,SAAS;AAAA,UACT,YAAY;AAAA,UACZ,UAAU;AAAA,WACX,KAAK;AAAA,MACpB;AAAA,IACA;AAAA;AAEA,aAAA,UAAkB;;;","x_google_ignoreList":[0]}
|