@atxp/client 0.10.4 → 0.10.6
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/index10.js +2 -2
- package/dist/_virtual/index11.js +2 -2
- package/dist/_virtual/index18.js +2 -2
- package/dist/_virtual/index19.js +2 -2
- package/dist/_virtual/index20.js +2 -2
- package/dist/_virtual/index4.js +2 -2
- package/dist/_virtual/index5.js +2 -2
- package/dist/_virtual/index8.js +2 -2
- package/dist/_virtual/index9.js +2 -2
- package/dist/atxpFetcher.d.ts.map +1 -1
- package/dist/atxpFetcher.js +16 -1
- package/dist/atxpFetcher.js.map +1 -1
- package/dist/index.cjs +23 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +23 -2
- package/dist/index.js.map +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/codegen/index.js +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/compile/validate/index.js +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
- package/dist/node_modules/@modelcontextprotocol/sdk/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
- package/dist/node_modules/ajv-formats/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
- package/dist/oAuth.d.ts +3 -1
- package/dist/oAuth.d.ts.map +1 -1
- package/dist/oAuth.js +7 -1
- package/dist/oAuth.js.map +1 -1
- package/package.json +2 -2
- package/dist/_virtual/cache.js +0 -4
- package/dist/_virtual/cache.js.map +0 -1
- package/dist/_virtual/uri.all.js +0 -4
- package/dist/_virtual/uri.all.js.map +0 -1
- package/dist/atxpAccount.d.ts +0 -20
- package/dist/atxpAccount.d.ts.map +0 -1
- package/dist/atxpAccount.js +0 -161
- package/dist/atxpAccount.js.map +0 -1
- package/dist/base.cjs +0 -34
- package/dist/base.cjs.map +0 -1
- package/dist/base.d.ts +0 -4
- package/dist/base.d.ts.map +0 -1
- package/dist/base.js +0 -5
- package/dist/base.js.map +0 -1
- package/dist/baseAccount.d.ts +0 -20
- package/dist/baseAccount.d.ts.map +0 -1
- package/dist/baseAccount.js +0 -47
- package/dist/baseAccount.js.map +0 -1
- package/dist/baseConstants.d.ts +0 -10
- package/dist/baseConstants.d.ts.map +0 -1
- package/dist/baseConstants.js +0 -21
- package/dist/baseConstants.js.map +0 -1
- package/dist/basePaymentMaker.d.ts +0 -23
- package/dist/basePaymentMaker.d.ts.map +0 -1
- package/dist/basePaymentMaker.js +0 -169
- package/dist/basePaymentMaker.js.map +0 -1
- package/dist/node_modules/ajv/dist/ajv.js +0 -71
- package/dist/node_modules/ajv/dist/ajv.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/code.js +0 -169
- package/dist/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/index.js +0 -712
- package/dist/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js +0 -157
- package/dist/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/errors.js +0 -139
- package/dist/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/index.js +0 -259
- package/dist/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/names.js +0 -40
- package/dist/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/ref_error.js +0 -24
- package/dist/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/resolve.js +0 -169
- package/dist/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/rules.js +0 -37
- package/dist/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/util.js +0 -191
- package/dist/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/applicability.js +0 -30
- package/dist/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -64
- package/dist/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js +0 -219
- package/dist/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js +0 -48
- package/dist/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/index.js +0 -541
- package/dist/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js +0 -139
- package/dist/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/dist/node_modules/ajv/dist/compile/validate/subschema.js +0 -94
- package/dist/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/dist/node_modules/ajv/dist/core.js +0 -642
- package/dist/node_modules/ajv/dist/core.js.map +0 -1
- package/dist/node_modules/ajv/dist/refs/data.json.js +0 -31
- package/dist/node_modules/ajv/dist/refs/data.json.js.map +0 -1
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js +0 -254
- package/dist/node_modules/ajv/dist/refs/json-schema-draft-07.json.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/equal.js +0 -19
- package/dist/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/ucs2length.js +0 -35
- package/dist/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/uri.js +0 -18
- package/dist/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/dist/node_modules/ajv/dist/runtime/validation_error.js +0 -22
- package/dist/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -62
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -121
- package/dist/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -35
- package/dist/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -24
- package/dist/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -108
- package/dist/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -101
- package/dist/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -79
- package/dist/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -71
- package/dist/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -66
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -45
- package/dist/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -38
- package/dist/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -73
- package/dist/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -89
- package/dist/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -24
- package/dist/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -69
- package/dist/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -51
- package/dist/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -25
- package/dist/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/code.js +0 -145
- package/dist/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/id.js +0 -21
- package/dist/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/index.js +0 -29
- package/dist/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js +0 -139
- package/dist/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -120
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -20
- package/dist/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js +0 -33
- package/dist/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js +0 -104
- package/dist/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/format/index.js +0 -18
- package/dist/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/metadata.js +0 -29
- package/dist/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js +0 -39
- package/dist/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -62
- package/dist/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.js +0 -54
- package/dist/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -36
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -41
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -39
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -36
- package/dist/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -38
- package/dist/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -37
- package/dist/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js +0 -93
- package/dist/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -79
- package/dist/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/dist/node_modules/ajv/lib/ajv.js +0 -531
- package/dist/node_modules/ajv/lib/ajv.js.map +0 -1
- package/dist/node_modules/ajv/lib/cache.js +0 -37
- package/dist/node_modules/ajv/lib/cache.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/async.js +0 -102
- package/dist/node_modules/ajv/lib/compile/async.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/error_classes.js +0 -46
- package/dist/node_modules/ajv/lib/compile/error_classes.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/formats.js +0 -154
- package/dist/node_modules/ajv/lib/compile/formats.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/index.js +0 -404
- package/dist/node_modules/ajv/lib/compile/index.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/resolve.js +0 -286
- package/dist/node_modules/ajv/lib/compile/resolve.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/rules.js +0 -79
- package/dist/node_modules/ajv/lib/compile/rules.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/schema_obj.js +0 -21
- package/dist/node_modules/ajv/lib/compile/schema_obj.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/ucs2length.js +0 -30
- package/dist/node_modules/ajv/lib/compile/ucs2length.js.map +0 -1
- package/dist/node_modules/ajv/lib/compile/util.js +0 -252
- package/dist/node_modules/ajv/lib/compile/util.js.map +0 -1
- package/dist/node_modules/ajv/lib/data.js +0 -59
- package/dist/node_modules/ajv/lib/data.js.map +0 -1
- package/dist/node_modules/ajv/lib/definition_schema.js +0 -49
- package/dist/node_modules/ajv/lib/definition_schema.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limit.js +0 -173
- package/dist/node_modules/ajv/lib/dotjs/_limit.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/_limitItems.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js +0 -95
- package/dist/node_modules/ajv/lib/dotjs/_limitLength.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/_limitProperties.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/allOf.js +0 -52
- package/dist/node_modules/ajv/lib/dotjs/allOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js +0 -83
- package/dist/node_modules/ajv/lib/dotjs/anyOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/comment.js +0 -24
- package/dist/node_modules/ajv/lib/dotjs/comment.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/const.js +0 -62
- package/dist/node_modules/ajv/lib/dotjs/const.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/contains.js +0 -91
- package/dist/node_modules/ajv/lib/dotjs/contains.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/custom.js +0 -238
- package/dist/node_modules/ajv/lib/dotjs/custom.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js +0 -178
- package/dist/node_modules/ajv/lib/dotjs/dependencies.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/enum.js +0 -72
- package/dist/node_modules/ajv/lib/dotjs/enum.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/format.js +0 -160
- package/dist/node_modules/ajv/lib/dotjs/format.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/if.js +0 -113
- package/dist/node_modules/ajv/lib/dotjs/if.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/index.js +0 -68
- package/dist/node_modules/ajv/lib/dotjs/index.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/items.js +0 -150
- package/dist/node_modules/ajv/lib/dotjs/items.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js +0 -90
- package/dist/node_modules/ajv/lib/dotjs/multipleOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/not.js +0 -94
- package/dist/node_modules/ajv/lib/dotjs/not.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js +0 -83
- package/dist/node_modules/ajv/lib/dotjs/oneOf.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/pattern.js +0 -85
- package/dist/node_modules/ajv/lib/dotjs/pattern.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/properties.js +0 -345
- package/dist/node_modules/ajv/lib/dotjs/properties.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js +0 -91
- package/dist/node_modules/ajv/lib/dotjs/propertyNames.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/ref.js +0 -134
- package/dist/node_modules/ajv/lib/dotjs/ref.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/required.js +0 -276
- package/dist/node_modules/ajv/lib/dotjs/required.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js +0 -96
- package/dist/node_modules/ajv/lib/dotjs/uniqueItems.js.map +0 -1
- package/dist/node_modules/ajv/lib/dotjs/validate.js +0 -492
- package/dist/node_modules/ajv/lib/dotjs/validate.js.map +0 -1
- package/dist/node_modules/ajv/lib/keyword.js +0 -159
- package/dist/node_modules/ajv/lib/keyword.js.map +0 -1
- package/dist/node_modules/ajv/lib/refs/data.json.js +0 -33
- package/dist/node_modules/ajv/lib/refs/data.json.js.map +0 -1
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json.js +0 -254
- package/dist/node_modules/ajv/lib/refs/json-schema-draft-07.json.js.map +0 -1
- package/dist/node_modules/fast-json-stable-stringify/index.js +0 -69
- package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
- package/dist/node_modules/json-schema-traverse/index.js +0 -104
- package/dist/node_modules/json-schema-traverse/index.js.map +0 -1
- package/dist/node_modules/uri-js/dist/es5/uri.all.js +0 -1418
- package/dist/node_modules/uri-js/dist/es5/uri.all.js.map +0 -1
- package/dist/node_modules/zod/v3/ZodError.js +0 -133
- package/dist/node_modules/zod/v3/ZodError.js.map +0 -1
- package/dist/node_modules/zod/v3/errors.js +0 -9
- package/dist/node_modules/zod/v3/errors.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +0 -9
- package/dist/node_modules/zod/v3/helpers/errorUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +0 -112
- package/dist/node_modules/zod/v3/helpers/parseUtil.js.map +0 -1
- package/dist/node_modules/zod/v3/helpers/util.js +0 -136
- package/dist/node_modules/zod/v3/helpers/util.js.map +0 -1
- package/dist/node_modules/zod/v3/locales/en.js +0 -112
- package/dist/node_modules/zod/v3/locales/en.js.map +0 -1
- package/dist/node_modules/zod/v3/types.js +0 -3491
- package/dist/node_modules/zod/v3/types.js.map +0 -1
- package/dist/polygon.cjs +0 -39
- package/dist/polygon.cjs.map +0 -1
- package/dist/polygon.d.ts +0 -1
- package/dist/polygon.d.ts.map +0 -1
- package/dist/polygon.js +0 -2
- package/dist/polygon.js.map +0 -1
- package/dist/solana.cjs +0 -20
- package/dist/solana.cjs.map +0 -1
- package/dist/solana.d.ts +0 -2
- package/dist/solana.d.ts.map +0 -1
- package/dist/solana.js +0 -3
- package/dist/solana.js.map +0 -1
- package/dist/solanaAccount.d.ts +0 -13
- package/dist/solanaAccount.d.ts.map +0 -1
- package/dist/solanaAccount.js +0 -34
- package/dist/solanaAccount.js.map +0 -1
- package/dist/solanaPaymentMaker.d.ts +0 -25
- package/dist/solanaPaymentMaker.d.ts.map +0 -1
- package/dist/solanaPaymentMaker.js +0 -108
- package/dist/solanaPaymentMaker.js.map +0 -1
- package/dist/types.js +0 -152
- package/dist/types.js.map +0 -1
- package/dist/world.cjs +0 -39
- package/dist/world.cjs.map +0 -1
- package/dist/world.d.ts +0 -1
- package/dist/world.d.ts.map +0 -1
- package/dist/world.js +0 -2
- package/dist/world.js.map +0 -1
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
var properties;
|
|
2
|
-
var hasRequiredProperties;
|
|
3
|
-
|
|
4
|
-
function requireProperties () {
|
|
5
|
-
if (hasRequiredProperties) return properties;
|
|
6
|
-
hasRequiredProperties = 1;
|
|
7
|
-
properties = function generate_properties(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
var $errs = 'errs__' + $lvl;
|
|
17
|
-
var $it = it.util.copy(it);
|
|
18
|
-
var $closingBraces = '';
|
|
19
|
-
$it.level++;
|
|
20
|
-
var $nextValid = 'valid' + $it.level;
|
|
21
|
-
var $key = 'key' + $lvl,
|
|
22
|
-
$idx = 'idx' + $lvl,
|
|
23
|
-
$dataNxt = $it.dataLevel = it.dataLevel + 1,
|
|
24
|
-
$nextData = 'data' + $dataNxt,
|
|
25
|
-
$dataProperties = 'dataProperties' + $lvl;
|
|
26
|
-
var $schemaKeys = Object.keys($schema || {}).filter(notProto),
|
|
27
|
-
$pProperties = it.schema.patternProperties || {},
|
|
28
|
-
$pPropertyKeys = Object.keys($pProperties).filter(notProto),
|
|
29
|
-
$aProperties = it.schema.additionalProperties,
|
|
30
|
-
$someProperties = $schemaKeys.length || $pPropertyKeys.length,
|
|
31
|
-
$noAdditional = $aProperties === false,
|
|
32
|
-
$additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length,
|
|
33
|
-
$removeAdditional = it.opts.removeAdditional,
|
|
34
|
-
$checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional,
|
|
35
|
-
$ownProperties = it.opts.ownProperties,
|
|
36
|
-
$currentBaseId = it.baseId;
|
|
37
|
-
var $required = it.schema.required;
|
|
38
|
-
if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) {
|
|
39
|
-
var $requiredHash = it.util.toHash($required);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function notProto(p) {
|
|
43
|
-
return p !== '__proto__';
|
|
44
|
-
}
|
|
45
|
-
out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;';
|
|
46
|
-
if ($ownProperties) {
|
|
47
|
-
out += ' var ' + ($dataProperties) + ' = undefined;';
|
|
48
|
-
}
|
|
49
|
-
if ($checkAdditional) {
|
|
50
|
-
if ($ownProperties) {
|
|
51
|
-
out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
|
|
52
|
-
} else {
|
|
53
|
-
out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
|
|
54
|
-
}
|
|
55
|
-
if ($someProperties) {
|
|
56
|
-
out += ' var isAdditional' + ($lvl) + ' = !(false ';
|
|
57
|
-
if ($schemaKeys.length) {
|
|
58
|
-
if ($schemaKeys.length > 8) {
|
|
59
|
-
out += ' || validate.schema' + ($schemaPath) + '.hasOwnProperty(' + ($key) + ') ';
|
|
60
|
-
} else {
|
|
61
|
-
var arr1 = $schemaKeys;
|
|
62
|
-
if (arr1) {
|
|
63
|
-
var $propertyKey, i1 = -1,
|
|
64
|
-
l1 = arr1.length - 1;
|
|
65
|
-
while (i1 < l1) {
|
|
66
|
-
$propertyKey = arr1[i1 += 1];
|
|
67
|
-
out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' ';
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
if ($pPropertyKeys.length) {
|
|
73
|
-
var arr2 = $pPropertyKeys;
|
|
74
|
-
if (arr2) {
|
|
75
|
-
var $pProperty, $i = -1,
|
|
76
|
-
l2 = arr2.length - 1;
|
|
77
|
-
while ($i < l2) {
|
|
78
|
-
$pProperty = arr2[$i += 1];
|
|
79
|
-
out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
out += ' ); if (isAdditional' + ($lvl) + ') { ';
|
|
84
|
-
}
|
|
85
|
-
if ($removeAdditional == 'all') {
|
|
86
|
-
out += ' delete ' + ($data) + '[' + ($key) + ']; ';
|
|
87
|
-
} else {
|
|
88
|
-
var $currentErrorPath = it.errorPath;
|
|
89
|
-
var $additionalProperty = '\' + ' + $key + ' + \'';
|
|
90
|
-
if (it.opts._errorDataPathProperty) {
|
|
91
|
-
it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
92
|
-
}
|
|
93
|
-
if ($noAdditional) {
|
|
94
|
-
if ($removeAdditional) {
|
|
95
|
-
out += ' delete ' + ($data) + '[' + ($key) + ']; ';
|
|
96
|
-
} else {
|
|
97
|
-
out += ' ' + ($nextValid) + ' = false; ';
|
|
98
|
-
var $currErrSchemaPath = $errSchemaPath;
|
|
99
|
-
$errSchemaPath = it.errSchemaPath + '/additionalProperties';
|
|
100
|
-
var $$outStack = $$outStack || [];
|
|
101
|
-
$$outStack.push(out);
|
|
102
|
-
out = ''; /* istanbul ignore else */
|
|
103
|
-
if (it.createErrors !== false) {
|
|
104
|
-
out += ' { keyword: \'' + ('additionalProperties') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \'' + ($additionalProperty) + '\' } ';
|
|
105
|
-
if (it.opts.messages !== false) {
|
|
106
|
-
out += ' , message: \'';
|
|
107
|
-
if (it.opts._errorDataPathProperty) {
|
|
108
|
-
out += 'is an invalid additional property';
|
|
109
|
-
} else {
|
|
110
|
-
out += 'should NOT have additional properties';
|
|
111
|
-
}
|
|
112
|
-
out += '\' ';
|
|
113
|
-
}
|
|
114
|
-
if (it.opts.verbose) {
|
|
115
|
-
out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
116
|
-
}
|
|
117
|
-
out += ' } ';
|
|
118
|
-
} else {
|
|
119
|
-
out += ' {} ';
|
|
120
|
-
}
|
|
121
|
-
var __err = out;
|
|
122
|
-
out = $$outStack.pop();
|
|
123
|
-
if (!it.compositeRule && $breakOnError) {
|
|
124
|
-
/* istanbul ignore if */
|
|
125
|
-
if (it.async) {
|
|
126
|
-
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
127
|
-
} else {
|
|
128
|
-
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
129
|
-
}
|
|
130
|
-
} else {
|
|
131
|
-
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
132
|
-
}
|
|
133
|
-
$errSchemaPath = $currErrSchemaPath;
|
|
134
|
-
if ($breakOnError) {
|
|
135
|
-
out += ' break; ';
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
} else if ($additionalIsSchema) {
|
|
139
|
-
if ($removeAdditional == 'failing') {
|
|
140
|
-
out += ' var ' + ($errs) + ' = errors; ';
|
|
141
|
-
var $wasComposite = it.compositeRule;
|
|
142
|
-
it.compositeRule = $it.compositeRule = true;
|
|
143
|
-
$it.schema = $aProperties;
|
|
144
|
-
$it.schemaPath = it.schemaPath + '.additionalProperties';
|
|
145
|
-
$it.errSchemaPath = it.errSchemaPath + '/additionalProperties';
|
|
146
|
-
$it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
147
|
-
var $passData = $data + '[' + $key + ']';
|
|
148
|
-
$it.dataPathArr[$dataNxt] = $key;
|
|
149
|
-
var $code = it.validate($it);
|
|
150
|
-
$it.baseId = $currentBaseId;
|
|
151
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
152
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
153
|
-
} else {
|
|
154
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
155
|
-
}
|
|
156
|
-
out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } ';
|
|
157
|
-
it.compositeRule = $it.compositeRule = $wasComposite;
|
|
158
|
-
} else {
|
|
159
|
-
$it.schema = $aProperties;
|
|
160
|
-
$it.schemaPath = it.schemaPath + '.additionalProperties';
|
|
161
|
-
$it.errSchemaPath = it.errSchemaPath + '/additionalProperties';
|
|
162
|
-
$it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
163
|
-
var $passData = $data + '[' + $key + ']';
|
|
164
|
-
$it.dataPathArr[$dataNxt] = $key;
|
|
165
|
-
var $code = it.validate($it);
|
|
166
|
-
$it.baseId = $currentBaseId;
|
|
167
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
168
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
169
|
-
} else {
|
|
170
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
171
|
-
}
|
|
172
|
-
if ($breakOnError) {
|
|
173
|
-
out += ' if (!' + ($nextValid) + ') break; ';
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
it.errorPath = $currentErrorPath;
|
|
178
|
-
}
|
|
179
|
-
if ($someProperties) {
|
|
180
|
-
out += ' } ';
|
|
181
|
-
}
|
|
182
|
-
out += ' } ';
|
|
183
|
-
if ($breakOnError) {
|
|
184
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
185
|
-
$closingBraces += '}';
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
var $useDefaults = it.opts.useDefaults && !it.compositeRule;
|
|
189
|
-
if ($schemaKeys.length) {
|
|
190
|
-
var arr3 = $schemaKeys;
|
|
191
|
-
if (arr3) {
|
|
192
|
-
var $propertyKey, i3 = -1,
|
|
193
|
-
l3 = arr3.length - 1;
|
|
194
|
-
while (i3 < l3) {
|
|
195
|
-
$propertyKey = arr3[i3 += 1];
|
|
196
|
-
var $sch = $schema[$propertyKey];
|
|
197
|
-
if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
|
|
198
|
-
var $prop = it.util.getProperty($propertyKey),
|
|
199
|
-
$passData = $data + $prop,
|
|
200
|
-
$hasDefault = $useDefaults && $sch.default !== undefined;
|
|
201
|
-
$it.schema = $sch;
|
|
202
|
-
$it.schemaPath = $schemaPath + $prop;
|
|
203
|
-
$it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey);
|
|
204
|
-
$it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers);
|
|
205
|
-
$it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey);
|
|
206
|
-
var $code = it.validate($it);
|
|
207
|
-
$it.baseId = $currentBaseId;
|
|
208
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
209
|
-
$code = it.util.varReplace($code, $nextData, $passData);
|
|
210
|
-
var $useData = $passData;
|
|
211
|
-
} else {
|
|
212
|
-
var $useData = $nextData;
|
|
213
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ';
|
|
214
|
-
}
|
|
215
|
-
if ($hasDefault) {
|
|
216
|
-
out += ' ' + ($code) + ' ';
|
|
217
|
-
} else {
|
|
218
|
-
if ($requiredHash && $requiredHash[$propertyKey]) {
|
|
219
|
-
out += ' if ( ' + ($useData) + ' === undefined ';
|
|
220
|
-
if ($ownProperties) {
|
|
221
|
-
out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') ';
|
|
222
|
-
}
|
|
223
|
-
out += ') { ' + ($nextValid) + ' = false; ';
|
|
224
|
-
var $currentErrorPath = it.errorPath,
|
|
225
|
-
$currErrSchemaPath = $errSchemaPath,
|
|
226
|
-
$missingProperty = it.util.escapeQuotes($propertyKey);
|
|
227
|
-
if (it.opts._errorDataPathProperty) {
|
|
228
|
-
it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);
|
|
229
|
-
}
|
|
230
|
-
$errSchemaPath = it.errSchemaPath + '/required';
|
|
231
|
-
var $$outStack = $$outStack || [];
|
|
232
|
-
$$outStack.push(out);
|
|
233
|
-
out = ''; /* istanbul ignore else */
|
|
234
|
-
if (it.createErrors !== false) {
|
|
235
|
-
out += ' { keyword: \'' + ('required') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \'' + ($missingProperty) + '\' } ';
|
|
236
|
-
if (it.opts.messages !== false) {
|
|
237
|
-
out += ' , message: \'';
|
|
238
|
-
if (it.opts._errorDataPathProperty) {
|
|
239
|
-
out += 'is a required property';
|
|
240
|
-
} else {
|
|
241
|
-
out += 'should have required property \\\'' + ($missingProperty) + '\\\'';
|
|
242
|
-
}
|
|
243
|
-
out += '\' ';
|
|
244
|
-
}
|
|
245
|
-
if (it.opts.verbose) {
|
|
246
|
-
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
247
|
-
}
|
|
248
|
-
out += ' } ';
|
|
249
|
-
} else {
|
|
250
|
-
out += ' {} ';
|
|
251
|
-
}
|
|
252
|
-
var __err = out;
|
|
253
|
-
out = $$outStack.pop();
|
|
254
|
-
if (!it.compositeRule && $breakOnError) {
|
|
255
|
-
/* istanbul ignore if */
|
|
256
|
-
if (it.async) {
|
|
257
|
-
out += ' throw new ValidationError([' + (__err) + ']); ';
|
|
258
|
-
} else {
|
|
259
|
-
out += ' validate.errors = [' + (__err) + ']; return false; ';
|
|
260
|
-
}
|
|
261
|
-
} else {
|
|
262
|
-
out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
263
|
-
}
|
|
264
|
-
$errSchemaPath = $currErrSchemaPath;
|
|
265
|
-
it.errorPath = $currentErrorPath;
|
|
266
|
-
out += ' } else { ';
|
|
267
|
-
} else {
|
|
268
|
-
if ($breakOnError) {
|
|
269
|
-
out += ' if ( ' + ($useData) + ' === undefined ';
|
|
270
|
-
if ($ownProperties) {
|
|
271
|
-
out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') ';
|
|
272
|
-
}
|
|
273
|
-
out += ') { ' + ($nextValid) + ' = true; } else { ';
|
|
274
|
-
} else {
|
|
275
|
-
out += ' if (' + ($useData) + ' !== undefined ';
|
|
276
|
-
if ($ownProperties) {
|
|
277
|
-
out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \'' + (it.util.escapeQuotes($propertyKey)) + '\') ';
|
|
278
|
-
}
|
|
279
|
-
out += ' ) { ';
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
out += ' ' + ($code) + ' } ';
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
if ($breakOnError) {
|
|
286
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
287
|
-
$closingBraces += '}';
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
if ($pPropertyKeys.length) {
|
|
293
|
-
var arr4 = $pPropertyKeys;
|
|
294
|
-
if (arr4) {
|
|
295
|
-
var $pProperty, i4 = -1,
|
|
296
|
-
l4 = arr4.length - 1;
|
|
297
|
-
while (i4 < l4) {
|
|
298
|
-
$pProperty = arr4[i4 += 1];
|
|
299
|
-
var $sch = $pProperties[$pProperty];
|
|
300
|
-
if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {
|
|
301
|
-
$it.schema = $sch;
|
|
302
|
-
$it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty);
|
|
303
|
-
$it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty);
|
|
304
|
-
if ($ownProperties) {
|
|
305
|
-
out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
|
|
306
|
-
} else {
|
|
307
|
-
out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
|
|
308
|
-
}
|
|
309
|
-
out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { ';
|
|
310
|
-
$it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);
|
|
311
|
-
var $passData = $data + '[' + $key + ']';
|
|
312
|
-
$it.dataPathArr[$dataNxt] = $key;
|
|
313
|
-
var $code = it.validate($it);
|
|
314
|
-
$it.baseId = $currentBaseId;
|
|
315
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
316
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
317
|
-
} else {
|
|
318
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
319
|
-
}
|
|
320
|
-
if ($breakOnError) {
|
|
321
|
-
out += ' if (!' + ($nextValid) + ') break; ';
|
|
322
|
-
}
|
|
323
|
-
out += ' } ';
|
|
324
|
-
if ($breakOnError) {
|
|
325
|
-
out += ' else ' + ($nextValid) + ' = true; ';
|
|
326
|
-
}
|
|
327
|
-
out += ' } ';
|
|
328
|
-
if ($breakOnError) {
|
|
329
|
-
out += ' if (' + ($nextValid) + ') { ';
|
|
330
|
-
$closingBraces += '}';
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
if ($breakOnError) {
|
|
337
|
-
out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';
|
|
338
|
-
}
|
|
339
|
-
return out;
|
|
340
|
-
};
|
|
341
|
-
return properties;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export { requireProperties as __require };
|
|
345
|
-
//# sourceMappingURL=properties.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"properties.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/properties.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_properties(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl;\n var $schemaKeys = Object.keys($schema || {}).filter(notProto),\n $pProperties = it.schema.patternProperties || {},\n $pPropertyKeys = Object.keys($pProperties).filter(notProto),\n $aProperties = it.schema.additionalProperties,\n $someProperties = $schemaKeys.length || $pPropertyKeys.length,\n $noAdditional = $aProperties === false,\n $additionalIsSchema = typeof $aProperties == 'object' && Object.keys($aProperties).length,\n $removeAdditional = it.opts.removeAdditional,\n $checkAdditional = $noAdditional || $additionalIsSchema || $removeAdditional,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n var $required = it.schema.required;\n if ($required && !(it.opts.$data && $required.$data) && $required.length < it.opts.loopRequired) {\n var $requiredHash = it.util.toHash($required);\n }\n\n function notProto(p) {\n return p !== '__proto__';\n }\n out += 'var ' + ($errs) + ' = errors;var ' + ($nextValid) + ' = true;';\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined;';\n }\n if ($checkAdditional) {\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n if ($someProperties) {\n out += ' var isAdditional' + ($lvl) + ' = !(false ';\n if ($schemaKeys.length) {\n if ($schemaKeys.length > 8) {\n out += ' || validate.schema' + ($schemaPath) + '.hasOwnProperty(' + ($key) + ') ';\n } else {\n var arr1 = $schemaKeys;\n if (arr1) {\n var $propertyKey, i1 = -1,\n l1 = arr1.length - 1;\n while (i1 < l1) {\n $propertyKey = arr1[i1 += 1];\n out += ' || ' + ($key) + ' == ' + (it.util.toQuotedString($propertyKey)) + ' ';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr2 = $pPropertyKeys;\n if (arr2) {\n var $pProperty, $i = -1,\n l2 = arr2.length - 1;\n while ($i < l2) {\n $pProperty = arr2[$i += 1];\n out += ' || ' + (it.usePattern($pProperty)) + '.test(' + ($key) + ') ';\n }\n }\n }\n out += ' ); if (isAdditional' + ($lvl) + ') { ';\n }\n if ($removeAdditional == 'all') {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n var $currentErrorPath = it.errorPath;\n var $additionalProperty = '\\' + ' + $key + ' + \\'';\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n }\n if ($noAdditional) {\n if ($removeAdditional) {\n out += ' delete ' + ($data) + '[' + ($key) + ']; ';\n } else {\n out += ' ' + ($nextValid) + ' = false; ';\n var $currErrSchemaPath = $errSchemaPath;\n $errSchemaPath = it.errSchemaPath + '/additionalProperties';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('additionalProperties') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { additionalProperty: \\'' + ($additionalProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is an invalid additional property';\n } else {\n out += 'should NOT have additional properties';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: false , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n if ($breakOnError) {\n out += ' break; ';\n }\n }\n } else if ($additionalIsSchema) {\n if ($removeAdditional == 'failing') {\n out += ' var ' + ($errs) + ' = errors; ';\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n out += ' if (!' + ($nextValid) + ') { errors = ' + ($errs) + '; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete ' + ($data) + '[' + ($key) + ']; } ';\n it.compositeRule = $it.compositeRule = $wasComposite;\n } else {\n $it.schema = $aProperties;\n $it.schemaPath = it.schemaPath + '.additionalProperties';\n $it.errSchemaPath = it.errSchemaPath + '/additionalProperties';\n $it.errorPath = it.opts._errorDataPathProperty ? it.errorPath : it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n }\n }\n it.errorPath = $currentErrorPath;\n }\n if ($someProperties) {\n out += ' } ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n var $useDefaults = it.opts.useDefaults && !it.compositeRule;\n if ($schemaKeys.length) {\n var arr3 = $schemaKeys;\n if (arr3) {\n var $propertyKey, i3 = -1,\n l3 = arr3.length - 1;\n while (i3 < l3) {\n $propertyKey = arr3[i3 += 1];\n var $sch = $schema[$propertyKey];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n var $prop = it.util.getProperty($propertyKey),\n $passData = $data + $prop,\n $hasDefault = $useDefaults && $sch.default !== undefined;\n $it.schema = $sch;\n $it.schemaPath = $schemaPath + $prop;\n $it.errSchemaPath = $errSchemaPath + '/' + it.util.escapeFragment($propertyKey);\n $it.errorPath = it.util.getPath(it.errorPath, $propertyKey, it.opts.jsonPointers);\n $it.dataPathArr[$dataNxt] = it.util.toQuotedString($propertyKey);\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n $code = it.util.varReplace($code, $nextData, $passData);\n var $useData = $passData;\n } else {\n var $useData = $nextData;\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ';\n }\n if ($hasDefault) {\n out += ' ' + ($code) + ' ';\n } else {\n if ($requiredHash && $requiredHash[$propertyKey]) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = false; ';\n var $currentErrorPath = it.errorPath,\n $currErrSchemaPath = $errSchemaPath,\n $missingProperty = it.util.escapeQuotes($propertyKey);\n if (it.opts._errorDataPathProperty) {\n it.errorPath = it.util.getPath($currentErrorPath, $propertyKey, it.opts.jsonPointers);\n }\n $errSchemaPath = it.errSchemaPath + '/required';\n var $$outStack = $$outStack || [];\n $$outStack.push(out);\n out = ''; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('required') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { missingProperty: \\'' + ($missingProperty) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'';\n if (it.opts._errorDataPathProperty) {\n out += 'is a required property';\n } else {\n out += 'should have required property \\\\\\'' + ($missingProperty) + '\\\\\\'';\n }\n out += '\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n var __err = out;\n out = $$outStack.pop();\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError([' + (__err) + ']); ';\n } else {\n out += ' validate.errors = [' + (__err) + ']; return false; ';\n }\n } else {\n out += ' var err = ' + (__err) + '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n }\n $errSchemaPath = $currErrSchemaPath;\n it.errorPath = $currentErrorPath;\n out += ' } else { ';\n } else {\n if ($breakOnError) {\n out += ' if ( ' + ($useData) + ' === undefined ';\n if ($ownProperties) {\n out += ' || ! Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ') { ' + ($nextValid) + ' = true; } else { ';\n } else {\n out += ' if (' + ($useData) + ' !== undefined ';\n if ($ownProperties) {\n out += ' && Object.prototype.hasOwnProperty.call(' + ($data) + ', \\'' + (it.util.escapeQuotes($propertyKey)) + '\\') ';\n }\n out += ' ) { ';\n }\n }\n out += ' ' + ($code) + ' } ';\n }\n }\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n if ($pPropertyKeys.length) {\n var arr4 = $pPropertyKeys;\n if (arr4) {\n var $pProperty, i4 = -1,\n l4 = arr4.length - 1;\n while (i4 < l4) {\n $pProperty = arr4[i4 += 1];\n var $sch = $pProperties[$pProperty];\n if ((it.opts.strictKeywords ? (typeof $sch == 'object' && Object.keys($sch).length > 0) || $sch === false : it.util.schemaHasRules($sch, it.RULES.all))) {\n $it.schema = $sch;\n $it.schemaPath = it.schemaPath + '.patternProperties' + it.util.getProperty($pProperty);\n $it.errSchemaPath = it.errSchemaPath + '/patternProperties/' + it.util.escapeFragment($pProperty);\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' if (' + (it.usePattern($pProperty)) + '.test(' + ($key) + ')) { ';\n $it.errorPath = it.util.getPathExpr(it.errorPath, $key, it.opts.jsonPointers);\n var $passData = $data + '[' + $key + ']';\n $it.dataPathArr[$dataNxt] = $key;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n if ($breakOnError) {\n out += ' if (!' + ($nextValid) + ') break; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' else ' + ($nextValid) + ' = true; ';\n }\n out += ' } ';\n if ($breakOnError) {\n out += ' if (' + ($nextValid) + ') { ';\n $closingBraces += '}';\n }\n }\n }\n }\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,UAAc,GAAG,SAAS,mBAAmB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACrE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE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Names) return propertyNames;
|
|
6
|
-
hasRequiredPropertyNames = 1;
|
|
7
|
-
propertyNames = function generate_propertyNames(it, $keyword, $ruleType) {
|
|
8
|
-
var out = ' ';
|
|
9
|
-
var $lvl = it.level;
|
|
10
|
-
var $dataLvl = it.dataLevel;
|
|
11
|
-
var $schema = it.schema[$keyword];
|
|
12
|
-
var $schemaPath = it.schemaPath + it.util.getProperty($keyword);
|
|
13
|
-
var $errSchemaPath = it.errSchemaPath + '/' + $keyword;
|
|
14
|
-
var $breakOnError = !it.opts.allErrors;
|
|
15
|
-
var $data = 'data' + ($dataLvl || '');
|
|
16
|
-
var $errs = 'errs__' + $lvl;
|
|
17
|
-
var $it = it.util.copy(it);
|
|
18
|
-
var $closingBraces = '';
|
|
19
|
-
$it.level++;
|
|
20
|
-
var $nextValid = 'valid' + $it.level;
|
|
21
|
-
out += 'var ' + ($errs) + ' = errors;';
|
|
22
|
-
if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {
|
|
23
|
-
$it.schema = $schema;
|
|
24
|
-
$it.schemaPath = $schemaPath;
|
|
25
|
-
$it.errSchemaPath = $errSchemaPath;
|
|
26
|
-
var $key = 'key' + $lvl,
|
|
27
|
-
$idx = 'idx' + $lvl,
|
|
28
|
-
$i = 'i' + $lvl,
|
|
29
|
-
$invalidName = '\' + ' + $key + ' + \'',
|
|
30
|
-
$dataNxt = $it.dataLevel = it.dataLevel + 1,
|
|
31
|
-
$nextData = 'data' + $dataNxt,
|
|
32
|
-
$dataProperties = 'dataProperties' + $lvl,
|
|
33
|
-
$ownProperties = it.opts.ownProperties,
|
|
34
|
-
$currentBaseId = it.baseId;
|
|
35
|
-
if ($ownProperties) {
|
|
36
|
-
out += ' var ' + ($dataProperties) + ' = undefined; ';
|
|
37
|
-
}
|
|
38
|
-
if ($ownProperties) {
|
|
39
|
-
out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';
|
|
40
|
-
} else {
|
|
41
|
-
out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';
|
|
42
|
-
}
|
|
43
|
-
out += ' var startErrs' + ($lvl) + ' = errors; ';
|
|
44
|
-
var $passData = $key;
|
|
45
|
-
var $wasComposite = it.compositeRule;
|
|
46
|
-
it.compositeRule = $it.compositeRule = true;
|
|
47
|
-
var $code = it.validate($it);
|
|
48
|
-
$it.baseId = $currentBaseId;
|
|
49
|
-
if (it.util.varOccurences($code, $nextData) < 2) {
|
|
50
|
-
out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';
|
|
51
|
-
} else {
|
|
52
|
-
out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';
|
|
53
|
-
}
|
|
54
|
-
it.compositeRule = $it.compositeRule = $wasComposite;
|
|
55
|
-
out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '<errors; ' + ($i) + '++) { vErrors[' + ($i) + '].propertyName = ' + ($key) + '; } var err = '; /* istanbul ignore else */
|
|
56
|
-
if (it.createErrors !== false) {
|
|
57
|
-
out += ' { keyword: \'' + ('propertyNames') + '\' , dataPath: (dataPath || \'\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { propertyName: \'' + ($invalidName) + '\' } ';
|
|
58
|
-
if (it.opts.messages !== false) {
|
|
59
|
-
out += ' , message: \'property name \\\'' + ($invalidName) + '\\\' is invalid\' ';
|
|
60
|
-
}
|
|
61
|
-
if (it.opts.verbose) {
|
|
62
|
-
out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';
|
|
63
|
-
}
|
|
64
|
-
out += ' } ';
|
|
65
|
-
} else {
|
|
66
|
-
out += ' {} ';
|
|
67
|
-
}
|
|
68
|
-
out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';
|
|
69
|
-
if (!it.compositeRule && $breakOnError) {
|
|
70
|
-
/* istanbul ignore if */
|
|
71
|
-
if (it.async) {
|
|
72
|
-
out += ' throw new ValidationError(vErrors); ';
|
|
73
|
-
} else {
|
|
74
|
-
out += ' validate.errors = vErrors; return false; ';
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
if ($breakOnError) {
|
|
78
|
-
out += ' break; ';
|
|
79
|
-
}
|
|
80
|
-
out += ' } }';
|
|
81
|
-
}
|
|
82
|
-
if ($breakOnError) {
|
|
83
|
-
out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';
|
|
84
|
-
}
|
|
85
|
-
return out;
|
|
86
|
-
};
|
|
87
|
-
return propertyNames;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export { requirePropertyNames as __require };
|
|
91
|
-
//# sourceMappingURL=propertyNames.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"propertyNames.js","sources":["../../../../../../../node_modules/ajv/lib/dotjs/propertyNames.js"],"sourcesContent":["'use strict';\nmodule.exports = function generate_propertyNames(it, $keyword, $ruleType) {\n var out = ' ';\n var $lvl = it.level;\n var $dataLvl = it.dataLevel;\n var $schema = it.schema[$keyword];\n var $schemaPath = it.schemaPath + it.util.getProperty($keyword);\n var $errSchemaPath = it.errSchemaPath + '/' + $keyword;\n var $breakOnError = !it.opts.allErrors;\n var $data = 'data' + ($dataLvl || '');\n var $errs = 'errs__' + $lvl;\n var $it = it.util.copy(it);\n var $closingBraces = '';\n $it.level++;\n var $nextValid = 'valid' + $it.level;\n out += 'var ' + ($errs) + ' = errors;';\n if ((it.opts.strictKeywords ? (typeof $schema == 'object' && Object.keys($schema).length > 0) || $schema === false : it.util.schemaHasRules($schema, it.RULES.all))) {\n $it.schema = $schema;\n $it.schemaPath = $schemaPath;\n $it.errSchemaPath = $errSchemaPath;\n var $key = 'key' + $lvl,\n $idx = 'idx' + $lvl,\n $i = 'i' + $lvl,\n $invalidName = '\\' + ' + $key + ' + \\'',\n $dataNxt = $it.dataLevel = it.dataLevel + 1,\n $nextData = 'data' + $dataNxt,\n $dataProperties = 'dataProperties' + $lvl,\n $ownProperties = it.opts.ownProperties,\n $currentBaseId = it.baseId;\n if ($ownProperties) {\n out += ' var ' + ($dataProperties) + ' = undefined; ';\n }\n if ($ownProperties) {\n out += ' ' + ($dataProperties) + ' = ' + ($dataProperties) + ' || Object.keys(' + ($data) + '); for (var ' + ($idx) + '=0; ' + ($idx) + '<' + ($dataProperties) + '.length; ' + ($idx) + '++) { var ' + ($key) + ' = ' + ($dataProperties) + '[' + ($idx) + ']; ';\n } else {\n out += ' for (var ' + ($key) + ' in ' + ($data) + ') { ';\n }\n out += ' var startErrs' + ($lvl) + ' = errors; ';\n var $passData = $key;\n var $wasComposite = it.compositeRule;\n it.compositeRule = $it.compositeRule = true;\n var $code = it.validate($it);\n $it.baseId = $currentBaseId;\n if (it.util.varOccurences($code, $nextData) < 2) {\n out += ' ' + (it.util.varReplace($code, $nextData, $passData)) + ' ';\n } else {\n out += ' var ' + ($nextData) + ' = ' + ($passData) + '; ' + ($code) + ' ';\n }\n it.compositeRule = $it.compositeRule = $wasComposite;\n out += ' if (!' + ($nextValid) + ') { for (var ' + ($i) + '=startErrs' + ($lvl) + '; ' + ($i) + '<errors; ' + ($i) + '++) { vErrors[' + ($i) + '].propertyName = ' + ($key) + '; } var err = '; /* istanbul ignore else */\n if (it.createErrors !== false) {\n out += ' { keyword: \\'' + ('propertyNames') + '\\' , dataPath: (dataPath || \\'\\') + ' + (it.errorPath) + ' , schemaPath: ' + (it.util.toQuotedString($errSchemaPath)) + ' , params: { propertyName: \\'' + ($invalidName) + '\\' } ';\n if (it.opts.messages !== false) {\n out += ' , message: \\'property name \\\\\\'' + ($invalidName) + '\\\\\\' is invalid\\' ';\n }\n if (it.opts.verbose) {\n out += ' , schema: validate.schema' + ($schemaPath) + ' , parentSchema: validate.schema' + (it.schemaPath) + ' , data: ' + ($data) + ' ';\n }\n out += ' } ';\n } else {\n out += ' {} ';\n }\n out += '; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ';\n if (!it.compositeRule && $breakOnError) {\n /* istanbul ignore if */\n if (it.async) {\n out += ' throw new ValidationError(vErrors); ';\n } else {\n out += ' validate.errors = vErrors; return false; ';\n }\n }\n if ($breakOnError) {\n out += ' break; ';\n }\n out += ' } }';\n }\n if ($breakOnError) {\n out += ' ' + ($closingBraces) + ' if (' + ($errs) + ' == errors) {';\n }\n return out;\n}\n"],"names":[],"mappings":";;;;;;AACA,CAAA,aAAc,GAAG,SAAS,sBAAsB,CAAC,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE;GACxE,IAAI,GAAG,GAAG,GAAG;AACf,GAAE,IAAI,IAAI,GAAG,EAAE,CAAC,KAAK;AACrB,GAAE,IAAI,QAAQ,GAAG,EAAE,CAAC,SAAS;GAC3B,IAAI,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC;AACnC,GAAE,IAAI,WAAW,GAAG,EAAE,CAAC,UAAU,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC;GAC/D,IAAI,cAAc,GAAG,EAAE,CAAC,aAAa,GAAG,GAAG,GAAG,QAAQ;GACtD,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS;GACtC,IAAI,KAAK,GAAG,MAAM,IAAI,QAAQ,IAAI,EAAE,CAAC;AACvC,GAAE,IAAI,KAAK,GAAG,QAAQ,GAAG,IAAI;GAC3B,IAAI,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;GAC1B,IAAI,cAAc,GAAG,EAAE;GACvB,GAAG,CAAC,KAAK,EAAE;AACb,GAAE,IAAI,U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