@skmtc/core 0.0.926 → 0.0.930
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/esm/app/validate.d.ts +0 -1
- package/esm/app/validate.d.ts.map +1 -1
- package/esm/app/validate.js +0 -1
- package/esm/context/CoreContext.d.ts +1 -1
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +7 -6
- package/esm/context/GenerateContext.d.ts +1 -1
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +4 -5
- package/esm/context/ParseContext.d.ts +1 -134
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +11 -157
- package/esm/context/RenderContext.d.ts +1 -6
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +9 -19
- package/esm/context/StackTrail.d.ts +0 -172
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +1 -195
- package/esm/dsl/Stringable.d.ts +0 -1
- package/esm/dsl/Stringable.d.ts.map +1 -1
- package/esm/dsl/Stringable.js +1 -76
- package/esm/dsl/model/toModelBase.d.ts +2 -3
- package/esm/dsl/model/toModelBase.d.ts.map +1 -1
- package/esm/dsl/model/toModelBase.js +1 -1
- package/esm/dsl/operation/toOperationBase.d.ts +2 -2
- package/esm/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationBase.js +1 -1
- package/esm/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationEntry.js +1 -1
- package/esm/helpers/ResultsLog.js +1 -1
- package/esm/helpers/collateExamples.d.ts +0 -1
- package/esm/helpers/collateExamples.d.ts.map +1 -1
- package/esm/helpers/collateExamples.js +0 -1
- package/esm/helpers/formatNumber.d.ts +0 -1
- package/esm/helpers/formatNumber.d.ts.map +1 -1
- package/esm/helpers/formatNumber.js +0 -1
- package/esm/helpers/isEmpty.d.ts +0 -60
- package/esm/helpers/isEmpty.d.ts.map +1 -1
- package/esm/helpers/isEmpty.js +1 -61
- package/esm/helpers/naming.js +2 -2
- package/esm/helpers/refFns.d.ts +0 -1
- package/esm/helpers/refFns.d.ts.map +1 -1
- package/esm/helpers/refFns.js +0 -1
- package/esm/helpers/strings.d.ts +0 -1
- package/esm/helpers/strings.d.ts.map +1 -1
- package/esm/helpers/strings.js +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +0 -1
- package/esm/helpers/tracer.d.ts +1 -2
- package/esm/helpers/tracer.d.ts.map +1 -1
- package/esm/helpers/tracer.js +1 -1
- package/esm/mod.d.ts +0 -13
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +0 -13
- package/esm/oas/_helpers/parseEnum.d.ts +8 -136
- package/esm/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/esm/oas/_helpers/parseEnum.js +21 -119
- package/esm/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/esm/oas/_helpers/parseNullable.js +16 -6
- package/esm/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/esm/oas/array/Array.d.ts +18 -96
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +38 -102
- package/esm/oas/array/array-types.d.ts +6 -174
- package/esm/oas/array/array-types.d.ts.map +1 -1
- package/esm/oas/array/array-types.js +4 -76
- package/esm/oas/array/toArray.d.ts +0 -52
- package/esm/oas/array/toArray.d.ts.map +1 -1
- package/esm/oas/array/toArray.js +67 -72
- package/esm/oas/boolean/Boolean.d.ts +12 -133
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +28 -134
- package/esm/oas/boolean/boolean-types.d.ts +14 -1
- package/esm/oas/boolean/boolean-types.d.ts.map +1 -1
- package/esm/oas/boolean/boolean-types.js +4 -1
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
- package/esm/oas/boolean/toBoolean.js +75 -19
- package/esm/oas/components/Components.d.ts +0 -2
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +0 -2
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
- package/esm/oas/components/toComponentsV3.js +7 -9
- package/esm/oas/discriminator/Discriminator.d.ts +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +0 -1
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/esm/oas/document/Document.d.ts +5 -1
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +7 -1
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/esm/oas/document/toDocumentFieldsV3.js +11 -8
- package/esm/oas/example/Example.d.ts +10 -85
- package/esm/oas/example/Example.d.ts.map +1 -1
- package/esm/oas/example/Example.js +35 -105
- package/esm/oas/example/toExamplesV3.d.ts +1 -1
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.js +13 -8
- package/esm/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/ExternalDocs.js +18 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/esm/oas/externalDocs/externalDocsTypes.js +6 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/toExternalDocs.js +15 -0
- package/esm/oas/header/Header.d.ts +6 -6
- package/esm/oas/header/Header.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.js +9 -5
- package/esm/oas/info/Info.d.ts +0 -1
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +0 -1
- package/esm/oas/integer/Integer.d.ts +18 -81
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +33 -82
- package/esm/oas/integer/integer-types.d.ts +21 -1
- package/esm/oas/integer/integer-types.d.ts.map +1 -1
- package/esm/oas/integer/integer-types.js +8 -2
- package/esm/oas/integer/toInteger.d.ts.map +1 -1
- package/esm/oas/integer/toInteger.js +66 -19
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/esm/oas/number/Number.d.ts +18 -164
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +33 -165
- package/esm/oas/number/number-types.d.ts +22 -2
- package/esm/oas/number/number-types.d.ts.map +1 -1
- package/esm/oas/number/number-types.js +4 -1
- package/esm/oas/number/toNumber.d.ts +0 -62
- package/esm/oas/number/toNumber.d.ts.map +1 -1
- package/esm/oas/number/toNumber.js +66 -81
- package/esm/oas/object/Object.d.ts +0 -1
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +0 -1
- package/esm/oas/object/toObject.d.ts.map +1 -1
- package/esm/oas/object/toObject.js +38 -13
- package/esm/oas/operation/Operation.d.ts +9 -108
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +16 -108
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/oas/operation/toOperationsV3.js +12 -7
- package/esm/oas/parameter/Parameter.d.ts +12 -13
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +0 -3
- package/esm/oas/parameter/parameter-types.d.ts +0 -20
- package/esm/oas/parameter/parameter-types.d.ts.map +1 -1
- package/esm/oas/parameter/parameter-types.js +0 -20
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/esm/oas/parameter/toParameterV3.js +14 -11
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/esm/oas/pathItem/toPathItemV3.js +2 -1
- package/esm/oas/ref/Ref.d.ts +0 -1
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +0 -1
- package/esm/oas/ref/toRefV31.d.ts.map +1 -1
- package/esm/oas/ref/toRefV31.js +4 -1
- package/esm/oas/requestBody/RequestBody.d.ts +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +0 -1
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/esm/oas/response/Response.d.ts +0 -1
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +0 -1
- package/esm/oas/response/toResponseV3.d.ts.map +1 -1
- package/esm/oas/response/toResponseV3.js +9 -8
- package/esm/oas/schema/Schema.d.ts +0 -1
- package/esm/oas/schema/Schema.d.ts.map +1 -1
- package/esm/oas/schema/Schema.js +1 -1
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/oas/schema/toSchemasV3.js +10 -16
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/esm/oas/server/Server.d.ts +0 -1
- package/esm/oas/server/Server.d.ts.map +1 -1
- package/esm/oas/server/Server.js +0 -1
- package/esm/oas/server/toServerV3.d.ts.map +1 -1
- package/esm/oas/server/toServerV3.js +2 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/esm/oas/string/String.d.ts +16 -88
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +33 -91
- package/esm/oas/string/string-types.d.ts +23 -80
- package/esm/oas/string/string-types.d.ts.map +1 -1
- package/esm/oas/string/string-types.js +6 -2
- package/esm/oas/string/toString.d.ts.map +1 -1
- package/esm/oas/string/toString.js +68 -18
- package/esm/oas/tag/Tag.d.ts +0 -1
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +0 -1
- package/esm/oas/union/toUnion.d.ts.map +1 -1
- package/esm/oas/union/toUnion.js +6 -2
- package/esm/oas/unknown/Unknown.d.ts +3 -1
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +8 -1
- package/esm/oas/unknown/toUnknown.js +1 -1
- package/esm/oas/void/Void.d.ts +0 -1
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +0 -1
- package/esm/types/Brand.d.ts +0 -1
- package/esm/types/Brand.d.ts.map +1 -1
- package/esm/types/Brand.js +1 -10
- package/esm/types/CustomValue.d.ts +0 -1
- package/esm/types/CustomValue.d.ts.map +1 -1
- package/esm/types/CustomValue.js +0 -1
- package/esm/types/DenoJson.d.ts +0 -1
- package/esm/types/DenoJson.d.ts.map +1 -1
- package/esm/types/DenoJson.js +0 -1
- package/esm/types/EnrichmentRequest.d.ts +0 -1
- package/esm/types/EnrichmentRequest.d.ts.map +1 -1
- package/esm/types/EnrichmentRequest.js +1 -1
- package/esm/types/Enrichments.d.ts +0 -1
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +0 -1
- package/esm/types/GeneratorKeys.d.ts +0 -1
- package/esm/types/GeneratorKeys.d.ts.map +1 -1
- package/esm/types/GeneratorKeys.js +0 -1
- package/esm/types/Manifest.d.ts +0 -1
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +0 -1
- package/esm/types/Method.d.ts +0 -165
- package/esm/types/Method.d.ts.map +1 -1
- package/esm/types/Method.js +1 -141
- package/esm/types/ModuleExport.d.ts +0 -1
- package/esm/types/ModuleExport.d.ts.map +1 -1
- package/esm/types/ModuleExport.js +0 -1
- package/esm/types/PrettierConfig.d.ts +0 -1
- package/esm/types/PrettierConfig.d.ts.map +1 -1
- package/esm/types/PrettierConfig.js +0 -1
- package/esm/types/Preview.d.ts +0 -1
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +0 -1
- package/esm/types/RefName.d.ts +0 -1
- package/esm/types/RefName.d.ts.map +1 -1
- package/esm/types/RefName.js +1 -1
- package/esm/types/Results.d.ts +0 -1
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +0 -1
- package/esm/types/Settings.d.ts +0 -1
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +0 -1
- package/esm/types/TypeSystem.d.ts +0 -1
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/esm/types/TypeSystem.js +1 -1
- package/package.json +1 -9
- package/script/app/validate.d.ts +0 -1
- package/script/app/validate.d.ts.map +1 -1
- package/script/app/validate.js +0 -1
- package/script/context/CoreContext.d.ts +1 -1
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +7 -6
- package/script/context/GenerateContext.d.ts +1 -1
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +4 -38
- package/script/context/ParseContext.d.ts +1 -134
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +12 -192
- package/script/context/RenderContext.d.ts +1 -6
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +9 -52
- package/script/context/StackTrail.d.ts +0 -172
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +1 -195
- package/script/dsl/Stringable.d.ts +0 -1
- package/script/dsl/Stringable.d.ts.map +1 -1
- package/script/dsl/Stringable.js +0 -76
- package/script/dsl/model/toModelBase.d.ts +2 -3
- package/script/dsl/model/toModelBase.d.ts.map +1 -1
- package/script/dsl/model/toModelBase.js +5 -2
- package/script/dsl/operation/toOperationBase.d.ts +2 -2
- package/script/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/script/dsl/operation/toOperationBase.js +5 -2
- package/script/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/script/dsl/operation/toOperationEntry.js +5 -2
- package/script/helpers/ResultsLog.js +5 -2
- package/script/helpers/collateExamples.d.ts +0 -1
- package/script/helpers/collateExamples.d.ts.map +1 -1
- package/script/helpers/collateExamples.js +0 -1
- package/script/helpers/formatNumber.d.ts +0 -1
- package/script/helpers/formatNumber.d.ts.map +1 -1
- package/script/helpers/formatNumber.js +0 -1
- package/script/helpers/isEmpty.d.ts +0 -60
- package/script/helpers/isEmpty.d.ts.map +1 -1
- package/script/helpers/isEmpty.js +1 -61
- package/script/helpers/naming.js +1 -1
- package/script/helpers/refFns.d.ts +0 -1
- package/script/helpers/refFns.d.ts.map +1 -1
- package/script/helpers/refFns.js +0 -1
- package/script/helpers/strings.d.ts +0 -1
- package/script/helpers/strings.d.ts.map +1 -1
- package/script/helpers/strings.js +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/script/helpers/toResolvedArtifactPath.js +2 -3
- package/script/helpers/tracer.d.ts +1 -2
- package/script/helpers/tracer.d.ts.map +1 -1
- package/script/helpers/tracer.js +1 -1
- package/script/mod.d.ts +0 -13
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +15 -28
- package/script/oas/_helpers/parseEnum.d.ts +8 -136
- package/script/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/script/oas/_helpers/parseEnum.js +21 -152
- package/script/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/script/oas/_helpers/parseNullable.js +16 -39
- package/script/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/script/oas/array/Array.d.ts +18 -96
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +38 -102
- package/script/oas/array/array-types.d.ts +6 -174
- package/script/oas/array/array-types.d.ts.map +1 -1
- package/script/oas/array/array-types.js +5 -77
- package/script/oas/array/toArray.d.ts +0 -52
- package/script/oas/array/toArray.d.ts.map +1 -1
- package/script/oas/array/toArray.js +67 -72
- package/script/oas/boolean/Boolean.d.ts +12 -133
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +28 -134
- package/script/oas/boolean/boolean-types.d.ts +14 -1
- package/script/oas/boolean/boolean-types.d.ts.map +1 -1
- package/script/oas/boolean/boolean-types.js +4 -1
- package/script/oas/boolean/toBoolean.d.ts.map +1 -1
- package/script/oas/boolean/toBoolean.js +75 -19
- package/script/oas/components/Components.d.ts +0 -2
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +0 -2
- package/script/oas/components/toComponentsV3.d.ts.map +1 -1
- package/script/oas/components/toComponentsV3.js +7 -9
- package/script/oas/discriminator/Discriminator.d.ts +0 -1
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +0 -1
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/script/oas/document/Document.d.ts +5 -1
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +7 -1
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/script/oas/document/toDocumentFieldsV3.js +11 -8
- package/script/oas/example/Example.d.ts +10 -85
- package/script/oas/example/Example.d.ts.map +1 -1
- package/script/oas/example/Example.js +35 -105
- package/script/oas/example/toExamplesV3.d.ts +1 -1
- package/script/oas/example/toExamplesV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.js +13 -8
- package/script/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/script/oas/externalDocs/ExternalDocs.js +22 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/script/oas/{requestBody/requestBody-types.js → externalDocs/externalDocsTypes.js} +3 -6
- package/script/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/oas/{response/response-types.js → externalDocs/toExternalDocs.js} +16 -11
- package/script/oas/header/Header.d.ts +6 -6
- package/script/oas/header/Header.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.js +9 -5
- package/script/oas/info/Info.d.ts +0 -1
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +0 -1
- package/script/oas/integer/Integer.d.ts +18 -81
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +33 -82
- package/script/oas/integer/integer-types.d.ts +21 -1
- package/script/oas/integer/integer-types.d.ts.map +1 -1
- package/script/oas/integer/integer-types.js +8 -2
- package/script/oas/integer/toInteger.d.ts.map +1 -1
- package/script/oas/integer/toInteger.js +65 -18
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/script/oas/number/Number.d.ts +18 -164
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +33 -165
- package/script/oas/number/number-types.d.ts +22 -2
- package/script/oas/number/number-types.d.ts.map +1 -1
- package/script/oas/number/number-types.js +4 -1
- package/script/oas/number/toNumber.d.ts +0 -62
- package/script/oas/number/toNumber.d.ts.map +1 -1
- package/script/oas/number/toNumber.js +66 -81
- package/script/oas/object/Object.d.ts +0 -1
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +0 -1
- package/script/oas/object/toObject.d.ts.map +1 -1
- package/script/oas/object/toObject.js +38 -46
- package/script/oas/operation/Operation.d.ts +9 -108
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +16 -108
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/script/oas/operation/toOperationsV3.js +12 -7
- package/script/oas/parameter/Parameter.d.ts +12 -13
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +0 -3
- package/script/oas/parameter/parameter-types.d.ts +0 -20
- package/script/oas/parameter/parameter-types.d.ts.map +1 -1
- package/script/oas/parameter/parameter-types.js +1 -21
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/script/oas/parameter/toParameterV3.js +14 -11
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/script/oas/pathItem/toPathItemV3.js +2 -1
- package/script/oas/ref/Ref.d.ts +0 -1
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +0 -1
- package/script/oas/ref/toRefV31.d.ts.map +1 -1
- package/script/oas/ref/toRefV31.js +4 -1
- package/script/oas/requestBody/RequestBody.d.ts +0 -1
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +0 -1
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/script/oas/response/Response.d.ts +0 -1
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +0 -1
- package/script/oas/response/toResponseV3.d.ts.map +1 -1
- package/script/oas/response/toResponseV3.js +9 -8
- package/script/oas/schema/Schema.d.ts +0 -1
- package/script/oas/schema/Schema.d.ts.map +1 -1
- package/script/oas/schema/Schema.js +0 -1
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/script/oas/schema/toSchemasV3.js +10 -16
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/script/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/script/oas/server/Server.d.ts +0 -1
- package/script/oas/server/Server.d.ts.map +1 -1
- package/script/oas/server/Server.js +0 -1
- package/script/oas/server/toServerV3.d.ts.map +1 -1
- package/script/oas/server/toServerV3.js +2 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/script/oas/string/String.d.ts +16 -88
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +33 -91
- package/script/oas/string/string-types.d.ts +23 -80
- package/script/oas/string/string-types.d.ts.map +1 -1
- package/script/oas/string/string-types.js +6 -2
- package/script/oas/string/toString.d.ts.map +1 -1
- package/script/oas/string/toString.js +68 -18
- package/script/oas/tag/Tag.d.ts +0 -1
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +0 -1
- package/script/oas/union/toUnion.d.ts.map +1 -1
- package/script/oas/union/toUnion.js +6 -2
- package/script/oas/unknown/Unknown.d.ts +3 -1
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +8 -1
- package/script/oas/unknown/toUnknown.js +1 -1
- package/script/oas/void/Void.d.ts +0 -1
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +0 -1
- package/script/types/Brand.d.ts +0 -1
- package/script/types/Brand.d.ts.map +1 -1
- package/script/types/Brand.js +0 -10
- package/script/types/CustomValue.d.ts +0 -1
- package/script/types/CustomValue.d.ts.map +1 -1
- package/script/types/CustomValue.js +0 -1
- package/script/types/DenoJson.d.ts +0 -1
- package/script/types/DenoJson.d.ts.map +1 -1
- package/script/types/DenoJson.js +0 -1
- package/script/types/EnrichmentRequest.d.ts +0 -1
- package/script/types/EnrichmentRequest.d.ts.map +1 -1
- package/script/types/EnrichmentRequest.js +1 -2
- package/script/types/Enrichments.d.ts +0 -1
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +35 -36
- package/script/types/GeneratorKeys.d.ts +0 -1
- package/script/types/GeneratorKeys.d.ts.map +1 -1
- package/script/types/GeneratorKeys.js +2 -3
- package/script/types/Manifest.d.ts +0 -1
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +35 -36
- package/script/types/Method.d.ts +0 -165
- package/script/types/Method.d.ts.map +1 -1
- package/script/types/Method.js +1 -141
- package/script/types/ModuleExport.d.ts +0 -1
- package/script/types/ModuleExport.d.ts.map +1 -1
- package/script/types/ModuleExport.js +0 -1
- package/script/types/PrettierConfig.d.ts +0 -1
- package/script/types/PrettierConfig.d.ts.map +1 -1
- package/script/types/PrettierConfig.js +35 -36
- package/script/types/Preview.d.ts +0 -1
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +35 -36
- package/script/types/RefName.d.ts +0 -1
- package/script/types/RefName.d.ts.map +1 -1
- package/script/types/RefName.js +1 -2
- package/script/types/Results.d.ts +0 -1
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +35 -36
- package/script/types/Settings.d.ts +0 -1
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +35 -36
- package/script/types/TypeSystem.d.ts +0 -1
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/script/types/TypeSystem.js +0 -1
- package/esm/_dnt.polyfills.d.ts +0 -12
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -15
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1427
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -117
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -103
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -93
- package/esm/oas/_helpers/parseDefault.d.ts +0 -164
- package/esm/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/oas/_helpers/parseDefault.js +0 -144
- package/esm/oas/_helpers/parseExample.d.ts +0 -123
- package/esm/oas/_helpers/parseExample.d.ts.map +0 -1
- package/esm/oas/_helpers/parseExample.js +0 -103
- package/esm/oas/_helpers/parseFormat.d.ts +0 -169
- package/esm/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/esm/oas/_helpers/parseFormat.js +0 -154
- package/esm/oas/components/components-types.d.ts +0 -19
- package/esm/oas/components/components-types.d.ts.map +0 -1
- package/esm/oas/components/components-types.js +0 -21
- package/esm/oas/document/document-types.d.ts +0 -16
- package/esm/oas/document/document-types.d.ts.map +0 -1
- package/esm/oas/document/document-types.js +0 -18
- package/esm/oas/header/header-types.d.ts +0 -50
- package/esm/oas/header/header-types.d.ts.map +0 -1
- package/esm/oas/header/header-types.js +0 -30
- package/esm/oas/mediaType/mediaType-types.d.ts +0 -29
- package/esm/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/esm/oas/mediaType/mediaType-types.js +0 -18
- package/esm/oas/object/object-types.d.ts +0 -19
- package/esm/oas/object/object-types.d.ts.map +0 -1
- package/esm/oas/object/object-types.js +0 -23
- package/esm/oas/operation/operation-types.d.ts +0 -273
- package/esm/oas/operation/operation-types.d.ts.map +0 -1
- package/esm/oas/operation/operation-types.js +0 -133
- package/esm/oas/pathItem/pathItem-types.d.ts +0 -12
- package/esm/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/esm/oas/pathItem/pathItem-types.js +0 -12
- package/esm/oas/requestBody/requestBody-types.d.ts +0 -10
- package/esm/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/esm/oas/requestBody/requestBody-types.js +0 -9
- package/esm/oas/response/response-types.d.ts +0 -12
- package/esm/oas/response/response-types.d.ts.map +0 -1
- package/esm/oas/response/response-types.js +0 -11
- package/esm/oas/schema/schema-types.d.ts +0 -12
- package/esm/oas/schema/schema-types.d.ts.map +0 -1
- package/esm/oas/schema/schema-types.js +0 -19
- package/esm/oas/union/union-types.d.ts +0 -34
- package/esm/oas/union/union-types.d.ts.map +0 -1
- package/esm/oas/union/union-types.js +0 -19
- package/esm/run/toV3JsonDocument.d.ts +0 -151
- package/esm/run/toV3JsonDocument.d.ts.map +0 -1
- package/esm/run/toV3JsonDocument.js +0 -172
- package/script/_dnt.polyfills.d.ts +0 -12
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -16
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -55
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1431
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -121
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -106
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -35
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -99
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -162
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -25
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -22
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -12
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -84
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -23
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -7
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -18
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -97
- package/script/oas/_helpers/parseDefault.d.ts +0 -164
- package/script/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/script/oas/_helpers/parseDefault.js +0 -181
- package/script/oas/_helpers/parseExample.d.ts +0 -123
- package/script/oas/_helpers/parseExample.d.ts.map +0 -1
- package/script/oas/_helpers/parseExample.js +0 -140
- package/script/oas/_helpers/parseFormat.d.ts +0 -169
- package/script/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/script/oas/_helpers/parseFormat.js +0 -191
- package/script/oas/components/components-types.d.ts +0 -19
- package/script/oas/components/components-types.d.ts.map +0 -1
- package/script/oas/components/components-types.js +0 -57
- package/script/oas/document/document-types.d.ts +0 -16
- package/script/oas/document/document-types.d.ts.map +0 -1
- package/script/oas/document/document-types.js +0 -54
- package/script/oas/header/header-types.d.ts +0 -50
- package/script/oas/header/header-types.d.ts.map +0 -1
- package/script/oas/header/header-types.js +0 -66
- package/script/oas/mediaType/mediaType-types.d.ts +0 -29
- package/script/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/script/oas/mediaType/mediaType-types.js +0 -54
- package/script/oas/object/object-types.d.ts +0 -19
- package/script/oas/object/object-types.d.ts.map +0 -1
- package/script/oas/object/object-types.js +0 -59
- package/script/oas/operation/operation-types.d.ts +0 -273
- package/script/oas/operation/operation-types.d.ts.map +0 -1
- package/script/oas/operation/operation-types.js +0 -169
- package/script/oas/pathItem/pathItem-types.d.ts +0 -12
- package/script/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/script/oas/pathItem/pathItem-types.js +0 -48
- package/script/oas/requestBody/requestBody-types.d.ts +0 -10
- package/script/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/script/oas/response/response-types.d.ts +0 -12
- package/script/oas/response/response-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.d.ts +0 -12
- package/script/oas/schema/schema-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.js +0 -55
- package/script/oas/union/union-types.d.ts +0 -34
- package/script/oas/union/union-types.d.ts.map +0 -1
- package/script/oas/union/union-types.js +0 -55
- package/script/run/toV3JsonDocument.d.ts +0 -151
- package/script/run/toV3JsonDocument.d.ts.map +0 -1
- package/script/run/toV3JsonDocument.js +0 -180
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { KindType, Type } from "./_type.js";
|
|
2
|
-
/**
|
|
3
|
-
* Name of the schema to use.
|
|
4
|
-
*
|
|
5
|
-
* > [!NOTE]
|
|
6
|
-
* > It is recommended to use the schema that is most appropriate for your use
|
|
7
|
-
* > case. Doing so will avoid any unnecessary processing and benefit
|
|
8
|
-
* > performance.
|
|
9
|
-
*
|
|
10
|
-
* Options include:
|
|
11
|
-
* - `failsafe`: supports generic mappings, generic sequences and generic
|
|
12
|
-
* strings.
|
|
13
|
-
* - `json`: extends `failsafe` schema by also supporting nulls, booleans,
|
|
14
|
-
* integers and floats.
|
|
15
|
-
* - `core`: functionally the same as `json` schema.
|
|
16
|
-
* - `default`: extends `core` schema by also supporting binary, omap, pairs and
|
|
17
|
-
* set types.
|
|
18
|
-
* - `extended`: extends `default` schema by also supporting regular
|
|
19
|
-
* expressions and undefined values.
|
|
20
|
-
*
|
|
21
|
-
* See
|
|
22
|
-
* {@link https://yaml.org/spec/1.2.2/#chapter-10-recommended-schemas | YAML 1.2 spec}
|
|
23
|
-
* for more details on the `failsafe`, `json` and `core` schemas.
|
|
24
|
-
*/
|
|
25
|
-
export type SchemaType = "failsafe" | "json" | "core" | "default" | "extended";
|
|
26
|
-
/**
|
|
27
|
-
* A type that can be implicitly resolved (i.e. without using a tag) when
|
|
28
|
-
* loading a YAML document.
|
|
29
|
-
*/
|
|
30
|
-
export type ImplicitType = Type<"scalar">;
|
|
31
|
-
export type ExplicitType = Type<KindType>;
|
|
32
|
-
export type TypeMap = Record<KindType | "fallback", Map<string, ExplicitType>>;
|
|
33
|
-
export interface Schema {
|
|
34
|
-
implicitTypes: ImplicitType[];
|
|
35
|
-
explicitTypes: ExplicitType[];
|
|
36
|
-
typeMap: TypeMap;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Default YAML schema. It is not described in the YAML specification.
|
|
40
|
-
*/
|
|
41
|
-
export declare const DEFAULT_SCHEMA: Schema;
|
|
42
|
-
export declare const SCHEMA_MAP: Map<SchemaType, Schema>;
|
|
43
|
-
export declare function getSchema(schema?: SchemaType, types?: ImplicitType[]): Schema;
|
|
44
|
-
//# sourceMappingURL=_schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_schema.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_schema.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAiBjD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;AAC1C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;AAE1C,MAAM,MAAM,OAAO,GAAG,MAAM,CAC1B,QAAQ,GAAG,UAAU,EACrB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAC1B,CAAC;AAqBF,MAAM,WAAW,MAAM;IACrB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;CAClB;AA2CD;;GAEG;AACH,eAAO,MAAM,cAAc,QAIzB,CAAC;AA2BH,eAAO,MAAM,UAAU,yBAMrB,CAAC;AAEH,wBAAgB,SAAS,CACvB,MAAM,GAAE,UAAsB,EAC9B,KAAK,CAAC,EAAE,YAAY,EAAE,GACrB,MAAM,CAWR"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
// This module is browser compatible.
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.SCHEMA_MAP = exports.DEFAULT_SCHEMA = void 0;
|
|
9
|
-
exports.getSchema = getSchema;
|
|
10
|
-
const binary_js_1 = require("./_type/binary.js");
|
|
11
|
-
const bool_js_1 = require("./_type/bool.js");
|
|
12
|
-
const float_js_1 = require("./_type/float.js");
|
|
13
|
-
const int_js_1 = require("./_type/int.js");
|
|
14
|
-
const map_js_1 = require("./_type/map.js");
|
|
15
|
-
const merge_js_1 = require("./_type/merge.js");
|
|
16
|
-
const nil_js_1 = require("./_type/nil.js");
|
|
17
|
-
const omap_js_1 = require("./_type/omap.js");
|
|
18
|
-
const pairs_js_1 = require("./_type/pairs.js");
|
|
19
|
-
const regexp_js_1 = require("./_type/regexp.js");
|
|
20
|
-
const seq_js_1 = require("./_type/seq.js");
|
|
21
|
-
const set_js_1 = require("./_type/set.js");
|
|
22
|
-
const str_js_1 = require("./_type/str.js");
|
|
23
|
-
const timestamp_js_1 = require("./_type/timestamp.js");
|
|
24
|
-
const undefined_js_1 = require("./_type/undefined.js");
|
|
25
|
-
function createTypeMap(implicitTypes, explicitTypes) {
|
|
26
|
-
const result = {
|
|
27
|
-
fallback: new Map(),
|
|
28
|
-
mapping: new Map(),
|
|
29
|
-
scalar: new Map(),
|
|
30
|
-
sequence: new Map(),
|
|
31
|
-
};
|
|
32
|
-
const fallbackMap = result.fallback;
|
|
33
|
-
for (const type of [...implicitTypes, ...explicitTypes]) {
|
|
34
|
-
const map = result[type.kind];
|
|
35
|
-
map.set(type.tag, type);
|
|
36
|
-
fallbackMap.set(type.tag, type);
|
|
37
|
-
}
|
|
38
|
-
return result;
|
|
39
|
-
}
|
|
40
|
-
function createSchema({ explicitTypes = [], implicitTypes = [], include }) {
|
|
41
|
-
if (include) {
|
|
42
|
-
implicitTypes.push(...include.implicitTypes);
|
|
43
|
-
explicitTypes.push(...include.explicitTypes);
|
|
44
|
-
}
|
|
45
|
-
const typeMap = createTypeMap(implicitTypes, explicitTypes);
|
|
46
|
-
return { implicitTypes, explicitTypes, typeMap };
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Standard YAML's failsafe schema.
|
|
50
|
-
*
|
|
51
|
-
* @see {@link http://www.yaml.org/spec/1.2/spec.html#id2802346}
|
|
52
|
-
*/
|
|
53
|
-
const FAILSAFE_SCHEMA = createSchema({
|
|
54
|
-
explicitTypes: [str_js_1.str, seq_js_1.seq, map_js_1.map],
|
|
55
|
-
});
|
|
56
|
-
/**
|
|
57
|
-
* Standard YAML's JSON schema.
|
|
58
|
-
*
|
|
59
|
-
* @see {@link http://www.yaml.org/spec/1.2/spec.html#id2803231}
|
|
60
|
-
*/
|
|
61
|
-
const JSON_SCHEMA = createSchema({
|
|
62
|
-
implicitTypes: [nil_js_1.nil, bool_js_1.bool, int_js_1.int, float_js_1.float],
|
|
63
|
-
include: FAILSAFE_SCHEMA,
|
|
64
|
-
});
|
|
65
|
-
/**
|
|
66
|
-
* Standard YAML's core schema.
|
|
67
|
-
*
|
|
68
|
-
* @see {@link http://www.yaml.org/spec/1.2/spec.html#id2804923}
|
|
69
|
-
*/
|
|
70
|
-
const CORE_SCHEMA = createSchema({
|
|
71
|
-
include: JSON_SCHEMA,
|
|
72
|
-
});
|
|
73
|
-
/**
|
|
74
|
-
* Default YAML schema. It is not described in the YAML specification.
|
|
75
|
-
*/
|
|
76
|
-
exports.DEFAULT_SCHEMA = createSchema({
|
|
77
|
-
explicitTypes: [binary_js_1.binary, omap_js_1.omap, pairs_js_1.pairs, set_js_1.set],
|
|
78
|
-
implicitTypes: [timestamp_js_1.timestamp, merge_js_1.merge],
|
|
79
|
-
include: CORE_SCHEMA,
|
|
80
|
-
});
|
|
81
|
-
/***
|
|
82
|
-
* Extends JS-YAML default schema with additional JavaScript types
|
|
83
|
-
* It is not described in the YAML specification.
|
|
84
|
-
* Functions are no longer supported for security reasons.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* ```ts
|
|
88
|
-
* import { parse } from "@std/yaml";
|
|
89
|
-
*
|
|
90
|
-
* const data = parse(
|
|
91
|
-
* `
|
|
92
|
-
* regexp:
|
|
93
|
-
* simple: !!js/regexp foobar
|
|
94
|
-
* modifiers: !!js/regexp /foobar/mi
|
|
95
|
-
* undefined: !!js/undefined ~
|
|
96
|
-
* `,
|
|
97
|
-
* { schema: "extended" },
|
|
98
|
-
* );
|
|
99
|
-
* ```
|
|
100
|
-
*/
|
|
101
|
-
const EXTENDED_SCHEMA = createSchema({
|
|
102
|
-
explicitTypes: [regexp_js_1.regexp, undefined_js_1.undefinedType],
|
|
103
|
-
include: exports.DEFAULT_SCHEMA,
|
|
104
|
-
});
|
|
105
|
-
exports.SCHEMA_MAP = new Map([
|
|
106
|
-
["core", CORE_SCHEMA],
|
|
107
|
-
["default", exports.DEFAULT_SCHEMA],
|
|
108
|
-
["failsafe", FAILSAFE_SCHEMA],
|
|
109
|
-
["json", JSON_SCHEMA],
|
|
110
|
-
["extended", EXTENDED_SCHEMA],
|
|
111
|
-
]);
|
|
112
|
-
function getSchema(schema = "default", types) {
|
|
113
|
-
const schemaObj = exports.SCHEMA_MAP.get(schema);
|
|
114
|
-
if (!types) {
|
|
115
|
-
return schemaObj;
|
|
116
|
-
}
|
|
117
|
-
return createSchema({
|
|
118
|
-
implicitTypes: [...types, ...schemaObj.implicitTypes],
|
|
119
|
-
explicitTypes: [...schemaObj.explicitTypes],
|
|
120
|
-
});
|
|
121
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/binary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAmHxC,eAAO,MAAM,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,CAO7C,CAAC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.binary = void 0;
|
|
4
|
-
// [ 64, 65, 66 ] -> [ padding, CR, LF ]
|
|
5
|
-
const BASE64_MAP = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
|
|
6
|
-
function resolveYamlBinary(data) {
|
|
7
|
-
if (data === null)
|
|
8
|
-
return false;
|
|
9
|
-
let code;
|
|
10
|
-
let bitlen = 0;
|
|
11
|
-
const max = data.length;
|
|
12
|
-
const map = BASE64_MAP;
|
|
13
|
-
// Convert one by one.
|
|
14
|
-
for (let idx = 0; idx < max; idx++) {
|
|
15
|
-
code = map.indexOf(data.charAt(idx));
|
|
16
|
-
// Skip CR/LF
|
|
17
|
-
if (code > 64)
|
|
18
|
-
continue;
|
|
19
|
-
// Fail on illegal characters
|
|
20
|
-
if (code < 0)
|
|
21
|
-
return false;
|
|
22
|
-
bitlen += 6;
|
|
23
|
-
}
|
|
24
|
-
// If there are any bits left, source was corrupted
|
|
25
|
-
return bitlen % 8 === 0;
|
|
26
|
-
}
|
|
27
|
-
function constructYamlBinary(data) {
|
|
28
|
-
// remove CR/LF & padding to simplify scan
|
|
29
|
-
const input = data.replace(/[\r\n=]/g, "");
|
|
30
|
-
const max = input.length;
|
|
31
|
-
const map = BASE64_MAP;
|
|
32
|
-
// Collect by 6*4 bits (3 bytes)
|
|
33
|
-
const result = [];
|
|
34
|
-
let bits = 0;
|
|
35
|
-
for (let idx = 0; idx < max; idx++) {
|
|
36
|
-
if (idx % 4 === 0 && idx) {
|
|
37
|
-
result.push((bits >> 16) & 0xff);
|
|
38
|
-
result.push((bits >> 8) & 0xff);
|
|
39
|
-
result.push(bits & 0xff);
|
|
40
|
-
}
|
|
41
|
-
bits = (bits << 6) | map.indexOf(input.charAt(idx));
|
|
42
|
-
}
|
|
43
|
-
// Dump tail
|
|
44
|
-
const tailbits = (max % 4) * 6;
|
|
45
|
-
if (tailbits === 0) {
|
|
46
|
-
result.push((bits >> 16) & 0xff);
|
|
47
|
-
result.push((bits >> 8) & 0xff);
|
|
48
|
-
result.push(bits & 0xff);
|
|
49
|
-
}
|
|
50
|
-
else if (tailbits === 18) {
|
|
51
|
-
result.push((bits >> 10) & 0xff);
|
|
52
|
-
result.push((bits >> 2) & 0xff);
|
|
53
|
-
}
|
|
54
|
-
else if (tailbits === 12) {
|
|
55
|
-
result.push((bits >> 4) & 0xff);
|
|
56
|
-
}
|
|
57
|
-
return new Uint8Array(result);
|
|
58
|
-
}
|
|
59
|
-
function representYamlBinary(object) {
|
|
60
|
-
const max = object.length;
|
|
61
|
-
const map = BASE64_MAP;
|
|
62
|
-
// Convert every three bytes to 4 ASCII characters.
|
|
63
|
-
let result = "";
|
|
64
|
-
let bits = 0;
|
|
65
|
-
for (let idx = 0; idx < max; idx++) {
|
|
66
|
-
if (idx % 3 === 0 && idx) {
|
|
67
|
-
result += map[(bits >> 18) & 0x3f];
|
|
68
|
-
result += map[(bits >> 12) & 0x3f];
|
|
69
|
-
result += map[(bits >> 6) & 0x3f];
|
|
70
|
-
result += map[bits & 0x3f];
|
|
71
|
-
}
|
|
72
|
-
bits = (bits << 8) + object[idx];
|
|
73
|
-
}
|
|
74
|
-
// Dump tail
|
|
75
|
-
const tail = max % 3;
|
|
76
|
-
if (tail === 0) {
|
|
77
|
-
result += map[(bits >> 18) & 0x3f];
|
|
78
|
-
result += map[(bits >> 12) & 0x3f];
|
|
79
|
-
result += map[(bits >> 6) & 0x3f];
|
|
80
|
-
result += map[bits & 0x3f];
|
|
81
|
-
}
|
|
82
|
-
else if (tail === 2) {
|
|
83
|
-
result += map[(bits >> 10) & 0x3f];
|
|
84
|
-
result += map[(bits >> 4) & 0x3f];
|
|
85
|
-
result += map[(bits << 2) & 0x3f];
|
|
86
|
-
result += map[64];
|
|
87
|
-
}
|
|
88
|
-
else if (tail === 1) {
|
|
89
|
-
result += map[(bits >> 2) & 0x3f];
|
|
90
|
-
result += map[(bits << 4) & 0x3f];
|
|
91
|
-
result += map[64];
|
|
92
|
-
result += map[64];
|
|
93
|
-
}
|
|
94
|
-
return result;
|
|
95
|
-
}
|
|
96
|
-
function isBinary(obj) {
|
|
97
|
-
return obj instanceof Uint8Array;
|
|
98
|
-
}
|
|
99
|
-
exports.binary = {
|
|
100
|
-
tag: "tag:yaml.org,2002:binary",
|
|
101
|
-
construct: constructYamlBinary,
|
|
102
|
-
kind: "scalar",
|
|
103
|
-
predicate: isBinary,
|
|
104
|
-
represent: representYamlBinary,
|
|
105
|
-
resolve: resolveYamlBinary,
|
|
106
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bool.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/bool.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAMxC,eAAO,MAAM,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,CAyBxC,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.bool = void 0;
|
|
8
|
-
const YAML_TRUE_BOOLEANS = ["true", "True", "TRUE"];
|
|
9
|
-
const YAML_FALSE_BOOLEANS = ["false", "False", "FALSE"];
|
|
10
|
-
const YAML_BOOLEANS = [...YAML_TRUE_BOOLEANS, ...YAML_FALSE_BOOLEANS];
|
|
11
|
-
exports.bool = {
|
|
12
|
-
tag: "tag:yaml.org,2002:bool",
|
|
13
|
-
kind: "scalar",
|
|
14
|
-
defaultStyle: "lowercase",
|
|
15
|
-
predicate: (value) => typeof value === "boolean" || value instanceof Boolean,
|
|
16
|
-
construct: (data) => YAML_TRUE_BOOLEANS.includes(data),
|
|
17
|
-
resolve: (data) => YAML_BOOLEANS.includes(data),
|
|
18
|
-
represent: {
|
|
19
|
-
// deno-lint-ignore ban-types
|
|
20
|
-
lowercase: (object) => {
|
|
21
|
-
const value = object instanceof Boolean ? object.valueOf() : object;
|
|
22
|
-
return value ? "true" : "false";
|
|
23
|
-
},
|
|
24
|
-
// deno-lint-ignore ban-types
|
|
25
|
-
uppercase: (object) => {
|
|
26
|
-
const value = object instanceof Boolean ? object.valueOf() : object;
|
|
27
|
-
return value ? "TRUE" : "FALSE";
|
|
28
|
-
},
|
|
29
|
-
// deno-lint-ignore ban-types
|
|
30
|
-
camelcase: (object) => {
|
|
31
|
-
const value = object instanceof Boolean ? object.valueOf() : object;
|
|
32
|
-
return value ? "True" : "False";
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"float.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/float.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAgB,IAAI,EAAE,MAAM,aAAa,CAAC;AAkGtD,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAQxC,CAAC"}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.float = void 0;
|
|
8
|
-
const _utils_js_1 = require("../_utils.js");
|
|
9
|
-
const YAML_FLOAT_PATTERN = new RegExp(
|
|
10
|
-
// 2.5e4, 2.5 and integers
|
|
11
|
-
"^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?" +
|
|
12
|
-
// .2e4, .2
|
|
13
|
-
// special case, seems not from spec
|
|
14
|
-
"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?" +
|
|
15
|
-
// .inf
|
|
16
|
-
"|[-+]?\\.(?:inf|Inf|INF)" +
|
|
17
|
-
// .nan
|
|
18
|
-
"|\\.(?:nan|NaN|NAN))$");
|
|
19
|
-
function resolveYamlFloat(data) {
|
|
20
|
-
if (!YAML_FLOAT_PATTERN.test(data) ||
|
|
21
|
-
// Quick hack to not allow integers end with `_`
|
|
22
|
-
// Probably should update regexp & check speed
|
|
23
|
-
data[data.length - 1] === "_") {
|
|
24
|
-
return false;
|
|
25
|
-
}
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function constructYamlFloat(data) {
|
|
29
|
-
let value = data.replace(/_/g, "").toLowerCase();
|
|
30
|
-
const sign = value[0] === "-" ? -1 : 1;
|
|
31
|
-
if (value[0] && "+-".includes(value[0])) {
|
|
32
|
-
value = value.slice(1);
|
|
33
|
-
}
|
|
34
|
-
if (value === ".inf") {
|
|
35
|
-
return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
|
36
|
-
}
|
|
37
|
-
if (value === ".nan") {
|
|
38
|
-
return NaN;
|
|
39
|
-
}
|
|
40
|
-
return sign * parseFloat(value);
|
|
41
|
-
}
|
|
42
|
-
const SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
43
|
-
function representYamlFloat(
|
|
44
|
-
// deno-lint-ignore ban-types
|
|
45
|
-
object, style) {
|
|
46
|
-
const value = object instanceof Number ? object.valueOf() : object;
|
|
47
|
-
if (isNaN(value)) {
|
|
48
|
-
switch (style) {
|
|
49
|
-
case "lowercase":
|
|
50
|
-
return ".nan";
|
|
51
|
-
case "uppercase":
|
|
52
|
-
return ".NAN";
|
|
53
|
-
case "camelcase":
|
|
54
|
-
return ".NaN";
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
else if (Number.POSITIVE_INFINITY === value) {
|
|
58
|
-
switch (style) {
|
|
59
|
-
case "lowercase":
|
|
60
|
-
return ".inf";
|
|
61
|
-
case "uppercase":
|
|
62
|
-
return ".INF";
|
|
63
|
-
case "camelcase":
|
|
64
|
-
return ".Inf";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
else if (Number.NEGATIVE_INFINITY === value) {
|
|
68
|
-
switch (style) {
|
|
69
|
-
case "lowercase":
|
|
70
|
-
return "-.inf";
|
|
71
|
-
case "uppercase":
|
|
72
|
-
return "-.INF";
|
|
73
|
-
case "camelcase":
|
|
74
|
-
return "-.Inf";
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
else if ((0, _utils_js_1.isNegativeZero)(value)) {
|
|
78
|
-
return "-0.0";
|
|
79
|
-
}
|
|
80
|
-
const res = value.toString(10);
|
|
81
|
-
// JS stringifier can build scientific format without dots: 5e-100,
|
|
82
|
-
// while YAML requires dot: 5.e-100. Fix it with simple hack
|
|
83
|
-
return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace("e", ".e") : res;
|
|
84
|
-
}
|
|
85
|
-
function isFloat(object) {
|
|
86
|
-
if (object instanceof Number)
|
|
87
|
-
object = object.valueOf();
|
|
88
|
-
return typeof object === "number" &&
|
|
89
|
-
(object % 1 !== 0 || (0, _utils_js_1.isNegativeZero)(object));
|
|
90
|
-
}
|
|
91
|
-
exports.float = {
|
|
92
|
-
tag: "tag:yaml.org,2002:float",
|
|
93
|
-
construct: constructYamlFloat,
|
|
94
|
-
defaultStyle: "lowercase",
|
|
95
|
-
kind: "scalar",
|
|
96
|
-
predicate: isFloat,
|
|
97
|
-
represent: representYamlFloat,
|
|
98
|
-
resolve: resolveYamlFloat,
|
|
99
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"int.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/int.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAqIxC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAmCtC,CAAC"}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.int = void 0;
|
|
8
|
-
const _utils_js_1 = require("../_utils.js");
|
|
9
|
-
function isCharCodeInRange(c, lower, upper) {
|
|
10
|
-
return lower <= c && c <= upper;
|
|
11
|
-
}
|
|
12
|
-
function isHexCode(c) {
|
|
13
|
-
return (isCharCodeInRange(c, 0x30, 0x39) || // 0-9
|
|
14
|
-
isCharCodeInRange(c, 0x41, 0x46) || // A-F
|
|
15
|
-
isCharCodeInRange(c, 0x61, 0x66) // a-f
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
function isOctCode(c) {
|
|
19
|
-
return isCharCodeInRange(c, 0x30, 0x37); // 0-7
|
|
20
|
-
}
|
|
21
|
-
function isDecCode(c) {
|
|
22
|
-
return isCharCodeInRange(c, 0x30, 0x39); // 0-9
|
|
23
|
-
}
|
|
24
|
-
function resolveYamlInteger(data) {
|
|
25
|
-
const max = data.length;
|
|
26
|
-
let index = 0;
|
|
27
|
-
let hasDigits = false;
|
|
28
|
-
if (!max)
|
|
29
|
-
return false;
|
|
30
|
-
let ch = data[index];
|
|
31
|
-
// sign
|
|
32
|
-
if (ch === "-" || ch === "+") {
|
|
33
|
-
ch = data[++index];
|
|
34
|
-
}
|
|
35
|
-
if (ch === "0") {
|
|
36
|
-
// 0
|
|
37
|
-
if (index + 1 === max)
|
|
38
|
-
return true;
|
|
39
|
-
ch = data[++index];
|
|
40
|
-
// base 2, base 8, base 16
|
|
41
|
-
if (ch === "b") {
|
|
42
|
-
// base 2
|
|
43
|
-
index++;
|
|
44
|
-
for (; index < max; index++) {
|
|
45
|
-
ch = data[index];
|
|
46
|
-
if (ch === "_")
|
|
47
|
-
continue;
|
|
48
|
-
if (ch !== "0" && ch !== "1")
|
|
49
|
-
return false;
|
|
50
|
-
hasDigits = true;
|
|
51
|
-
}
|
|
52
|
-
return hasDigits && ch !== "_";
|
|
53
|
-
}
|
|
54
|
-
if (ch === "x") {
|
|
55
|
-
// base 16
|
|
56
|
-
index++;
|
|
57
|
-
for (; index < max; index++) {
|
|
58
|
-
ch = data[index];
|
|
59
|
-
if (ch === "_")
|
|
60
|
-
continue;
|
|
61
|
-
if (!isHexCode(data.charCodeAt(index)))
|
|
62
|
-
return false;
|
|
63
|
-
hasDigits = true;
|
|
64
|
-
}
|
|
65
|
-
return hasDigits && ch !== "_";
|
|
66
|
-
}
|
|
67
|
-
// base 8
|
|
68
|
-
for (; index < max; index++) {
|
|
69
|
-
ch = data[index];
|
|
70
|
-
if (ch === "_")
|
|
71
|
-
continue;
|
|
72
|
-
if (!isOctCode(data.charCodeAt(index)))
|
|
73
|
-
return false;
|
|
74
|
-
hasDigits = true;
|
|
75
|
-
}
|
|
76
|
-
return hasDigits && ch !== "_";
|
|
77
|
-
}
|
|
78
|
-
// base 10 (except 0) or base 60
|
|
79
|
-
// value should not start with `_`;
|
|
80
|
-
if (ch === "_")
|
|
81
|
-
return false;
|
|
82
|
-
for (; index < max; index++) {
|
|
83
|
-
ch = data[index];
|
|
84
|
-
if (ch === "_")
|
|
85
|
-
continue;
|
|
86
|
-
if (!isDecCode(data.charCodeAt(index))) {
|
|
87
|
-
return false;
|
|
88
|
-
}
|
|
89
|
-
hasDigits = true;
|
|
90
|
-
}
|
|
91
|
-
// Should have digits and should not end with `_`
|
|
92
|
-
if (!hasDigits || ch === "_")
|
|
93
|
-
return false;
|
|
94
|
-
// base60 almost not used, no needs to optimize
|
|
95
|
-
return /^(:[0-5]?[0-9])+$/.test(data.slice(index));
|
|
96
|
-
}
|
|
97
|
-
function constructYamlInteger(data) {
|
|
98
|
-
let value = data;
|
|
99
|
-
if (value.includes("_")) {
|
|
100
|
-
value = value.replace(/_/g, "");
|
|
101
|
-
}
|
|
102
|
-
let sign = 1;
|
|
103
|
-
let ch = value[0];
|
|
104
|
-
if (ch === "-" || ch === "+") {
|
|
105
|
-
if (ch === "-")
|
|
106
|
-
sign = -1;
|
|
107
|
-
value = value.slice(1);
|
|
108
|
-
ch = value[0];
|
|
109
|
-
}
|
|
110
|
-
if (value === "0")
|
|
111
|
-
return 0;
|
|
112
|
-
if (ch === "0") {
|
|
113
|
-
if (value[1] === "b")
|
|
114
|
-
return sign * parseInt(value.slice(2), 2);
|
|
115
|
-
if (value[1] === "x")
|
|
116
|
-
return sign * parseInt(value, 16);
|
|
117
|
-
return sign * parseInt(value, 8);
|
|
118
|
-
}
|
|
119
|
-
return sign * parseInt(value, 10);
|
|
120
|
-
}
|
|
121
|
-
function isInteger(object) {
|
|
122
|
-
if (object instanceof Number)
|
|
123
|
-
object = object.valueOf();
|
|
124
|
-
return typeof object === "number" && object % 1 === 0 &&
|
|
125
|
-
!(0, _utils_js_1.isNegativeZero)(object);
|
|
126
|
-
}
|
|
127
|
-
exports.int = {
|
|
128
|
-
tag: "tag:yaml.org,2002:int",
|
|
129
|
-
construct: constructYamlInteger,
|
|
130
|
-
defaultStyle: "decimal",
|
|
131
|
-
kind: "scalar",
|
|
132
|
-
predicate: isInteger,
|
|
133
|
-
represent: {
|
|
134
|
-
// deno-lint-ignore ban-types
|
|
135
|
-
binary(object) {
|
|
136
|
-
const value = object instanceof Number ? object.valueOf() : object;
|
|
137
|
-
return value >= 0
|
|
138
|
-
? `0b${value.toString(2)}`
|
|
139
|
-
: `-0b${value.toString(2).slice(1)}`;
|
|
140
|
-
},
|
|
141
|
-
// deno-lint-ignore ban-types
|
|
142
|
-
octal(object) {
|
|
143
|
-
const value = object instanceof Number ? object.valueOf() : object;
|
|
144
|
-
return value >= 0
|
|
145
|
-
? `0${value.toString(8)}`
|
|
146
|
-
: `-0${value.toString(8).slice(1)}`;
|
|
147
|
-
},
|
|
148
|
-
// deno-lint-ignore ban-types
|
|
149
|
-
decimal(object) {
|
|
150
|
-
const value = object instanceof Number ? object.valueOf() : object;
|
|
151
|
-
return value.toString(10);
|
|
152
|
-
},
|
|
153
|
-
// deno-lint-ignore ban-types
|
|
154
|
-
hexadecimal(object) {
|
|
155
|
-
const value = object instanceof Number ? object.valueOf() : object;
|
|
156
|
-
return value >= 0
|
|
157
|
-
? `0x${value.toString(16).toUpperCase()}`
|
|
158
|
-
: `-0x${value.toString(16).toUpperCase().slice(1)}`;
|
|
159
|
-
},
|
|
160
|
-
},
|
|
161
|
-
resolve: resolveYamlInteger,
|
|
162
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/map.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,CASxC,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.map = void 0;
|
|
8
|
-
exports.map = {
|
|
9
|
-
tag: "tag:yaml.org,2002:map",
|
|
10
|
-
resolve() {
|
|
11
|
-
return true;
|
|
12
|
-
},
|
|
13
|
-
construct(data) {
|
|
14
|
-
return data !== null ? data : {};
|
|
15
|
-
},
|
|
16
|
-
kind: "mapping",
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"merge.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/merge.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,CAKzC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Ported from js-yaml v3.13.1:
|
|
3
|
-
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
4
|
-
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
5
|
-
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.merge = void 0;
|
|
8
|
-
exports.merge = {
|
|
9
|
-
tag: "tag:yaml.org,2002:merge",
|
|
10
|
-
kind: "scalar",
|
|
11
|
-
resolve: (data) => data === "<<" || data === null,
|
|
12
|
-
construct: (data) => data,
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nil.d.ts","sourceRoot":"","sources":["../../../../../../../src/deps/jsr.io/@std/yaml/1.0.10/_type/nil.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAmBpC,CAAC"}
|