@kubb/agent 5.0.0-alpha.36 → 5.0.0-alpha.39
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/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +230 -186
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +1 -14
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/index.mjs +1 -14
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +2 -109
- package/package.json +5 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/ajv.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/refs/json-schema-draft-07.json +0 -151
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/draft7.js +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.0/package.json +0 -130
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/2020.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/code.js +0 -156
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/index.js +0 -697
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/codegen/scope.js +0 -143
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/errors.js +0 -123
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/index.js +0 -249
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/names.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/ref_error.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/resolve.js +0 -155
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/rules.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/util.js +0 -178
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/applicability.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/boolSchema.js +0 -50
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/dataType.js +0 -203
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/defaults.js +0 -35
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/index.js +0 -534
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/keyword.js +0 -124
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/compile/validate/subschema.js +0 -81
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/core.js +0 -632
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/draft4.js +0 -57
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/data.json +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/index.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/equal.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/ucs2length.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/uri.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/runtime/validation_error.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/additionalProperties.js +0 -107
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/allOf.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/anyOf.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/contains.js +0 -95
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependencies.js +0 -85
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/if.js +0 -66
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/index.js +0 -44
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items.js +0 -52
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/items2020.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/not.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/oneOf.js +0 -60
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/properties.js +0 -55
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/applicator/thenElse.js +0 -13
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/code.js +0 -138
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/id.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/index.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/core/ref.js +0 -132
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/index.js +0 -139
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/discriminator/types.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft2020.js +0 -23
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/draft4.js +0 -29
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/index.js +0 -9
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/format.js +0 -92
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/format/index.js +0 -6
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/metadata.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/next.js +0 -8
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/oasContext.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/index.js +0 -7
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/const.js +0 -25
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/enum.js +0 -48
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/index.js +0 -37
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitContains.js +0 -15
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitItems.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitLength.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitNumber.js +0 -27
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/limitProperties.js +0 -24
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/multipleOf.js +0 -26
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/pattern.js +0 -33
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/readOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/required.js +0 -86
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/dist/vocabularies/validation/writeOnly.js +0 -20
- package/.output/server/node_modules/.nitro/@redocly/ajv@8.18.3/package.json +0 -130
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/index.js +0 -17
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/constants.js +0 -184
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/parse.js +0 -1386
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/picomatch.js +0 -349
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/scan.js +0 -391
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/lib/utils.js +0 -72
- package/.output/server/node_modules/.nitro/picomatch@4.0.4/package.json +0 -82
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/constants.js +0 -18
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/permessage-deflate.js +0 -514
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/sender.js +0 -602
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/stream.js +0 -159
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket-server.js +0 -540
- package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket.js +0 -1388
- package/.output/server/node_modules/.nitro/ws@8.18.0/package.json +0 -69
- package/.output/server/node_modules/.nitro/ws@8.18.0/wrapper.mjs +0 -8
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/buffer-util.js +0 -131
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/event-target.js +0 -292
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/extension.js +0 -203
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/limiter.js +0 -55
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/receiver.js +0 -706
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/subprotocol.js +0 -62
- package/.output/server/node_modules/.nitro/ws@8.20.0/lib/validation.js +0 -152
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/bundle.js +0 -302
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/dereference.js +0 -289
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/index.js +0 -216
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/normalize-args.js +0 -55
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/options.js +0 -135
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parse.js +0 -178
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/binary.js +0 -35
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/json.js +0 -62
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/text.js +0 -42
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/parsers/yaml.js +0 -58
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/pointer.js +0 -334
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/ref.js +0 -308
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/refs.js +0 -244
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolve-external.js +0 -143
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/file.js +0 -81
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/resolvers/http.js +0 -158
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js +0 -14
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/errors.js +0 -170
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/is-windows.js +0 -6
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/maybe.js +0 -24
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/next.js +0 -16
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/plugins.js +0 -132
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js +0 -491
- package/.output/server/node_modules/@apidevtools/json-schema-ref-parser/package.json +0 -112
- package/.output/server/node_modules/@babel/code-frame/lib/index.js +0 -217
- package/.output/server/node_modules/@babel/code-frame/package.json +0 -32
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/.output/server/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/.output/server/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/.output/server/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/.output/server/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/.output/server/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/.output/server/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/.output/server/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/.output/server/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/.output/server/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/.output/server/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/.output/server/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/.output/server/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/.output/server/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/.output/server/node_modules/@babel/runtime/package.json +0 -1107
- package/.output/server/node_modules/@clack/core/dist/index.mjs +0 -11
- package/.output/server/node_modules/@clack/core/package.json +0 -60
- package/.output/server/node_modules/@clack/prompts/dist/index.mjs +0 -137
- package/.output/server/node_modules/@clack/prompts/package.json +0 -65
- package/.output/server/node_modules/@humanwhocodes/momoa/api.js +0 -1144
- package/.output/server/node_modules/@humanwhocodes/momoa/package.json +0 -49
- package/.output/server/node_modules/@kubb/ast/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/ast/dist/index.js +0 -423
- package/.output/server/node_modules/@kubb/ast/package.json +0 -70
- package/.output/server/node_modules/@kubb/core/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/core/dist/hooks.js +0 -23
- package/.output/server/node_modules/@kubb/core/dist/index.js +0 -2311
- package/.output/server/node_modules/@kubb/core/package.json +0 -109
- package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-O_arW02_.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/defaultParser-iCpMSYCp.js +0 -15
- package/.output/server/node_modules/@kubb/fabric-core/dist/getRelativePath-NAm_Y-vp.js +0 -55
- package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +0 -653
- package/.output/server/node_modules/@kubb/fabric-core/dist/onProcessExit-Cput7j2c.js +0 -742
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +0 -101
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +0 -17
- package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +0 -375
- package/.output/server/node_modules/@kubb/fabric-core/package.json +0 -111
- package/.output/server/node_modules/@kubb/oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/oas/dist/index.js +0 -918
- package/.output/server/node_modules/@kubb/oas/package.json +0 -94
- package/.output/server/node_modules/@kubb/plugin-client/dist/StaticClassClient-bCe7RG_w.js +0 -636
- package/.output/server/node_modules/@kubb/plugin-client/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-client/dist/components.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-client/dist/generators-BffddRNu.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-client/dist/index.js +0 -124
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/axios.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/fetch.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/dist/templates/config.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-client/package.json +0 -153
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/components-BK_6GU4v.js +0 -257
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/generators-D5YFtyyC.js +0 -71
- package/.output/server/node_modules/@kubb/plugin-cypress/dist/index.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-cypress/package.json +0 -108
- package/.output/server/node_modules/@kubb/plugin-faker/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-faker/dist/components-BkBIov4R.js +0 -419
- package/.output/server/node_modules/@kubb/plugin-faker/dist/fakerGenerator-BztogaeO.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-faker/dist/index.js +0 -141
- package/.output/server/node_modules/@kubb/plugin-faker/package.json +0 -103
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/Server-H3SwqhwF.js +0 -178
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/generators-BqkMrcs9.js +0 -274
- package/.output/server/node_modules/@kubb/plugin-mcp/dist/index.js +0 -122
- package/.output/server/node_modules/@kubb/plugin-mcp/package.json +0 -107
- package/.output/server/node_modules/@kubb/plugin-msw/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-msw/dist/components-DgtTZkWX.js +0 -277
- package/.output/server/node_modules/@kubb/plugin-msw/dist/generators-C34kqa1L.js +0 -161
- package/.output/server/node_modules/@kubb/plugin-msw/dist/index.js +0 -84
- package/.output/server/node_modules/@kubb/plugin-msw/package.json +0 -109
- package/.output/server/node_modules/@kubb/plugin-oas/dist/SchemaMapper-CqMkO2T1.js +0 -58
- package/.output/server/node_modules/@kubb/plugin-oas/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators-D7C3CXsN.js +0 -79
- package/.output/server/node_modules/@kubb/plugin-oas/dist/generators.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-oas/dist/getFooter-Pw3tLCiV.js +0 -112
- package/.output/server/node_modules/@kubb/plugin-oas/dist/hooks.js +0 -200
- package/.output/server/node_modules/@kubb/plugin-oas/dist/index.js +0 -408
- package/.output/server/node_modules/@kubb/plugin-oas/dist/requestBody-pRavthCw.js +0 -1336
- package/.output/server/node_modules/@kubb/plugin-oas/dist/utils.js +0 -268
- package/.output/server/node_modules/@kubb/plugin-oas/package.json +0 -122
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/components-CpyHYGOw.js +0 -1520
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/generators-CpiBv5eE.js +0 -1427
- package/.output/server/node_modules/@kubb/plugin-react-query/dist/index.js +0 -166
- package/.output/server/node_modules/@kubb/plugin-react-query/package.json +0 -112
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-redoc/dist/index.js +0 -65
- package/.output/server/node_modules/@kubb/plugin-redoc/package.json +0 -85
- package/.output/server/node_modules/@kubb/plugin-redoc/static/redoc.hbs +0 -22
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/components-BhStIi1M.js +0 -665
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/generators-CQClzsST.js +0 -415
- package/.output/server/node_modules/@kubb/plugin-solid-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-solid-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/components-DntKBsnB.js +0 -666
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/generators-BtTsGGrM.js +0 -414
- package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/index.js +0 -145
- package/.output/server/node_modules/@kubb/plugin-svelte-query/package.json +0 -113
- package/.output/server/node_modules/@kubb/plugin-swr/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-swr/dist/components-DRDGvgXG.js +0 -702
- package/.output/server/node_modules/@kubb/plugin-swr/dist/generators-ClWZJ-YG.js +0 -399
- package/.output/server/node_modules/@kubb/plugin-swr/dist/index.js +0 -144
- package/.output/server/node_modules/@kubb/plugin-swr/package.json +0 -115
- package/.output/server/node_modules/@kubb/plugin-ts/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-ts/dist/components-C7fu-sK1.js +0 -723
- package/.output/server/node_modules/@kubb/plugin-ts/dist/index.js +0 -2
- package/.output/server/node_modules/@kubb/plugin-ts/dist/plugin-CYC-FGXe.js +0 -479
- package/.output/server/node_modules/@kubb/plugin-ts/package.json +0 -105
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/components-_AMBl0g-.js +0 -1029
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/generators-Zb1s5Wmb.js +0 -661
- package/.output/server/node_modules/@kubb/plugin-vue-query/dist/index.js +0 -157
- package/.output/server/node_modules/@kubb/plugin-vue-query/package.json +0 -114
- package/.output/server/node_modules/@kubb/plugin-zod/dist/chunk--u3MIqq1.js +0 -8
- package/.output/server/node_modules/@kubb/plugin-zod/dist/components-eECfXVou.js +0 -842
- package/.output/server/node_modules/@kubb/plugin-zod/dist/generators-D1R6NNf2.js +0 -290
- package/.output/server/node_modules/@kubb/plugin-zod/dist/index.js +0 -175
- package/.output/server/node_modules/@kubb/plugin-zod/dist/templates/ToZod.source.js +0 -6
- package/.output/server/node_modules/@kubb/plugin-zod/package.json +0 -112
- package/.output/server/node_modules/@kubb/react-fabric/dist/chunk-BGCRLu6H.js +0 -38
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +0 -525
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-Bl0DfUmV.js +0 -1448
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +0 -12
- package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +0 -2
- package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +0 -4
- package/.output/server/node_modules/@kubb/react-fabric/dist/reactPlugin-QQPrjNuQ.js +0 -17813
- package/.output/server/node_modules/@kubb/react-fabric/package.json +0 -143
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/helpers.js +0 -129
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/index.js +0 -46
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-decorated-data-path.js +0 -47
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/get-meta-from-path.js +0 -33
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/index.js +0 -20
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/json/utils.js +0 -14
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/utils.js +0 -57
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/additional-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/base.js +0 -109
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/default.js +0 -55
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/enum.js +0 -81
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/index.js +0 -48
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/pattern.js +0 -56
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/required.js +0 -64
- package/.output/server/node_modules/@readme/better-ajv-errors/lib/validation-errors/unevaluated-prop.js +0 -53
- package/.output/server/node_modules/@readme/better-ajv-errors/package.json +0 -68
- package/.output/server/node_modules/@readme/http-status-codes/package.json +0 -25
- package/.output/server/node_modules/@readme/http-status-codes/src/index.js +0 -142
- package/.output/server/node_modules/@readme/openapi-parser/dist/chunk-IYQ77VVR.js +0 -25
- package/.output/server/node_modules/@readme/openapi-parser/dist/index.js +0 -923
- package/.output/server/node_modules/@readme/openapi-parser/dist/lib/assertions.js +0 -15
- package/.output/server/node_modules/@readme/openapi-parser/package.json +0 -84
- package/.output/server/node_modules/@readme/openapi-schemas/dist/index.mjs +0 -6153
- package/.output/server/node_modules/@readme/openapi-schemas/package.json +0 -67
- package/.output/server/node_modules/@readme/postman-to-openapi/package.json +0 -70
- package/.output/server/node_modules/@readme/postman-to-openapi/src/index.js +0 -714
- package/.output/server/node_modules/@readme/postman-to-openapi/src/md-utils.js +0 -38
- package/.output/server/node_modules/@readme/postman-to-openapi/src/var-replacer.js +0 -25
- package/.output/server/node_modules/@redocly/config/lib/asyncapi-config-schema.js +0 -53
- package/.output/server/node_modules/@redocly/config/lib/common.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/constants/config.js +0 -17
- package/.output/server/node_modules/@redocly/config/lib/constants/entities.js +0 -58
- package/.output/server/node_modules/@redocly/config/lib/constants/enum.js +0 -6
- package/.output/server/node_modules/@redocly/config/lib/constants/shared.js +0 -22
- package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -57
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
- package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
- package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -687
- package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
- package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
- package/.output/server/node_modules/@redocly/config/lib/index.js +0 -41
- package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -44
- package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
- package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
- package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -28
- package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
- package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -588
- package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -242
- package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
- package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
- package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
- package/.output/server/node_modules/@redocly/config/package.json +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -100
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -260
- package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -344
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -343
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -294
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -67
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -97
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -120
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
- package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
- package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -50
- package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
- package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
- package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
- package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -110
- package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -54
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -272
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -64
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -145
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -131
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -53
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -190
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -181
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -312
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -577
- package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
- package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
- package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
- package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -315
- package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
- package/.output/server/node_modules/@stoplight/ordered-object-literal/package.json +0 -53
- package/.output/server/node_modules/@stoplight/ordered-object-literal/src/index.cjs +0 -221
- package/.output/server/node_modules/@stoplight/types/dist/index.js +0 -129
- package/.output/server/node_modules/@stoplight/types/package.json +0 -81
- package/.output/server/node_modules/@stoplight/yaml/buildJsonPath.js +0 -41
- package/.output/server/node_modules/@stoplight/yaml/dereferenceAnchor.js +0 -38
- package/.output/server/node_modules/@stoplight/yaml/getJsonPathForPosition.js +0 -98
- package/.output/server/node_modules/@stoplight/yaml/getLocationForJsonPath.js +0 -145
- package/.output/server/node_modules/@stoplight/yaml/index.js +0 -16
- package/.output/server/node_modules/@stoplight/yaml/lineForPosition.js +0 -31
- package/.output/server/node_modules/@stoplight/yaml/package.json +0 -33
- package/.output/server/node_modules/@stoplight/yaml/parse.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/parseWithPointers.js +0 -456
- package/.output/server/node_modules/@stoplight/yaml/safeStringify.js +0 -5
- package/.output/server/node_modules/@stoplight/yaml/trapAccess.js +0 -11
- package/.output/server/node_modules/@stoplight/yaml/types.js +0 -6
- package/.output/server/node_modules/@stoplight/yaml/utils.js +0 -4
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js +0 -710
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js +0 -35
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js +0 -1414
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js +0 -58
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js +0 -90
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js +0 -77
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js +0 -94
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js +0 -159
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js +0 -53
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js +0 -81
- package/.output/server/node_modules/@stoplight/yaml-ast-parser/package.json +0 -38
- package/.output/server/node_modules/ajv-draft-04/dist/index.js +0 -50
- package/.output/server/node_modules/ajv-draft-04/dist/refs/json-schema-draft-04.json +0 -138
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/core.js +0 -13
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/draft4.js +0 -16
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/index.js +0 -35
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumber.js +0 -44
- package/.output/server/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js +0 -19
- package/.output/server/node_modules/ajv-draft-04/package.json +0 -74
- package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
- package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
- package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
- package/.output/server/node_modules/ajv-formats/package.json +0 -74
- package/.output/server/node_modules/buffer-from/index.js +0 -72
- package/.output/server/node_modules/buffer-from/package.json +0 -19
- package/.output/server/node_modules/call-me-maybe/package.json +0 -45
- package/.output/server/node_modules/call-me-maybe/src/maybe.js +0 -18
- package/.output/server/node_modules/call-me-maybe/src/next.js +0 -15
- package/.output/server/node_modules/colorette/index.js +0 -82
- package/.output/server/node_modules/colorette/package.json +0 -39
- package/.output/server/node_modules/compute-gcd/lib/index.js +0 -212
- package/.output/server/node_modules/compute-gcd/package.json +0 -73
- package/.output/server/node_modules/compute-lcm/lib/index.js +0 -111
- package/.output/server/node_modules/compute-lcm/package.json +0 -71
- package/.output/server/node_modules/d/index.js +0 -62
- package/.output/server/node_modules/d/package.json +0 -92
- package/.output/server/node_modules/empathic/access.js +0 -39
- package/.output/server/node_modules/empathic/access.mjs +0 -34
- package/.output/server/node_modules/empathic/find.js +0 -81
- package/.output/server/node_modules/empathic/find.mjs +0 -76
- package/.output/server/node_modules/empathic/package.json +0 -49
- package/.output/server/node_modules/empathic/package.mjs +0 -52
- package/.output/server/node_modules/empathic/resolve.js +0 -31
- package/.output/server/node_modules/empathic/resolve.mjs +0 -27
- package/.output/server/node_modules/empathic/walk.js +0 -22
- package/.output/server/node_modules/empathic/walk.mjs +0 -20
- package/.output/server/node_modules/es5-ext/array/#/e-index-of.js +0 -28
- package/.output/server/node_modules/es5-ext/array/from/index.js +0 -3
- package/.output/server/node_modules/es5-ext/array/from/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/array/from/shim.js +0 -119
- package/.output/server/node_modules/es5-ext/array/to-array.js +0 -6
- package/.output/server/node_modules/es5-ext/error/custom.js +0 -20
- package/.output/server/node_modules/es5-ext/function/_define-length.js +0 -54
- package/.output/server/node_modules/es5-ext/function/is-arguments.js +0 -6
- package/.output/server/node_modules/es5-ext/function/is-function.js +0 -8
- package/.output/server/node_modules/es5-ext/function/noop.js +0 -4
- package/.output/server/node_modules/es5-ext/math/sign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/math/sign/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/math/sign/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/index.js +0 -3
- package/.output/server/node_modules/es5-ext/number/is-nan/is-implemented.js +0 -7
- package/.output/server/node_modules/es5-ext/number/is-nan/shim.js +0 -6
- package/.output/server/node_modules/es5-ext/number/to-integer.js +0 -12
- package/.output/server/node_modules/es5-ext/number/to-pos-integer.js +0 -6
- package/.output/server/node_modules/es5-ext/object/_iterate.js +0 -30
- package/.output/server/node_modules/es5-ext/object/assign/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/assign/is-implemented.js +0 -9
- package/.output/server/node_modules/es5-ext/object/assign/shim.js +0 -23
- package/.output/server/node_modules/es5-ext/object/for-each.js +0 -3
- package/.output/server/node_modules/es5-ext/object/is-callable.js +0 -5
- package/.output/server/node_modules/es5-ext/object/is-object.js +0 -7
- package/.output/server/node_modules/es5-ext/object/is-value.js +0 -5
- package/.output/server/node_modules/es5-ext/object/keys/index.js +0 -3
- package/.output/server/node_modules/es5-ext/object/keys/is-implemented.js +0 -10
- package/.output/server/node_modules/es5-ext/object/keys/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/object/map.js +0 -14
- package/.output/server/node_modules/es5-ext/object/mixin.js +0 -26
- package/.output/server/node_modules/es5-ext/object/normalize-options.js +0 -20
- package/.output/server/node_modules/es5-ext/object/primitive-set.js +0 -10
- package/.output/server/node_modules/es5-ext/object/valid-callable.js +0 -6
- package/.output/server/node_modules/es5-ext/object/valid-value.js +0 -8
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable-value.js +0 -6
- package/.output/server/node_modules/es5-ext/object/validate-stringifiable.js +0 -12
- package/.output/server/node_modules/es5-ext/package.json +0 -127
- package/.output/server/node_modules/es5-ext/safe-to-string.js +0 -12
- package/.output/server/node_modules/es5-ext/string/#/contains/index.js +0 -3
- package/.output/server/node_modules/es5-ext/string/#/contains/is-implemented.js +0 -8
- package/.output/server/node_modules/es5-ext/string/#/contains/shim.js +0 -7
- package/.output/server/node_modules/es5-ext/string/is-string.js +0 -13
- package/.output/server/node_modules/es5-ext/to-short-string-representation.js +0 -16
- package/.output/server/node_modules/es6-symbol/index.js +0 -5
- package/.output/server/node_modules/es6-symbol/is-implemented.js +0 -20
- package/.output/server/node_modules/es6-symbol/is-symbol.js +0 -9
- package/.output/server/node_modules/es6-symbol/lib/private/generate-name.js +0 -28
- package/.output/server/node_modules/es6-symbol/lib/private/setup/standard-symbols.js +0 -34
- package/.output/server/node_modules/es6-symbol/lib/private/setup/symbol-registry.js +0 -23
- package/.output/server/node_modules/es6-symbol/package.json +0 -107
- package/.output/server/node_modules/es6-symbol/polyfill.js +0 -86
- package/.output/server/node_modules/es6-symbol/validate-symbol.js +0 -8
- package/.output/server/node_modules/event-emitter/index.js +0 -132
- package/.output/server/node_modules/event-emitter/package.json +0 -34
- package/.output/server/node_modules/ext/global-this/implementation.js +0 -31
- package/.output/server/node_modules/ext/global-this/index.js +0 -3
- package/.output/server/node_modules/ext/global-this/is-implemented.js +0 -7
- package/.output/server/node_modules/ext/package.json +0 -152
- package/.output/server/node_modules/fast-deep-equal/index.js +0 -46
- package/.output/server/node_modules/fast-deep-equal/package.json +0 -61
- package/.output/server/node_modules/fast-safe-stringify/index.js +0 -229
- package/.output/server/node_modules/fast-safe-stringify/package.json +0 -46
- package/.output/server/node_modules/fast-string-truncated-width/dist/index.js +0 -171
- package/.output/server/node_modules/fast-string-truncated-width/dist/utils.js +0 -15
- package/.output/server/node_modules/fast-string-truncated-width/package.json +0 -35
- package/.output/server/node_modules/fast-string-width/dist/index.js +0 -14
- package/.output/server/node_modules/fast-string-width/package.json +0 -34
- package/.output/server/node_modules/fast-uri/index.js +0 -340
- package/.output/server/node_modules/fast-uri/lib/schemes.js +0 -267
- package/.output/server/node_modules/fast-uri/lib/utils.js +0 -336
- package/.output/server/node_modules/fast-uri/package.json +0 -69
- package/.output/server/node_modules/fast-wrap-ansi/lib/main.js +0 -216
- package/.output/server/node_modules/fast-wrap-ansi/package.json +0 -51
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js +0 -31
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js +0 -116
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js +0 -168
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js +0 -566
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js +0 -228
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js +0 -1166
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js +0 -737
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js +0 -186
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js +0 -140
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js +0 -221
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js +0 -29
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/decorators.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/exception.js +0 -64
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js +0 -39
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js +0 -104
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js +0 -25
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js +0 -46
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js +0 -26
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js +0 -16
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js +0 -43
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/helpers.js +0 -57
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js +0 -78
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js +0 -19
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/logger.js +0 -47
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js +0 -30
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/runtime.js +0 -379
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/safe-string.js +0 -15
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars/utils.js +0 -124
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.js +0 -66
- package/.output/server/node_modules/handlebars/dist/cjs/handlebars.runtime.js +0 -66
- package/.output/server/node_modules/handlebars/lib/index.js +0 -26
- package/.output/server/node_modules/handlebars/package.json +0 -134
- package/.output/server/node_modules/http2-client/lib/http.js +0 -17
- package/.output/server/node_modules/http2-client/lib/https.js +0 -18
- package/.output/server/node_modules/http2-client/lib/index.js +0 -21
- package/.output/server/node_modules/http2-client/lib/request-options.js +0 -38
- package/.output/server/node_modules/http2-client/lib/request.js +0 -586
- package/.output/server/node_modules/http2-client/lib/utils.js +0 -67
- package/.output/server/node_modules/http2-client/package.json +0 -38
- package/.output/server/node_modules/is-promise/index.js +0 -6
- package/.output/server/node_modules/is-promise/package.json +0 -23
- package/.output/server/node_modules/js-levenshtein/index.js +0 -105
- package/.output/server/node_modules/js-levenshtein/package.json +0 -49
- package/.output/server/node_modules/js-tokens/index.js +0 -23
- package/.output/server/node_modules/js-tokens/package.json +0 -30
- package/.output/server/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
- package/.output/server/node_modules/js-yaml/index.js +0 -47
- package/.output/server/node_modules/js-yaml/lib/common.js +0 -59
- package/.output/server/node_modules/js-yaml/lib/dumper.js +0 -965
- package/.output/server/node_modules/js-yaml/lib/exception.js +0 -55
- package/.output/server/node_modules/js-yaml/lib/loader.js +0 -1733
- package/.output/server/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/.output/server/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/.output/server/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/.output/server/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/.output/server/node_modules/js-yaml/lib/schema.js +0 -121
- package/.output/server/node_modules/js-yaml/lib/snippet.js +0 -101
- package/.output/server/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/.output/server/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/float.js +0 -97
- package/.output/server/node_modules/js-yaml/lib/type/int.js +0 -156
- package/.output/server/node_modules/js-yaml/lib/type/map.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/.output/server/node_modules/js-yaml/lib/type/null.js +0 -35
- package/.output/server/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/.output/server/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/.output/server/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/set.js +0 -29
- package/.output/server/node_modules/js-yaml/lib/type/str.js +0 -8
- package/.output/server/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/.output/server/node_modules/js-yaml/lib/type.js +0 -66
- package/.output/server/node_modules/js-yaml/package.json +0 -66
- package/.output/server/node_modules/json-schema-compare/package.json +0 -52
- package/.output/server/node_modules/json-schema-compare/src/index.js +0 -184
- package/.output/server/node_modules/json-schema-merge-allof/package.json +0 -57
- package/.output/server/node_modules/json-schema-merge-allof/src/common.js +0 -45
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/items.js +0 -98
- package/.output/server/node_modules/json-schema-merge-allof/src/complex-resolvers/properties.js +0 -80
- package/.output/server/node_modules/json-schema-merge-allof/src/index.js +0 -343
- package/.output/server/node_modules/json-schema-traverse/index.js +0 -93
- package/.output/server/node_modules/json-schema-traverse/package.json +0 -43
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/edit.js +0 -201
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/format.js +0 -265
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/parser.js +0 -655
- package/.output/server/node_modules/jsonc-parser/lib/umd/impl/scanner.js +0 -456
- package/.output/server/node_modules/jsonc-parser/lib/umd/main.js +0 -194
- package/.output/server/node_modules/jsonc-parser/package.json +0 -40
- package/.output/server/node_modules/jsonpointer/jsonpointer.js +0 -100
- package/.output/server/node_modules/jsonpointer/package.json +0 -48
- package/.output/server/node_modules/leven/index.js +0 -77
- package/.output/server/node_modules/leven/package.json +0 -57
- package/.output/server/node_modules/lodash/_DataView.js +0 -7
- package/.output/server/node_modules/lodash/_Hash.js +0 -32
- package/.output/server/node_modules/lodash/_ListCache.js +0 -32
- package/.output/server/node_modules/lodash/_Map.js +0 -7
- package/.output/server/node_modules/lodash/_MapCache.js +0 -32
- package/.output/server/node_modules/lodash/_Promise.js +0 -7
- package/.output/server/node_modules/lodash/_Set.js +0 -7
- package/.output/server/node_modules/lodash/_SetCache.js +0 -27
- package/.output/server/node_modules/lodash/_Stack.js +0 -27
- package/.output/server/node_modules/lodash/_Symbol.js +0 -6
- package/.output/server/node_modules/lodash/_Uint8Array.js +0 -6
- package/.output/server/node_modules/lodash/_WeakMap.js +0 -7
- package/.output/server/node_modules/lodash/_apply.js +0 -21
- package/.output/server/node_modules/lodash/_arrayEach.js +0 -22
- package/.output/server/node_modules/lodash/_arrayFilter.js +0 -25
- package/.output/server/node_modules/lodash/_arrayIncludes.js +0 -17
- package/.output/server/node_modules/lodash/_arrayIncludesWith.js +0 -22
- package/.output/server/node_modules/lodash/_arrayLikeKeys.js +0 -49
- package/.output/server/node_modules/lodash/_arrayMap.js +0 -21
- package/.output/server/node_modules/lodash/_arrayPush.js +0 -20
- package/.output/server/node_modules/lodash/_arraySome.js +0 -23
- package/.output/server/node_modules/lodash/_assignMergeValue.js +0 -20
- package/.output/server/node_modules/lodash/_assignValue.js +0 -28
- package/.output/server/node_modules/lodash/_assocIndexOf.js +0 -21
- package/.output/server/node_modules/lodash/_baseAssign.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignIn.js +0 -17
- package/.output/server/node_modules/lodash/_baseAssignValue.js +0 -25
- package/.output/server/node_modules/lodash/_baseClone.js +0 -166
- package/.output/server/node_modules/lodash/_baseCreate.js +0 -30
- package/.output/server/node_modules/lodash/_baseDifference.js +0 -67
- package/.output/server/node_modules/lodash/_baseEach.js +0 -14
- package/.output/server/node_modules/lodash/_baseFindIndex.js +0 -24
- package/.output/server/node_modules/lodash/_baseFlatten.js +0 -38
- package/.output/server/node_modules/lodash/_baseFor.js +0 -16
- package/.output/server/node_modules/lodash/_baseForOwn.js +0 -16
- package/.output/server/node_modules/lodash/_baseGet.js +0 -24
- package/.output/server/node_modules/lodash/_baseGetAllKeys.js +0 -20
- package/.output/server/node_modules/lodash/_baseGetTag.js +0 -28
- package/.output/server/node_modules/lodash/_baseHasIn.js +0 -13
- package/.output/server/node_modules/lodash/_baseIndexOf.js +0 -20
- package/.output/server/node_modules/lodash/_baseIndexOfWith.js +0 -23
- package/.output/server/node_modules/lodash/_baseIntersection.js +0 -74
- package/.output/server/node_modules/lodash/_baseIsArguments.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsEqual.js +0 -28
- package/.output/server/node_modules/lodash/_baseIsEqualDeep.js +0 -83
- package/.output/server/node_modules/lodash/_baseIsMap.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsMatch.js +0 -62
- package/.output/server/node_modules/lodash/_baseIsNaN.js +0 -12
- package/.output/server/node_modules/lodash/_baseIsNative.js +0 -47
- package/.output/server/node_modules/lodash/_baseIsSet.js +0 -18
- package/.output/server/node_modules/lodash/_baseIsTypedArray.js +0 -60
- package/.output/server/node_modules/lodash/_baseIteratee.js +0 -31
- package/.output/server/node_modules/lodash/_baseKeys.js +0 -30
- package/.output/server/node_modules/lodash/_baseKeysIn.js +0 -33
- package/.output/server/node_modules/lodash/_baseMap.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatches.js +0 -22
- package/.output/server/node_modules/lodash/_baseMatchesProperty.js +0 -33
- package/.output/server/node_modules/lodash/_baseMerge.js +0 -42
- package/.output/server/node_modules/lodash/_baseMergeDeep.js +0 -94
- package/.output/server/node_modules/lodash/_baseOrderBy.js +0 -49
- package/.output/server/node_modules/lodash/_baseProperty.js +0 -14
- package/.output/server/node_modules/lodash/_basePropertyDeep.js +0 -16
- package/.output/server/node_modules/lodash/_basePullAll.js +0 -51
- package/.output/server/node_modules/lodash/_baseRest.js +0 -17
- package/.output/server/node_modules/lodash/_baseSetToString.js +0 -22
- package/.output/server/node_modules/lodash/_baseSortBy.js +0 -21
- package/.output/server/node_modules/lodash/_baseTimes.js +0 -20
- package/.output/server/node_modules/lodash/_baseToString.js +0 -37
- package/.output/server/node_modules/lodash/_baseUnary.js +0 -14
- package/.output/server/node_modules/lodash/_baseUniq.js +0 -72
- package/.output/server/node_modules/lodash/_cacheHas.js +0 -13
- package/.output/server/node_modules/lodash/_castArrayLikeObject.js +0 -14
- package/.output/server/node_modules/lodash/_castFunction.js +0 -14
- package/.output/server/node_modules/lodash/_castPath.js +0 -21
- package/.output/server/node_modules/lodash/_cloneArrayBuffer.js +0 -16
- package/.output/server/node_modules/lodash/_cloneBuffer.js +0 -35
- package/.output/server/node_modules/lodash/_cloneDataView.js +0 -16
- package/.output/server/node_modules/lodash/_cloneRegExp.js +0 -17
- package/.output/server/node_modules/lodash/_cloneSymbol.js +0 -18
- package/.output/server/node_modules/lodash/_cloneTypedArray.js +0 -16
- package/.output/server/node_modules/lodash/_compareAscending.js +0 -41
- package/.output/server/node_modules/lodash/_compareMultiple.js +0 -44
- package/.output/server/node_modules/lodash/_copyArray.js +0 -20
- package/.output/server/node_modules/lodash/_copyObject.js +0 -40
- package/.output/server/node_modules/lodash/_copySymbols.js +0 -16
- package/.output/server/node_modules/lodash/_copySymbolsIn.js +0 -16
- package/.output/server/node_modules/lodash/_coreJsData.js +0 -6
- package/.output/server/node_modules/lodash/_createAssigner.js +0 -37
- package/.output/server/node_modules/lodash/_createBaseEach.js +0 -32
- package/.output/server/node_modules/lodash/_createBaseFor.js +0 -25
- package/.output/server/node_modules/lodash/_createSet.js +0 -19
- package/.output/server/node_modules/lodash/_customDefaultsMerge.js +0 -28
- package/.output/server/node_modules/lodash/_defineProperty.js +0 -11
- package/.output/server/node_modules/lodash/_equalArrays.js +0 -84
- package/.output/server/node_modules/lodash/_equalByTag.js +0 -112
- package/.output/server/node_modules/lodash/_equalObjects.js +0 -90
- package/.output/server/node_modules/lodash/_freeGlobal.js +0 -4
- package/.output/server/node_modules/lodash/_getAllKeys.js +0 -16
- package/.output/server/node_modules/lodash/_getAllKeysIn.js +0 -17
- package/.output/server/node_modules/lodash/_getMapData.js +0 -18
- package/.output/server/node_modules/lodash/_getMatchData.js +0 -24
- package/.output/server/node_modules/lodash/_getNative.js +0 -17
- package/.output/server/node_modules/lodash/_getPrototype.js +0 -6
- package/.output/server/node_modules/lodash/_getRawTag.js +0 -46
- package/.output/server/node_modules/lodash/_getSymbols.js +0 -30
- package/.output/server/node_modules/lodash/_getSymbolsIn.js +0 -25
- package/.output/server/node_modules/lodash/_getTag.js +0 -58
- package/.output/server/node_modules/lodash/_getValue.js +0 -13
- package/.output/server/node_modules/lodash/_hasPath.js +0 -39
- package/.output/server/node_modules/lodash/_hashClear.js +0 -15
- package/.output/server/node_modules/lodash/_hashDelete.js +0 -17
- package/.output/server/node_modules/lodash/_hashGet.js +0 -30
- package/.output/server/node_modules/lodash/_hashHas.js +0 -23
- package/.output/server/node_modules/lodash/_hashSet.js +0 -23
- package/.output/server/node_modules/lodash/_initCloneArray.js +0 -26
- package/.output/server/node_modules/lodash/_initCloneByTag.js +0 -77
- package/.output/server/node_modules/lodash/_initCloneObject.js +0 -18
- package/.output/server/node_modules/lodash/_isFlattenable.js +0 -20
- package/.output/server/node_modules/lodash/_isIndex.js +0 -25
- package/.output/server/node_modules/lodash/_isIterateeCall.js +0 -30
- package/.output/server/node_modules/lodash/_isKey.js +0 -29
- package/.output/server/node_modules/lodash/_isKeyable.js +0 -15
- package/.output/server/node_modules/lodash/_isMasked.js +0 -20
- package/.output/server/node_modules/lodash/_isPrototype.js +0 -18
- package/.output/server/node_modules/lodash/_isStrictComparable.js +0 -15
- package/.output/server/node_modules/lodash/_listCacheClear.js +0 -13
- package/.output/server/node_modules/lodash/_listCacheDelete.js +0 -35
- package/.output/server/node_modules/lodash/_listCacheGet.js +0 -19
- package/.output/server/node_modules/lodash/_listCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_listCacheSet.js +0 -26
- package/.output/server/node_modules/lodash/_mapCacheClear.js +0 -21
- package/.output/server/node_modules/lodash/_mapCacheDelete.js +0 -18
- package/.output/server/node_modules/lodash/_mapCacheGet.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheHas.js +0 -16
- package/.output/server/node_modules/lodash/_mapCacheSet.js +0 -22
- package/.output/server/node_modules/lodash/_mapToArray.js +0 -18
- package/.output/server/node_modules/lodash/_matchesStrictComparable.js +0 -20
- package/.output/server/node_modules/lodash/_memoizeCapped.js +0 -26
- package/.output/server/node_modules/lodash/_nativeCreate.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeys.js +0 -6
- package/.output/server/node_modules/lodash/_nativeKeysIn.js +0 -20
- package/.output/server/node_modules/lodash/_nodeUtil.js +0 -30
- package/.output/server/node_modules/lodash/_objectToString.js +0 -22
- package/.output/server/node_modules/lodash/_overArg.js +0 -15
- package/.output/server/node_modules/lodash/_overRest.js +0 -36
- package/.output/server/node_modules/lodash/_root.js +0 -9
- package/.output/server/node_modules/lodash/_safeGet.js +0 -21
- package/.output/server/node_modules/lodash/_setCacheAdd.js +0 -19
- package/.output/server/node_modules/lodash/_setCacheHas.js +0 -14
- package/.output/server/node_modules/lodash/_setToArray.js +0 -18
- package/.output/server/node_modules/lodash/_setToString.js +0 -14
- package/.output/server/node_modules/lodash/_shortOut.js +0 -37
- package/.output/server/node_modules/lodash/_stackClear.js +0 -15
- package/.output/server/node_modules/lodash/_stackDelete.js +0 -18
- package/.output/server/node_modules/lodash/_stackGet.js +0 -14
- package/.output/server/node_modules/lodash/_stackHas.js +0 -14
- package/.output/server/node_modules/lodash/_stackSet.js +0 -34
- package/.output/server/node_modules/lodash/_strictIndexOf.js +0 -23
- package/.output/server/node_modules/lodash/_stringToPath.js +0 -27
- package/.output/server/node_modules/lodash/_toKey.js +0 -21
- package/.output/server/node_modules/lodash/_toSource.js +0 -26
- package/.output/server/node_modules/lodash/cloneDeep.js +0 -29
- package/.output/server/node_modules/lodash/constant.js +0 -26
- package/.output/server/node_modules/lodash/defaults.js +0 -64
- package/.output/server/node_modules/lodash/defaultsDeep.js +0 -30
- package/.output/server/node_modules/lodash/eq.js +0 -37
- package/.output/server/node_modules/lodash/flatten.js +0 -22
- package/.output/server/node_modules/lodash/flattenDeep.js +0 -25
- package/.output/server/node_modules/lodash/forEach.js +0 -41
- package/.output/server/node_modules/lodash/get.js +0 -33
- package/.output/server/node_modules/lodash/hasIn.js +0 -34
- package/.output/server/node_modules/lodash/identity.js +0 -21
- package/.output/server/node_modules/lodash/intersection.js +0 -30
- package/.output/server/node_modules/lodash/intersectionWith.js +0 -41
- package/.output/server/node_modules/lodash/isArguments.js +0 -36
- package/.output/server/node_modules/lodash/isArray.js +0 -26
- package/.output/server/node_modules/lodash/isArrayLike.js +0 -33
- package/.output/server/node_modules/lodash/isArrayLikeObject.js +0 -33
- package/.output/server/node_modules/lodash/isBoolean.js +0 -29
- package/.output/server/node_modules/lodash/isBuffer.js +0 -38
- package/.output/server/node_modules/lodash/isEqual.js +0 -35
- package/.output/server/node_modules/lodash/isFunction.js +0 -37
- package/.output/server/node_modules/lodash/isLength.js +0 -35
- package/.output/server/node_modules/lodash/isMap.js +0 -27
- package/.output/server/node_modules/lodash/isObject.js +0 -31
- package/.output/server/node_modules/lodash/isObjectLike.js +0 -29
- package/.output/server/node_modules/lodash/isPlainObject.js +0 -62
- package/.output/server/node_modules/lodash/isSet.js +0 -27
- package/.output/server/node_modules/lodash/isSymbol.js +0 -29
- package/.output/server/node_modules/lodash/isTypedArray.js +0 -27
- package/.output/server/node_modules/lodash/keys.js +0 -37
- package/.output/server/node_modules/lodash/keysIn.js +0 -32
- package/.output/server/node_modules/lodash/last.js +0 -20
- package/.output/server/node_modules/lodash/memoize.js +0 -73
- package/.output/server/node_modules/lodash/mergeWith.js +0 -39
- package/.output/server/node_modules/lodash/noop.js +0 -17
- package/.output/server/node_modules/lodash/package.json +0 -19
- package/.output/server/node_modules/lodash/property.js +0 -32
- package/.output/server/node_modules/lodash/pullAll.js +0 -29
- package/.output/server/node_modules/lodash/sortBy.js +0 -48
- package/.output/server/node_modules/lodash/stubArray.js +0 -23
- package/.output/server/node_modules/lodash/stubFalse.js +0 -18
- package/.output/server/node_modules/lodash/toPlainObject.js +0 -32
- package/.output/server/node_modules/lodash/toString.js +0 -28
- package/.output/server/node_modules/lodash/uniq.js +0 -25
- package/.output/server/node_modules/lodash/uniqWith.js +0 -28
- package/.output/server/node_modules/lodash/without.js +0 -31
- package/.output/server/node_modules/lodash.camelcase/index.js +0 -599
- package/.output/server/node_modules/lodash.camelcase/package.json +0 -19
- package/.output/server/node_modules/lru-queue/index.js +0 -48
- package/.output/server/node_modules/lru-queue/package.json +0 -25
- package/.output/server/node_modules/marked/lib/marked.cjs +0 -2811
- package/.output/server/node_modules/marked/package.json +0 -93
- package/.output/server/node_modules/memoizee/ext/async.js +0 -154
- package/.output/server/node_modules/memoizee/ext/dispose.js +0 -27
- package/.output/server/node_modules/memoizee/ext/max-age.js +0 -90
- package/.output/server/node_modules/memoizee/ext/max.js +0 -32
- package/.output/server/node_modules/memoizee/ext/promise.js +0 -147
- package/.output/server/node_modules/memoizee/ext/ref-counter.js +0 -42
- package/.output/server/node_modules/memoizee/index.js +0 -34
- package/.output/server/node_modules/memoizee/lib/configure-map.js +0 -182
- package/.output/server/node_modules/memoizee/lib/registered-extensions.js +0 -1
- package/.output/server/node_modules/memoizee/lib/resolve-length.js +0 -15
- package/.output/server/node_modules/memoizee/lib/resolve-normalize.js +0 -17
- package/.output/server/node_modules/memoizee/lib/resolve-resolve.js +0 -19
- package/.output/server/node_modules/memoizee/normalizers/get-1.js +0 -29
- package/.output/server/node_modules/memoizee/normalizers/get-fixed.js +0 -71
- package/.output/server/node_modules/memoizee/normalizers/get-primitive-fixed.js +0 -14
- package/.output/server/node_modules/memoizee/normalizers/get.js +0 -90
- package/.output/server/node_modules/memoizee/normalizers/primitive.js +0 -9
- package/.output/server/node_modules/memoizee/package.json +0 -114
- package/.output/server/node_modules/memoizee/plain.js +0 -37
- package/.output/server/node_modules/mustache/mustache.js +0 -772
- package/.output/server/node_modules/mustache/package.json +0 -67
- package/.output/server/node_modules/next-tick/index.js +0 -74
- package/.output/server/node_modules/next-tick/package.json +0 -27
- package/.output/server/node_modules/node-fetch-h2/lib/index.js +0 -1585
- package/.output/server/node_modules/node-fetch-h2/package.json +0 -68
- package/.output/server/node_modules/oas/dist/chunk-5EP6HY2E.js +0 -943
- package/.output/server/node_modules/oas/dist/chunk-7MARUOFZ.js +0 -24
- package/.output/server/node_modules/oas/dist/chunk-HGVFNEKW.js +0 -1684
- package/.output/server/node_modules/oas/dist/chunk-LSH3X5NA.js +0 -822
- package/.output/server/node_modules/oas/dist/chunk-S27IGTVG.js +0 -95
- package/.output/server/node_modules/oas/dist/chunk-VA3NKXX7.js +0 -9
- package/.output/server/node_modules/oas/dist/index.js +0 -12
- package/.output/server/node_modules/oas/dist/types.js +0 -15
- package/.output/server/node_modules/oas/dist/utils.js +0 -19
- package/.output/server/node_modules/oas/package.json +0 -113
- package/.output/server/node_modules/oas-kit-common/index.js +0 -137
- package/.output/server/node_modules/oas-kit-common/package.json +0 -28
- package/.output/server/node_modules/oas-normalize/dist/chunk-45XXAYDL.js +0 -19
- package/.output/server/node_modules/oas-normalize/dist/chunk-SZISBDLH.js +0 -86
- package/.output/server/node_modules/oas-normalize/dist/index.js +0 -248
- package/.output/server/node_modules/oas-normalize/package.json +0 -87
- package/.output/server/node_modules/oas-resolver/index.js +0 -535
- package/.output/server/node_modules/oas-resolver/package.json +0 -40
- package/.output/server/node_modules/oas-schema-walker/index.js +0 -125
- package/.output/server/node_modules/oas-schema-walker/package.json +0 -27
- package/.output/server/node_modules/p-limit/index.js +0 -127
- package/.output/server/node_modules/p-limit/package.json +0 -58
- package/.output/server/node_modules/path-to-regexp/dist/index.js +0 -431
- package/.output/server/node_modules/path-to-regexp/package.json +0 -64
- package/.output/server/node_modules/picocolors/package.json +0 -25
- package/.output/server/node_modules/picocolors/picocolors.js +0 -75
- package/.output/server/node_modules/pluralize/package.json +0 -40
- package/.output/server/node_modules/pluralize/pluralize.js +0 -503
- package/.output/server/node_modules/react-devtools-core/dist/backend.js +0 -18302
- package/.output/server/node_modules/react-devtools-core/package.json +0 -38
- package/.output/server/node_modules/reftools/lib/clone.js +0 -102
- package/.output/server/node_modules/reftools/lib/dereference.js +0 -105
- package/.output/server/node_modules/reftools/lib/isref.js +0 -10
- package/.output/server/node_modules/reftools/lib/jptr.js +0 -97
- package/.output/server/node_modules/reftools/lib/recurse.js +0 -62
- package/.output/server/node_modules/reftools/package.json +0 -37
- package/.output/server/node_modules/remove-undefined-objects/dist/index.mjs +0 -94
- package/.output/server/node_modules/remove-undefined-objects/package.json +0 -47
- package/.output/server/node_modules/semver/classes/comparator.js +0 -143
- package/.output/server/node_modules/semver/classes/range.js +0 -557
- package/.output/server/node_modules/semver/classes/semver.js +0 -333
- package/.output/server/node_modules/semver/functions/clean.js +0 -8
- package/.output/server/node_modules/semver/functions/cmp.js +0 -54
- package/.output/server/node_modules/semver/functions/coerce.js +0 -62
- package/.output/server/node_modules/semver/functions/compare-build.js +0 -9
- package/.output/server/node_modules/semver/functions/compare-loose.js +0 -5
- package/.output/server/node_modules/semver/functions/compare.js +0 -7
- package/.output/server/node_modules/semver/functions/diff.js +0 -60
- package/.output/server/node_modules/semver/functions/eq.js +0 -5
- package/.output/server/node_modules/semver/functions/gt.js +0 -5
- package/.output/server/node_modules/semver/functions/gte.js +0 -5
- package/.output/server/node_modules/semver/functions/inc.js +0 -21
- package/.output/server/node_modules/semver/functions/lt.js +0 -5
- package/.output/server/node_modules/semver/functions/lte.js +0 -5
- package/.output/server/node_modules/semver/functions/major.js +0 -5
- package/.output/server/node_modules/semver/functions/minor.js +0 -5
- package/.output/server/node_modules/semver/functions/neq.js +0 -5
- package/.output/server/node_modules/semver/functions/parse.js +0 -18
- package/.output/server/node_modules/semver/functions/patch.js +0 -5
- package/.output/server/node_modules/semver/functions/prerelease.js +0 -8
- package/.output/server/node_modules/semver/functions/rcompare.js +0 -5
- package/.output/server/node_modules/semver/functions/rsort.js +0 -5
- package/.output/server/node_modules/semver/functions/satisfies.js +0 -12
- package/.output/server/node_modules/semver/functions/sort.js +0 -5
- package/.output/server/node_modules/semver/functions/valid.js +0 -8
- package/.output/server/node_modules/semver/index.js +0 -91
- package/.output/server/node_modules/semver/internal/constants.js +0 -37
- package/.output/server/node_modules/semver/internal/debug.js +0 -11
- package/.output/server/node_modules/semver/internal/identifiers.js +0 -29
- package/.output/server/node_modules/semver/internal/lrucache.js +0 -42
- package/.output/server/node_modules/semver/internal/parse-options.js +0 -17
- package/.output/server/node_modules/semver/internal/re.js +0 -223
- package/.output/server/node_modules/semver/package.json +0 -78
- package/.output/server/node_modules/semver/preload.js +0 -4
- package/.output/server/node_modules/semver/ranges/gtr.js +0 -6
- package/.output/server/node_modules/semver/ranges/intersects.js +0 -9
- package/.output/server/node_modules/semver/ranges/ltr.js +0 -6
- package/.output/server/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/.output/server/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/.output/server/node_modules/semver/ranges/min-version.js +0 -63
- package/.output/server/node_modules/semver/ranges/outside.js +0 -82
- package/.output/server/node_modules/semver/ranges/simplify.js +0 -49
- package/.output/server/node_modules/semver/ranges/subset.js +0 -249
- package/.output/server/node_modules/semver/ranges/to-comparators.js +0 -10
- package/.output/server/node_modules/semver/ranges/valid.js +0 -13
- package/.output/server/node_modules/sisteransi/package.json +0 -34
- package/.output/server/node_modules/sisteransi/src/index.js +0 -58
- package/.output/server/node_modules/source-map/lib/array-set.js +0 -121
- package/.output/server/node_modules/source-map/lib/base64-vlq.js +0 -140
- package/.output/server/node_modules/source-map/lib/base64.js +0 -67
- package/.output/server/node_modules/source-map/lib/binary-search.js +0 -111
- package/.output/server/node_modules/source-map/lib/mapping-list.js +0 -79
- package/.output/server/node_modules/source-map/lib/quick-sort.js +0 -114
- package/.output/server/node_modules/source-map/lib/source-map-consumer.js +0 -1145
- package/.output/server/node_modules/source-map/lib/source-map-generator.js +0 -425
- package/.output/server/node_modules/source-map/lib/source-node.js +0 -413
- package/.output/server/node_modules/source-map/lib/util.js +0 -488
- package/.output/server/node_modules/source-map/package.json +0 -73
- package/.output/server/node_modules/source-map/source-map.js +0 -8
- package/.output/server/node_modules/source-map-support/package.json +0 -31
- package/.output/server/node_modules/source-map-support/source-map-support.js +0 -625
- package/.output/server/node_modules/swagger2openapi/index.js +0 -1666
- package/.output/server/node_modules/swagger2openapi/lib/statusCodes.js +0 -19
- package/.output/server/node_modules/swagger2openapi/package.json +0 -63
- package/.output/server/node_modules/timers-ext/max-timeout.js +0 -3
- package/.output/server/node_modules/timers-ext/package.json +0 -97
- package/.output/server/node_modules/timers-ext/valid-timeout.js +0 -10
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/node_modules/type/function/is.js +0 -19
- package/.output/server/node_modules/type/object/is.js +0 -11
- package/.output/server/node_modules/type/package.json +0 -121
- package/.output/server/node_modules/type/plain-function/is.js +0 -11
- package/.output/server/node_modules/type/prototype/is.js +0 -13
- package/.output/server/node_modules/type/value/is.js +0 -6
- package/.output/server/node_modules/typescript/lib/typescript.js +0 -200276
- package/.output/server/node_modules/typescript/package.json +0 -120
- package/.output/server/node_modules/validate.io-array/lib/index.js +0 -16
- package/.output/server/node_modules/validate.io-array/package.json +0 -51
- package/.output/server/node_modules/validate.io-function/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-function/package.json +0 -53
- package/.output/server/node_modules/validate.io-integer/lib/index.js +0 -52
- package/.output/server/node_modules/validate.io-integer/package.json +0 -58
- package/.output/server/node_modules/validate.io-integer-array/lib/index.js +0 -66
- package/.output/server/node_modules/validate.io-integer-array/package.json +0 -58
- package/.output/server/node_modules/validate.io-number/lib/index.js +0 -45
- package/.output/server/node_modules/validate.io-number/package.json +0 -55
- package/.output/server/node_modules/yaml/dist/Document-a8d0fbf9.js +0 -637
- package/.output/server/node_modules/yaml/dist/PlainValue-516d5bc2.js +0 -765
- package/.output/server/node_modules/yaml/dist/Schema-bcc6c2d7.js +0 -469
- package/.output/server/node_modules/yaml/dist/index.js +0 -67
- package/.output/server/node_modules/yaml/dist/parse-cst.js +0 -1507
- package/.output/server/node_modules/yaml/dist/resolveSeq-95613e94.js +0 -1859
- package/.output/server/node_modules/yaml/dist/warnings-793925ce.js +0 -359
- package/.output/server/node_modules/yaml/index.js +0 -1
- package/.output/server/node_modules/yaml/package.json +0 -105
- package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
- package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
- package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
- package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
- package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
- package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
- package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
- package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
- package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
- package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
- package/.output/server/node_modules/yocto-queue/index.js +0 -90
- package/.output/server/node_modules/yocto-queue/package.json +0 -48
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/parse.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/picomatch.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/scan.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/lib/utils.js +0 -0
- /package/.output/server/node_modules/{.nitro/picomatch@2.3.2 → picomatch}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/buffer-util.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/constants.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/event-target.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/extension.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/limiter.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/permessage-deflate.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/receiver.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/sender.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/stream.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/subprotocol.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.18.0 → ws}/lib/validation.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket-server.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/lib/websocket.js +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/ws@8.20.0 → ws}/wrapper.mjs +0 -0
|
@@ -1,1733 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/*eslint-disable max-len,no-use-before-define*/
|
|
4
|
-
|
|
5
|
-
var common = require('./common');
|
|
6
|
-
var YAMLException = require('./exception');
|
|
7
|
-
var makeSnippet = require('./snippet');
|
|
8
|
-
var DEFAULT_SCHEMA = require('./schema/default');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var CONTEXT_FLOW_IN = 1;
|
|
15
|
-
var CONTEXT_FLOW_OUT = 2;
|
|
16
|
-
var CONTEXT_BLOCK_IN = 3;
|
|
17
|
-
var CONTEXT_BLOCK_OUT = 4;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var CHOMPING_CLIP = 1;
|
|
21
|
-
var CHOMPING_STRIP = 2;
|
|
22
|
-
var CHOMPING_KEEP = 3;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
26
|
-
var PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
|
|
27
|
-
var PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
|
|
28
|
-
var PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
|
|
29
|
-
var PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function _class(obj) { return Object.prototype.toString.call(obj); }
|
|
33
|
-
|
|
34
|
-
function is_EOL(c) {
|
|
35
|
-
return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function is_WHITE_SPACE(c) {
|
|
39
|
-
return (c === 0x09/* Tab */) || (c === 0x20/* Space */);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function is_WS_OR_EOL(c) {
|
|
43
|
-
return (c === 0x09/* Tab */) ||
|
|
44
|
-
(c === 0x20/* Space */) ||
|
|
45
|
-
(c === 0x0A/* LF */) ||
|
|
46
|
-
(c === 0x0D/* CR */);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function is_FLOW_INDICATOR(c) {
|
|
50
|
-
return c === 0x2C/* , */ ||
|
|
51
|
-
c === 0x5B/* [ */ ||
|
|
52
|
-
c === 0x5D/* ] */ ||
|
|
53
|
-
c === 0x7B/* { */ ||
|
|
54
|
-
c === 0x7D/* } */;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function fromHexCode(c) {
|
|
58
|
-
var lc;
|
|
59
|
-
|
|
60
|
-
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
|
61
|
-
return c - 0x30;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/*eslint-disable no-bitwise*/
|
|
65
|
-
lc = c | 0x20;
|
|
66
|
-
|
|
67
|
-
if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {
|
|
68
|
-
return lc - 0x61 + 10;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
return -1;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function escapedHexLen(c) {
|
|
75
|
-
if (c === 0x78/* x */) { return 2; }
|
|
76
|
-
if (c === 0x75/* u */) { return 4; }
|
|
77
|
-
if (c === 0x55/* U */) { return 8; }
|
|
78
|
-
return 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function fromDecimalCode(c) {
|
|
82
|
-
if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {
|
|
83
|
-
return c - 0x30;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return -1;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function simpleEscapeSequence(c) {
|
|
90
|
-
/* eslint-disable indent */
|
|
91
|
-
return (c === 0x30/* 0 */) ? '\x00' :
|
|
92
|
-
(c === 0x61/* a */) ? '\x07' :
|
|
93
|
-
(c === 0x62/* b */) ? '\x08' :
|
|
94
|
-
(c === 0x74/* t */) ? '\x09' :
|
|
95
|
-
(c === 0x09/* Tab */) ? '\x09' :
|
|
96
|
-
(c === 0x6E/* n */) ? '\x0A' :
|
|
97
|
-
(c === 0x76/* v */) ? '\x0B' :
|
|
98
|
-
(c === 0x66/* f */) ? '\x0C' :
|
|
99
|
-
(c === 0x72/* r */) ? '\x0D' :
|
|
100
|
-
(c === 0x65/* e */) ? '\x1B' :
|
|
101
|
-
(c === 0x20/* Space */) ? ' ' :
|
|
102
|
-
(c === 0x22/* " */) ? '\x22' :
|
|
103
|
-
(c === 0x2F/* / */) ? '/' :
|
|
104
|
-
(c === 0x5C/* \ */) ? '\x5C' :
|
|
105
|
-
(c === 0x4E/* N */) ? '\x85' :
|
|
106
|
-
(c === 0x5F/* _ */) ? '\xA0' :
|
|
107
|
-
(c === 0x4C/* L */) ? '\u2028' :
|
|
108
|
-
(c === 0x50/* P */) ? '\u2029' : '';
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
function charFromCodepoint(c) {
|
|
112
|
-
if (c <= 0xFFFF) {
|
|
113
|
-
return String.fromCharCode(c);
|
|
114
|
-
}
|
|
115
|
-
// Encode UTF-16 surrogate pair
|
|
116
|
-
// https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
|
|
117
|
-
return String.fromCharCode(
|
|
118
|
-
((c - 0x010000) >> 10) + 0xD800,
|
|
119
|
-
((c - 0x010000) & 0x03FF) + 0xDC00
|
|
120
|
-
);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// set a property of a literal object, while protecting against prototype pollution,
|
|
124
|
-
// see https://github.com/nodeca/js-yaml/issues/164 for more details
|
|
125
|
-
function setProperty(object, key, value) {
|
|
126
|
-
// used for this specific key only because Object.defineProperty is slow
|
|
127
|
-
if (key === '__proto__') {
|
|
128
|
-
Object.defineProperty(object, key, {
|
|
129
|
-
configurable: true,
|
|
130
|
-
enumerable: true,
|
|
131
|
-
writable: true,
|
|
132
|
-
value: value
|
|
133
|
-
});
|
|
134
|
-
} else {
|
|
135
|
-
object[key] = value;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
var simpleEscapeCheck = new Array(256); // integer, for fast access
|
|
140
|
-
var simpleEscapeMap = new Array(256);
|
|
141
|
-
for (var i = 0; i < 256; i++) {
|
|
142
|
-
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
|
143
|
-
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
function State(input, options) {
|
|
148
|
-
this.input = input;
|
|
149
|
-
|
|
150
|
-
this.filename = options['filename'] || null;
|
|
151
|
-
this.schema = options['schema'] || DEFAULT_SCHEMA;
|
|
152
|
-
this.onWarning = options['onWarning'] || null;
|
|
153
|
-
// (Hidden) Remove? makes the loader to expect YAML 1.1 documents
|
|
154
|
-
// if such documents have no explicit %YAML directive
|
|
155
|
-
this.legacy = options['legacy'] || false;
|
|
156
|
-
|
|
157
|
-
this.json = options['json'] || false;
|
|
158
|
-
this.listener = options['listener'] || null;
|
|
159
|
-
|
|
160
|
-
this.implicitTypes = this.schema.compiledImplicit;
|
|
161
|
-
this.typeMap = this.schema.compiledTypeMap;
|
|
162
|
-
|
|
163
|
-
this.length = input.length;
|
|
164
|
-
this.position = 0;
|
|
165
|
-
this.line = 0;
|
|
166
|
-
this.lineStart = 0;
|
|
167
|
-
this.lineIndent = 0;
|
|
168
|
-
|
|
169
|
-
// position of first leading tab in the current line,
|
|
170
|
-
// used to make sure there are no tabs in the indentation
|
|
171
|
-
this.firstTabInLine = -1;
|
|
172
|
-
|
|
173
|
-
this.documents = [];
|
|
174
|
-
|
|
175
|
-
/*
|
|
176
|
-
this.version;
|
|
177
|
-
this.checkLineBreaks;
|
|
178
|
-
this.tagMap;
|
|
179
|
-
this.anchorMap;
|
|
180
|
-
this.tag;
|
|
181
|
-
this.anchor;
|
|
182
|
-
this.kind;
|
|
183
|
-
this.result;*/
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
function generateError(state, message) {
|
|
189
|
-
var mark = {
|
|
190
|
-
name: state.filename,
|
|
191
|
-
buffer: state.input.slice(0, -1), // omit trailing \0
|
|
192
|
-
position: state.position,
|
|
193
|
-
line: state.line,
|
|
194
|
-
column: state.position - state.lineStart
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
mark.snippet = makeSnippet(mark);
|
|
198
|
-
|
|
199
|
-
return new YAMLException(message, mark);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function throwError(state, message) {
|
|
203
|
-
throw generateError(state, message);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
function throwWarning(state, message) {
|
|
207
|
-
if (state.onWarning) {
|
|
208
|
-
state.onWarning.call(null, generateError(state, message));
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
var directiveHandlers = {
|
|
214
|
-
|
|
215
|
-
YAML: function handleYamlDirective(state, name, args) {
|
|
216
|
-
|
|
217
|
-
var match, major, minor;
|
|
218
|
-
|
|
219
|
-
if (state.version !== null) {
|
|
220
|
-
throwError(state, 'duplication of %YAML directive');
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
if (args.length !== 1) {
|
|
224
|
-
throwError(state, 'YAML directive accepts exactly one argument');
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
|
228
|
-
|
|
229
|
-
if (match === null) {
|
|
230
|
-
throwError(state, 'ill-formed argument of the YAML directive');
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
major = parseInt(match[1], 10);
|
|
234
|
-
minor = parseInt(match[2], 10);
|
|
235
|
-
|
|
236
|
-
if (major !== 1) {
|
|
237
|
-
throwError(state, 'unacceptable YAML version of the document');
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
state.version = args[0];
|
|
241
|
-
state.checkLineBreaks = (minor < 2);
|
|
242
|
-
|
|
243
|
-
if (minor !== 1 && minor !== 2) {
|
|
244
|
-
throwWarning(state, 'unsupported YAML version of the document');
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
|
|
248
|
-
TAG: function handleTagDirective(state, name, args) {
|
|
249
|
-
|
|
250
|
-
var handle, prefix;
|
|
251
|
-
|
|
252
|
-
if (args.length !== 2) {
|
|
253
|
-
throwError(state, 'TAG directive accepts exactly two arguments');
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
handle = args[0];
|
|
257
|
-
prefix = args[1];
|
|
258
|
-
|
|
259
|
-
if (!PATTERN_TAG_HANDLE.test(handle)) {
|
|
260
|
-
throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
if (_hasOwnProperty.call(state.tagMap, handle)) {
|
|
264
|
-
throwError(state, 'there is a previously declared suffix for "' + handle + '" tag handle');
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
if (!PATTERN_TAG_URI.test(prefix)) {
|
|
268
|
-
throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
try {
|
|
272
|
-
prefix = decodeURIComponent(prefix);
|
|
273
|
-
} catch (err) {
|
|
274
|
-
throwError(state, 'tag prefix is malformed: ' + prefix);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
state.tagMap[handle] = prefix;
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
function captureSegment(state, start, end, checkJson) {
|
|
283
|
-
var _position, _length, _character, _result;
|
|
284
|
-
|
|
285
|
-
if (start < end) {
|
|
286
|
-
_result = state.input.slice(start, end);
|
|
287
|
-
|
|
288
|
-
if (checkJson) {
|
|
289
|
-
for (_position = 0, _length = _result.length; _position < _length; _position += 1) {
|
|
290
|
-
_character = _result.charCodeAt(_position);
|
|
291
|
-
if (!(_character === 0x09 ||
|
|
292
|
-
(0x20 <= _character && _character <= 0x10FFFF))) {
|
|
293
|
-
throwError(state, 'expected valid JSON character');
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
} else if (PATTERN_NON_PRINTABLE.test(_result)) {
|
|
297
|
-
throwError(state, 'the stream contains non-printable characters');
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
state.result += _result;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
function mergeMappings(state, destination, source, overridableKeys) {
|
|
305
|
-
var sourceKeys, key, index, quantity;
|
|
306
|
-
|
|
307
|
-
if (!common.isObject(source)) {
|
|
308
|
-
throwError(state, 'cannot merge mappings; the provided source object is unacceptable');
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
sourceKeys = Object.keys(source);
|
|
312
|
-
|
|
313
|
-
for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {
|
|
314
|
-
key = sourceKeys[index];
|
|
315
|
-
|
|
316
|
-
if (!_hasOwnProperty.call(destination, key)) {
|
|
317
|
-
setProperty(destination, key, source[key]);
|
|
318
|
-
overridableKeys[key] = true;
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
function storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,
|
|
324
|
-
startLine, startLineStart, startPos) {
|
|
325
|
-
|
|
326
|
-
var index, quantity;
|
|
327
|
-
|
|
328
|
-
// The output is a plain object here, so keys can only be strings.
|
|
329
|
-
// We need to convert keyNode to a string, but doing so can hang the process
|
|
330
|
-
// (deeply nested arrays that explode exponentially using aliases).
|
|
331
|
-
if (Array.isArray(keyNode)) {
|
|
332
|
-
keyNode = Array.prototype.slice.call(keyNode);
|
|
333
|
-
|
|
334
|
-
for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {
|
|
335
|
-
if (Array.isArray(keyNode[index])) {
|
|
336
|
-
throwError(state, 'nested arrays are not supported inside keys');
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {
|
|
340
|
-
keyNode[index] = '[object Object]';
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// Avoid code execution in load() via toString property
|
|
346
|
-
// (still use its own toString for arrays, timestamps,
|
|
347
|
-
// and whatever user schema extensions happen to have @@toStringTag)
|
|
348
|
-
if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {
|
|
349
|
-
keyNode = '[object Object]';
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
keyNode = String(keyNode);
|
|
354
|
-
|
|
355
|
-
if (_result === null) {
|
|
356
|
-
_result = {};
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
if (keyTag === 'tag:yaml.org,2002:merge') {
|
|
360
|
-
if (Array.isArray(valueNode)) {
|
|
361
|
-
for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {
|
|
362
|
-
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
363
|
-
}
|
|
364
|
-
} else {
|
|
365
|
-
mergeMappings(state, _result, valueNode, overridableKeys);
|
|
366
|
-
}
|
|
367
|
-
} else {
|
|
368
|
-
if (!state.json &&
|
|
369
|
-
!_hasOwnProperty.call(overridableKeys, keyNode) &&
|
|
370
|
-
_hasOwnProperty.call(_result, keyNode)) {
|
|
371
|
-
state.line = startLine || state.line;
|
|
372
|
-
state.lineStart = startLineStart || state.lineStart;
|
|
373
|
-
state.position = startPos || state.position;
|
|
374
|
-
throwError(state, 'duplicated mapping key');
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
setProperty(_result, keyNode, valueNode);
|
|
378
|
-
delete overridableKeys[keyNode];
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
return _result;
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
function readLineBreak(state) {
|
|
385
|
-
var ch;
|
|
386
|
-
|
|
387
|
-
ch = state.input.charCodeAt(state.position);
|
|
388
|
-
|
|
389
|
-
if (ch === 0x0A/* LF */) {
|
|
390
|
-
state.position++;
|
|
391
|
-
} else if (ch === 0x0D/* CR */) {
|
|
392
|
-
state.position++;
|
|
393
|
-
if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {
|
|
394
|
-
state.position++;
|
|
395
|
-
}
|
|
396
|
-
} else {
|
|
397
|
-
throwError(state, 'a line break is expected');
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
state.line += 1;
|
|
401
|
-
state.lineStart = state.position;
|
|
402
|
-
state.firstTabInLine = -1;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
function skipSeparationSpace(state, allowComments, checkIndent) {
|
|
406
|
-
var lineBreaks = 0,
|
|
407
|
-
ch = state.input.charCodeAt(state.position);
|
|
408
|
-
|
|
409
|
-
while (ch !== 0) {
|
|
410
|
-
while (is_WHITE_SPACE(ch)) {
|
|
411
|
-
if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {
|
|
412
|
-
state.firstTabInLine = state.position;
|
|
413
|
-
}
|
|
414
|
-
ch = state.input.charCodeAt(++state.position);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
if (allowComments && ch === 0x23/* # */) {
|
|
418
|
-
do {
|
|
419
|
-
ch = state.input.charCodeAt(++state.position);
|
|
420
|
-
} while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
if (is_EOL(ch)) {
|
|
424
|
-
readLineBreak(state);
|
|
425
|
-
|
|
426
|
-
ch = state.input.charCodeAt(state.position);
|
|
427
|
-
lineBreaks++;
|
|
428
|
-
state.lineIndent = 0;
|
|
429
|
-
|
|
430
|
-
while (ch === 0x20/* Space */) {
|
|
431
|
-
state.lineIndent++;
|
|
432
|
-
ch = state.input.charCodeAt(++state.position);
|
|
433
|
-
}
|
|
434
|
-
} else {
|
|
435
|
-
break;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {
|
|
440
|
-
throwWarning(state, 'deficient indentation');
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
return lineBreaks;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
function testDocumentSeparator(state) {
|
|
447
|
-
var _position = state.position,
|
|
448
|
-
ch;
|
|
449
|
-
|
|
450
|
-
ch = state.input.charCodeAt(_position);
|
|
451
|
-
|
|
452
|
-
// Condition state.position === state.lineStart is tested
|
|
453
|
-
// in parent on each call, for efficiency. No needs to test here again.
|
|
454
|
-
if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&
|
|
455
|
-
ch === state.input.charCodeAt(_position + 1) &&
|
|
456
|
-
ch === state.input.charCodeAt(_position + 2)) {
|
|
457
|
-
|
|
458
|
-
_position += 3;
|
|
459
|
-
|
|
460
|
-
ch = state.input.charCodeAt(_position);
|
|
461
|
-
|
|
462
|
-
if (ch === 0 || is_WS_OR_EOL(ch)) {
|
|
463
|
-
return true;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
return false;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
function writeFoldedLines(state, count) {
|
|
471
|
-
if (count === 1) {
|
|
472
|
-
state.result += ' ';
|
|
473
|
-
} else if (count > 1) {
|
|
474
|
-
state.result += common.repeat('\n', count - 1);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
function readPlainScalar(state, nodeIndent, withinFlowCollection) {
|
|
480
|
-
var preceding,
|
|
481
|
-
following,
|
|
482
|
-
captureStart,
|
|
483
|
-
captureEnd,
|
|
484
|
-
hasPendingContent,
|
|
485
|
-
_line,
|
|
486
|
-
_lineStart,
|
|
487
|
-
_lineIndent,
|
|
488
|
-
_kind = state.kind,
|
|
489
|
-
_result = state.result,
|
|
490
|
-
ch;
|
|
491
|
-
|
|
492
|
-
ch = state.input.charCodeAt(state.position);
|
|
493
|
-
|
|
494
|
-
if (is_WS_OR_EOL(ch) ||
|
|
495
|
-
is_FLOW_INDICATOR(ch) ||
|
|
496
|
-
ch === 0x23/* # */ ||
|
|
497
|
-
ch === 0x26/* & */ ||
|
|
498
|
-
ch === 0x2A/* * */ ||
|
|
499
|
-
ch === 0x21/* ! */ ||
|
|
500
|
-
ch === 0x7C/* | */ ||
|
|
501
|
-
ch === 0x3E/* > */ ||
|
|
502
|
-
ch === 0x27/* ' */ ||
|
|
503
|
-
ch === 0x22/* " */ ||
|
|
504
|
-
ch === 0x25/* % */ ||
|
|
505
|
-
ch === 0x40/* @ */ ||
|
|
506
|
-
ch === 0x60/* ` */) {
|
|
507
|
-
return false;
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {
|
|
511
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
512
|
-
|
|
513
|
-
if (is_WS_OR_EOL(following) ||
|
|
514
|
-
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
|
515
|
-
return false;
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
state.kind = 'scalar';
|
|
520
|
-
state.result = '';
|
|
521
|
-
captureStart = captureEnd = state.position;
|
|
522
|
-
hasPendingContent = false;
|
|
523
|
-
|
|
524
|
-
while (ch !== 0) {
|
|
525
|
-
if (ch === 0x3A/* : */) {
|
|
526
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
527
|
-
|
|
528
|
-
if (is_WS_OR_EOL(following) ||
|
|
529
|
-
withinFlowCollection && is_FLOW_INDICATOR(following)) {
|
|
530
|
-
break;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
} else if (ch === 0x23/* # */) {
|
|
534
|
-
preceding = state.input.charCodeAt(state.position - 1);
|
|
535
|
-
|
|
536
|
-
if (is_WS_OR_EOL(preceding)) {
|
|
537
|
-
break;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
} else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||
|
|
541
|
-
withinFlowCollection && is_FLOW_INDICATOR(ch)) {
|
|
542
|
-
break;
|
|
543
|
-
|
|
544
|
-
} else if (is_EOL(ch)) {
|
|
545
|
-
_line = state.line;
|
|
546
|
-
_lineStart = state.lineStart;
|
|
547
|
-
_lineIndent = state.lineIndent;
|
|
548
|
-
skipSeparationSpace(state, false, -1);
|
|
549
|
-
|
|
550
|
-
if (state.lineIndent >= nodeIndent) {
|
|
551
|
-
hasPendingContent = true;
|
|
552
|
-
ch = state.input.charCodeAt(state.position);
|
|
553
|
-
continue;
|
|
554
|
-
} else {
|
|
555
|
-
state.position = captureEnd;
|
|
556
|
-
state.line = _line;
|
|
557
|
-
state.lineStart = _lineStart;
|
|
558
|
-
state.lineIndent = _lineIndent;
|
|
559
|
-
break;
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
if (hasPendingContent) {
|
|
564
|
-
captureSegment(state, captureStart, captureEnd, false);
|
|
565
|
-
writeFoldedLines(state, state.line - _line);
|
|
566
|
-
captureStart = captureEnd = state.position;
|
|
567
|
-
hasPendingContent = false;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
if (!is_WHITE_SPACE(ch)) {
|
|
571
|
-
captureEnd = state.position + 1;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
ch = state.input.charCodeAt(++state.position);
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
captureSegment(state, captureStart, captureEnd, false);
|
|
578
|
-
|
|
579
|
-
if (state.result) {
|
|
580
|
-
return true;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
state.kind = _kind;
|
|
584
|
-
state.result = _result;
|
|
585
|
-
return false;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
function readSingleQuotedScalar(state, nodeIndent) {
|
|
589
|
-
var ch,
|
|
590
|
-
captureStart, captureEnd;
|
|
591
|
-
|
|
592
|
-
ch = state.input.charCodeAt(state.position);
|
|
593
|
-
|
|
594
|
-
if (ch !== 0x27/* ' */) {
|
|
595
|
-
return false;
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
state.kind = 'scalar';
|
|
599
|
-
state.result = '';
|
|
600
|
-
state.position++;
|
|
601
|
-
captureStart = captureEnd = state.position;
|
|
602
|
-
|
|
603
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
604
|
-
if (ch === 0x27/* ' */) {
|
|
605
|
-
captureSegment(state, captureStart, state.position, true);
|
|
606
|
-
ch = state.input.charCodeAt(++state.position);
|
|
607
|
-
|
|
608
|
-
if (ch === 0x27/* ' */) {
|
|
609
|
-
captureStart = state.position;
|
|
610
|
-
state.position++;
|
|
611
|
-
captureEnd = state.position;
|
|
612
|
-
} else {
|
|
613
|
-
return true;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
} else if (is_EOL(ch)) {
|
|
617
|
-
captureSegment(state, captureStart, captureEnd, true);
|
|
618
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
619
|
-
captureStart = captureEnd = state.position;
|
|
620
|
-
|
|
621
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
622
|
-
throwError(state, 'unexpected end of the document within a single quoted scalar');
|
|
623
|
-
|
|
624
|
-
} else {
|
|
625
|
-
state.position++;
|
|
626
|
-
captureEnd = state.position;
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
throwError(state, 'unexpected end of the stream within a single quoted scalar');
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
function readDoubleQuotedScalar(state, nodeIndent) {
|
|
634
|
-
var captureStart,
|
|
635
|
-
captureEnd,
|
|
636
|
-
hexLength,
|
|
637
|
-
hexResult,
|
|
638
|
-
tmp,
|
|
639
|
-
ch;
|
|
640
|
-
|
|
641
|
-
ch = state.input.charCodeAt(state.position);
|
|
642
|
-
|
|
643
|
-
if (ch !== 0x22/* " */) {
|
|
644
|
-
return false;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
state.kind = 'scalar';
|
|
648
|
-
state.result = '';
|
|
649
|
-
state.position++;
|
|
650
|
-
captureStart = captureEnd = state.position;
|
|
651
|
-
|
|
652
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
653
|
-
if (ch === 0x22/* " */) {
|
|
654
|
-
captureSegment(state, captureStart, state.position, true);
|
|
655
|
-
state.position++;
|
|
656
|
-
return true;
|
|
657
|
-
|
|
658
|
-
} else if (ch === 0x5C/* \ */) {
|
|
659
|
-
captureSegment(state, captureStart, state.position, true);
|
|
660
|
-
ch = state.input.charCodeAt(++state.position);
|
|
661
|
-
|
|
662
|
-
if (is_EOL(ch)) {
|
|
663
|
-
skipSeparationSpace(state, false, nodeIndent);
|
|
664
|
-
|
|
665
|
-
// TODO: rework to inline fn with no type cast?
|
|
666
|
-
} else if (ch < 256 && simpleEscapeCheck[ch]) {
|
|
667
|
-
state.result += simpleEscapeMap[ch];
|
|
668
|
-
state.position++;
|
|
669
|
-
|
|
670
|
-
} else if ((tmp = escapedHexLen(ch)) > 0) {
|
|
671
|
-
hexLength = tmp;
|
|
672
|
-
hexResult = 0;
|
|
673
|
-
|
|
674
|
-
for (; hexLength > 0; hexLength--) {
|
|
675
|
-
ch = state.input.charCodeAt(++state.position);
|
|
676
|
-
|
|
677
|
-
if ((tmp = fromHexCode(ch)) >= 0) {
|
|
678
|
-
hexResult = (hexResult << 4) + tmp;
|
|
679
|
-
|
|
680
|
-
} else {
|
|
681
|
-
throwError(state, 'expected hexadecimal character');
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
state.result += charFromCodepoint(hexResult);
|
|
686
|
-
|
|
687
|
-
state.position++;
|
|
688
|
-
|
|
689
|
-
} else {
|
|
690
|
-
throwError(state, 'unknown escape sequence');
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
captureStart = captureEnd = state.position;
|
|
694
|
-
|
|
695
|
-
} else if (is_EOL(ch)) {
|
|
696
|
-
captureSegment(state, captureStart, captureEnd, true);
|
|
697
|
-
writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));
|
|
698
|
-
captureStart = captureEnd = state.position;
|
|
699
|
-
|
|
700
|
-
} else if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
701
|
-
throwError(state, 'unexpected end of the document within a double quoted scalar');
|
|
702
|
-
|
|
703
|
-
} else {
|
|
704
|
-
state.position++;
|
|
705
|
-
captureEnd = state.position;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
throwError(state, 'unexpected end of the stream within a double quoted scalar');
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
function readFlowCollection(state, nodeIndent) {
|
|
713
|
-
var readNext = true,
|
|
714
|
-
_line,
|
|
715
|
-
_lineStart,
|
|
716
|
-
_pos,
|
|
717
|
-
_tag = state.tag,
|
|
718
|
-
_result,
|
|
719
|
-
_anchor = state.anchor,
|
|
720
|
-
following,
|
|
721
|
-
terminator,
|
|
722
|
-
isPair,
|
|
723
|
-
isExplicitPair,
|
|
724
|
-
isMapping,
|
|
725
|
-
overridableKeys = Object.create(null),
|
|
726
|
-
keyNode,
|
|
727
|
-
keyTag,
|
|
728
|
-
valueNode,
|
|
729
|
-
ch;
|
|
730
|
-
|
|
731
|
-
ch = state.input.charCodeAt(state.position);
|
|
732
|
-
|
|
733
|
-
if (ch === 0x5B/* [ */) {
|
|
734
|
-
terminator = 0x5D;/* ] */
|
|
735
|
-
isMapping = false;
|
|
736
|
-
_result = [];
|
|
737
|
-
} else if (ch === 0x7B/* { */) {
|
|
738
|
-
terminator = 0x7D;/* } */
|
|
739
|
-
isMapping = true;
|
|
740
|
-
_result = {};
|
|
741
|
-
} else {
|
|
742
|
-
return false;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
if (state.anchor !== null) {
|
|
746
|
-
state.anchorMap[state.anchor] = _result;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
ch = state.input.charCodeAt(++state.position);
|
|
750
|
-
|
|
751
|
-
while (ch !== 0) {
|
|
752
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
753
|
-
|
|
754
|
-
ch = state.input.charCodeAt(state.position);
|
|
755
|
-
|
|
756
|
-
if (ch === terminator) {
|
|
757
|
-
state.position++;
|
|
758
|
-
state.tag = _tag;
|
|
759
|
-
state.anchor = _anchor;
|
|
760
|
-
state.kind = isMapping ? 'mapping' : 'sequence';
|
|
761
|
-
state.result = _result;
|
|
762
|
-
return true;
|
|
763
|
-
} else if (!readNext) {
|
|
764
|
-
throwError(state, 'missed comma between flow collection entries');
|
|
765
|
-
} else if (ch === 0x2C/* , */) {
|
|
766
|
-
// "flow collection entries can never be completely empty", as per YAML 1.2, section 7.4
|
|
767
|
-
throwError(state, "expected the node content, but found ','");
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
keyTag = keyNode = valueNode = null;
|
|
771
|
-
isPair = isExplicitPair = false;
|
|
772
|
-
|
|
773
|
-
if (ch === 0x3F/* ? */) {
|
|
774
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
775
|
-
|
|
776
|
-
if (is_WS_OR_EOL(following)) {
|
|
777
|
-
isPair = isExplicitPair = true;
|
|
778
|
-
state.position++;
|
|
779
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
_line = state.line; // Save the current line.
|
|
784
|
-
_lineStart = state.lineStart;
|
|
785
|
-
_pos = state.position;
|
|
786
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
787
|
-
keyTag = state.tag;
|
|
788
|
-
keyNode = state.result;
|
|
789
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
790
|
-
|
|
791
|
-
ch = state.input.charCodeAt(state.position);
|
|
792
|
-
|
|
793
|
-
if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {
|
|
794
|
-
isPair = true;
|
|
795
|
-
ch = state.input.charCodeAt(++state.position);
|
|
796
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
797
|
-
composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
798
|
-
valueNode = state.result;
|
|
799
|
-
}
|
|
800
|
-
|
|
801
|
-
if (isMapping) {
|
|
802
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);
|
|
803
|
-
} else if (isPair) {
|
|
804
|
-
_result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));
|
|
805
|
-
} else {
|
|
806
|
-
_result.push(keyNode);
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
skipSeparationSpace(state, true, nodeIndent);
|
|
810
|
-
|
|
811
|
-
ch = state.input.charCodeAt(state.position);
|
|
812
|
-
|
|
813
|
-
if (ch === 0x2C/* , */) {
|
|
814
|
-
readNext = true;
|
|
815
|
-
ch = state.input.charCodeAt(++state.position);
|
|
816
|
-
} else {
|
|
817
|
-
readNext = false;
|
|
818
|
-
}
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
throwError(state, 'unexpected end of the stream within a flow collection');
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
function readBlockScalar(state, nodeIndent) {
|
|
825
|
-
var captureStart,
|
|
826
|
-
folding,
|
|
827
|
-
chomping = CHOMPING_CLIP,
|
|
828
|
-
didReadContent = false,
|
|
829
|
-
detectedIndent = false,
|
|
830
|
-
textIndent = nodeIndent,
|
|
831
|
-
emptyLines = 0,
|
|
832
|
-
atMoreIndented = false,
|
|
833
|
-
tmp,
|
|
834
|
-
ch;
|
|
835
|
-
|
|
836
|
-
ch = state.input.charCodeAt(state.position);
|
|
837
|
-
|
|
838
|
-
if (ch === 0x7C/* | */) {
|
|
839
|
-
folding = false;
|
|
840
|
-
} else if (ch === 0x3E/* > */) {
|
|
841
|
-
folding = true;
|
|
842
|
-
} else {
|
|
843
|
-
return false;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
state.kind = 'scalar';
|
|
847
|
-
state.result = '';
|
|
848
|
-
|
|
849
|
-
while (ch !== 0) {
|
|
850
|
-
ch = state.input.charCodeAt(++state.position);
|
|
851
|
-
|
|
852
|
-
if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {
|
|
853
|
-
if (CHOMPING_CLIP === chomping) {
|
|
854
|
-
chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;
|
|
855
|
-
} else {
|
|
856
|
-
throwError(state, 'repeat of a chomping mode identifier');
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
} else if ((tmp = fromDecimalCode(ch)) >= 0) {
|
|
860
|
-
if (tmp === 0) {
|
|
861
|
-
throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');
|
|
862
|
-
} else if (!detectedIndent) {
|
|
863
|
-
textIndent = nodeIndent + tmp - 1;
|
|
864
|
-
detectedIndent = true;
|
|
865
|
-
} else {
|
|
866
|
-
throwError(state, 'repeat of an indentation width identifier');
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
} else {
|
|
870
|
-
break;
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
if (is_WHITE_SPACE(ch)) {
|
|
875
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
|
876
|
-
while (is_WHITE_SPACE(ch));
|
|
877
|
-
|
|
878
|
-
if (ch === 0x23/* # */) {
|
|
879
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
|
880
|
-
while (!is_EOL(ch) && (ch !== 0));
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
while (ch !== 0) {
|
|
885
|
-
readLineBreak(state);
|
|
886
|
-
state.lineIndent = 0;
|
|
887
|
-
|
|
888
|
-
ch = state.input.charCodeAt(state.position);
|
|
889
|
-
|
|
890
|
-
while ((!detectedIndent || state.lineIndent < textIndent) &&
|
|
891
|
-
(ch === 0x20/* Space */)) {
|
|
892
|
-
state.lineIndent++;
|
|
893
|
-
ch = state.input.charCodeAt(++state.position);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
if (!detectedIndent && state.lineIndent > textIndent) {
|
|
897
|
-
textIndent = state.lineIndent;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
if (is_EOL(ch)) {
|
|
901
|
-
emptyLines++;
|
|
902
|
-
continue;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
// End of the scalar.
|
|
906
|
-
if (state.lineIndent < textIndent) {
|
|
907
|
-
|
|
908
|
-
// Perform the chomping.
|
|
909
|
-
if (chomping === CHOMPING_KEEP) {
|
|
910
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
911
|
-
} else if (chomping === CHOMPING_CLIP) {
|
|
912
|
-
if (didReadContent) { // i.e. only if the scalar is not empty.
|
|
913
|
-
state.result += '\n';
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
// Break this `while` cycle and go to the funciton's epilogue.
|
|
918
|
-
break;
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
// Folded style: use fancy rules to handle line breaks.
|
|
922
|
-
if (folding) {
|
|
923
|
-
|
|
924
|
-
// Lines starting with white space characters (more-indented lines) are not folded.
|
|
925
|
-
if (is_WHITE_SPACE(ch)) {
|
|
926
|
-
atMoreIndented = true;
|
|
927
|
-
// except for the first content line (cf. Example 8.1)
|
|
928
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
929
|
-
|
|
930
|
-
// End of more-indented block.
|
|
931
|
-
} else if (atMoreIndented) {
|
|
932
|
-
atMoreIndented = false;
|
|
933
|
-
state.result += common.repeat('\n', emptyLines + 1);
|
|
934
|
-
|
|
935
|
-
// Just one line break - perceive as the same line.
|
|
936
|
-
} else if (emptyLines === 0) {
|
|
937
|
-
if (didReadContent) { // i.e. only if we have already read some scalar content.
|
|
938
|
-
state.result += ' ';
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
// Several line breaks - perceive as different lines.
|
|
942
|
-
} else {
|
|
943
|
-
state.result += common.repeat('\n', emptyLines);
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
// Literal style: just add exact number of line breaks between content lines.
|
|
947
|
-
} else {
|
|
948
|
-
// Keep all line breaks except the header line break.
|
|
949
|
-
state.result += common.repeat('\n', didReadContent ? 1 + emptyLines : emptyLines);
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
didReadContent = true;
|
|
953
|
-
detectedIndent = true;
|
|
954
|
-
emptyLines = 0;
|
|
955
|
-
captureStart = state.position;
|
|
956
|
-
|
|
957
|
-
while (!is_EOL(ch) && (ch !== 0)) {
|
|
958
|
-
ch = state.input.charCodeAt(++state.position);
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
captureSegment(state, captureStart, state.position, false);
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
return true;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
function readBlockSequence(state, nodeIndent) {
|
|
968
|
-
var _line,
|
|
969
|
-
_tag = state.tag,
|
|
970
|
-
_anchor = state.anchor,
|
|
971
|
-
_result = [],
|
|
972
|
-
following,
|
|
973
|
-
detected = false,
|
|
974
|
-
ch;
|
|
975
|
-
|
|
976
|
-
// there is a leading tab before this token, so it can't be a block sequence/mapping;
|
|
977
|
-
// it can still be flow sequence/mapping or a scalar
|
|
978
|
-
if (state.firstTabInLine !== -1) return false;
|
|
979
|
-
|
|
980
|
-
if (state.anchor !== null) {
|
|
981
|
-
state.anchorMap[state.anchor] = _result;
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
ch = state.input.charCodeAt(state.position);
|
|
985
|
-
|
|
986
|
-
while (ch !== 0) {
|
|
987
|
-
if (state.firstTabInLine !== -1) {
|
|
988
|
-
state.position = state.firstTabInLine;
|
|
989
|
-
throwError(state, 'tab characters must not be used in indentation');
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
if (ch !== 0x2D/* - */) {
|
|
993
|
-
break;
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
997
|
-
|
|
998
|
-
if (!is_WS_OR_EOL(following)) {
|
|
999
|
-
break;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
detected = true;
|
|
1003
|
-
state.position++;
|
|
1004
|
-
|
|
1005
|
-
if (skipSeparationSpace(state, true, -1)) {
|
|
1006
|
-
if (state.lineIndent <= nodeIndent) {
|
|
1007
|
-
_result.push(null);
|
|
1008
|
-
ch = state.input.charCodeAt(state.position);
|
|
1009
|
-
continue;
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
_line = state.line;
|
|
1014
|
-
composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
|
1015
|
-
_result.push(state.result);
|
|
1016
|
-
skipSeparationSpace(state, true, -1);
|
|
1017
|
-
|
|
1018
|
-
ch = state.input.charCodeAt(state.position);
|
|
1019
|
-
|
|
1020
|
-
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
|
1021
|
-
throwError(state, 'bad indentation of a sequence entry');
|
|
1022
|
-
} else if (state.lineIndent < nodeIndent) {
|
|
1023
|
-
break;
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
if (detected) {
|
|
1028
|
-
state.tag = _tag;
|
|
1029
|
-
state.anchor = _anchor;
|
|
1030
|
-
state.kind = 'sequence';
|
|
1031
|
-
state.result = _result;
|
|
1032
|
-
return true;
|
|
1033
|
-
}
|
|
1034
|
-
return false;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
function readBlockMapping(state, nodeIndent, flowIndent) {
|
|
1038
|
-
var following,
|
|
1039
|
-
allowCompact,
|
|
1040
|
-
_line,
|
|
1041
|
-
_keyLine,
|
|
1042
|
-
_keyLineStart,
|
|
1043
|
-
_keyPos,
|
|
1044
|
-
_tag = state.tag,
|
|
1045
|
-
_anchor = state.anchor,
|
|
1046
|
-
_result = {},
|
|
1047
|
-
overridableKeys = Object.create(null),
|
|
1048
|
-
keyTag = null,
|
|
1049
|
-
keyNode = null,
|
|
1050
|
-
valueNode = null,
|
|
1051
|
-
atExplicitKey = false,
|
|
1052
|
-
detected = false,
|
|
1053
|
-
ch;
|
|
1054
|
-
|
|
1055
|
-
// there is a leading tab before this token, so it can't be a block sequence/mapping;
|
|
1056
|
-
// it can still be flow sequence/mapping or a scalar
|
|
1057
|
-
if (state.firstTabInLine !== -1) return false;
|
|
1058
|
-
|
|
1059
|
-
if (state.anchor !== null) {
|
|
1060
|
-
state.anchorMap[state.anchor] = _result;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
ch = state.input.charCodeAt(state.position);
|
|
1064
|
-
|
|
1065
|
-
while (ch !== 0) {
|
|
1066
|
-
if (!atExplicitKey && state.firstTabInLine !== -1) {
|
|
1067
|
-
state.position = state.firstTabInLine;
|
|
1068
|
-
throwError(state, 'tab characters must not be used in indentation');
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
following = state.input.charCodeAt(state.position + 1);
|
|
1072
|
-
_line = state.line; // Save the current line.
|
|
1073
|
-
|
|
1074
|
-
//
|
|
1075
|
-
// Explicit notation case. There are two separate blocks:
|
|
1076
|
-
// first for the key (denoted by "?") and second for the value (denoted by ":")
|
|
1077
|
-
//
|
|
1078
|
-
if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {
|
|
1079
|
-
|
|
1080
|
-
if (ch === 0x3F/* ? */) {
|
|
1081
|
-
if (atExplicitKey) {
|
|
1082
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
|
1083
|
-
keyTag = keyNode = valueNode = null;
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
detected = true;
|
|
1087
|
-
atExplicitKey = true;
|
|
1088
|
-
allowCompact = true;
|
|
1089
|
-
|
|
1090
|
-
} else if (atExplicitKey) {
|
|
1091
|
-
// i.e. 0x3A/* : */ === character after the explicit key.
|
|
1092
|
-
atExplicitKey = false;
|
|
1093
|
-
allowCompact = true;
|
|
1094
|
-
|
|
1095
|
-
} else {
|
|
1096
|
-
throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
state.position += 1;
|
|
1100
|
-
ch = following;
|
|
1101
|
-
|
|
1102
|
-
//
|
|
1103
|
-
// Implicit notation case. Flow-style node as the key first, then ":", and the value.
|
|
1104
|
-
//
|
|
1105
|
-
} else {
|
|
1106
|
-
_keyLine = state.line;
|
|
1107
|
-
_keyLineStart = state.lineStart;
|
|
1108
|
-
_keyPos = state.position;
|
|
1109
|
-
|
|
1110
|
-
if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {
|
|
1111
|
-
// Neither implicit nor explicit notation.
|
|
1112
|
-
// Reading is done. Go to the epilogue.
|
|
1113
|
-
break;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
if (state.line === _line) {
|
|
1117
|
-
ch = state.input.charCodeAt(state.position);
|
|
1118
|
-
|
|
1119
|
-
while (is_WHITE_SPACE(ch)) {
|
|
1120
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
if (ch === 0x3A/* : */) {
|
|
1124
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1125
|
-
|
|
1126
|
-
if (!is_WS_OR_EOL(ch)) {
|
|
1127
|
-
throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
if (atExplicitKey) {
|
|
1131
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
|
1132
|
-
keyTag = keyNode = valueNode = null;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
detected = true;
|
|
1136
|
-
atExplicitKey = false;
|
|
1137
|
-
allowCompact = false;
|
|
1138
|
-
keyTag = state.tag;
|
|
1139
|
-
keyNode = state.result;
|
|
1140
|
-
|
|
1141
|
-
} else if (detected) {
|
|
1142
|
-
throwError(state, 'can not read an implicit mapping pair; a colon is missed');
|
|
1143
|
-
|
|
1144
|
-
} else {
|
|
1145
|
-
state.tag = _tag;
|
|
1146
|
-
state.anchor = _anchor;
|
|
1147
|
-
return true; // Keep the result of `composeNode`.
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
} else if (detected) {
|
|
1151
|
-
throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');
|
|
1152
|
-
|
|
1153
|
-
} else {
|
|
1154
|
-
state.tag = _tag;
|
|
1155
|
-
state.anchor = _anchor;
|
|
1156
|
-
return true; // Keep the result of `composeNode`.
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
//
|
|
1161
|
-
// Common reading code for both explicit and implicit notations.
|
|
1162
|
-
//
|
|
1163
|
-
if (state.line === _line || state.lineIndent > nodeIndent) {
|
|
1164
|
-
if (atExplicitKey) {
|
|
1165
|
-
_keyLine = state.line;
|
|
1166
|
-
_keyLineStart = state.lineStart;
|
|
1167
|
-
_keyPos = state.position;
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
|
|
1171
|
-
if (atExplicitKey) {
|
|
1172
|
-
keyNode = state.result;
|
|
1173
|
-
} else {
|
|
1174
|
-
valueNode = state.result;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
if (!atExplicitKey) {
|
|
1179
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);
|
|
1180
|
-
keyTag = keyNode = valueNode = null;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
skipSeparationSpace(state, true, -1);
|
|
1184
|
-
ch = state.input.charCodeAt(state.position);
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {
|
|
1188
|
-
throwError(state, 'bad indentation of a mapping entry');
|
|
1189
|
-
} else if (state.lineIndent < nodeIndent) {
|
|
1190
|
-
break;
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
//
|
|
1195
|
-
// Epilogue.
|
|
1196
|
-
//
|
|
1197
|
-
|
|
1198
|
-
// Special case: last mapping's node contains only the key in explicit notation.
|
|
1199
|
-
if (atExplicitKey) {
|
|
1200
|
-
storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
// Expose the resulting mapping.
|
|
1204
|
-
if (detected) {
|
|
1205
|
-
state.tag = _tag;
|
|
1206
|
-
state.anchor = _anchor;
|
|
1207
|
-
state.kind = 'mapping';
|
|
1208
|
-
state.result = _result;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
return detected;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
function readTagProperty(state) {
|
|
1215
|
-
var _position,
|
|
1216
|
-
isVerbatim = false,
|
|
1217
|
-
isNamed = false,
|
|
1218
|
-
tagHandle,
|
|
1219
|
-
tagName,
|
|
1220
|
-
ch;
|
|
1221
|
-
|
|
1222
|
-
ch = state.input.charCodeAt(state.position);
|
|
1223
|
-
|
|
1224
|
-
if (ch !== 0x21/* ! */) return false;
|
|
1225
|
-
|
|
1226
|
-
if (state.tag !== null) {
|
|
1227
|
-
throwError(state, 'duplication of a tag property');
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1231
|
-
|
|
1232
|
-
if (ch === 0x3C/* < */) {
|
|
1233
|
-
isVerbatim = true;
|
|
1234
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1235
|
-
|
|
1236
|
-
} else if (ch === 0x21/* ! */) {
|
|
1237
|
-
isNamed = true;
|
|
1238
|
-
tagHandle = '!!';
|
|
1239
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1240
|
-
|
|
1241
|
-
} else {
|
|
1242
|
-
tagHandle = '!';
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
_position = state.position;
|
|
1246
|
-
|
|
1247
|
-
if (isVerbatim) {
|
|
1248
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
|
1249
|
-
while (ch !== 0 && ch !== 0x3E/* > */);
|
|
1250
|
-
|
|
1251
|
-
if (state.position < state.length) {
|
|
1252
|
-
tagName = state.input.slice(_position, state.position);
|
|
1253
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1254
|
-
} else {
|
|
1255
|
-
throwError(state, 'unexpected end of the stream within a verbatim tag');
|
|
1256
|
-
}
|
|
1257
|
-
} else {
|
|
1258
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
1259
|
-
|
|
1260
|
-
if (ch === 0x21/* ! */) {
|
|
1261
|
-
if (!isNamed) {
|
|
1262
|
-
tagHandle = state.input.slice(_position - 1, state.position + 1);
|
|
1263
|
-
|
|
1264
|
-
if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
|
|
1265
|
-
throwError(state, 'named tag handle cannot contain such characters');
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
isNamed = true;
|
|
1269
|
-
_position = state.position + 1;
|
|
1270
|
-
} else {
|
|
1271
|
-
throwError(state, 'tag suffix cannot contain exclamation marks');
|
|
1272
|
-
}
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
tagName = state.input.slice(_position, state.position);
|
|
1279
|
-
|
|
1280
|
-
if (PATTERN_FLOW_INDICATORS.test(tagName)) {
|
|
1281
|
-
throwError(state, 'tag suffix cannot contain flow indicator characters');
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
if (tagName && !PATTERN_TAG_URI.test(tagName)) {
|
|
1286
|
-
throwError(state, 'tag name cannot contain such characters: ' + tagName);
|
|
1287
|
-
}
|
|
1288
|
-
|
|
1289
|
-
try {
|
|
1290
|
-
tagName = decodeURIComponent(tagName);
|
|
1291
|
-
} catch (err) {
|
|
1292
|
-
throwError(state, 'tag name is malformed: ' + tagName);
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
if (isVerbatim) {
|
|
1296
|
-
state.tag = tagName;
|
|
1297
|
-
|
|
1298
|
-
} else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {
|
|
1299
|
-
state.tag = state.tagMap[tagHandle] + tagName;
|
|
1300
|
-
|
|
1301
|
-
} else if (tagHandle === '!') {
|
|
1302
|
-
state.tag = '!' + tagName;
|
|
1303
|
-
|
|
1304
|
-
} else if (tagHandle === '!!') {
|
|
1305
|
-
state.tag = 'tag:yaml.org,2002:' + tagName;
|
|
1306
|
-
|
|
1307
|
-
} else {
|
|
1308
|
-
throwError(state, 'undeclared tag handle "' + tagHandle + '"');
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
return true;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
|
-
function readAnchorProperty(state) {
|
|
1315
|
-
var _position,
|
|
1316
|
-
ch;
|
|
1317
|
-
|
|
1318
|
-
ch = state.input.charCodeAt(state.position);
|
|
1319
|
-
|
|
1320
|
-
if (ch !== 0x26/* & */) return false;
|
|
1321
|
-
|
|
1322
|
-
if (state.anchor !== null) {
|
|
1323
|
-
throwError(state, 'duplication of an anchor property');
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1327
|
-
_position = state.position;
|
|
1328
|
-
|
|
1329
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
|
1330
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
if (state.position === _position) {
|
|
1334
|
-
throwError(state, 'name of an anchor node must contain at least one character');
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
state.anchor = state.input.slice(_position, state.position);
|
|
1338
|
-
return true;
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
function readAlias(state) {
|
|
1342
|
-
var _position, alias,
|
|
1343
|
-
ch;
|
|
1344
|
-
|
|
1345
|
-
ch = state.input.charCodeAt(state.position);
|
|
1346
|
-
|
|
1347
|
-
if (ch !== 0x2A/* * */) return false;
|
|
1348
|
-
|
|
1349
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1350
|
-
_position = state.position;
|
|
1351
|
-
|
|
1352
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {
|
|
1353
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
if (state.position === _position) {
|
|
1357
|
-
throwError(state, 'name of an alias node must contain at least one character');
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
alias = state.input.slice(_position, state.position);
|
|
1361
|
-
|
|
1362
|
-
if (!_hasOwnProperty.call(state.anchorMap, alias)) {
|
|
1363
|
-
throwError(state, 'unidentified alias "' + alias + '"');
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
state.result = state.anchorMap[alias];
|
|
1367
|
-
skipSeparationSpace(state, true, -1);
|
|
1368
|
-
return true;
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
|
-
function composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {
|
|
1372
|
-
var allowBlockStyles,
|
|
1373
|
-
allowBlockScalars,
|
|
1374
|
-
allowBlockCollections,
|
|
1375
|
-
indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this<parent
|
|
1376
|
-
atNewLine = false,
|
|
1377
|
-
hasContent = false,
|
|
1378
|
-
typeIndex,
|
|
1379
|
-
typeQuantity,
|
|
1380
|
-
typeList,
|
|
1381
|
-
type,
|
|
1382
|
-
flowIndent,
|
|
1383
|
-
blockIndent;
|
|
1384
|
-
|
|
1385
|
-
if (state.listener !== null) {
|
|
1386
|
-
state.listener('open', state);
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
state.tag = null;
|
|
1390
|
-
state.anchor = null;
|
|
1391
|
-
state.kind = null;
|
|
1392
|
-
state.result = null;
|
|
1393
|
-
|
|
1394
|
-
allowBlockStyles = allowBlockScalars = allowBlockCollections =
|
|
1395
|
-
CONTEXT_BLOCK_OUT === nodeContext ||
|
|
1396
|
-
CONTEXT_BLOCK_IN === nodeContext;
|
|
1397
|
-
|
|
1398
|
-
if (allowToSeek) {
|
|
1399
|
-
if (skipSeparationSpace(state, true, -1)) {
|
|
1400
|
-
atNewLine = true;
|
|
1401
|
-
|
|
1402
|
-
if (state.lineIndent > parentIndent) {
|
|
1403
|
-
indentStatus = 1;
|
|
1404
|
-
} else if (state.lineIndent === parentIndent) {
|
|
1405
|
-
indentStatus = 0;
|
|
1406
|
-
} else if (state.lineIndent < parentIndent) {
|
|
1407
|
-
indentStatus = -1;
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
if (indentStatus === 1) {
|
|
1413
|
-
while (readTagProperty(state) || readAnchorProperty(state)) {
|
|
1414
|
-
if (skipSeparationSpace(state, true, -1)) {
|
|
1415
|
-
atNewLine = true;
|
|
1416
|
-
allowBlockCollections = allowBlockStyles;
|
|
1417
|
-
|
|
1418
|
-
if (state.lineIndent > parentIndent) {
|
|
1419
|
-
indentStatus = 1;
|
|
1420
|
-
} else if (state.lineIndent === parentIndent) {
|
|
1421
|
-
indentStatus = 0;
|
|
1422
|
-
} else if (state.lineIndent < parentIndent) {
|
|
1423
|
-
indentStatus = -1;
|
|
1424
|
-
}
|
|
1425
|
-
} else {
|
|
1426
|
-
allowBlockCollections = false;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
|
|
1431
|
-
if (allowBlockCollections) {
|
|
1432
|
-
allowBlockCollections = atNewLine || allowCompact;
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
|
|
1436
|
-
if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {
|
|
1437
|
-
flowIndent = parentIndent;
|
|
1438
|
-
} else {
|
|
1439
|
-
flowIndent = parentIndent + 1;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
blockIndent = state.position - state.lineStart;
|
|
1443
|
-
|
|
1444
|
-
if (indentStatus === 1) {
|
|
1445
|
-
if (allowBlockCollections &&
|
|
1446
|
-
(readBlockSequence(state, blockIndent) ||
|
|
1447
|
-
readBlockMapping(state, blockIndent, flowIndent)) ||
|
|
1448
|
-
readFlowCollection(state, flowIndent)) {
|
|
1449
|
-
hasContent = true;
|
|
1450
|
-
} else {
|
|
1451
|
-
if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||
|
|
1452
|
-
readSingleQuotedScalar(state, flowIndent) ||
|
|
1453
|
-
readDoubleQuotedScalar(state, flowIndent)) {
|
|
1454
|
-
hasContent = true;
|
|
1455
|
-
|
|
1456
|
-
} else if (readAlias(state)) {
|
|
1457
|
-
hasContent = true;
|
|
1458
|
-
|
|
1459
|
-
if (state.tag !== null || state.anchor !== null) {
|
|
1460
|
-
throwError(state, 'alias node should not have any properties');
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
} else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
|
|
1464
|
-
hasContent = true;
|
|
1465
|
-
|
|
1466
|
-
if (state.tag === null) {
|
|
1467
|
-
state.tag = '?';
|
|
1468
|
-
}
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
if (state.anchor !== null) {
|
|
1472
|
-
state.anchorMap[state.anchor] = state.result;
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
} else if (indentStatus === 0) {
|
|
1476
|
-
// Special case: block sequences are allowed to have same indentation level as the parent.
|
|
1477
|
-
// http://www.yaml.org/spec/1.2/spec.html#id2799784
|
|
1478
|
-
hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1482
|
-
if (state.tag === null) {
|
|
1483
|
-
if (state.anchor !== null) {
|
|
1484
|
-
state.anchorMap[state.anchor] = state.result;
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
} else if (state.tag === '?') {
|
|
1488
|
-
// Implicit resolving is not allowed for non-scalar types, and '?'
|
|
1489
|
-
// non-specific tag is only automatically assigned to plain scalars.
|
|
1490
|
-
//
|
|
1491
|
-
// We only need to check kind conformity in case user explicitly assigns '?'
|
|
1492
|
-
// tag, for example like this: "!<?> [0]"
|
|
1493
|
-
//
|
|
1494
|
-
if (state.result !== null && state.kind !== 'scalar') {
|
|
1495
|
-
throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
|
|
1499
|
-
type = state.implicitTypes[typeIndex];
|
|
1500
|
-
|
|
1501
|
-
if (type.resolve(state.result)) { // `state.result` updated in resolver if matched
|
|
1502
|
-
state.result = type.construct(state.result);
|
|
1503
|
-
state.tag = type.tag;
|
|
1504
|
-
if (state.anchor !== null) {
|
|
1505
|
-
state.anchorMap[state.anchor] = state.result;
|
|
1506
|
-
}
|
|
1507
|
-
break;
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
} else if (state.tag !== '!') {
|
|
1511
|
-
if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {
|
|
1512
|
-
type = state.typeMap[state.kind || 'fallback'][state.tag];
|
|
1513
|
-
} else {
|
|
1514
|
-
// looking for multi type
|
|
1515
|
-
type = null;
|
|
1516
|
-
typeList = state.typeMap.multi[state.kind || 'fallback'];
|
|
1517
|
-
|
|
1518
|
-
for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {
|
|
1519
|
-
if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {
|
|
1520
|
-
type = typeList[typeIndex];
|
|
1521
|
-
break;
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
|
|
1526
|
-
if (!type) {
|
|
1527
|
-
throwError(state, 'unknown tag !<' + state.tag + '>');
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
if (state.result !== null && type.kind !== state.kind) {
|
|
1531
|
-
throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be "' + type.kind + '", not "' + state.kind + '"');
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched
|
|
1535
|
-
throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');
|
|
1536
|
-
} else {
|
|
1537
|
-
state.result = type.construct(state.result, state.tag);
|
|
1538
|
-
if (state.anchor !== null) {
|
|
1539
|
-
state.anchorMap[state.anchor] = state.result;
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
if (state.listener !== null) {
|
|
1545
|
-
state.listener('close', state);
|
|
1546
|
-
}
|
|
1547
|
-
return state.tag !== null || state.anchor !== null || hasContent;
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
function readDocument(state) {
|
|
1551
|
-
var documentStart = state.position,
|
|
1552
|
-
_position,
|
|
1553
|
-
directiveName,
|
|
1554
|
-
directiveArgs,
|
|
1555
|
-
hasDirectives = false,
|
|
1556
|
-
ch;
|
|
1557
|
-
|
|
1558
|
-
state.version = null;
|
|
1559
|
-
state.checkLineBreaks = state.legacy;
|
|
1560
|
-
state.tagMap = Object.create(null);
|
|
1561
|
-
state.anchorMap = Object.create(null);
|
|
1562
|
-
|
|
1563
|
-
while ((ch = state.input.charCodeAt(state.position)) !== 0) {
|
|
1564
|
-
skipSeparationSpace(state, true, -1);
|
|
1565
|
-
|
|
1566
|
-
ch = state.input.charCodeAt(state.position);
|
|
1567
|
-
|
|
1568
|
-
if (state.lineIndent > 0 || ch !== 0x25/* % */) {
|
|
1569
|
-
break;
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
hasDirectives = true;
|
|
1573
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1574
|
-
_position = state.position;
|
|
1575
|
-
|
|
1576
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
1577
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
directiveName = state.input.slice(_position, state.position);
|
|
1581
|
-
directiveArgs = [];
|
|
1582
|
-
|
|
1583
|
-
if (directiveName.length < 1) {
|
|
1584
|
-
throwError(state, 'directive name must not be less than one character in length');
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
while (ch !== 0) {
|
|
1588
|
-
while (is_WHITE_SPACE(ch)) {
|
|
1589
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
if (ch === 0x23/* # */) {
|
|
1593
|
-
do { ch = state.input.charCodeAt(++state.position); }
|
|
1594
|
-
while (ch !== 0 && !is_EOL(ch));
|
|
1595
|
-
break;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
if (is_EOL(ch)) break;
|
|
1599
|
-
|
|
1600
|
-
_position = state.position;
|
|
1601
|
-
|
|
1602
|
-
while (ch !== 0 && !is_WS_OR_EOL(ch)) {
|
|
1603
|
-
ch = state.input.charCodeAt(++state.position);
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
directiveArgs.push(state.input.slice(_position, state.position));
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
if (ch !== 0) readLineBreak(state);
|
|
1610
|
-
|
|
1611
|
-
if (_hasOwnProperty.call(directiveHandlers, directiveName)) {
|
|
1612
|
-
directiveHandlers[directiveName](state, directiveName, directiveArgs);
|
|
1613
|
-
} else {
|
|
1614
|
-
throwWarning(state, 'unknown document directive "' + directiveName + '"');
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
skipSeparationSpace(state, true, -1);
|
|
1619
|
-
|
|
1620
|
-
if (state.lineIndent === 0 &&
|
|
1621
|
-
state.input.charCodeAt(state.position) === 0x2D/* - */ &&
|
|
1622
|
-
state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&
|
|
1623
|
-
state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {
|
|
1624
|
-
state.position += 3;
|
|
1625
|
-
skipSeparationSpace(state, true, -1);
|
|
1626
|
-
|
|
1627
|
-
} else if (hasDirectives) {
|
|
1628
|
-
throwError(state, 'directives end mark is expected');
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
|
|
1632
|
-
skipSeparationSpace(state, true, -1);
|
|
1633
|
-
|
|
1634
|
-
if (state.checkLineBreaks &&
|
|
1635
|
-
PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {
|
|
1636
|
-
throwWarning(state, 'non-ASCII line breaks are interpreted as content');
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
state.documents.push(state.result);
|
|
1640
|
-
|
|
1641
|
-
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
1642
|
-
|
|
1643
|
-
if (state.input.charCodeAt(state.position) === 0x2E/* . */) {
|
|
1644
|
-
state.position += 3;
|
|
1645
|
-
skipSeparationSpace(state, true, -1);
|
|
1646
|
-
}
|
|
1647
|
-
return;
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
if (state.position < (state.length - 1)) {
|
|
1651
|
-
throwError(state, 'end of the stream or a document separator is expected');
|
|
1652
|
-
} else {
|
|
1653
|
-
return;
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
function loadDocuments(input, options) {
|
|
1659
|
-
input = String(input);
|
|
1660
|
-
options = options || {};
|
|
1661
|
-
|
|
1662
|
-
if (input.length !== 0) {
|
|
1663
|
-
|
|
1664
|
-
// Add tailing `\n` if not exists
|
|
1665
|
-
if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&
|
|
1666
|
-
input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {
|
|
1667
|
-
input += '\n';
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
// Strip BOM
|
|
1671
|
-
if (input.charCodeAt(0) === 0xFEFF) {
|
|
1672
|
-
input = input.slice(1);
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
var state = new State(input, options);
|
|
1677
|
-
|
|
1678
|
-
var nullpos = input.indexOf('\0');
|
|
1679
|
-
|
|
1680
|
-
if (nullpos !== -1) {
|
|
1681
|
-
state.position = nullpos;
|
|
1682
|
-
throwError(state, 'null byte is not allowed in input');
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
// Use 0 as string terminator. That significantly simplifies bounds check.
|
|
1686
|
-
state.input += '\0';
|
|
1687
|
-
|
|
1688
|
-
while (state.input.charCodeAt(state.position) === 0x20/* Space */) {
|
|
1689
|
-
state.lineIndent += 1;
|
|
1690
|
-
state.position += 1;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
while (state.position < (state.length - 1)) {
|
|
1694
|
-
readDocument(state);
|
|
1695
|
-
}
|
|
1696
|
-
|
|
1697
|
-
return state.documents;
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
function loadAll(input, iterator, options) {
|
|
1702
|
-
if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {
|
|
1703
|
-
options = iterator;
|
|
1704
|
-
iterator = null;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
var documents = loadDocuments(input, options);
|
|
1708
|
-
|
|
1709
|
-
if (typeof iterator !== 'function') {
|
|
1710
|
-
return documents;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
for (var index = 0, length = documents.length; index < length; index += 1) {
|
|
1714
|
-
iterator(documents[index]);
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
function load(input, options) {
|
|
1720
|
-
var documents = loadDocuments(input, options);
|
|
1721
|
-
|
|
1722
|
-
if (documents.length === 0) {
|
|
1723
|
-
/*eslint-disable no-undefined*/
|
|
1724
|
-
return undefined;
|
|
1725
|
-
} else if (documents.length === 1) {
|
|
1726
|
-
return documents[0];
|
|
1727
|
-
}
|
|
1728
|
-
throw new YAMLException('expected a single document in the stream, but found more');
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
module.exports.loadAll = loadAll;
|
|
1733
|
-
module.exports.load = load;
|