fumadocs-openapi 10.8.3 → 10.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +20 -1
- package/dist/node_modules/.pnpm/@scalar_json-magic@0.12.12/node_modules/@scalar/json-magic/dist/bundle/plugins/parse-yaml/index.js +1 -1
- package/dist/node_modules/.pnpm/@scalar_json-magic@0.12.12/node_modules/@scalar/json-magic/dist/helpers/normalize.js +2 -2
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/2020.js +110 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js +138 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js +674 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js +141 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js +102 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js +223 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js +28 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js +18 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js +133 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js +61 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js +146 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js +23 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js +48 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js +172 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js +31 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js +433 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js +113 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js +72 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js +583 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.js +18 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +42 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.js +50 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.js +20 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.js +51 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.js +16 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.js +36 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.js +19 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.js +85 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-2020-12/schema.js +59 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js +12 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js +25 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js +12 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js +16 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +57 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +96 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js +29 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +16 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js +89 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +87 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +16 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js +62 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js +60 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js +59 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js +34 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js +31 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +51 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +61 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +17 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js +52 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +41 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +17 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js +130 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js +14 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js +22 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js +112 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js +101 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js +14 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft2020.js +35 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +46 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +45 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/index.js +22 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +20 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +15 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js +10 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js +23 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/next.js +19 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/index.js +13 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +46 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +59 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js +27 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +17 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js +49 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js +48 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitContains.js +18 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js +28 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js +33 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +47 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +28 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +27 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js +38 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js +72 -0
- package/dist/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +70 -0
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js +33 -0
- package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js +236 -0
- package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js +187 -0
- package/dist/node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js +282 -0
- package/dist/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js +78 -0
- package/dist/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/array-helper.js +11 -0
- package/dist/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/js2xml.js +256 -0
- package/dist/node_modules/.pnpm/xml-js@1.6.11/node_modules/xml-js/lib/options-helper.js +31 -0
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/compose-collection.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/compose-doc.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/compose-node.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/compose-scalar.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/composer.js +3 -3
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-block-map.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-end.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/resolve-props.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/util-contains-newline.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/compose/util-map-includes.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/doc/Document.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/doc/anchors.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/doc/applyReviver.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/doc/createNode.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/doc/directives.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/errors.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/log.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/Alias.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/Collection.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/Node.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/Pair.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/Scalar.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/YAMLMap.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/identity.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/nodes/toJS.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/cst-visit.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/lexer.js +27 -15
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/line-counter.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/parser.js +9 -5
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/public-api.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/Schema.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/common/map.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/common/null.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/common/seq.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/common/string.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/core/bool.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/core/float.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/core/int.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/core/schema.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/json/schema.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/tags.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringify.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyComment.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyPair.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/stringify/stringifyString.js +1 -1
- package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/visit.js +1 -1
- package/dist/playground/schema.d.ts +0 -2
- package/dist/playground/schema.js +3 -2
- package/dist/requests/media/adapter.js +4 -2
- package/dist/requests/string-utils.js +4 -2
- package/package.json +11 -6
- /package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/index.js +0 -0
- /package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -0
- /package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/parse/cst.js +0 -0
- /package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/index.js +0 -0
|
@@ -4,7 +4,7 @@ import { resolveEnd } from "./resolve-end.js";
|
|
|
4
4
|
import { composeCollection } from "./compose-collection.js";
|
|
5
5
|
import { composeScalar } from "./compose-scalar.js";
|
|
6
6
|
import { emptyScalarPosition } from "./util-empty-scalar-position.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-node.js
|
|
8
8
|
const CN = {
|
|
9
9
|
composeNode,
|
|
10
10
|
composeEmptyNode
|
|
@@ -2,7 +2,7 @@ import { SCALAR, isScalar } from "../nodes/identity.js";
|
|
|
2
2
|
import { Scalar } from "../nodes/Scalar.js";
|
|
3
3
|
import { resolveBlockScalar } from "./resolve-block-scalar.js";
|
|
4
4
|
import { resolveFlowScalar } from "./resolve-flow-scalar.js";
|
|
5
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
5
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/compose-scalar.js
|
|
6
6
|
function composeScalar(ctx, token, tagToken, onError) {
|
|
7
7
|
const { value, type, comment, range } = token.type === "block-scalar" ? resolveBlockScalar(ctx, token, onError) : resolveFlowScalar(token, ctx.options.strict, onError);
|
|
8
8
|
const tagName = tagToken ? ctx.directives.tagName(tagToken.source, (msg) => onError(tagToken, "TAG_RESOLVE_FAILED", msg)) : null;
|
|
@@ -4,7 +4,7 @@ import { Document } from "../doc/Document.js";
|
|
|
4
4
|
import { YAMLParseError, YAMLWarning } from "../errors.js";
|
|
5
5
|
import { resolveEnd } from "./resolve-end.js";
|
|
6
6
|
import { composeDoc } from "./compose-doc.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/composer.js
|
|
8
8
|
function getErrorPos(src) {
|
|
9
9
|
if (typeof src === "number") return [src, src + 1];
|
|
10
10
|
if (Array.isArray(src)) return src.length === 2 ? src : [src[0], src[1]];
|
|
@@ -80,8 +80,8 @@ var Composer = class {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
if (afterDoc) {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
for (let i = 0; i < this.errors.length; ++i) doc.errors.push(this.errors[i]);
|
|
84
|
+
for (let i = 0; i < this.warnings.length; ++i) doc.warnings.push(this.warnings[i]);
|
|
85
85
|
} else {
|
|
86
86
|
doc.errors = this.errors;
|
|
87
87
|
doc.warnings = this.warnings;
|
|
@@ -4,7 +4,7 @@ import { resolveProps } from "./resolve-props.js";
|
|
|
4
4
|
import { containsNewline } from "./util-contains-newline.js";
|
|
5
5
|
import { flowIndentCheck } from "./util-flow-indent-check.js";
|
|
6
6
|
import { mapIncludes } from "./util-map-includes.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-map.js
|
|
8
8
|
const startColMsg = "All mapping items must start at the same column";
|
|
9
9
|
function resolveBlockMap({ composeNode, composeEmptyNode }, ctx, bm, onError, tag) {
|
|
10
10
|
const map = new (tag?.nodeClass ?? YAMLMap)(ctx.schema);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scalar } from "../nodes/Scalar.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js
|
|
3
3
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
4
4
|
const start = scalar.offset;
|
|
5
5
|
const header = parseBlockScalarHeader(scalar, ctx.options.strict, onError);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { YAMLSeq } from "../nodes/YAMLSeq.js";
|
|
2
2
|
import { resolveProps } from "./resolve-props.js";
|
|
3
3
|
import { flowIndentCheck } from "./util-flow-indent-check.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-block-seq.js
|
|
5
5
|
function resolveBlockSeq({ composeNode, composeEmptyNode }, ctx, bs, onError, tag) {
|
|
6
6
|
const seq = new (tag?.nodeClass ?? YAMLSeq)(ctx.schema);
|
|
7
7
|
if (ctx.atRoot) ctx.atRoot = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-end.js
|
|
2
2
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
3
3
|
let comment = "";
|
|
4
4
|
if (end) {
|
|
@@ -6,7 +6,7 @@ import { resolveProps } from "./resolve-props.js";
|
|
|
6
6
|
import { containsNewline } from "./util-contains-newline.js";
|
|
7
7
|
import { mapIncludes } from "./util-map-includes.js";
|
|
8
8
|
import { resolveEnd } from "./resolve-end.js";
|
|
9
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
9
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js
|
|
10
10
|
const blockMsg = "Block collections are not allowed within flow collections";
|
|
11
11
|
const isBlock = (token) => token && (token.type === "block-map" || token.type === "block-seq");
|
|
12
12
|
function resolveFlowCollection({ composeNode, composeEmptyNode }, ctx, fc, onError, tag) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scalar } from "../nodes/Scalar.js";
|
|
2
2
|
import { resolveEnd } from "./resolve-end.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js
|
|
4
4
|
function resolveFlowScalar(scalar, strict, onError) {
|
|
5
5
|
const { offset, type, source, end } = scalar;
|
|
6
6
|
let _type;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/resolve-props.js
|
|
2
2
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3
3
|
let spaceBefore = false;
|
|
4
4
|
let atNewline = startOnNewline;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-contains-newline.js
|
|
2
2
|
function containsNewline(key) {
|
|
3
3
|
if (!key) return null;
|
|
4
4
|
switch (key.type) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js
|
|
2
2
|
function emptyScalarPosition(offset, before, pos) {
|
|
3
3
|
if (before) {
|
|
4
4
|
pos ?? (pos = before.length);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { containsNewline } from "./util-contains-newline.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js
|
|
3
3
|
function flowIndentCheck(indent, fc, onError) {
|
|
4
4
|
if (fc?.type === "flow-collection") {
|
|
5
5
|
const end = fc.end[0];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isScalar } from "../nodes/identity.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/compose/util-map-includes.js
|
|
3
3
|
function mapIncludes(ctx, items, search) {
|
|
4
4
|
const { uniqueKeys } = ctx.options;
|
|
5
5
|
if (uniqueKeys === false) return false;
|
|
@@ -9,7 +9,7 @@ import { collectionFromPath, isEmptyPath } from "../nodes/Collection.js";
|
|
|
9
9
|
import { Pair } from "../nodes/Pair.js";
|
|
10
10
|
import { Schema } from "../schema/Schema.js";
|
|
11
11
|
import { stringifyDocument } from "../stringify/stringifyDocument.js";
|
|
12
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
12
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/Document.js
|
|
13
13
|
var Document = class Document {
|
|
14
14
|
constructor(value, replacer, options) {
|
|
15
15
|
/** A comment before this Document */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isCollection, isScalar } from "../nodes/identity.js";
|
|
2
2
|
import { visit } from "../visit.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/anchors.js
|
|
4
4
|
/**
|
|
5
5
|
* Verify that the input string is a valid anchor.
|
|
6
6
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/applyReviver.js
|
|
2
2
|
/**
|
|
3
3
|
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
4
4
|
* in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MAP, SEQ, isDocument, isNode, isPair } from "../nodes/identity.js";
|
|
2
2
|
import { Alias } from "../nodes/Alias.js";
|
|
3
3
|
import { Scalar } from "../nodes/Scalar.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/createNode.js
|
|
5
5
|
const defaultTagPrefix = "tag:yaml.org,2002:";
|
|
6
6
|
function findTagObject(value, tagName, tags) {
|
|
7
7
|
if (tagName) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isNode } from "../nodes/identity.js";
|
|
2
2
|
import { visit } from "../visit.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/doc/directives.js
|
|
4
4
|
const escapeChars = {
|
|
5
5
|
"!": "%21",
|
|
6
6
|
",": "%2C",
|
package/dist/node_modules/.pnpm/{yaml@2.8.4 → yaml@2.9.0}/node_modules/yaml/browser/dist/log.js
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/log.js
|
|
2
2
|
function warn(logLevel, warning) {
|
|
3
3
|
if (logLevel === "debug" || logLevel === "warn") console.warn(warning);
|
|
4
4
|
}
|
|
@@ -3,7 +3,7 @@ import { visit } from "../visit.js";
|
|
|
3
3
|
import { anchorIsValid } from "../doc/anchors.js";
|
|
4
4
|
import { toJS } from "./toJS.js";
|
|
5
5
|
import { NodeBase } from "./Node.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
6
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Alias.js
|
|
7
7
|
var Alias = class extends NodeBase {
|
|
8
8
|
constructor(source) {
|
|
9
9
|
super(ALIAS);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isCollection, isNode, isPair, isScalar } from "./identity.js";
|
|
2
2
|
import { NodeBase } from "./Node.js";
|
|
3
3
|
import { createNode } from "../doc/createNode.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Collection.js
|
|
5
5
|
function collectionFromPath(schema, path, value) {
|
|
6
6
|
let v = value;
|
|
7
7
|
for (let i = path.length - 1; i >= 0; --i) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NODE_TYPE, isDocument } from "./identity.js";
|
|
2
2
|
import { applyReviver } from "../doc/applyReviver.js";
|
|
3
3
|
import { toJS } from "./toJS.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Node.js
|
|
5
5
|
var NodeBase = class {
|
|
6
6
|
constructor(type) {
|
|
7
7
|
Object.defineProperty(this, NODE_TYPE, { value: type });
|
|
@@ -2,7 +2,7 @@ import { NODE_TYPE, PAIR, isNode } from "./identity.js";
|
|
|
2
2
|
import { createNode } from "../doc/createNode.js";
|
|
3
3
|
import { stringifyPair } from "../stringify/stringifyPair.js";
|
|
4
4
|
import { addPairToJSMap } from "./addPairToJSMap.js";
|
|
5
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
5
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Pair.js
|
|
6
6
|
function createPair(key, value, ctx) {
|
|
7
7
|
return new Pair(createNode(key, void 0, ctx), createNode(value, void 0, ctx));
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SCALAR } from "./identity.js";
|
|
2
2
|
import { toJS } from "./toJS.js";
|
|
3
3
|
import { NodeBase } from "./Node.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
5
5
|
const isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
6
6
|
var Scalar = class extends NodeBase {
|
|
7
7
|
constructor(value) {
|
|
@@ -4,7 +4,7 @@ import { Collection } from "./Collection.js";
|
|
|
4
4
|
import { addPairToJSMap } from "./addPairToJSMap.js";
|
|
5
5
|
import { Pair, createPair } from "./Pair.js";
|
|
6
6
|
import { stringifyCollection } from "../stringify/stringifyCollection.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLMap.js
|
|
8
8
|
function findPair(items, key) {
|
|
9
9
|
const k = isScalar(key) ? key.value : key;
|
|
10
10
|
for (const it of items) if (isPair(it)) {
|
|
@@ -4,7 +4,7 @@ import { isScalarValue } from "./Scalar.js";
|
|
|
4
4
|
import { createNode } from "../doc/createNode.js";
|
|
5
5
|
import { Collection } from "./Collection.js";
|
|
6
6
|
import { stringifyCollection } from "../stringify/stringifyCollection.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/YAMLSeq.js
|
|
8
8
|
var YAMLSeq = class extends Collection {
|
|
9
9
|
static get tagName() {
|
|
10
10
|
return "tag:yaml.org,2002:seq";
|
|
@@ -3,7 +3,7 @@ import { toJS } from "./toJS.js";
|
|
|
3
3
|
import { createStringifyContext } from "../stringify/stringify.js";
|
|
4
4
|
import { warn } from "../log.js";
|
|
5
5
|
import { addMergeToJSMap, isMergeKey } from "../schema/yaml-1.1/merge.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
6
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js
|
|
7
7
|
function addPairToJSMap(ctx, map, { key, value }) {
|
|
8
8
|
if (isNode(key) && key.addToJSMap) key.addToJSMap(ctx, map, value);
|
|
9
9
|
else if (isMergeKey(ctx, key)) addMergeToJSMap(ctx, map, value);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/identity.js
|
|
2
2
|
const ALIAS = Symbol.for("yaml.alias");
|
|
3
3
|
const DOC = Symbol.for("yaml.document");
|
|
4
4
|
const MAP = Symbol.for("yaml.map");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { hasAnchor } from "./identity.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/nodes/toJS.js
|
|
3
3
|
/**
|
|
4
4
|
* Recursively convert any node or its contents to native JavaScript
|
|
5
5
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/cst-visit.js
|
|
2
2
|
const BREAK = Symbol("break visit");
|
|
3
3
|
const SKIP = Symbol("skip children");
|
|
4
4
|
const REMOVE = Symbol("remove item");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./cst.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/lexer.js
|
|
3
3
|
function isEmpty(ch) {
|
|
4
4
|
switch (ch) {
|
|
5
5
|
case void 0:
|
|
@@ -211,7 +211,7 @@ var Lexer = class {
|
|
|
211
211
|
const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
|
|
212
212
|
this.indentNext = this.indentValue + 1;
|
|
213
213
|
this.indentValue += n;
|
|
214
|
-
return
|
|
214
|
+
return "block-start";
|
|
215
215
|
}
|
|
216
216
|
return "doc";
|
|
217
217
|
}
|
|
@@ -455,22 +455,34 @@ var Lexer = class {
|
|
|
455
455
|
return 0;
|
|
456
456
|
}
|
|
457
457
|
*pushIndicators() {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
458
|
+
let n = 0;
|
|
459
|
+
loop: while (true) {
|
|
460
|
+
switch (this.charAt(0)) {
|
|
461
|
+
case "!":
|
|
462
|
+
n += yield* this.pushTag();
|
|
463
|
+
n += yield* this.pushSpaces(true);
|
|
464
|
+
continue loop;
|
|
465
|
+
case "&":
|
|
466
|
+
n += yield* this.pushUntil(isNotAnchorChar);
|
|
467
|
+
n += yield* this.pushSpaces(true);
|
|
468
|
+
continue loop;
|
|
469
|
+
case "-":
|
|
470
|
+
case "?":
|
|
471
|
+
case ":": {
|
|
472
|
+
const inFlow = this.flowLevel > 0;
|
|
473
|
+
const ch1 = this.charAt(1);
|
|
474
|
+
if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
|
|
475
|
+
if (!inFlow) this.indentNext = this.indentValue + 1;
|
|
476
|
+
else if (this.flowKey) this.flowKey = false;
|
|
477
|
+
n += yield* this.pushCount(1);
|
|
478
|
+
n += yield* this.pushSpaces(true);
|
|
479
|
+
continue loop;
|
|
480
|
+
}
|
|
470
481
|
}
|
|
471
482
|
}
|
|
483
|
+
break loop;
|
|
472
484
|
}
|
|
473
|
-
return
|
|
485
|
+
return n;
|
|
474
486
|
}
|
|
475
487
|
*pushTag() {
|
|
476
488
|
if (this.charAt(1) === "<") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
1
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/line-counter.js
|
|
2
2
|
/**
|
|
3
3
|
* Tracks newlines during parsing in order to provide an efficient API for
|
|
4
4
|
* determining the one-indexed `{ line, col }` position for any offset
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tokenType } from "./cst.js";
|
|
2
2
|
import { Lexer } from "./lexer.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/parse/parser.js
|
|
4
4
|
function includesToken(list, type) {
|
|
5
5
|
for (let i = 0; i < list.length; ++i) if (list[i].type === type) return true;
|
|
6
6
|
return false;
|
|
@@ -50,14 +50,18 @@ function getFirstKeyStartProps(prev) {
|
|
|
50
50
|
while (prev[++i]?.type === "space");
|
|
51
51
|
return prev.splice(i, prev.length);
|
|
52
52
|
}
|
|
53
|
+
function arrayPushArray(target, source) {
|
|
54
|
+
if (source.length < 1e5) Array.prototype.push.apply(target, source);
|
|
55
|
+
else for (let i = 0; i < source.length; ++i) target.push(source[i]);
|
|
56
|
+
}
|
|
53
57
|
function fixFlowSeqItems(fc) {
|
|
54
58
|
if (fc.start.type === "flow-seq-start") {
|
|
55
59
|
for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
|
|
56
60
|
if (it.key) it.value = it.key;
|
|
57
61
|
delete it.key;
|
|
58
|
-
if (isFlowToken(it.value)) if (it.value.end)
|
|
62
|
+
if (isFlowToken(it.value)) if (it.value.end) arrayPushArray(it.value.end, it.sep);
|
|
59
63
|
else it.value.end = it.sep;
|
|
60
|
-
else
|
|
64
|
+
else arrayPushArray(it.start, it.sep);
|
|
61
65
|
delete it.sep;
|
|
62
66
|
}
|
|
63
67
|
}
|
|
@@ -428,7 +432,7 @@ var Parser = class {
|
|
|
428
432
|
if (this.atIndentedComment(it.start, map.indent)) {
|
|
429
433
|
const end = map.items[map.items.length - 2]?.value?.end;
|
|
430
434
|
if (Array.isArray(end)) {
|
|
431
|
-
|
|
435
|
+
arrayPushArray(end, it.start);
|
|
432
436
|
end.push(this.sourceToken);
|
|
433
437
|
map.items.pop();
|
|
434
438
|
return;
|
|
@@ -626,7 +630,7 @@ var Parser = class {
|
|
|
626
630
|
if (this.atIndentedComment(it.start, seq.indent)) {
|
|
627
631
|
const end = seq.items[seq.items.length - 2]?.value?.end;
|
|
628
632
|
if (Array.isArray(end)) {
|
|
629
|
-
|
|
633
|
+
arrayPushArray(end, it.start);
|
|
630
634
|
end.push(this.sourceToken);
|
|
631
635
|
seq.items.pop();
|
|
632
636
|
return;
|
|
@@ -4,7 +4,7 @@ import { YAMLParseError, prettifyError } from "./errors.js";
|
|
|
4
4
|
import { Composer } from "./compose/composer.js";
|
|
5
5
|
import { LineCounter } from "./parse/line-counter.js";
|
|
6
6
|
import { Parser } from "./parse/parser.js";
|
|
7
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
7
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/public-api.js
|
|
8
8
|
function parseOptions(options) {
|
|
9
9
|
const prettyErrors = options.prettyErrors !== false;
|
|
10
10
|
return {
|
|
@@ -3,7 +3,7 @@ import { map } from "./common/map.js";
|
|
|
3
3
|
import { seq } from "./common/seq.js";
|
|
4
4
|
import { string } from "./common/string.js";
|
|
5
5
|
import { coreKnownTags, getTags } from "./tags.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
6
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/Schema.js
|
|
7
7
|
const sortMapEntriesByKey = (a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0;
|
|
8
8
|
var Schema = class Schema {
|
|
9
9
|
constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isMap } from "../../nodes/identity.js";
|
|
2
2
|
import { YAMLMap } from "../../nodes/YAMLMap.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/map.js
|
|
4
4
|
const map = {
|
|
5
5
|
collection: "map",
|
|
6
6
|
default: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/null.js
|
|
3
3
|
const nullTag = {
|
|
4
4
|
identify: (value) => value == null,
|
|
5
5
|
createNode: () => new Scalar(null),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isSeq } from "../../nodes/identity.js";
|
|
2
2
|
import { YAMLSeq } from "../../nodes/YAMLSeq.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/seq.js
|
|
4
4
|
const seq = {
|
|
5
5
|
collection: "seq",
|
|
6
6
|
default: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringifyString } from "../../stringify/stringifyString.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/common/string.js
|
|
3
3
|
const string = {
|
|
4
4
|
identify: (value) => typeof value === "string",
|
|
5
5
|
default: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/bool.js
|
|
3
3
|
const boolTag = {
|
|
4
4
|
identify: (value) => typeof value === "boolean",
|
|
5
5
|
default: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
2
|
import { stringifyNumber } from "../../stringify/stringifyNumber.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/float.js
|
|
4
4
|
const floatNaN = {
|
|
5
5
|
identify: (value) => typeof value === "number",
|
|
6
6
|
default: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringifyNumber } from "../../stringify/stringifyNumber.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/int.js
|
|
3
3
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
4
4
|
const intResolve = (str, offset, radix, { intAsBigInt }) => intAsBigInt ? BigInt(str) : parseInt(str.substring(offset), radix);
|
|
5
5
|
function intStringify(node, radix, prefix) {
|
|
@@ -5,7 +5,7 @@ import { nullTag } from "../common/null.js";
|
|
|
5
5
|
import { boolTag } from "./bool.js";
|
|
6
6
|
import { float, floatExp, floatNaN } from "./float.js";
|
|
7
7
|
import { int, intHex, intOct } from "./int.js";
|
|
8
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
8
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/core/schema.js
|
|
9
9
|
const schema = [
|
|
10
10
|
map,
|
|
11
11
|
seq,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
2
|
import { map } from "../common/map.js";
|
|
3
3
|
import { seq } from "../common/seq.js";
|
|
4
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
4
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/json/schema.js
|
|
5
5
|
function intIdentify(value) {
|
|
6
6
|
return typeof value === "bigint" || Number.isInteger(value);
|
|
7
7
|
}
|
|
@@ -14,7 +14,7 @@ import { omap } from "./yaml-1.1/omap.js";
|
|
|
14
14
|
import { set } from "./yaml-1.1/set.js";
|
|
15
15
|
import { floatTime, intTime, timestamp } from "./yaml-1.1/timestamp.js";
|
|
16
16
|
import { schema as schema$2 } from "./yaml-1.1/schema.js";
|
|
17
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
17
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/tags.js
|
|
18
18
|
const schemas = new Map([
|
|
19
19
|
["core", schema],
|
|
20
20
|
["failsafe", [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
2
|
import { stringifyString } from "../../stringify/stringifyString.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js
|
|
4
4
|
const binary = {
|
|
5
5
|
identify: (value) => value instanceof Uint8Array,
|
|
6
6
|
default: false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js
|
|
3
3
|
function boolStringify({ value, source }, ctx) {
|
|
4
4
|
if (source && (value ? trueTag : falseTag).test.test(source)) return source;
|
|
5
5
|
return value ? ctx.options.trueStr : ctx.options.falseStr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
2
2
|
import { stringifyNumber } from "../../stringify/stringifyNumber.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js
|
|
4
4
|
const floatNaN = {
|
|
5
5
|
identify: (value) => typeof value === "number",
|
|
6
6
|
default: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stringifyNumber } from "../../stringify/stringifyNumber.js";
|
|
2
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
2
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js
|
|
3
3
|
const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
4
4
|
function intResolve(str, offset, radix, { intAsBigInt }) {
|
|
5
5
|
const sign = str[0];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isAlias, isMap, isScalar, isSeq } from "../../nodes/identity.js";
|
|
2
2
|
import { Scalar } from "../../nodes/Scalar.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
3
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js
|
|
4
4
|
const MERGE_KEY = "<<";
|
|
5
5
|
const merge = {
|
|
6
6
|
identify: (value) => value === MERGE_KEY || typeof value === "symbol" && value.description === MERGE_KEY,
|
|
@@ -3,7 +3,7 @@ import { toJS } from "../../nodes/toJS.js";
|
|
|
3
3
|
import { YAMLMap } from "../../nodes/YAMLMap.js";
|
|
4
4
|
import { YAMLSeq } from "../../nodes/YAMLSeq.js";
|
|
5
5
|
import { createPairs, resolvePairs } from "./pairs.js";
|
|
6
|
-
//#region ../../node_modules/.pnpm/yaml@2.
|
|
6
|
+
//#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js
|
|
7
7
|
var YAMLOMap = class YAMLOMap extends YAMLSeq {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|