@rio-cloud/cdk-v2-constructs 8.4.0 → 8.6.0
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/.jsii +809 -112
- package/lib/contributions/team-transport-two/datadog-synthetics/datadog-synthetics-test-custom-resource/handler.cjs +4822 -7120
- package/lib/datadogv2/secret-locator-custom-resource/on-create.cjs +1715 -4123
- package/lib/datadogv2/service-catalog-custom-resource/on-create.cjs +1762 -4060
- package/lib/fargate/codedeploy-custom-resources/create-deployment-is-complete.cjs +1676 -4084
- package/lib/fargate/codedeploy-custom-resources/create-deployment-on-create.cjs +1676 -4084
- package/lib/fargate/codedeploy-custom-resources/run-monitoring-test-suite-runner.cjs +8549 -10431
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/lib/rio-claidometer.d.ts +19 -2
- package/lib/rio-claidometer.js +31 -9
- package/lib/sbom-catalog/catalog-project.d.ts +126 -0
- package/lib/sbom-catalog/catalog-project.js +266 -0
- package/lib/sbom-catalog/constants.d.ts +2 -0
- package/lib/sbom-catalog/constants.js +6 -0
- package/lib/sbom-catalog/index.d.ts +1 -0
- package/lib/sbom-catalog/index.js +18 -0
- package/lib/sbom-catalog/lambda/handler.cjs +43357 -0
- package/lib/sbom-catalog/lambda/types.d.ts +57 -0
- package/lib/sbom-catalog/lambda/types.js +3 -0
- package/node_modules/@aws-crypto/sha1-browser/CHANGELOG.md +62 -0
- package/node_modules/@aws-crypto/sha1-browser/LICENSE +202 -0
- package/node_modules/@aws-crypto/sha1-browser/README.md +21 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/constants.d.ts +10 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/constants.js +31 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.d.ts +8 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js +29 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/crossPlatformSha1.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/index.d.ts +2 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/index.js +8 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js +11 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.d.ts +9 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js +61 -0
- package/node_modules/@aws-crypto/sha1-browser/build/main/webCryptoSha1.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/constants.d.ts +10 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/constants.js +28 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/constants.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.d.ts +8 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js +26 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/crossPlatformSha1.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/index.d.ts +2 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/index.js +3 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/index.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.d.ts +2 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js +7 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/isEmptyData.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.d.ts +9 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js +58 -0
- package/node_modules/@aws-crypto/sha1-browser/build/module/webCryptoSha1.js.map +1 -0
- package/node_modules/@aws-crypto/sha1-browser/package.json +35 -0
- package/node_modules/@aws-crypto/sha1-browser/src/constants.ts +29 -0
- package/node_modules/@aws-crypto/sha1-browser/src/crossPlatformSha1.ts +29 -0
- package/node_modules/@aws-crypto/sha1-browser/src/index.ts +2 -0
- package/node_modules/@aws-crypto/sha1-browser/src/isEmptyData.ts +9 -0
- package/node_modules/@aws-crypto/sha1-browser/src/webCryptoSha1.ts +79 -0
- package/node_modules/@aws-crypto/sha1-browser/tsconfig.json +10 -0
- package/node_modules/@aws-lambda-powertools/logger/README.md +266 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.d.ts +25 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/LogAttributesStore.js +152 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.d.ts +550 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/Logger.js +1234 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/constants.d.ts +48 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/constants.js +60 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/correlationId.d.ts +51 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/correlationId.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/correlationId.js +60 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.d.ts +116 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogFormatter.js +144 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogItem.d.ts +56 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogItem.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/LogItem.js +77 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/PowertoolsLogFormatter.d.ts +24 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/PowertoolsLogFormatter.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/formatter/PowertoolsLogFormatter.js +78 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/index.d.ts +5 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/index.js +12 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/logBuffer.d.ts +61 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/logBuffer.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/logBuffer.js +126 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/middleware/middy.d.ts +60 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/middleware/middy.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/middleware/middy.js +118 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/package.json +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/ConfigServiceInterface.d.ts +44 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/ConfigServiceInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/ConfigServiceInterface.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/Logger.d.ts +238 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/Logger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/Logger.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/formatters.d.ts +18 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/formatters.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/formatters.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/index.d.ts +3 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/index.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/logKeys.d.ts +248 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/logKeys.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/cjs/types/logKeys.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.d.ts +25 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/LogAttributesStore.js +149 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.d.ts +550 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/Logger.js +1231 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/constants.d.ts +48 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/constants.js +53 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/correlationId.d.ts +51 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/correlationId.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/correlationId.js +56 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.d.ts +116 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogFormatter.js +141 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogItem.d.ts +56 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogItem.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/LogItem.js +74 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/PowertoolsLogFormatter.d.ts +24 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/PowertoolsLogFormatter.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/formatter/PowertoolsLogFormatter.js +75 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/index.d.ts +5 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/index.js +4 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/logBuffer.d.ts +61 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/logBuffer.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/logBuffer.js +120 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/middleware/middy.d.ts +60 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/middleware/middy.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/middleware/middy.js +115 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/package.json +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/ConfigServiceInterface.d.ts +44 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/ConfigServiceInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/Logger.d.ts +238 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/Logger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/Logger.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/formatters.d.ts +18 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/formatters.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/formatters.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/index.d.ts +3 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/index.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/logKeys.d.ts +248 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/logKeys.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/lib/esm/types/logKeys.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/README.md +222 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +131 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +129 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +55 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/README.md +142 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/LRUCache.d.ts +109 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/LRUCache.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/LRUCache.js +228 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/Utility.d.ts +76 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/Utility.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/Utility.js +105 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/awsSdkUtils.d.ts +33 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/awsSdkUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/awsSdkUtils.js +109 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.d.ts +7 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/constants.js +13 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.d.ts +24 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/deepMerge.js +182 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.d.ts +205 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/envUtils.js +313 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/fromBase64.d.ts +23 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/fromBase64.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/fromBase64.js +35 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/index.js +39 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/metadata.d.ts +12 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/metadata.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/metadata.js +34 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/cleanupMiddlewares.d.ts +49 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/cleanupMiddlewares.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/cleanupMiddlewares.js +74 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/constants.d.ts +32 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/middleware/constants.js +38 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/package.json +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.d.ts +197 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/typeUtils.js +337 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/ConfigServiceInterface.d.ts +44 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/ConfigServiceInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/ConfigServiceInterface.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/GenericLogger.d.ts +17 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/GenericLogger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/GenericLogger.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LRUCache.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LRUCache.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LRUCache.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LambdaInterface.d.ts +38 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LambdaInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/LambdaInterface.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/awsSdk.d.ts +29 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/awsSdk.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/awsSdk.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/envUtils.d.ts +70 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/envUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/envUtils.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/index.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/index.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/json.d.ts +20 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/json.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/json.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/middy.d.ts +60 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/middy.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/types/middy.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/unmarshallDynamoDB.d.ts +15 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/unmarshallDynamoDB.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/unmarshallDynamoDB.js +64 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/cjs/version.js +5 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/LRUCache.d.ts +109 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/LRUCache.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/LRUCache.js +225 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/Utility.d.ts +76 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/Utility.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/Utility.js +101 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/awsSdkUtils.d.ts +33 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/awsSdkUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/awsSdkUtils.js +104 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.d.ts +7 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/constants.js +6 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.d.ts +24 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/deepMerge.js +179 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.d.ts +205 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/envUtils.js +301 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/fromBase64.d.ts +23 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/fromBase64.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/fromBase64.js +32 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/index.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/index.js +15 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/metadata.d.ts +12 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/metadata.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/metadata.js +30 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/cleanupMiddlewares.d.ts +49 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/cleanupMiddlewares.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/cleanupMiddlewares.js +71 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/constants.d.ts +32 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/constants.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/middleware/constants.js +31 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/package.json +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.d.ts +197 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/typeUtils.js +324 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/ConfigServiceInterface.d.ts +44 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/ConfigServiceInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/ConfigServiceInterface.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/GenericLogger.d.ts +17 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/GenericLogger.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/GenericLogger.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LRUCache.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LRUCache.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LRUCache.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LambdaInterface.d.ts +38 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LambdaInterface.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/LambdaInterface.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/awsSdk.d.ts +29 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/awsSdk.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/awsSdk.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/envUtils.d.ts +70 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/envUtils.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/envUtils.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/index.d.ts +8 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/index.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/index.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/json.d.ts +20 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/json.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/json.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/middy.d.ts +60 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/middy.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/types/middy.js +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/unmarshallDynamoDB.d.ts +15 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/unmarshallDynamoDB.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/unmarshallDynamoDB.js +60 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/version.d.ts.map +1 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/lib/esm/version.js +2 -0
- package/node_modules/@aws-lambda-powertools/logger/node_modules/@aws-lambda-powertools/commons/package.json +114 -0
- package/node_modules/@aws-lambda-powertools/logger/package.json +89 -0
- package/node_modules/@aws-sdk/checksums/LICENSE +201 -0
- package/node_modules/@aws-sdk/checksums/README.md +6 -0
- package/node_modules/@aws-sdk/checksums/crc.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/crc.js +5 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/index.js +22 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/crc/index.js +159 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/flexible-checksums/index.js +444 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/md5/index.js +4 -0
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js +312 -0
- package/node_modules/@aws-sdk/checksums/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/crc32c/Crc32cJs.js +31 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/crc32c/Crc32cNode.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/crc64-nvme/Crc64Nvme.js +18 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/crc64-nvme/Crc64NvmeJs.js +92 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/crc64-nvme/crc64-nvme-crt-container.js +3 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/index.browser.js +6 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/crc/index.js +6 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js +9 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js +9 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/configuration.js +1 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/constants.js +25 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.js +37 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/flexibleChecksumsMiddleware.js +123 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.js +48 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/getChecksum.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/getChecksumAlgorithmForRequest.js +13 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.js +15 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/getChecksumLocationName.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/getFlexibleChecksumsPlugin.js +10 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/hasHeader.js +9 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/hasHeaderWithPrefix.js +9 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/index.js +6 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/isChecksumWithPartNumber.js +13 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/isStreaming.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.js +11 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/selectChecksumAlgorithmFunction.js +27 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/stringHasher.js +6 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/stringUnionSelector.js +14 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/types.js +15 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/flexible-checksums/validateChecksumFromResponse.js +45 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/md5/index.js +1 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.browser.js +4 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.js +4 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha1/Sha1Js.js +173 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha1/Sha1Node.js +59 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha1/Sha1WebCrypto.js +71 -0
- package/node_modules/@aws-sdk/checksums/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/crc32c/Crc32cJs.d.ts +13 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/crc32c/Crc32cNode.d.ts +13 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/crc64-nvme/Crc64Nvme.d.ts +21 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/crc64-nvme/Crc64NvmeJs.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/crc64-nvme/crc64-nvme-crt-container.d.ts +11 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/index.browser.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/crc/index.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/configuration.d.ts +58 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/constants.d.ts +83 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/flexibleChecksumsMiddleware.d.ts +33 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/getChecksum.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/getChecksumAlgorithmForRequest.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/getChecksumLocationName.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/getFlexibleChecksumsPlugin.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/hasHeader.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/hasHeaderWithPrefix.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/index.d.ts +9 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/isChecksumWithPartNumber.d.ts +1 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/isStreaming.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.d.ts +57 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/selectChecksumAlgorithmFunction.d.ts +7 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/stringHasher.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/stringUnionSelector.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/types.d.ts +9 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/flexible-checksums/validateChecksumFromResponse.d.ts +13 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/md5/index.d.ts +1 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.browser.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha1/Sha1Js.d.ts +26 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha1/Sha1Node.d.ts +13 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha1/Sha1WebCrypto.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +30 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/crc32c/Crc32cJs.d.ts +8 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/crc32c/Crc32cNode.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/crc64-nvme/Crc64Nvme.d.ts +8 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/crc64-nvme/Crc64NvmeJs.d.ts +9 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/crc64-nvme/crc64-nvme-crt-container.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/index.browser.d.ts +8 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/crc/index.d.ts +6 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +7 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +7 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/configuration.d.ts +29 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/constants.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsInputMiddleware.d.ts +10 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsMiddleware.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/flexibleChecksumsResponseMiddleware.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksum.d.ts +9 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmForRequest.d.ts +15 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumAlgorithmListForResponse.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getChecksumLocationName.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/getFlexibleChecksumsPlugin.d.ts +13 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/hasHeader.d.ts +2 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/hasHeaderWithPrefix.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/index.d.ts +31 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/isChecksumWithPartNumber.d.ts +1 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/isStreaming.d.ts +1 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/resolveFlexibleChecksumsConfig.d.ts +32 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/selectChecksumAlgorithmFunction.d.ts +7 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringHasher.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/stringUnionSelector.d.ts +10 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/types.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/flexible-checksums/validateChecksumFromResponse.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/md5/index.d.ts +1 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +8 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.d.ts +4 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha1/Sha1Js.d.ts +20 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha1/Sha1Node.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha1/Sha1WebCrypto.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/flexible-checksums.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/flexible-checksums.js +5 -0
- package/node_modules/@aws-sdk/checksums/md5.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/md5.js +5 -0
- package/node_modules/@aws-sdk/checksums/package.json +132 -0
- package/node_modules/@aws-sdk/checksums/sha.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/sha.js +5 -0
- package/node_modules/@aws-sdk/client-s3/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-s3/README.md +930 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +126 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/bdd.js +757 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +3064 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +68 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +56 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3273 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +241 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +64 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +122 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +25 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +32 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +23 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +29 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +29 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +32 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +107 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +25 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/bdd.js +754 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +29 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +413 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +185 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +41 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +63 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +52 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +3261 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +25 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +25 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +814 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +339 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +83 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +182 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +326 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +367 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +291 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +187 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +153 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +386 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +197 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +144 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +111 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +134 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +153 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +119 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +119 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +141 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +152 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +237 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +135 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +318 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +108 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAbacCommand.d.ts +77 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +119 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +148 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +151 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +128 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +164 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +250 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +131 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +151 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +164 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +159 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +159 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +110 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +199 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +120 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +143 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +192 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +338 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +378 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +100 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +96 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +165 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +124 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +125 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +168 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +317 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +150 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +133 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +176 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +170 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +137 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +341 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +217 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +203 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +264 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +247 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAbacCommand.d.ts +78 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +117 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +314 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +212 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +197 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +212 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +159 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +213 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +292 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +218 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +176 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +208 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +104 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +165 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +234 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +116 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +165 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +148 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +253 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +315 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +476 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +90 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +168 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +123 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +143 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +381 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +251 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +166 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +118 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +259 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +317 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +373 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +155 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +107 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +96 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +19 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +997 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +208 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +15814 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2035 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +87 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +88 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +86 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +34 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +464 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +1998 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +785 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +58 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +58 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +45 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +54 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +107 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +106 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +539 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +92 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2100 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +372 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +170 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +170 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +174 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +464 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +11 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +14 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-retry/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-retry/dist-cjs/index.js +21 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-retry/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-retry/package.json +49 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-utf8/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-utf8/dist-cjs/index.js +7 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-utf8/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-utf8/package.json +45 -0
- package/node_modules/@aws-sdk/client-s3/package.json +127 -0
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +331 -142
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/configuration.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.js +48 -19
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +276 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/defaultUserAgent.js +0 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +19 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +5 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/configuration.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +5 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/types/shared.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +3 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +22 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +16 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +23 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +24 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +31 -20
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/LICENSE +175 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/README.md +222 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +131 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +129 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.benchmark.d.ts +1 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +55 -0
- package/node_modules/@aws-sdk/core/node_modules/@aws/lambda-invoke-store/package.json +55 -0
- package/node_modules/@aws-sdk/core/package.json +14 -18
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +21 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +42 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +42 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/README.md +7 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +18 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +42 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +42 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +1040 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +213 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/NodeDisableMultiregionAccessPointConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/NodeUseArnRegionConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.browser.js +30 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.js +81 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketHostname.js +106 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.js +111 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint/configurations.js +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-check-content-length-header/check-content-length-header.js +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-expect-continue/middleware-expect-continue.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint/configuration.js +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint/middleware-location-constraint.js +24 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.js +36 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-region-redirect/region-redirect-middleware.js +42 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-configuration/s3Configuration.js +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-expires/s3-expires-middleware.js +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.js +39 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.js +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.js +49 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/classes/SignatureV4S3Express.js +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/constants.js +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.js +38 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/functions/signS3Express.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentity.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js +66 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.js +51 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/protocol/S3RestXmlProtocol.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/to-stream/toStream.browser.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/to-stream/toStream.js +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/configurations.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/constants.js +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/index.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.js +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.js +18 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +94 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/update-arnables-request.js +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/NodeDisableMultiregionAccessPointConfigOptions.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/NodeUseArnRegionConfigOptions.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.browser.d.ts +36 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint/bucketHostname.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.d.ts +174 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint/configurations.d.ts +95 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint/configuration.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-configuration/s3Configuration.d.ts +79 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/classes/SignatureV4S3Express.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/constants.d.ts +37 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/functions/signS3Express.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentity.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-ssec/middleware-ssec.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts +21 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/protocol/S3RestXmlProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/to-stream/toStream.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/to-stream/toStream.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/configurations.d.ts +47 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +39 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/NodeDisableMultiregionAccessPointConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/NodeUseArnRegionConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +103 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +107 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketEndpointMiddleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostname.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/bucketHostnameUtils.d.ts +80 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint/configurations.d.ts +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts +22 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/configuration.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-configuration/s3Configuration.d.ts +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCache.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/classes/SignatureV4S3Express.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/constants.d.ts +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +40 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/s3ExpressMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/functions/signS3Express.d.ts +21 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentity.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-s3-express/interfaces/S3ExpressIdentityProvider.d.ts +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/protocol/S3RestXmlProtocol.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/to-stream/toStream.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/to-stream/toStream.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +23 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +22 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +114 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.js +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/s3.js +5 -0
- package/node_modules/@aws-sdk/middleware-ssec/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-ssec/README.md +4 -0
- package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/middleware-ssec/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-ssec/package.json +42 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-es/endpoint.js +1 -1
- package/node_modules/@aws-sdk/types/dist-es/identity/index.js +1 -5
- package/node_modules/@aws-sdk/types/dist-es/index.js +4 -34
- package/node_modules/@aws-sdk/types/dist-es/transfer.js +1 -1
- package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/client.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/command.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/connection.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/encode.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +7 -7
- package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/index.d.ts +5 -5
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +42 -34
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/response.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/stream.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +2 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/auth.d.ts +2 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/index.d.ts +17 -5
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +225 -34
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/transfer.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/util.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +2 -11
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +6 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +521 -374
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +19 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +111 -66
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +31 -28
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +31 -28
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +16 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +34 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +90 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +34 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionInfo/getRegionInfo.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
- package/node_modules/@smithy/core/dist-es/submodules/config/node-config-provider/getSelectorName.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/parseIni.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +11 -11
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/parseURL.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/types/index.js +1 -7
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +20 -20
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +14 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +13 -13
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +14 -14
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +35 -27
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/isValidHostname.js +1 -1
- package/node_modules/@smithy/core/dist-types/index.d.ts +7 -5
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -3
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +6 -6
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +6 -6
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -11
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +13 -13
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +14 -14
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +29 -12
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/dist-types/submodules/transport/httpRequest.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/middleware-http-signing/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/pagination/createPaginator.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/legacy-root-exports/util-identity-and-auth/memoizeIdentityProvider.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/chunked-blob-reader/chunked-blob-reader.native.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-blob-browser/blobHasher.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/HashCalculator.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/fileStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/hash-stream-node/readableStreamHasher.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.browser.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/index.native.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidFunction.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/invalid-dependency/invalidProvider.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/MiddlewareStack.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/middleware-stack/types.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/NoOpLogger.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/client.d.ts +84 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/command.d.ts +118 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/create-aggregated-client.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/default-error-handler.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/defaults-mode.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/emitWarningIfUnsupportedVersion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/exceptions.d.ts +42 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-array-if-single-item.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/get-value-from-text-node.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/is-serializable-header-value.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/object-mapping.d.ts +179 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/schemaLogFilter.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/ser-utils.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/serde-json.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/circularReplacer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/createWaiter.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/poller.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/sleep.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/utils/validate.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/util-waiter/waiter.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveCustomEndpointsConfig.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/resolveEndpointsConfig.d.ts +57 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/endpointsConfig/utils/getEndpointFromRegion.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/config.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/resolveRegionConfig.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariant.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/EndpointVariantTag.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/PartitionHash.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/RegionHash.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getHostnameFromVariants.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getRegionInfo.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedHostname.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedPartition.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionInfo/getResolvedSigningRegion.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/constants.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/defaultsModeConfig.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.browser.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/defaults-mode/resolveDefaultsModeConfig.native.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.d.ts +36 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/index.native.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/configLoader.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromEnv.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromSharedConfigFiles.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/fromStatic.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/node-config-provider/getSelectorName.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/CredentialsProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/ProviderError.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/TokenProviderError.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/chain.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/fromValue.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/property-provider/memoize.d.ts +40 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/constants.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/externalDataInterceptor.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigData.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getConfigFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getCredentialsFilepath.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getHomeDir.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getProfileName.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFilepath.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSSOTokenFromFile.d.ts +53 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/getSsoSessionData.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSharedConfigFiles.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/loadSsoSessionData.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/mergeConfigFiles.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseIni.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/parseKnownFiles.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/readFile.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/shared-ini-file-loader/types.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/booleanSelector.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/numberSelector.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/util-config-provider/types.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.browser.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/createConfigValueProvider.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.d.ts +110 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/middleware-endpoint/service-customizations/s3.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/bdd/BinaryDecisionDiagram.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/cache/EndpointCache.d.ts +34 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/debugId.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/debug/toDebugString.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/decideEndpoint.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/getEndpointUrlConfig.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/booleanEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/coalesce.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttr.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/getAttrPathList.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/index.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isIpAddress.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/isSet.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/ite.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/not.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/parseURL.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/split.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/stringEquals.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/substring.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/lib/uriEncode.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/resolveEndpoint.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointError.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/EndpointRuleObject.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/ErrorRuleObject.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/RuleSetObject.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/TreeRuleObject.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/types/shared.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/callFunction.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/customEndpointFunctions.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/endpointFunctions.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateEndpointRule.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateErrorRule.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTemplate.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateTreeRule.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointHeaders.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperty.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointUrl.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/EventStreamCodec.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/HeaderMarshaller.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Int64.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/Message.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/MessageEncoderStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/SmithyMessageEncoderStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-codec/splitMessage.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.browser.d.ts +46 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/EventStreamMarshaller.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde/utils.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-config-resolver/EventStreamSerdeConfig.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/EventStreamMarshaller.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getChunkedStream.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.browser.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +95 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +27 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/middleware-content-length/contentLengthMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Field.d.ts +49 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/Fields.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/httpHandler.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/types.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/querystring-builder/buildQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/util-uri-escape/escape-uri.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.browser.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/index.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/configurations.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/isStreamingPayload/isStreamingPayload.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/longPollMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/omitRetryHeadersMiddleware.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/parseRetryAfterHeader.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/defaultRetryQuota.d.ts +26 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/delayDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/retryDecider.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retry-pre-sra-deprecated/types.d.ts +65 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/retryMiddleware.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/middleware-retry/util.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/constants.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +30 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/AdaptiveRetryStrategy.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRateLimiter.d.ts +119 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryBackoffStrategy.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/DefaultRetryToken.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/StandardRetryStrategy.d.ts +56 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/config.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/constants.d.ts +60 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/types.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +71 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +146 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +61 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/hash-node/hash-node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +41 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +39 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/is-array-buffer/is-array-buffer.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +43 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/deserializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serdePlugin.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/middleware-serde/serializerMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +250 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/constants-for-browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/fromBase64.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.browser.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-base64/toBase64.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-body-length/calculateBodyLength.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-buffer-from/buffer-from.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-hex-encoding/hex-encoding.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/ByteArrayCollector.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +77 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.browser.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/checksum/createChecksumStream.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.browser.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/createBufferedReadable.d.ts +16 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/getAwsChunkedEncodingStream.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/headStream.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/sdk-stream-mixin.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.browser.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/splitStream.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.browser.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-collector.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-stream/stream-type-check.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/fromUtf8.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.browser.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUint8Array.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.browser.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/util-utf8/toUtf8.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/uuid/v4.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +33 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpRequest.d.ts +52 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/httpResponse.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostLabel.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/isValidHostname.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/normalizeProvider.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseQueryString.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/parseUrl.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/package.json +9 -7
- package/node_modules/@smithy/eventstream-serde-browser/LICENSE +201 -0
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +9 -0
- package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +3 -0
- package/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts +7 -0
- package/node_modules/@smithy/eventstream-serde-browser/package.json +44 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE +201 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +5 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +1 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +44 -0
- package/node_modules/@smithy/eventstream-serde-node/LICENSE +201 -0
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +1 -0
- package/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/eventstream-serde-node/package.json +44 -0
- package/node_modules/@smithy/hash-blob-browser/LICENSE +201 -0
- package/node_modules/@smithy/hash-blob-browser/dist-cjs/index.js +5 -0
- package/node_modules/@smithy/hash-blob-browser/dist-es/index.js +1 -0
- package/node_modules/@smithy/hash-blob-browser/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/hash-blob-browser/package.json +44 -0
- package/node_modules/@smithy/hash-stream-node/LICENSE +201 -0
- package/node_modules/@smithy/hash-stream-node/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/hash-stream-node/dist-es/index.js +1 -0
- package/node_modules/@smithy/hash-stream-node/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/hash-stream-node/package.json +44 -0
- package/node_modules/@smithy/md5-js/LICENSE +201 -0
- package/node_modules/@smithy/md5-js/dist-cjs/index.js +5 -0
- package/node_modules/@smithy/md5-js/dist-es/index.js +1 -0
- package/node_modules/@smithy/md5-js/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/md5-js/package.json +44 -0
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +10 -10
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +1 -1
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -4
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +5 -4
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +25 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +20 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +43 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +30 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +10 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +5 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +23 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +2 -0
- package/node_modules/@smithy/signature-v4/package.json +4 -7
- package/node_modules/@smithy/types/dist-es/auth/index.js +2 -6
- package/node_modules/@smithy/types/dist-es/connection/index.js +1 -3
- package/node_modules/@smithy/types/dist-es/endpoints/EndpointParameterInstructions.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +1 -5
- package/node_modules/@smithy/types/dist-es/extensions/index.js +1 -2
- package/node_modules/@smithy/types/dist-es/identity/index.js +1 -4
- package/node_modules/@smithy/types/dist-es/index.js +7 -43
- package/node_modules/@smithy/types/dist-es/metrics.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +7 -6
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -3
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +6 -4
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +52 -43
- package/node_modules/@smithy/types/dist-types/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +45 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +59 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +37 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +61 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointParameterInstructions.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +128 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +110 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +52 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/metrics.d.ts +93 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +541 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +162 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +149 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +251 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +118 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +79 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +172 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +54 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +2 -2
- package/node_modules/@smithy/util-stream/LICENSE +201 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +14 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/util-stream/package.json +46 -0
- package/node_modules/js-yaml/README.md +130 -150
- package/node_modules/js-yaml/bin/js-yaml.mjs +107 -0
- package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs +2220 -0
- package/node_modules/js-yaml/dist/browser/js-yaml.esm.min.mjs.map +1 -0
- package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js +33 -0
- package/node_modules/js-yaml/dist/browser/js-yaml.umd.min.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.cjs.js +3248 -0
- package/node_modules/js-yaml/dist/js-yaml.cjs.js.map +1 -0
- package/node_modules/js-yaml/dist/js-yaml.d.ts +382 -0
- package/node_modules/js-yaml/dist/js-yaml.mjs +3026 -2266
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/package.json +28 -14
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +13 -7
- package/version.json +1 -1
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
- package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/package.json +0 -32
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -594
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -587
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getNodeModulesParentDirs.js +0 -15
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.js +0 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.js +0 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.js +0 -75
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -8
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getNodeModulesParentDirs.d.ts +0 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedDevTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getSanitizedTypeScriptVersion.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getTypeScriptUserAgentPair.d.ts +0 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -44
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
- package/node_modules/@nodable/entities/README.md +0 -41
- package/node_modules/@nodable/entities/package.json +0 -57
- package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
- package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
- package/node_modules/@nodable/entities/src/entities.js +0 -1159
- package/node_modules/@nodable/entities/src/entityTries.js +0 -49
- package/node_modules/@nodable/entities/src/index.d.ts +0 -341
- package/node_modules/@nodable/entities/src/index.js +0 -29
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/anynum/LICENSE +0 -21
- package/node_modules/anynum/README.md +0 -142
- package/node_modules/anynum/anynum.js +0 -135
- package/node_modules/anynum/digitTable.js +0 -116
- package/node_modules/anynum/package.json +0 -42
- package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
- package/node_modules/fast-xml-builder/LICENSE +0 -21
- package/node_modules/fast-xml-builder/README.md +0 -74
- package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
- package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
- package/node_modules/fast-xml-builder/package.json +0 -81
- package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
- package/node_modules/fast-xml-builder/src/fxb.js +0 -599
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-builder/src/util.js +0 -16
- package/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
- package/node_modules/fast-xml-parser/LICENSE +0 -21
- package/node_modules/fast-xml-parser/README.md +0 -202
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
- package/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
- package/node_modules/fast-xml-parser/package.json +0 -93
- package/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
- package/node_modules/fast-xml-parser/src/cli/man.js +0 -17
- package/node_modules/fast-xml-parser/src/cli/read.js +0 -43
- package/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
- package/node_modules/fast-xml-parser/src/fxp.js +0 -14
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
- package/node_modules/fast-xml-parser/src/util.js +0 -61
- package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
- package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
- package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
- package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
- package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
- package/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
- package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
- package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
- package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
- package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
- package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
- package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
- package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
- package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
- package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
- package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
- package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
- package/node_modules/fast-xml-parser/src/validator.js +0 -425
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
- package/node_modules/js-yaml/bin/js-yaml.js +0 -117
- package/node_modules/js-yaml/dist/js-yaml.js +0 -2404
- package/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +0 -33
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
- package/node_modules/js-yaml/index.js +0 -44
- package/node_modules/js-yaml/lib/common.js +0 -50
- package/node_modules/js-yaml/lib/dumper.js +0 -937
- package/node_modules/js-yaml/lib/exception.js +0 -51
- package/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
- package/node_modules/js-yaml/lib/loader.js +0 -1794
- package/node_modules/js-yaml/lib/schema/core.js +0 -9
- package/node_modules/js-yaml/lib/schema/default.js +0 -20
- package/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
- package/node_modules/js-yaml/lib/schema/json.js +0 -17
- package/node_modules/js-yaml/lib/schema.js +0 -109
- package/node_modules/js-yaml/lib/snippet.js +0 -96
- package/node_modules/js-yaml/lib/type/binary.js +0 -122
- package/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/node_modules/js-yaml/lib/type/float.js +0 -99
- package/node_modules/js-yaml/lib/type/int.js +0 -142
- package/node_modules/js-yaml/lib/type/map.js +0 -8
- package/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/node_modules/js-yaml/lib/type/null.js +0 -35
- package/node_modules/js-yaml/lib/type/omap.js +0 -45
- package/node_modules/js-yaml/lib/type/pairs.js +0 -50
- package/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/node_modules/js-yaml/lib/type/set.js +0 -29
- package/node_modules/js-yaml/lib/type/str.js +0 -8
- package/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/node_modules/js-yaml/lib/type.js +0 -66
- package/node_modules/path-expression-matcher/LICENSE +0 -21
- package/node_modules/path-expression-matcher/README.md +0 -872
- package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -634
- package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
- package/node_modules/path-expression-matcher/package.json +0 -78
- package/node_modules/path-expression-matcher/src/Expression.js +0 -232
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -209
- package/node_modules/path-expression-matcher/src/Matcher.js +0 -570
- package/node_modules/path-expression-matcher/src/index.d.ts +0 -523
- package/node_modules/path-expression-matcher/src/index.js +0 -29
- package/node_modules/strnum/CHANGELOG.md +0 -51
- package/node_modules/strnum/LICENSE +0 -21
- package/node_modules/strnum/README.md +0 -113
- package/node_modules/strnum/package.json +0 -35
- package/node_modules/strnum/strnum.js +0 -171
- package/node_modules/xml-naming/README.md +0 -189
- package/node_modules/xml-naming/package.json +0 -54
- package/node_modules/xml-naming/src/index.d.ts +0 -74
- package/node_modules/xml-naming/src/index.js +0 -270
- /package/node_modules/@aws-crypto/{crc32 → sha1-browser}/tsconfig.module.json +0 -0
- /package/node_modules/{@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/types.js → @aws-lambda-powertools/logger/lib/esm/types/ConfigServiceInterface.js} +0 -0
- /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
|
@@ -0,0 +1,3248 @@
|
|
|
1
|
+
/*! js-yaml 5.2.2 https://github.com/nodeca/js-yaml @license MIT */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
//#region src/tag.ts
|
|
4
|
+
var NOT_RESOLVED = Symbol("NOT_RESOLVED");
|
|
5
|
+
var MERGE_KEY = Symbol("MERGE_KEY");
|
|
6
|
+
function defineScalarTag(tagName, options) {
|
|
7
|
+
var _options$implicit, _options$matchByTagPr, _options$implicitFirs, _options$identify, _options$represent, _options$representTag;
|
|
8
|
+
return {
|
|
9
|
+
tagName,
|
|
10
|
+
nodeKind: "scalar",
|
|
11
|
+
implicit: (_options$implicit = options.implicit) !== null && _options$implicit !== void 0 ? _options$implicit : false,
|
|
12
|
+
matchByTagPrefix: (_options$matchByTagPr = options.matchByTagPrefix) !== null && _options$matchByTagPr !== void 0 ? _options$matchByTagPr : false,
|
|
13
|
+
implicitFirstChars: (_options$implicitFirs = options.implicitFirstChars) !== null && _options$implicitFirs !== void 0 ? _options$implicitFirs : null,
|
|
14
|
+
resolve: options.resolve,
|
|
15
|
+
identify: (_options$identify = options.identify) !== null && _options$identify !== void 0 ? _options$identify : null,
|
|
16
|
+
represent: (_options$represent = options.represent) !== null && _options$represent !== void 0 ? _options$represent : ((data) => String(data)),
|
|
17
|
+
representTagName: (_options$representTag = options.representTagName) !== null && _options$representTag !== void 0 ? _options$representTag : null
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function defineSequenceTag(tagName, options) {
|
|
21
|
+
var _options$matchByTagPr2, _options$finalize, _options$identify2, _options$represent2, _options$representTag2;
|
|
22
|
+
const carrierIsResult = options.finalize === void 0;
|
|
23
|
+
return {
|
|
24
|
+
tagName,
|
|
25
|
+
nodeKind: "sequence",
|
|
26
|
+
implicit: false,
|
|
27
|
+
matchByTagPrefix: (_options$matchByTagPr2 = options.matchByTagPrefix) !== null && _options$matchByTagPr2 !== void 0 ? _options$matchByTagPr2 : false,
|
|
28
|
+
create: options.create,
|
|
29
|
+
addItem: options.addItem,
|
|
30
|
+
finalize: (_options$finalize = options.finalize) !== null && _options$finalize !== void 0 ? _options$finalize : ((carrier) => carrier),
|
|
31
|
+
carrierIsResult,
|
|
32
|
+
identify: (_options$identify2 = options.identify) !== null && _options$identify2 !== void 0 ? _options$identify2 : null,
|
|
33
|
+
represent: (_options$represent2 = options.represent) !== null && _options$represent2 !== void 0 ? _options$represent2 : ((data) => data),
|
|
34
|
+
representTagName: (_options$representTag2 = options.representTagName) !== null && _options$representTag2 !== void 0 ? _options$representTag2 : null
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function defineMappingTag(tagName, options) {
|
|
38
|
+
var _options$matchByTagPr3, _options$finalize2, _options$identify3, _options$represent3, _options$representTag3;
|
|
39
|
+
const carrierIsResult = options.finalize === void 0;
|
|
40
|
+
return {
|
|
41
|
+
tagName,
|
|
42
|
+
nodeKind: "mapping",
|
|
43
|
+
implicit: false,
|
|
44
|
+
matchByTagPrefix: (_options$matchByTagPr3 = options.matchByTagPrefix) !== null && _options$matchByTagPr3 !== void 0 ? _options$matchByTagPr3 : false,
|
|
45
|
+
create: options.create,
|
|
46
|
+
addPair: options.addPair,
|
|
47
|
+
has: options.has,
|
|
48
|
+
keys: options.keys,
|
|
49
|
+
get: options.get,
|
|
50
|
+
finalize: (_options$finalize2 = options.finalize) !== null && _options$finalize2 !== void 0 ? _options$finalize2 : ((carrier) => carrier),
|
|
51
|
+
carrierIsResult,
|
|
52
|
+
identify: (_options$identify3 = options.identify) !== null && _options$identify3 !== void 0 ? _options$identify3 : null,
|
|
53
|
+
represent: (_options$represent3 = options.represent) !== null && _options$represent3 !== void 0 ? _options$represent3 : ((data) => data),
|
|
54
|
+
representTagName: (_options$representTag3 = options.representTagName) !== null && _options$representTag3 !== void 0 ? _options$representTag3 : null
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/tag/scalar/str.ts
|
|
59
|
+
var strTag = defineScalarTag("tag:yaml.org,2002:str", {
|
|
60
|
+
resolve: (source) => source,
|
|
61
|
+
identify: (data) => typeof data === "string"
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/tag/scalar/null_core.ts
|
|
65
|
+
var NULL_VALUES$1 = [
|
|
66
|
+
"",
|
|
67
|
+
"~",
|
|
68
|
+
"null",
|
|
69
|
+
"Null",
|
|
70
|
+
"NULL"
|
|
71
|
+
];
|
|
72
|
+
var nullCoreTag = defineScalarTag("tag:yaml.org,2002:null", {
|
|
73
|
+
implicit: true,
|
|
74
|
+
implicitFirstChars: [
|
|
75
|
+
"",
|
|
76
|
+
"~",
|
|
77
|
+
"n",
|
|
78
|
+
"N"
|
|
79
|
+
],
|
|
80
|
+
resolve: (source) => {
|
|
81
|
+
if (NULL_VALUES$1.indexOf(source) !== -1) return null;
|
|
82
|
+
return NOT_RESOLVED;
|
|
83
|
+
},
|
|
84
|
+
identify: (object) => object === null,
|
|
85
|
+
represent: () => "null"
|
|
86
|
+
});
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/tag/scalar/null_json.ts
|
|
89
|
+
var nullJsonTag = defineScalarTag("tag:yaml.org,2002:null", {
|
|
90
|
+
implicit: true,
|
|
91
|
+
implicitFirstChars: ["n"],
|
|
92
|
+
resolve: (source, isExplicit) => {
|
|
93
|
+
if (source === "null" || isExplicit && source === "") return null;
|
|
94
|
+
return NOT_RESOLVED;
|
|
95
|
+
},
|
|
96
|
+
identify: (object) => object === null,
|
|
97
|
+
represent: () => "null"
|
|
98
|
+
});
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/tag/scalar/null_yaml11.ts
|
|
101
|
+
var NULL_VALUES = [
|
|
102
|
+
"",
|
|
103
|
+
"~",
|
|
104
|
+
"null",
|
|
105
|
+
"Null",
|
|
106
|
+
"NULL"
|
|
107
|
+
];
|
|
108
|
+
var nullYaml11Tag = defineScalarTag("tag:yaml.org,2002:null", {
|
|
109
|
+
implicit: true,
|
|
110
|
+
implicitFirstChars: [
|
|
111
|
+
"",
|
|
112
|
+
"~",
|
|
113
|
+
"n",
|
|
114
|
+
"N"
|
|
115
|
+
],
|
|
116
|
+
resolve: (source) => {
|
|
117
|
+
if (NULL_VALUES.indexOf(source) !== -1) return null;
|
|
118
|
+
return NOT_RESOLVED;
|
|
119
|
+
},
|
|
120
|
+
identify: (object) => object === null,
|
|
121
|
+
represent: () => "null"
|
|
122
|
+
});
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/tag/scalar/bool_core.ts
|
|
125
|
+
var TRUE_VALUES$2 = [
|
|
126
|
+
"true",
|
|
127
|
+
"True",
|
|
128
|
+
"TRUE"
|
|
129
|
+
];
|
|
130
|
+
var FALSE_VALUES$2 = [
|
|
131
|
+
"false",
|
|
132
|
+
"False",
|
|
133
|
+
"FALSE"
|
|
134
|
+
];
|
|
135
|
+
var boolCoreTag = defineScalarTag("tag:yaml.org,2002:bool", {
|
|
136
|
+
implicit: true,
|
|
137
|
+
implicitFirstChars: [
|
|
138
|
+
"t",
|
|
139
|
+
"T",
|
|
140
|
+
"f",
|
|
141
|
+
"F"
|
|
142
|
+
],
|
|
143
|
+
resolve: (source) => {
|
|
144
|
+
if (TRUE_VALUES$2.indexOf(source) !== -1) return true;
|
|
145
|
+
if (FALSE_VALUES$2.indexOf(source) !== -1) return false;
|
|
146
|
+
return NOT_RESOLVED;
|
|
147
|
+
},
|
|
148
|
+
identify: (object) => Object.prototype.toString.call(object) === "[object Boolean]",
|
|
149
|
+
represent: (object) => object ? "true" : "false"
|
|
150
|
+
});
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/tag/scalar/bool_json.ts
|
|
153
|
+
var TRUE_VALUES$1 = ["true"];
|
|
154
|
+
var FALSE_VALUES$1 = ["false"];
|
|
155
|
+
var boolJsonTag = defineScalarTag("tag:yaml.org,2002:bool", {
|
|
156
|
+
implicit: true,
|
|
157
|
+
implicitFirstChars: ["t", "f"],
|
|
158
|
+
resolve: (source) => {
|
|
159
|
+
if (TRUE_VALUES$1.indexOf(source) !== -1) return true;
|
|
160
|
+
if (FALSE_VALUES$1.indexOf(source) !== -1) return false;
|
|
161
|
+
return NOT_RESOLVED;
|
|
162
|
+
},
|
|
163
|
+
identify: (object) => Object.prototype.toString.call(object) === "[object Boolean]",
|
|
164
|
+
represent: (object) => object ? "true" : "false"
|
|
165
|
+
});
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/tag/scalar/bool_yaml11.ts
|
|
168
|
+
var TRUE_VALUES = [
|
|
169
|
+
"true",
|
|
170
|
+
"True",
|
|
171
|
+
"TRUE",
|
|
172
|
+
"y",
|
|
173
|
+
"Y",
|
|
174
|
+
"yes",
|
|
175
|
+
"Yes",
|
|
176
|
+
"YES",
|
|
177
|
+
"on",
|
|
178
|
+
"On",
|
|
179
|
+
"ON"
|
|
180
|
+
];
|
|
181
|
+
var FALSE_VALUES = [
|
|
182
|
+
"false",
|
|
183
|
+
"False",
|
|
184
|
+
"FALSE",
|
|
185
|
+
"n",
|
|
186
|
+
"N",
|
|
187
|
+
"no",
|
|
188
|
+
"No",
|
|
189
|
+
"NO",
|
|
190
|
+
"off",
|
|
191
|
+
"Off",
|
|
192
|
+
"OFF"
|
|
193
|
+
];
|
|
194
|
+
var boolYaml11Tag = defineScalarTag("tag:yaml.org,2002:bool", {
|
|
195
|
+
implicit: true,
|
|
196
|
+
implicitFirstChars: [
|
|
197
|
+
"y",
|
|
198
|
+
"Y",
|
|
199
|
+
"n",
|
|
200
|
+
"N",
|
|
201
|
+
"t",
|
|
202
|
+
"T",
|
|
203
|
+
"f",
|
|
204
|
+
"F",
|
|
205
|
+
"o",
|
|
206
|
+
"O"
|
|
207
|
+
],
|
|
208
|
+
resolve: (source) => {
|
|
209
|
+
if (TRUE_VALUES.indexOf(source) !== -1) return true;
|
|
210
|
+
if (FALSE_VALUES.indexOf(source) !== -1) return false;
|
|
211
|
+
return NOT_RESOLVED;
|
|
212
|
+
},
|
|
213
|
+
identify: (object) => Object.prototype.toString.call(object) === "[object Boolean]",
|
|
214
|
+
represent: (object) => object ? "true" : "false"
|
|
215
|
+
});
|
|
216
|
+
//#endregion
|
|
217
|
+
//#region src/tag/scalar/int_core.ts
|
|
218
|
+
var YAML_INTEGER_IMPLICIT_PATTERN$1 = /* @__PURE__ */ new RegExp("^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
|
|
219
|
+
var YAML_INTEGER_EXPLICIT_PATTERN$1 = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
|
|
220
|
+
function parseYamlInteger$2(source) {
|
|
221
|
+
let value = source;
|
|
222
|
+
let sign = 1;
|
|
223
|
+
if (value[0] === "-" || value[0] === "+") {
|
|
224
|
+
if (value[0] === "-") sign = -1;
|
|
225
|
+
value = value.slice(1);
|
|
226
|
+
}
|
|
227
|
+
if (value.startsWith("0b")) return sign * parseInt(value.slice(2), 2);
|
|
228
|
+
if (value.startsWith("0o")) return sign * parseInt(value.slice(2), 8);
|
|
229
|
+
if (value.startsWith("0x")) return sign * parseInt(value.slice(2), 16);
|
|
230
|
+
return sign * parseInt(value, 10);
|
|
231
|
+
}
|
|
232
|
+
function resolveYamlInteger$2(source, isExplicit) {
|
|
233
|
+
if (isExplicit) {
|
|
234
|
+
if (!YAML_INTEGER_EXPLICIT_PATTERN$1.test(source)) return NOT_RESOLVED;
|
|
235
|
+
} else if (!YAML_INTEGER_IMPLICIT_PATTERN$1.test(source)) return NOT_RESOLVED;
|
|
236
|
+
const result = parseYamlInteger$2(source);
|
|
237
|
+
return Number.isFinite(result) ? result : NOT_RESOLVED;
|
|
238
|
+
}
|
|
239
|
+
var intCoreTag = defineScalarTag("tag:yaml.org,2002:int", {
|
|
240
|
+
implicit: true,
|
|
241
|
+
implicitFirstChars: [
|
|
242
|
+
"-",
|
|
243
|
+
"+",
|
|
244
|
+
..."0123456789"
|
|
245
|
+
],
|
|
246
|
+
resolve: resolveYamlInteger$2,
|
|
247
|
+
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
|
248
|
+
represent: (object) => object.toString(10)
|
|
249
|
+
});
|
|
250
|
+
//#endregion
|
|
251
|
+
//#region src/tag/scalar/int_json.ts
|
|
252
|
+
var YAML_INTEGER_IMPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)$");
|
|
253
|
+
var YAML_INTEGER_EXPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$");
|
|
254
|
+
function parseYamlInteger$1(source) {
|
|
255
|
+
let value = source;
|
|
256
|
+
let sign = 1;
|
|
257
|
+
if (value[0] === "-" || value[0] === "+") {
|
|
258
|
+
if (value[0] === "-") sign = -1;
|
|
259
|
+
value = value.slice(1);
|
|
260
|
+
}
|
|
261
|
+
if (value.startsWith("0b")) return sign * parseInt(value.slice(2), 2);
|
|
262
|
+
if (value.startsWith("0o")) return sign * parseInt(value.slice(2), 8);
|
|
263
|
+
if (value.startsWith("0x")) return sign * parseInt(value.slice(2), 16);
|
|
264
|
+
return sign * parseInt(value, 10);
|
|
265
|
+
}
|
|
266
|
+
function resolveYamlInteger$1(source, isExplicit) {
|
|
267
|
+
if (isExplicit) {
|
|
268
|
+
if (!YAML_INTEGER_EXPLICIT_PATTERN.test(source)) return NOT_RESOLVED;
|
|
269
|
+
} else if (!YAML_INTEGER_IMPLICIT_PATTERN.test(source)) return NOT_RESOLVED;
|
|
270
|
+
const result = parseYamlInteger$1(source);
|
|
271
|
+
return Number.isFinite(result) ? result : NOT_RESOLVED;
|
|
272
|
+
}
|
|
273
|
+
var intJsonTag = defineScalarTag("tag:yaml.org,2002:int", {
|
|
274
|
+
implicit: true,
|
|
275
|
+
implicitFirstChars: ["-", ..."0123456789"],
|
|
276
|
+
resolve: resolveYamlInteger$1,
|
|
277
|
+
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
|
278
|
+
represent: (object) => object.toString(10)
|
|
279
|
+
});
|
|
280
|
+
//#endregion
|
|
281
|
+
//#region src/tag/scalar/int_yaml11.ts
|
|
282
|
+
var YAML_INTEGER_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$");
|
|
283
|
+
function parseYamlInteger(source) {
|
|
284
|
+
let value = source.replace(/_/g, "");
|
|
285
|
+
let sign = 1;
|
|
286
|
+
if (value[0] === "-" || value[0] === "+") {
|
|
287
|
+
if (value[0] === "-") sign = -1;
|
|
288
|
+
value = value.slice(1);
|
|
289
|
+
}
|
|
290
|
+
if (value.startsWith("0b")) return sign * parseInt(value.slice(2), 2);
|
|
291
|
+
if (value.startsWith("0x")) return sign * parseInt(value.slice(2), 16);
|
|
292
|
+
if (value.includes(":")) {
|
|
293
|
+
let result = 0;
|
|
294
|
+
for (const part of value.split(":")) result = result * 60 + Number(part);
|
|
295
|
+
return sign * result;
|
|
296
|
+
}
|
|
297
|
+
if (value !== "0" && value[0] === "0") return sign * parseInt(value, 8);
|
|
298
|
+
return sign * parseInt(value, 10);
|
|
299
|
+
}
|
|
300
|
+
function resolveYamlInteger(source) {
|
|
301
|
+
if (!YAML_INTEGER_PATTERN.test(source)) return NOT_RESOLVED;
|
|
302
|
+
const result = parseYamlInteger(source);
|
|
303
|
+
return Number.isFinite(result) ? result : NOT_RESOLVED;
|
|
304
|
+
}
|
|
305
|
+
var intYaml11Tag = defineScalarTag("tag:yaml.org,2002:int", {
|
|
306
|
+
implicit: true,
|
|
307
|
+
implicitFirstChars: [
|
|
308
|
+
"-",
|
|
309
|
+
"+",
|
|
310
|
+
..."0123456789"
|
|
311
|
+
],
|
|
312
|
+
resolve: resolveYamlInteger,
|
|
313
|
+
identify: (object) => Number.isInteger(object) && !Object.is(object, -0) && object.toString(10).indexOf("e") < 0,
|
|
314
|
+
represent: (object) => object.toString(10)
|
|
315
|
+
});
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/tag/scalar/float_core.ts
|
|
318
|
+
var YAML_FLOAT_PATTERN$1 = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
319
|
+
var YAML_FLOAT_SPECIAL_PATTERN$1 = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
320
|
+
function resolveYamlFloat$2(source) {
|
|
321
|
+
if (!YAML_FLOAT_PATTERN$1.test(source)) return NOT_RESOLVED;
|
|
322
|
+
let value = source.toLowerCase();
|
|
323
|
+
const sign = value[0] === "-" ? -1 : 1;
|
|
324
|
+
if ("+-".includes(value[0])) value = value.slice(1);
|
|
325
|
+
if (value === ".inf") return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
|
326
|
+
if (value === ".nan") return NaN;
|
|
327
|
+
const result = sign * parseFloat(value);
|
|
328
|
+
if (Number.isFinite(result) || YAML_FLOAT_SPECIAL_PATTERN$1.test(source)) return result;
|
|
329
|
+
return NOT_RESOLVED;
|
|
330
|
+
}
|
|
331
|
+
function representYamlFloat$2(object) {
|
|
332
|
+
if (isNaN(object)) return ".nan";
|
|
333
|
+
if (object === Number.POSITIVE_INFINITY) return ".inf";
|
|
334
|
+
if (object === Number.NEGATIVE_INFINITY) return "-.inf";
|
|
335
|
+
if (Object.is(object, -0)) return "-0.0";
|
|
336
|
+
const result = object.toString(10);
|
|
337
|
+
return /^[-+]?[0-9]+e/.test(result) ? result.replace("e", ".e") : result;
|
|
338
|
+
}
|
|
339
|
+
var floatCoreTag = defineScalarTag("tag:yaml.org,2002:float", {
|
|
340
|
+
implicit: true,
|
|
341
|
+
implicitFirstChars: [
|
|
342
|
+
"-",
|
|
343
|
+
"+",
|
|
344
|
+
".",
|
|
345
|
+
..."0123456789"
|
|
346
|
+
],
|
|
347
|
+
resolve: resolveYamlFloat$2,
|
|
348
|
+
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
|
349
|
+
represent: representYamlFloat$2
|
|
350
|
+
});
|
|
351
|
+
//#endregion
|
|
352
|
+
//#region src/tag/scalar/float_json.ts
|
|
353
|
+
var YAML_FLOAT_IMPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$");
|
|
354
|
+
var YAML_FLOAT_EXPLICIT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
355
|
+
function resolveYamlFloat$1(source, isExplicit) {
|
|
356
|
+
if (isExplicit) {
|
|
357
|
+
if (!YAML_FLOAT_EXPLICIT_PATTERN.test(source)) return NOT_RESOLVED;
|
|
358
|
+
let value = source.toLowerCase();
|
|
359
|
+
const sign = value[0] === "-" ? -1 : 1;
|
|
360
|
+
if ("+-".includes(value[0])) value = value.slice(1);
|
|
361
|
+
if (value === ".inf") return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
|
362
|
+
if (value === ".nan") return NaN;
|
|
363
|
+
const result = sign * parseFloat(value);
|
|
364
|
+
return Number.isFinite(result) ? result : NOT_RESOLVED;
|
|
365
|
+
}
|
|
366
|
+
if (!YAML_FLOAT_IMPLICIT_PATTERN.test(source)) return NOT_RESOLVED;
|
|
367
|
+
const result = Number(source);
|
|
368
|
+
if (Number.isFinite(result)) return result;
|
|
369
|
+
return NOT_RESOLVED;
|
|
370
|
+
}
|
|
371
|
+
function representYamlFloat$1(object) {
|
|
372
|
+
if (isNaN(object)) return ".nan";
|
|
373
|
+
if (object === Number.POSITIVE_INFINITY) return ".inf";
|
|
374
|
+
if (object === Number.NEGATIVE_INFINITY) return "-.inf";
|
|
375
|
+
if (Object.is(object, -0)) return "-0.0";
|
|
376
|
+
const result = object.toString(10);
|
|
377
|
+
return /^[-+]?[0-9]+e/.test(result) ? result.replace("e", ".e") : result;
|
|
378
|
+
}
|
|
379
|
+
var floatJsonTag = defineScalarTag("tag:yaml.org,2002:float", {
|
|
380
|
+
implicit: true,
|
|
381
|
+
implicitFirstChars: ["-", ..."0123456789"],
|
|
382
|
+
resolve: resolveYamlFloat$1,
|
|
383
|
+
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
|
384
|
+
represent: representYamlFloat$1
|
|
385
|
+
});
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region src/tag/scalar/float_yaml11.ts
|
|
388
|
+
var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
389
|
+
var YAML_FLOAT_SPECIAL_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
390
|
+
function resolveYamlFloat(source) {
|
|
391
|
+
if (!YAML_FLOAT_PATTERN.test(source)) return NOT_RESOLVED;
|
|
392
|
+
let value = source.toLowerCase().replace(/_/g, "");
|
|
393
|
+
const sign = value[0] === "-" ? -1 : 1;
|
|
394
|
+
if ("+-".includes(value[0])) value = value.slice(1);
|
|
395
|
+
if (value === ".inf") return sign === 1 ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;
|
|
396
|
+
if (value === ".nan") return NaN;
|
|
397
|
+
let result = 0;
|
|
398
|
+
if (value.includes(":")) {
|
|
399
|
+
for (const part of value.split(":")) result = result * 60 + Number(part);
|
|
400
|
+
result *= sign;
|
|
401
|
+
} else result = sign * parseFloat(value);
|
|
402
|
+
if (Number.isFinite(result) || YAML_FLOAT_SPECIAL_PATTERN.test(source)) return result;
|
|
403
|
+
return NOT_RESOLVED;
|
|
404
|
+
}
|
|
405
|
+
function representYamlFloat(object) {
|
|
406
|
+
if (isNaN(object)) return ".nan";
|
|
407
|
+
if (object === Number.POSITIVE_INFINITY) return ".inf";
|
|
408
|
+
if (object === Number.NEGATIVE_INFINITY) return "-.inf";
|
|
409
|
+
if (Object.is(object, -0)) return "-0.0";
|
|
410
|
+
const result = object.toString(10);
|
|
411
|
+
return /^[-+]?[0-9]+e/.test(result) ? result.replace("e", ".e") : result;
|
|
412
|
+
}
|
|
413
|
+
var floatYaml11Tag = defineScalarTag("tag:yaml.org,2002:float", {
|
|
414
|
+
implicit: true,
|
|
415
|
+
implicitFirstChars: [
|
|
416
|
+
"-",
|
|
417
|
+
"+",
|
|
418
|
+
".",
|
|
419
|
+
..."0123456789"
|
|
420
|
+
],
|
|
421
|
+
resolve: resolveYamlFloat,
|
|
422
|
+
identify: (object) => typeof object === "number" && (!Number.isInteger(object) || Object.is(object, -0) || object.toString(10).indexOf("e") >= 0),
|
|
423
|
+
represent: representYamlFloat
|
|
424
|
+
});
|
|
425
|
+
//#endregion
|
|
426
|
+
//#region src/tag/scalar/merge.ts
|
|
427
|
+
var mergeTag = defineScalarTag("tag:yaml.org,2002:merge", {
|
|
428
|
+
implicit: true,
|
|
429
|
+
implicitFirstChars: ["<"],
|
|
430
|
+
resolve: (source, isExplicit) => {
|
|
431
|
+
if (source === "<<" || isExplicit && source === "") return MERGE_KEY;
|
|
432
|
+
return NOT_RESOLVED;
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
//#endregion
|
|
436
|
+
//#region src/tag/scalar/binary.ts
|
|
437
|
+
var BASE64_PATTERN = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
438
|
+
function resolveYamlBinary(source) {
|
|
439
|
+
const input = source.replace(/\s/g, "");
|
|
440
|
+
if (input.length % 4 !== 0 || !BASE64_PATTERN.test(input)) return NOT_RESOLVED;
|
|
441
|
+
const binary = atob(input);
|
|
442
|
+
const result = new Uint8Array(binary.length);
|
|
443
|
+
for (let index = 0; index < binary.length; index++) result[index] = binary.charCodeAt(index);
|
|
444
|
+
return result;
|
|
445
|
+
}
|
|
446
|
+
function representYamlBinary(object) {
|
|
447
|
+
let binary = "";
|
|
448
|
+
for (let index = 0; index < object.length; index++) binary += String.fromCharCode(object[index]);
|
|
449
|
+
return btoa(binary);
|
|
450
|
+
}
|
|
451
|
+
var binaryTag = defineScalarTag("tag:yaml.org,2002:binary", {
|
|
452
|
+
resolve: resolveYamlBinary,
|
|
453
|
+
identify: (object) => Object.prototype.toString.call(object) === "[object Uint8Array]",
|
|
454
|
+
represent: representYamlBinary
|
|
455
|
+
});
|
|
456
|
+
//#endregion
|
|
457
|
+
//#region src/tag/scalar/timestamp.ts
|
|
458
|
+
var YAML_DATE_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");
|
|
459
|
+
var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");
|
|
460
|
+
function resolveYamlTimestamp(source) {
|
|
461
|
+
let match = YAML_DATE_REGEXP.exec(source);
|
|
462
|
+
if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(source);
|
|
463
|
+
if (match === null) return NOT_RESOLVED;
|
|
464
|
+
const year = +match[1];
|
|
465
|
+
const month = +match[2] - 1;
|
|
466
|
+
const day = +match[3];
|
|
467
|
+
if (!match[4]) {
|
|
468
|
+
const date = new Date(Date.UTC(year, month, day));
|
|
469
|
+
if (date.getUTCFullYear() !== year || date.getUTCMonth() !== month || date.getUTCDate() !== day) return NOT_RESOLVED;
|
|
470
|
+
return date;
|
|
471
|
+
}
|
|
472
|
+
const hour = +match[4];
|
|
473
|
+
const minute = +match[5];
|
|
474
|
+
const second = +match[6];
|
|
475
|
+
let fraction = 0;
|
|
476
|
+
if (hour > 23 || minute > 59 || second > 59) return NOT_RESOLVED;
|
|
477
|
+
if (match[7]) {
|
|
478
|
+
let value = match[7].slice(0, 3);
|
|
479
|
+
while (value.length < 3) value += "0";
|
|
480
|
+
fraction = +value;
|
|
481
|
+
}
|
|
482
|
+
const date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
|
|
483
|
+
if (date.getUTCFullYear() !== year || date.getUTCMonth() !== month || date.getUTCDate() !== day) return NOT_RESOLVED;
|
|
484
|
+
if (match[9]) {
|
|
485
|
+
const offsetHour = +match[10];
|
|
486
|
+
const offsetMinute = +(match[11] || 0);
|
|
487
|
+
if (offsetHour > 23 || offsetMinute > 59) return NOT_RESOLVED;
|
|
488
|
+
const offset = (offsetHour * 60 + offsetMinute) * 6e4;
|
|
489
|
+
date.setTime(date.getTime() - (match[9] === "-" ? -offset : offset));
|
|
490
|
+
}
|
|
491
|
+
return date;
|
|
492
|
+
}
|
|
493
|
+
var timestampTag = defineScalarTag("tag:yaml.org,2002:timestamp", {
|
|
494
|
+
implicit: true,
|
|
495
|
+
implicitFirstChars: [..."0123456789"],
|
|
496
|
+
resolve: resolveYamlTimestamp,
|
|
497
|
+
identify: (object) => object instanceof Date,
|
|
498
|
+
represent: (object) => object.toISOString()
|
|
499
|
+
});
|
|
500
|
+
//#endregion
|
|
501
|
+
//#region src/tag/sequence/seq.ts
|
|
502
|
+
var seqTag = defineSequenceTag("tag:yaml.org,2002:seq", {
|
|
503
|
+
create: () => [],
|
|
504
|
+
addItem: (container, item) => {
|
|
505
|
+
container.push(item);
|
|
506
|
+
},
|
|
507
|
+
identify: Array.isArray
|
|
508
|
+
});
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region src/common/object.ts
|
|
511
|
+
function isPlainObject(data) {
|
|
512
|
+
if (data === null || typeof data !== "object" || Array.isArray(data)) return false;
|
|
513
|
+
const prototype = Object.getPrototypeOf(data);
|
|
514
|
+
return prototype === null || prototype === Object.prototype;
|
|
515
|
+
}
|
|
516
|
+
function pick(object, keys) {
|
|
517
|
+
const result = {};
|
|
518
|
+
for (const key of keys) if (object[key] !== void 0) result[key] = object[key];
|
|
519
|
+
return result;
|
|
520
|
+
}
|
|
521
|
+
//#endregion
|
|
522
|
+
//#region src/tag/sequence/omap.ts
|
|
523
|
+
var omapTag = defineSequenceTag("tag:yaml.org,2002:omap", {
|
|
524
|
+
create: () => ({
|
|
525
|
+
list: [],
|
|
526
|
+
seen: /* @__PURE__ */ new Set()
|
|
527
|
+
}),
|
|
528
|
+
addItem: (carrier, item) => {
|
|
529
|
+
let key;
|
|
530
|
+
if (item instanceof Map) {
|
|
531
|
+
if (item.size !== 1) return "cannot resolve an ordered map item";
|
|
532
|
+
key = item.keys().next().value;
|
|
533
|
+
} else if (isPlainObject(item)) {
|
|
534
|
+
const itemKeys = Object.keys(item);
|
|
535
|
+
if (itemKeys.length !== 1) return "cannot resolve an ordered map item";
|
|
536
|
+
key = itemKeys[0];
|
|
537
|
+
} else return "cannot resolve an ordered map item";
|
|
538
|
+
if (carrier.seen.has(key)) return "duplicate key in ordered map";
|
|
539
|
+
carrier.seen.add(key);
|
|
540
|
+
carrier.list.push(item);
|
|
541
|
+
return "";
|
|
542
|
+
},
|
|
543
|
+
finalize: (carrier) => carrier.list
|
|
544
|
+
});
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/tag/sequence/pairs.ts
|
|
547
|
+
var pairsTag = defineSequenceTag("tag:yaml.org,2002:pairs", {
|
|
548
|
+
create: () => [],
|
|
549
|
+
addItem: (container, item) => {
|
|
550
|
+
if (item instanceof Map) {
|
|
551
|
+
if (item.size !== 1) return "cannot resolve a pairs item";
|
|
552
|
+
container.push(item.entries().next().value);
|
|
553
|
+
return "";
|
|
554
|
+
}
|
|
555
|
+
if (Object.prototype.toString.call(item) !== "[object Object]") return "cannot resolve a pairs item";
|
|
556
|
+
const object = item;
|
|
557
|
+
const keys = Object.keys(object);
|
|
558
|
+
if (keys.length !== 1) return "cannot resolve a pairs item";
|
|
559
|
+
container.push([keys[0], object[keys[0]]]);
|
|
560
|
+
return "";
|
|
561
|
+
}
|
|
562
|
+
});
|
|
563
|
+
//#endregion
|
|
564
|
+
//#region src/tag/mapping/map.ts
|
|
565
|
+
var mapTag = defineMappingTag("tag:yaml.org,2002:map", {
|
|
566
|
+
create: () => ({}),
|
|
567
|
+
identify: isPlainObject,
|
|
568
|
+
represent: (o) => {
|
|
569
|
+
const map = /* @__PURE__ */ new Map();
|
|
570
|
+
for (const key of Object.keys(o)) map.set(key, o[key]);
|
|
571
|
+
return map;
|
|
572
|
+
},
|
|
573
|
+
addPair: (container, key, value) => {
|
|
574
|
+
if (key !== null && typeof key === "object") return "object-based map does not support complex keys";
|
|
575
|
+
const normalizedKey = String(key);
|
|
576
|
+
if (normalizedKey === "__proto__") Object.defineProperty(container, normalizedKey, {
|
|
577
|
+
value,
|
|
578
|
+
enumerable: true,
|
|
579
|
+
configurable: true,
|
|
580
|
+
writable: true
|
|
581
|
+
});
|
|
582
|
+
else container[normalizedKey] = value;
|
|
583
|
+
return "";
|
|
584
|
+
},
|
|
585
|
+
has: (container, key) => {
|
|
586
|
+
if (key !== null && typeof key === "object") return false;
|
|
587
|
+
return Object.prototype.hasOwnProperty.call(container, String(key));
|
|
588
|
+
},
|
|
589
|
+
keys: (container) => Object.keys(container),
|
|
590
|
+
get: (container, key) => container[String(key)]
|
|
591
|
+
});
|
|
592
|
+
//#endregion
|
|
593
|
+
//#region src/tag/mapping/set.ts
|
|
594
|
+
var setTag = defineMappingTag("tag:yaml.org,2002:set", {
|
|
595
|
+
create: () => /* @__PURE__ */ new Set(),
|
|
596
|
+
identify: (data) => data instanceof Set,
|
|
597
|
+
represent: (data) => {
|
|
598
|
+
const map = /* @__PURE__ */ new Map();
|
|
599
|
+
for (const key of data) map.set(key, null);
|
|
600
|
+
return map;
|
|
601
|
+
},
|
|
602
|
+
addPair: (container, key, value) => {
|
|
603
|
+
if (value !== null) return "cannot resolve a set item";
|
|
604
|
+
container.add(key);
|
|
605
|
+
return "";
|
|
606
|
+
},
|
|
607
|
+
has: (container, key) => container.has(key),
|
|
608
|
+
keys: (container) => container.keys(),
|
|
609
|
+
get: () => null
|
|
610
|
+
});
|
|
611
|
+
//#endregion
|
|
612
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
|
|
613
|
+
function _typeof(o) {
|
|
614
|
+
"@babel/helpers - typeof";
|
|
615
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
616
|
+
return typeof o;
|
|
617
|
+
} : function(o) {
|
|
618
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
619
|
+
}, _typeof(o);
|
|
620
|
+
}
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
|
|
623
|
+
function toPrimitive(t, r) {
|
|
624
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
625
|
+
var e = t[Symbol.toPrimitive];
|
|
626
|
+
if (void 0 !== e) {
|
|
627
|
+
var i = e.call(t, r || "default");
|
|
628
|
+
if ("object" != _typeof(i)) return i;
|
|
629
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
630
|
+
}
|
|
631
|
+
return ("string" === r ? String : Number)(t);
|
|
632
|
+
}
|
|
633
|
+
//#endregion
|
|
634
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
|
|
635
|
+
function toPropertyKey(t) {
|
|
636
|
+
var i = toPrimitive(t, "string");
|
|
637
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
638
|
+
}
|
|
639
|
+
//#endregion
|
|
640
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
|
|
641
|
+
function _defineProperty(e, r, t) {
|
|
642
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
643
|
+
value: t,
|
|
644
|
+
enumerable: !0,
|
|
645
|
+
configurable: !0,
|
|
646
|
+
writable: !0
|
|
647
|
+
}) : e[r] = t, e;
|
|
648
|
+
}
|
|
649
|
+
//#endregion
|
|
650
|
+
//#region src/schema.ts
|
|
651
|
+
function createTagDefinitionMap() {
|
|
652
|
+
return {
|
|
653
|
+
scalar: {},
|
|
654
|
+
sequence: {},
|
|
655
|
+
mapping: {}
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function createTagDefinitionListMap() {
|
|
659
|
+
return {
|
|
660
|
+
scalar: [],
|
|
661
|
+
sequence: [],
|
|
662
|
+
mapping: []
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
function compileTags(tags) {
|
|
666
|
+
const result = [];
|
|
667
|
+
for (const tag of tags) {
|
|
668
|
+
let index = result.length;
|
|
669
|
+
for (let previousIndex = 0; previousIndex < result.length; previousIndex++) {
|
|
670
|
+
const previous = result[previousIndex];
|
|
671
|
+
if (previous.nodeKind === tag.nodeKind && previous.tagName === tag.tagName && previous.matchByTagPrefix === tag.matchByTagPrefix) {
|
|
672
|
+
index = previousIndex;
|
|
673
|
+
break;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
result[index] = tag;
|
|
677
|
+
}
|
|
678
|
+
return result;
|
|
679
|
+
}
|
|
680
|
+
var Schema = class Schema {
|
|
681
|
+
constructor(tags) {
|
|
682
|
+
_defineProperty(this, "tags", void 0);
|
|
683
|
+
_defineProperty(this, "implicitScalarTags", void 0);
|
|
684
|
+
_defineProperty(this, "implicitScalarByFirstChar", void 0);
|
|
685
|
+
_defineProperty(this, "implicitScalarAnyFirstChar", void 0);
|
|
686
|
+
_defineProperty(this, "defaultScalarTag", void 0);
|
|
687
|
+
_defineProperty(this, "defaultSequenceTag", void 0);
|
|
688
|
+
_defineProperty(this, "defaultMappingTag", void 0);
|
|
689
|
+
_defineProperty(this, "exact", void 0);
|
|
690
|
+
_defineProperty(this, "prefix", void 0);
|
|
691
|
+
const compiledTags = compileTags(tags);
|
|
692
|
+
const implicitScalarTags = [];
|
|
693
|
+
const exact = createTagDefinitionMap();
|
|
694
|
+
const prefix = createTagDefinitionListMap();
|
|
695
|
+
for (const tag of compiledTags) {
|
|
696
|
+
if (tag.nodeKind === "scalar" && tag.implicit) {
|
|
697
|
+
if (tag.matchByTagPrefix) throw new Error("Implicit scalar tags cannot match by tag prefix");
|
|
698
|
+
implicitScalarTags.push(tag);
|
|
699
|
+
}
|
|
700
|
+
switch (tag.nodeKind) {
|
|
701
|
+
case "scalar":
|
|
702
|
+
if (tag.matchByTagPrefix) prefix.scalar.push(tag);
|
|
703
|
+
else exact.scalar[tag.tagName] = tag;
|
|
704
|
+
break;
|
|
705
|
+
case "sequence":
|
|
706
|
+
if (tag.matchByTagPrefix) prefix.sequence.push(tag);
|
|
707
|
+
else exact.sequence[tag.tagName] = tag;
|
|
708
|
+
break;
|
|
709
|
+
case "mapping":
|
|
710
|
+
if (tag.matchByTagPrefix) prefix.mapping.push(tag);
|
|
711
|
+
else exact.mapping[tag.tagName] = tag;
|
|
712
|
+
break;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
const implicitScalarAnyFirstChar = implicitScalarTags.filter((tag) => tag.implicitFirstChars === null);
|
|
716
|
+
const keys = /* @__PURE__ */ new Set();
|
|
717
|
+
for (const tag of implicitScalarTags) if (tag.implicitFirstChars !== null) for (const key of tag.implicitFirstChars) keys.add(key);
|
|
718
|
+
const implicitScalarByFirstChar = /* @__PURE__ */ new Map();
|
|
719
|
+
for (const key of keys) implicitScalarByFirstChar.set(key, implicitScalarTags.filter((tag) => tag.implicitFirstChars === null || tag.implicitFirstChars.indexOf(key) !== -1));
|
|
720
|
+
const defaultScalarTag = exact.scalar["tag:yaml.org,2002:str"];
|
|
721
|
+
if (!defaultScalarTag) throw new Error("schema does not define the default scalar tag (tag:yaml.org,2002:str)");
|
|
722
|
+
this.tags = compiledTags;
|
|
723
|
+
this.implicitScalarTags = implicitScalarTags;
|
|
724
|
+
this.implicitScalarByFirstChar = implicitScalarByFirstChar;
|
|
725
|
+
this.implicitScalarAnyFirstChar = implicitScalarAnyFirstChar;
|
|
726
|
+
this.defaultScalarTag = defaultScalarTag;
|
|
727
|
+
this.defaultSequenceTag = exact.sequence["tag:yaml.org,2002:seq"];
|
|
728
|
+
this.defaultMappingTag = exact.mapping["tag:yaml.org,2002:map"];
|
|
729
|
+
this.exact = exact;
|
|
730
|
+
this.prefix = prefix;
|
|
731
|
+
}
|
|
732
|
+
withTags(...tags) {
|
|
733
|
+
let flatTags = [];
|
|
734
|
+
for (const tag of tags) flatTags = flatTags.concat(tag);
|
|
735
|
+
return new Schema([...this.tags, ...flatTags]);
|
|
736
|
+
}
|
|
737
|
+
};
|
|
738
|
+
var FAILSAFE_SCHEMA = new Schema([
|
|
739
|
+
strTag,
|
|
740
|
+
seqTag,
|
|
741
|
+
mapTag
|
|
742
|
+
]);
|
|
743
|
+
var JSON_SCHEMA = new Schema([
|
|
744
|
+
...FAILSAFE_SCHEMA.tags,
|
|
745
|
+
nullJsonTag,
|
|
746
|
+
boolJsonTag,
|
|
747
|
+
intJsonTag,
|
|
748
|
+
floatJsonTag
|
|
749
|
+
]);
|
|
750
|
+
var CORE_SCHEMA = new Schema([
|
|
751
|
+
...FAILSAFE_SCHEMA.tags,
|
|
752
|
+
nullCoreTag,
|
|
753
|
+
boolCoreTag,
|
|
754
|
+
intCoreTag,
|
|
755
|
+
floatCoreTag
|
|
756
|
+
]);
|
|
757
|
+
var YAML11_SCHEMA = new Schema([
|
|
758
|
+
...FAILSAFE_SCHEMA.tags,
|
|
759
|
+
nullYaml11Tag,
|
|
760
|
+
boolYaml11Tag,
|
|
761
|
+
intYaml11Tag,
|
|
762
|
+
floatYaml11Tag,
|
|
763
|
+
timestampTag,
|
|
764
|
+
mergeTag,
|
|
765
|
+
binaryTag,
|
|
766
|
+
omapTag,
|
|
767
|
+
pairsTag,
|
|
768
|
+
setTag
|
|
769
|
+
]);
|
|
770
|
+
//#endregion
|
|
771
|
+
//#region src/tag/mapping/real_map.ts
|
|
772
|
+
var realMapTag = defineMappingTag("tag:yaml.org,2002:map", {
|
|
773
|
+
create: () => /* @__PURE__ */ new Map(),
|
|
774
|
+
addPair: (container, key, value) => {
|
|
775
|
+
container.set(key, value);
|
|
776
|
+
return "";
|
|
777
|
+
},
|
|
778
|
+
has: (container, key) => container.has(key),
|
|
779
|
+
keys: (container) => container.keys(),
|
|
780
|
+
get: (container, key) => container.get(key),
|
|
781
|
+
identify: (data) => data instanceof Map || isPlainObject(data),
|
|
782
|
+
represent: (data) => {
|
|
783
|
+
if (data instanceof Map) return data;
|
|
784
|
+
const map = /* @__PURE__ */ new Map();
|
|
785
|
+
const obj = data;
|
|
786
|
+
for (const key of Object.keys(obj)) map.set(key, obj[key]);
|
|
787
|
+
return map;
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
//#endregion
|
|
791
|
+
//#region src/tag/mapping/legacy_map.ts
|
|
792
|
+
function normalizeKey(key) {
|
|
793
|
+
if (Array.isArray(key)) {
|
|
794
|
+
const array = Array.prototype.slice.call(key);
|
|
795
|
+
for (let index = 0; index < array.length; index++) {
|
|
796
|
+
if (Array.isArray(array[index])) return null;
|
|
797
|
+
if (typeof array[index] === "object" && Object.prototype.toString.call(array[index]) === "[object Object]") array[index] = "[object Object]";
|
|
798
|
+
}
|
|
799
|
+
return String(array);
|
|
800
|
+
}
|
|
801
|
+
if (typeof key === "object" && Object.prototype.toString.call(key) === "[object Object]") return "[object Object]";
|
|
802
|
+
return String(key);
|
|
803
|
+
}
|
|
804
|
+
var legacyMapTag = defineMappingTag("tag:yaml.org,2002:map", {
|
|
805
|
+
create: () => ({}),
|
|
806
|
+
identify: isPlainObject,
|
|
807
|
+
represent: (o) => {
|
|
808
|
+
const map = /* @__PURE__ */ new Map();
|
|
809
|
+
for (const key of Object.keys(o)) map.set(key, o[key]);
|
|
810
|
+
return map;
|
|
811
|
+
},
|
|
812
|
+
addPair: (container, key, value) => {
|
|
813
|
+
const normalizedKey = normalizeKey(key);
|
|
814
|
+
if (normalizedKey === null) return "nested arrays are not supported inside keys";
|
|
815
|
+
if (normalizedKey === "__proto__") Object.defineProperty(container, normalizedKey, {
|
|
816
|
+
value,
|
|
817
|
+
enumerable: true,
|
|
818
|
+
configurable: true,
|
|
819
|
+
writable: true
|
|
820
|
+
});
|
|
821
|
+
else container[normalizedKey] = value;
|
|
822
|
+
return "";
|
|
823
|
+
},
|
|
824
|
+
has: (container, key) => {
|
|
825
|
+
const normalizedKey = normalizeKey(key);
|
|
826
|
+
return normalizedKey !== null && Object.prototype.hasOwnProperty.call(container, normalizedKey);
|
|
827
|
+
},
|
|
828
|
+
keys: (container) => Object.keys(container),
|
|
829
|
+
get: (container, key) => container[String(key)]
|
|
830
|
+
});
|
|
831
|
+
//#endregion
|
|
832
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/objectSpread2.js
|
|
833
|
+
function ownKeys(e, r) {
|
|
834
|
+
var t = Object.keys(e);
|
|
835
|
+
if (Object.getOwnPropertySymbols) {
|
|
836
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
837
|
+
r && (o = o.filter(function(r) {
|
|
838
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
839
|
+
})), t.push.apply(t, o);
|
|
840
|
+
}
|
|
841
|
+
return t;
|
|
842
|
+
}
|
|
843
|
+
function _objectSpread2(e) {
|
|
844
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
845
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
846
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function(r) {
|
|
847
|
+
_defineProperty(e, r, t[r]);
|
|
848
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r) {
|
|
849
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
return e;
|
|
853
|
+
}
|
|
854
|
+
//#endregion
|
|
855
|
+
//#region src/common/snippet.ts
|
|
856
|
+
var DEFAULT_SNIPPET_OPTIONS = {
|
|
857
|
+
maxLength: 79,
|
|
858
|
+
indent: 1,
|
|
859
|
+
linesBefore: 3,
|
|
860
|
+
linesAfter: 2
|
|
861
|
+
};
|
|
862
|
+
function getLine(buffer, lineStart, lineEnd, position, maxLineLength) {
|
|
863
|
+
let head = "";
|
|
864
|
+
let tail = "";
|
|
865
|
+
const maxHalfLength = Math.floor(maxLineLength / 2) - 1;
|
|
866
|
+
if (position - lineStart > maxHalfLength) {
|
|
867
|
+
head = " ... ";
|
|
868
|
+
lineStart = position - maxHalfLength + head.length;
|
|
869
|
+
}
|
|
870
|
+
if (lineEnd - position > maxHalfLength) {
|
|
871
|
+
tail = " ...";
|
|
872
|
+
lineEnd = position + maxHalfLength - tail.length;
|
|
873
|
+
}
|
|
874
|
+
return {
|
|
875
|
+
str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, "→") + tail,
|
|
876
|
+
pos: position - lineStart + head.length
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
function padStart(string, max) {
|
|
880
|
+
return " ".repeat(Math.max(max - string.length, 0)) + string;
|
|
881
|
+
}
|
|
882
|
+
function makeSnippet(mark, options) {
|
|
883
|
+
if (!mark.buffer) return null;
|
|
884
|
+
const opts = _objectSpread2(_objectSpread2({}, DEFAULT_SNIPPET_OPTIONS), options);
|
|
885
|
+
const re = /\r?\n|\r|\0/g;
|
|
886
|
+
const lineStarts = [0];
|
|
887
|
+
const lineEnds = [];
|
|
888
|
+
let match;
|
|
889
|
+
let foundLineNo = -1;
|
|
890
|
+
while (match = re.exec(mark.buffer)) {
|
|
891
|
+
lineEnds.push(match.index);
|
|
892
|
+
lineStarts.push(match.index + match[0].length);
|
|
893
|
+
if (mark.position <= match.index && foundLineNo < 0) foundLineNo = lineStarts.length - 2;
|
|
894
|
+
}
|
|
895
|
+
if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;
|
|
896
|
+
let result = "";
|
|
897
|
+
const lineNoLength = Math.min(mark.line + opts.linesAfter, lineEnds.length).toString().length;
|
|
898
|
+
const maxLineLength = opts.maxLength - (opts.indent + lineNoLength + 3);
|
|
899
|
+
for (let i = 1; i <= opts.linesBefore; i++) {
|
|
900
|
+
if (foundLineNo - i < 0) break;
|
|
901
|
+
const line = getLine(mark.buffer, lineStarts[foundLineNo - i], lineEnds[foundLineNo - i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]), maxLineLength);
|
|
902
|
+
result = `${" ".repeat(opts.indent)}${padStart((mark.line - i + 1).toString(), lineNoLength)} | ${line.str}\n${result}`;
|
|
903
|
+
}
|
|
904
|
+
const line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
|
|
905
|
+
result += `${" ".repeat(opts.indent)}${padStart((mark.line + 1).toString(), lineNoLength)} | ${line.str}\n`;
|
|
906
|
+
result += `${"-".repeat(opts.indent + lineNoLength + 3 + line.pos)}^\n`;
|
|
907
|
+
for (let i = 1; i <= opts.linesAfter; i++) {
|
|
908
|
+
if (foundLineNo + i >= lineEnds.length) break;
|
|
909
|
+
const line = getLine(mark.buffer, lineStarts[foundLineNo + i], lineEnds[foundLineNo + i], mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]), maxLineLength);
|
|
910
|
+
result += `${" ".repeat(opts.indent)}${padStart((mark.line + i + 1).toString(), lineNoLength)} | ${line.str}\n`;
|
|
911
|
+
}
|
|
912
|
+
return result.replace(/\n$/, "");
|
|
913
|
+
}
|
|
914
|
+
//#endregion
|
|
915
|
+
//#region src/common/exception.ts
|
|
916
|
+
function formatError(exception, compact) {
|
|
917
|
+
let where = "";
|
|
918
|
+
if (!exception.mark) return exception.reason;
|
|
919
|
+
if (exception.mark.name) where += `in "${exception.mark.name}" `;
|
|
920
|
+
where += `(${exception.mark.line + 1}:${exception.mark.column + 1})`;
|
|
921
|
+
if (!compact && exception.mark.snippet) where += `\n\n${exception.mark.snippet}`;
|
|
922
|
+
return `${exception.reason} ${where}`;
|
|
923
|
+
}
|
|
924
|
+
var YAMLException = class extends Error {
|
|
925
|
+
constructor(reason, mark) {
|
|
926
|
+
super();
|
|
927
|
+
_defineProperty(this, "reason", void 0);
|
|
928
|
+
_defineProperty(this, "mark", void 0);
|
|
929
|
+
this.name = "YAMLException";
|
|
930
|
+
this.reason = reason;
|
|
931
|
+
this.mark = mark;
|
|
932
|
+
this.message = formatError(this, false);
|
|
933
|
+
if (Error.captureStackTrace) Error.captureStackTrace(this, this.constructor);
|
|
934
|
+
}
|
|
935
|
+
toString(compact) {
|
|
936
|
+
return `${this.name}: ${formatError(this, compact)}`;
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
function throwErrorAt(source, position, message, filename = "") {
|
|
940
|
+
let line = 0;
|
|
941
|
+
let lineStart = 0;
|
|
942
|
+
for (let index = 0; index < position; index++) {
|
|
943
|
+
const ch = source.charCodeAt(index);
|
|
944
|
+
if (ch === 10) {
|
|
945
|
+
line++;
|
|
946
|
+
lineStart = index + 1;
|
|
947
|
+
} else if (ch === 13) {
|
|
948
|
+
line++;
|
|
949
|
+
if (source.charCodeAt(index + 1) === 10) index++;
|
|
950
|
+
lineStart = index + 1;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
const mark = {
|
|
954
|
+
name: filename,
|
|
955
|
+
buffer: source,
|
|
956
|
+
position,
|
|
957
|
+
line,
|
|
958
|
+
column: position - lineStart
|
|
959
|
+
};
|
|
960
|
+
mark.snippet = makeSnippet(mark);
|
|
961
|
+
throw new YAMLException(message, mark);
|
|
962
|
+
}
|
|
963
|
+
//#endregion
|
|
964
|
+
//#region src/parser/events.ts
|
|
965
|
+
var EVENT_DOCUMENT = 1;
|
|
966
|
+
var EVENT_SEQUENCE = 2;
|
|
967
|
+
var EVENT_MAPPING = 3;
|
|
968
|
+
var EVENT_SCALAR = 4;
|
|
969
|
+
var EVENT_ALIAS = 5;
|
|
970
|
+
var EVENT_POP = 6;
|
|
971
|
+
var SCALAR_STYLE_PLAIN = 1;
|
|
972
|
+
var SCALAR_STYLE_SINGLE_QUOTED = 2;
|
|
973
|
+
var SCALAR_STYLE_DOUBLE_QUOTED = 3;
|
|
974
|
+
var SCALAR_STYLE_LITERAL_BLOCK = 4;
|
|
975
|
+
var SCALAR_STYLE_FOLDED_BLOCK = 5;
|
|
976
|
+
var COLLECTION_STYLE_BLOCK = 1;
|
|
977
|
+
var COLLECTION_STYLE_FLOW = 2;
|
|
978
|
+
var CHOMPING_CLIP = 1;
|
|
979
|
+
var CHOMPING_STRIP = 2;
|
|
980
|
+
var CHOMPING_KEEP = 3;
|
|
981
|
+
//#endregion
|
|
982
|
+
//#region src/parser/parser_scalar.ts
|
|
983
|
+
var NO_RANGE$3 = -1;
|
|
984
|
+
function simpleEscapeSequence(c) {
|
|
985
|
+
switch (c) {
|
|
986
|
+
case 48: return "\0";
|
|
987
|
+
case 97: return "\x07";
|
|
988
|
+
case 98: return "\b";
|
|
989
|
+
case 116: return " ";
|
|
990
|
+
case 9: return " ";
|
|
991
|
+
case 110: return "\n";
|
|
992
|
+
case 118: return "\v";
|
|
993
|
+
case 102: return "\f";
|
|
994
|
+
case 114: return "\r";
|
|
995
|
+
case 101: return "\x1B";
|
|
996
|
+
case 32: return " ";
|
|
997
|
+
case 34: return "\"";
|
|
998
|
+
case 47: return "/";
|
|
999
|
+
case 92: return "\\";
|
|
1000
|
+
case 78: return "
";
|
|
1001
|
+
case 95: return "\xA0";
|
|
1002
|
+
case 76: return "\u2028";
|
|
1003
|
+
case 80: return "\u2029";
|
|
1004
|
+
default: return "";
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
var simpleEscapeCheck = new Array(256);
|
|
1008
|
+
var simpleEscapeMap = new Array(256);
|
|
1009
|
+
for (let i = 0; i < 256; i++) {
|
|
1010
|
+
simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;
|
|
1011
|
+
simpleEscapeMap[i] = simpleEscapeSequence(i);
|
|
1012
|
+
}
|
|
1013
|
+
function charFromCodepoint(c) {
|
|
1014
|
+
if (c <= 65535) return String.fromCharCode(c);
|
|
1015
|
+
return String.fromCharCode((c - 65536 >> 10) + 55296, (c - 65536 & 1023) + 56320);
|
|
1016
|
+
}
|
|
1017
|
+
function fromHexCode$1(c) {
|
|
1018
|
+
if (c >= 48 && c <= 57) return c - 48;
|
|
1019
|
+
return (c | 32) - 97 + 10;
|
|
1020
|
+
}
|
|
1021
|
+
function escapedHexLen$1(c) {
|
|
1022
|
+
if (c === 120) return 2;
|
|
1023
|
+
if (c === 117) return 4;
|
|
1024
|
+
return 8;
|
|
1025
|
+
}
|
|
1026
|
+
function skipFoldedBreaks(input, position, end) {
|
|
1027
|
+
let breaks = 0;
|
|
1028
|
+
while (position < end) {
|
|
1029
|
+
const ch = input.charCodeAt(position);
|
|
1030
|
+
if (ch === 10) {
|
|
1031
|
+
breaks++;
|
|
1032
|
+
position++;
|
|
1033
|
+
} else if (ch === 13) {
|
|
1034
|
+
breaks++;
|
|
1035
|
+
position++;
|
|
1036
|
+
if (input.charCodeAt(position) === 10) position++;
|
|
1037
|
+
} else if (ch === 32 || ch === 9) position++;
|
|
1038
|
+
else break;
|
|
1039
|
+
}
|
|
1040
|
+
return {
|
|
1041
|
+
position,
|
|
1042
|
+
breaks
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
function foldedBreaks(count) {
|
|
1046
|
+
if (count === 1) return " ";
|
|
1047
|
+
return "\n".repeat(count - 1);
|
|
1048
|
+
}
|
|
1049
|
+
function getPlainValue(input, start, end) {
|
|
1050
|
+
let result = "";
|
|
1051
|
+
let position = start;
|
|
1052
|
+
let captureStart = start;
|
|
1053
|
+
let captureEnd = start;
|
|
1054
|
+
while (position < end) {
|
|
1055
|
+
const ch = input.charCodeAt(position);
|
|
1056
|
+
if (ch === 10 || ch === 13) {
|
|
1057
|
+
result += input.slice(captureStart, captureEnd);
|
|
1058
|
+
const fold = skipFoldedBreaks(input, position, end);
|
|
1059
|
+
result += foldedBreaks(fold.breaks);
|
|
1060
|
+
position = captureStart = captureEnd = fold.position;
|
|
1061
|
+
} else {
|
|
1062
|
+
position++;
|
|
1063
|
+
if (ch !== 32 && ch !== 9) captureEnd = position;
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
return result + input.slice(captureStart, captureEnd);
|
|
1067
|
+
}
|
|
1068
|
+
function getSingleQuotedValue(input, start, end) {
|
|
1069
|
+
let result = "";
|
|
1070
|
+
let position = start;
|
|
1071
|
+
let captureStart = start;
|
|
1072
|
+
let captureEnd = start;
|
|
1073
|
+
while (position < end) {
|
|
1074
|
+
const ch = input.charCodeAt(position);
|
|
1075
|
+
if (ch === 39) {
|
|
1076
|
+
result += input.slice(captureStart, position) + "'";
|
|
1077
|
+
position += 2;
|
|
1078
|
+
captureStart = captureEnd = position;
|
|
1079
|
+
} else if (ch === 10 || ch === 13) {
|
|
1080
|
+
result += input.slice(captureStart, captureEnd);
|
|
1081
|
+
const fold = skipFoldedBreaks(input, position, end);
|
|
1082
|
+
result += foldedBreaks(fold.breaks);
|
|
1083
|
+
position = captureStart = captureEnd = fold.position;
|
|
1084
|
+
} else {
|
|
1085
|
+
position++;
|
|
1086
|
+
if (ch !== 32 && ch !== 9) captureEnd = position;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
return result + input.slice(captureStart, end);
|
|
1090
|
+
}
|
|
1091
|
+
function getDoubleQuotedValue(input, start, end) {
|
|
1092
|
+
let result = "";
|
|
1093
|
+
let position = start;
|
|
1094
|
+
let captureStart = start;
|
|
1095
|
+
let captureEnd = start;
|
|
1096
|
+
while (position < end) {
|
|
1097
|
+
const ch = input.charCodeAt(position);
|
|
1098
|
+
if (ch === 92) {
|
|
1099
|
+
result += input.slice(captureStart, position);
|
|
1100
|
+
position++;
|
|
1101
|
+
const escaped = input.charCodeAt(position);
|
|
1102
|
+
if (escaped === 10 || escaped === 13) position = skipFoldedBreaks(input, position, end).position;
|
|
1103
|
+
else if (escaped < 256 && simpleEscapeCheck[escaped]) {
|
|
1104
|
+
result += simpleEscapeMap[escaped];
|
|
1105
|
+
position++;
|
|
1106
|
+
} else {
|
|
1107
|
+
let hexLength = escapedHexLen$1(escaped);
|
|
1108
|
+
let hexResult = 0;
|
|
1109
|
+
for (; hexLength > 0; hexLength--) {
|
|
1110
|
+
position++;
|
|
1111
|
+
const digit = fromHexCode$1(input.charCodeAt(position));
|
|
1112
|
+
hexResult = (hexResult << 4) + digit;
|
|
1113
|
+
}
|
|
1114
|
+
result += charFromCodepoint(hexResult);
|
|
1115
|
+
position++;
|
|
1116
|
+
}
|
|
1117
|
+
captureStart = captureEnd = position;
|
|
1118
|
+
} else if (ch === 10 || ch === 13) {
|
|
1119
|
+
result += input.slice(captureStart, captureEnd);
|
|
1120
|
+
const fold = skipFoldedBreaks(input, position, end);
|
|
1121
|
+
result += foldedBreaks(fold.breaks);
|
|
1122
|
+
position = captureStart = captureEnd = fold.position;
|
|
1123
|
+
} else {
|
|
1124
|
+
position++;
|
|
1125
|
+
if (ch !== 32 && ch !== 9) captureEnd = position;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
return result + input.slice(captureStart, end);
|
|
1129
|
+
}
|
|
1130
|
+
function getBlockValue(input, start, end, indent, chomping, folded) {
|
|
1131
|
+
const textIndent = indent < 0 ? 0 : indent;
|
|
1132
|
+
const region = input.slice(start, end).replace(/\r\n?/g, "\n");
|
|
1133
|
+
const lines = region === "" ? [] : (region.endsWith("\n") ? region.slice(0, -1) : region).split("\n");
|
|
1134
|
+
let result = "";
|
|
1135
|
+
let didReadContent = false;
|
|
1136
|
+
let emptyLines = 0;
|
|
1137
|
+
let atMoreIndented = false;
|
|
1138
|
+
for (const line of lines) {
|
|
1139
|
+
let column = 0;
|
|
1140
|
+
while (column < textIndent && line.charCodeAt(column) === 32) column++;
|
|
1141
|
+
if (indent < 0 || column >= line.length) {
|
|
1142
|
+
emptyLines++;
|
|
1143
|
+
continue;
|
|
1144
|
+
}
|
|
1145
|
+
const content = line.slice(textIndent);
|
|
1146
|
+
const first = content.charCodeAt(0);
|
|
1147
|
+
if (folded) if (first === 32 || first === 9) {
|
|
1148
|
+
atMoreIndented = true;
|
|
1149
|
+
result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
1150
|
+
} else if (atMoreIndented) {
|
|
1151
|
+
atMoreIndented = false;
|
|
1152
|
+
result += "\n".repeat(emptyLines + 1);
|
|
1153
|
+
} else if (emptyLines === 0) {
|
|
1154
|
+
if (didReadContent) result += " ";
|
|
1155
|
+
} else result += "\n".repeat(emptyLines);
|
|
1156
|
+
else result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
1157
|
+
result += content;
|
|
1158
|
+
didReadContent = true;
|
|
1159
|
+
emptyLines = 0;
|
|
1160
|
+
}
|
|
1161
|
+
if (chomping === 3) result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
|
|
1162
|
+
else if (chomping !== 2) {
|
|
1163
|
+
if (didReadContent) result += "\n";
|
|
1164
|
+
}
|
|
1165
|
+
return result;
|
|
1166
|
+
}
|
|
1167
|
+
function getScalarValue(input, scalar) {
|
|
1168
|
+
if (scalar.valueStart === NO_RANGE$3) return "";
|
|
1169
|
+
const { valueStart, valueEnd } = scalar;
|
|
1170
|
+
if (scalar.fast) return input.slice(valueStart, valueEnd);
|
|
1171
|
+
switch (scalar.style) {
|
|
1172
|
+
case 2: return getSingleQuotedValue(input, valueStart, valueEnd);
|
|
1173
|
+
case 3: return getDoubleQuotedValue(input, valueStart, valueEnd);
|
|
1174
|
+
case 4: return getBlockValue(input, valueStart, valueEnd, scalar.indent, scalar.chomping, false);
|
|
1175
|
+
case 5: return getBlockValue(input, valueStart, valueEnd, scalar.indent, scalar.chomping, true);
|
|
1176
|
+
default: return getPlainValue(input, valueStart, valueEnd);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
//#endregion
|
|
1180
|
+
//#region src/common/tagname.ts
|
|
1181
|
+
var DEFAULT_TAG_HANDLERS = {
|
|
1182
|
+
"!": "!",
|
|
1183
|
+
"!!": "tag:yaml.org,2002:"
|
|
1184
|
+
};
|
|
1185
|
+
function tagPercentEncode(source) {
|
|
1186
|
+
return encodeURI(source).replace(/!/g, "%21");
|
|
1187
|
+
}
|
|
1188
|
+
function tagNameFull(rawTag, tagHandlers) {
|
|
1189
|
+
var _ref, _tagHandlers$handle;
|
|
1190
|
+
if (rawTag.startsWith("!<") && rawTag.endsWith(">")) return decodeURIComponent(rawTag.slice(2, -1));
|
|
1191
|
+
const handleEnd = rawTag.indexOf("!", 1);
|
|
1192
|
+
const handle = handleEnd === -1 ? "!" : rawTag.slice(0, handleEnd + 1);
|
|
1193
|
+
const prefix = (_ref = (_tagHandlers$handle = tagHandlers === null || tagHandlers === void 0 ? void 0 : tagHandlers[handle]) !== null && _tagHandlers$handle !== void 0 ? _tagHandlers$handle : DEFAULT_TAG_HANDLERS[handle]) !== null && _ref !== void 0 ? _ref : handle;
|
|
1194
|
+
return decodeURIComponent(prefix) + decodeURIComponent(rawTag.slice(handle.length));
|
|
1195
|
+
}
|
|
1196
|
+
function tagNameShort(fullTag) {
|
|
1197
|
+
let tag = fullTag;
|
|
1198
|
+
if (tag.charCodeAt(0) === 33) {
|
|
1199
|
+
tag = tag.slice(1);
|
|
1200
|
+
return `!${tagPercentEncode(tag)}`;
|
|
1201
|
+
}
|
|
1202
|
+
if (tag.slice(0, 18) === "tag:yaml.org,2002:") return `!!${tagPercentEncode(tag.slice(18))}`;
|
|
1203
|
+
return `!<${tagPercentEncode(tag)}>`;
|
|
1204
|
+
}
|
|
1205
|
+
//#endregion
|
|
1206
|
+
//#region src/parser/constructor.ts
|
|
1207
|
+
var NO_RANGE$2 = -1;
|
|
1208
|
+
var DEFAULT_CONSTRUCTOR_OPTIONS = {
|
|
1209
|
+
filename: "",
|
|
1210
|
+
schema: CORE_SCHEMA,
|
|
1211
|
+
json: false,
|
|
1212
|
+
maxTotalMergeKeys: 1e4,
|
|
1213
|
+
maxAliases: -1
|
|
1214
|
+
};
|
|
1215
|
+
function eventPosition$1(event) {
|
|
1216
|
+
if ("tagStart" in event && event.tagStart !== NO_RANGE$2) return event.tagStart;
|
|
1217
|
+
if ("anchorStart" in event && event.anchorStart !== NO_RANGE$2) return event.anchorStart;
|
|
1218
|
+
if ("valueStart" in event && event.valueStart !== NO_RANGE$2) return event.valueStart;
|
|
1219
|
+
if ("start" in event) return event.start;
|
|
1220
|
+
return 0;
|
|
1221
|
+
}
|
|
1222
|
+
function throwError$1(state, message) {
|
|
1223
|
+
throwErrorAt(state.source, state.position, message, state.filename);
|
|
1224
|
+
}
|
|
1225
|
+
function finalizeCollection(state, position, tag, carrier) {
|
|
1226
|
+
try {
|
|
1227
|
+
return tag.finalize(carrier);
|
|
1228
|
+
} catch (error) {
|
|
1229
|
+
if (error instanceof YAMLException) throw error;
|
|
1230
|
+
throwErrorAt(state.source, position, error instanceof Error ? error.message : String(error), state.filename);
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
function lookupTag(exact, prefix, tagName) {
|
|
1234
|
+
const exactTag = exact[tagName];
|
|
1235
|
+
if (exactTag) return exactTag;
|
|
1236
|
+
for (const tag of prefix) if (tagName.startsWith(tag.tagName)) return tag;
|
|
1237
|
+
}
|
|
1238
|
+
function findExplicitTag(state, exact, prefix, tagName, nodeKind) {
|
|
1239
|
+
const tag = lookupTag(exact, prefix, tagName);
|
|
1240
|
+
if (tag) return tag;
|
|
1241
|
+
throwError$1(state, `unknown ${nodeKind} tag !<${tagName}>`);
|
|
1242
|
+
}
|
|
1243
|
+
function constructScalar(state, event) {
|
|
1244
|
+
const source = getScalarValue(state.source, event);
|
|
1245
|
+
const rawTag = event.tagStart === NO_RANGE$2 ? "" : state.source.slice(event.tagStart, event.tagEnd);
|
|
1246
|
+
const strTag = state.schema.defaultScalarTag;
|
|
1247
|
+
if (rawTag !== "") {
|
|
1248
|
+
var _lookupTag;
|
|
1249
|
+
if (rawTag === "!") return {
|
|
1250
|
+
value: source,
|
|
1251
|
+
tag: strTag
|
|
1252
|
+
};
|
|
1253
|
+
const tagName = tagNameFull(rawTag, state.tagHandlers);
|
|
1254
|
+
const scalarTag = lookupTag(state.schema.exact.scalar, state.schema.prefix.scalar, tagName);
|
|
1255
|
+
if (scalarTag) {
|
|
1256
|
+
const result = scalarTag.resolve(source, true, tagName);
|
|
1257
|
+
if (result === NOT_RESOLVED) throwError$1(state, `cannot resolve a node with !<${tagName}> explicit tag`);
|
|
1258
|
+
return {
|
|
1259
|
+
value: result,
|
|
1260
|
+
tag: scalarTag
|
|
1261
|
+
};
|
|
1262
|
+
}
|
|
1263
|
+
const collectionTagDef = (_lookupTag = lookupTag(state.schema.exact.mapping, state.schema.prefix.mapping, tagName)) !== null && _lookupTag !== void 0 ? _lookupTag : lookupTag(state.schema.exact.sequence, state.schema.prefix.sequence, tagName);
|
|
1264
|
+
if (collectionTagDef) {
|
|
1265
|
+
if (source !== "") throwError$1(state, `cannot resolve a node with !<${tagName}> explicit tag`);
|
|
1266
|
+
const carrier = collectionTagDef.create(tagName);
|
|
1267
|
+
return {
|
|
1268
|
+
value: collectionTagDef.carrierIsResult ? carrier : finalizeCollection(state, state.position, collectionTagDef, carrier),
|
|
1269
|
+
tag: collectionTagDef
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
throwError$1(state, `unknown scalar tag !<${tagName}>`);
|
|
1273
|
+
}
|
|
1274
|
+
if (event.style === 1) {
|
|
1275
|
+
var _state$schema$implici;
|
|
1276
|
+
const candidates = (_state$schema$implici = state.schema.implicitScalarByFirstChar.get(source.charAt(0))) !== null && _state$schema$implici !== void 0 ? _state$schema$implici : state.schema.implicitScalarAnyFirstChar;
|
|
1277
|
+
for (const tag of candidates) {
|
|
1278
|
+
const result = tag.resolve(source, false, tag.tagName);
|
|
1279
|
+
if (result !== NOT_RESOLVED) return {
|
|
1280
|
+
value: result,
|
|
1281
|
+
tag
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
return {
|
|
1286
|
+
value: strTag.resolve(source, false, strTag.tagName),
|
|
1287
|
+
tag: strTag
|
|
1288
|
+
};
|
|
1289
|
+
}
|
|
1290
|
+
function collectionTag(state, event, exact, prefix, defaultTagName, nodeKind) {
|
|
1291
|
+
const rawTag = event.tagStart === NO_RANGE$2 ? "" : state.source.slice(event.tagStart, event.tagEnd);
|
|
1292
|
+
const tagName = rawTag === "" || rawTag === "!" ? defaultTagName : tagNameFull(rawTag, state.tagHandlers);
|
|
1293
|
+
return {
|
|
1294
|
+
tagName,
|
|
1295
|
+
tag: findExplicitTag(state, exact, prefix, tagName, nodeKind)
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
function isMappingTag(tag) {
|
|
1299
|
+
return tag.nodeKind === "mapping";
|
|
1300
|
+
}
|
|
1301
|
+
function mergeKeys(state, frame, source, sourceTag) {
|
|
1302
|
+
for (const sourceKey of sourceTag.keys(source)) {
|
|
1303
|
+
var _frame$overridable;
|
|
1304
|
+
if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) throwError$1(state, `merge keys exceeded maxTotalMergeKeys (${state.maxTotalMergeKeys})`);
|
|
1305
|
+
if (frame.tag.has(frame.value, sourceKey)) continue;
|
|
1306
|
+
const err = frame.tag.addPair(frame.value, sourceKey, sourceTag.get(source, sourceKey));
|
|
1307
|
+
if (err) throwError$1(state, err);
|
|
1308
|
+
((_frame$overridable = frame.overridable) !== null && _frame$overridable !== void 0 ? _frame$overridable : frame.overridable = /* @__PURE__ */ new Set()).add(sourceKey);
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
function mergeSource(state, frame, source, sourceTag) {
|
|
1312
|
+
state.position = frame.keyPosition;
|
|
1313
|
+
if (isMappingTag(sourceTag)) mergeKeys(state, frame, source, sourceTag);
|
|
1314
|
+
else if (sourceTag.nodeKind === "sequence" && Array.isArray(source)) for (const element of source) mergeKeys(state, frame, element, frame.tag);
|
|
1315
|
+
else throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
1316
|
+
}
|
|
1317
|
+
function addMappingValue(state, frame, key, value, tag) {
|
|
1318
|
+
var _frame$overridable2, _frame$overridable3;
|
|
1319
|
+
state.position = frame.keyPosition;
|
|
1320
|
+
if (key === MERGE_KEY) {
|
|
1321
|
+
mergeSource(state, frame, value, tag);
|
|
1322
|
+
return;
|
|
1323
|
+
}
|
|
1324
|
+
if (!state.json && frame.tag.has(frame.value, key) && !((_frame$overridable2 = frame.overridable) === null || _frame$overridable2 === void 0 ? void 0 : _frame$overridable2.has(key))) throwError$1(state, "duplicated mapping key");
|
|
1325
|
+
const err = frame.tag.addPair(frame.value, key, value);
|
|
1326
|
+
if (err) throwError$1(state, err);
|
|
1327
|
+
(_frame$overridable3 = frame.overridable) === null || _frame$overridable3 === void 0 || _frame$overridable3.delete(key);
|
|
1328
|
+
}
|
|
1329
|
+
function addValue(state, value, tag) {
|
|
1330
|
+
const frame = state.frames[state.frames.length - 1];
|
|
1331
|
+
if (frame.kind === "document") {
|
|
1332
|
+
frame.value = value;
|
|
1333
|
+
frame.hasValue = true;
|
|
1334
|
+
} else if (frame.kind === "sequence") {
|
|
1335
|
+
if (frame.merge) {
|
|
1336
|
+
if (!isMappingTag(tag)) throwError$1(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
1337
|
+
}
|
|
1338
|
+
const err = frame.tag.addItem(frame.value, value, frame.index++);
|
|
1339
|
+
if (err) throwError$1(state, err);
|
|
1340
|
+
} else if (frame.hasKey) {
|
|
1341
|
+
const key = frame.key;
|
|
1342
|
+
frame.key = void 0;
|
|
1343
|
+
frame.hasKey = false;
|
|
1344
|
+
addMappingValue(state, frame, key, value, tag);
|
|
1345
|
+
} else {
|
|
1346
|
+
frame.key = value;
|
|
1347
|
+
frame.keyPosition = state.position;
|
|
1348
|
+
frame.hasKey = true;
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
function storeAnchor(state, event, value, tag, isValueFinal) {
|
|
1352
|
+
if (event.anchorStart !== NO_RANGE$2) {
|
|
1353
|
+
const anchor = {
|
|
1354
|
+
value,
|
|
1355
|
+
tag,
|
|
1356
|
+
isValueFinal
|
|
1357
|
+
};
|
|
1358
|
+
state.anchors.set(state.source.slice(event.anchorStart, event.anchorEnd), anchor);
|
|
1359
|
+
return anchor;
|
|
1360
|
+
}
|
|
1361
|
+
return null;
|
|
1362
|
+
}
|
|
1363
|
+
function constructFromEvents(events, options) {
|
|
1364
|
+
const state = _objectSpread2(_objectSpread2(_objectSpread2({}, DEFAULT_CONSTRUCTOR_OPTIONS), options), {}, {
|
|
1365
|
+
events,
|
|
1366
|
+
documents: [],
|
|
1367
|
+
eventIndex: 0,
|
|
1368
|
+
position: 0,
|
|
1369
|
+
frames: [],
|
|
1370
|
+
anchors: /* @__PURE__ */ new Map(),
|
|
1371
|
+
tagHandlers: Object.create(null),
|
|
1372
|
+
totalMergeKeys: 0,
|
|
1373
|
+
aliasCount: 0
|
|
1374
|
+
});
|
|
1375
|
+
while (state.eventIndex < state.events.length) {
|
|
1376
|
+
const event = state.events[state.eventIndex++];
|
|
1377
|
+
state.position = eventPosition$1(event);
|
|
1378
|
+
switch (event.type) {
|
|
1379
|
+
case 1:
|
|
1380
|
+
state.anchors = /* @__PURE__ */ new Map();
|
|
1381
|
+
state.aliasCount = 0;
|
|
1382
|
+
state.tagHandlers = Object.create(null);
|
|
1383
|
+
for (const directive of event.directives) if (directive.kind === "tag") state.tagHandlers[directive.handle] = directive.prefix;
|
|
1384
|
+
state.frames.push({
|
|
1385
|
+
kind: "document",
|
|
1386
|
+
position: state.position,
|
|
1387
|
+
value: void 0,
|
|
1388
|
+
hasValue: false
|
|
1389
|
+
});
|
|
1390
|
+
break;
|
|
1391
|
+
case 4: {
|
|
1392
|
+
const { value, tag } = constructScalar(state, event);
|
|
1393
|
+
storeAnchor(state, event, value, tag, true);
|
|
1394
|
+
addValue(state, value, tag);
|
|
1395
|
+
break;
|
|
1396
|
+
}
|
|
1397
|
+
case 2: {
|
|
1398
|
+
const definition = collectionTag(state, event, state.schema.exact.sequence, state.schema.prefix.sequence, "tag:yaml.org,2002:seq", "sequence");
|
|
1399
|
+
const value = definition.tag.create(definition.tagName);
|
|
1400
|
+
const anchor = storeAnchor(state, event, value, definition.tag, definition.tag.carrierIsResult);
|
|
1401
|
+
const parent = state.frames[state.frames.length - 1];
|
|
1402
|
+
const merge = parent !== void 0 && parent.kind === "mapping" && parent.hasKey && parent.key === MERGE_KEY;
|
|
1403
|
+
state.frames.push({
|
|
1404
|
+
kind: "sequence",
|
|
1405
|
+
position: state.position,
|
|
1406
|
+
value,
|
|
1407
|
+
tag: definition.tag,
|
|
1408
|
+
anchor,
|
|
1409
|
+
index: 0,
|
|
1410
|
+
merge
|
|
1411
|
+
});
|
|
1412
|
+
break;
|
|
1413
|
+
}
|
|
1414
|
+
case 3: {
|
|
1415
|
+
const definition = collectionTag(state, event, state.schema.exact.mapping, state.schema.prefix.mapping, "tag:yaml.org,2002:map", "mapping");
|
|
1416
|
+
const value = definition.tag.create(definition.tagName);
|
|
1417
|
+
const anchor = storeAnchor(state, event, value, definition.tag, definition.tag.carrierIsResult);
|
|
1418
|
+
state.frames.push({
|
|
1419
|
+
kind: "mapping",
|
|
1420
|
+
position: state.position,
|
|
1421
|
+
value,
|
|
1422
|
+
tag: definition.tag,
|
|
1423
|
+
anchor,
|
|
1424
|
+
key: void 0,
|
|
1425
|
+
keyPosition: state.position,
|
|
1426
|
+
hasKey: false,
|
|
1427
|
+
overridable: null
|
|
1428
|
+
});
|
|
1429
|
+
break;
|
|
1430
|
+
}
|
|
1431
|
+
case 5: {
|
|
1432
|
+
if (state.maxAliases !== -1 && ++state.aliasCount > state.maxAliases) throwError$1(state, `aliases exceeded maxAliases (${state.maxAliases})`);
|
|
1433
|
+
const name = state.source.slice(event.anchorStart, event.anchorEnd);
|
|
1434
|
+
const anchor = state.anchors.get(name);
|
|
1435
|
+
if (!anchor) throwError$1(state, `unidentified alias "${name}"`);
|
|
1436
|
+
if (!anchor.isValueFinal) throwError$1(state, `recursive alias "${name}" is not supported for tag ${anchor.tag.tagName} because it uses finalize()`);
|
|
1437
|
+
addValue(state, anchor.value, anchor.tag);
|
|
1438
|
+
break;
|
|
1439
|
+
}
|
|
1440
|
+
case 6: {
|
|
1441
|
+
const frame = state.frames.pop();
|
|
1442
|
+
if (frame.kind === "document") state.documents.push(frame.value);
|
|
1443
|
+
else {
|
|
1444
|
+
const value = frame.tag.carrierIsResult ? frame.value : finalizeCollection(state, frame.position, frame.tag, frame.value);
|
|
1445
|
+
if (frame.anchor) {
|
|
1446
|
+
frame.anchor.value = value;
|
|
1447
|
+
frame.anchor.isValueFinal = true;
|
|
1448
|
+
}
|
|
1449
|
+
addValue(state, value, frame.tag);
|
|
1450
|
+
}
|
|
1451
|
+
break;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
return state.documents;
|
|
1456
|
+
}
|
|
1457
|
+
//#endregion
|
|
1458
|
+
//#region src/parser/parser.ts
|
|
1459
|
+
var NO_RANGE$1 = -1;
|
|
1460
|
+
var HAS_OWN = Object.prototype.hasOwnProperty;
|
|
1461
|
+
var CONTEXT_FLOW_IN = 1;
|
|
1462
|
+
var CONTEXT_FLOW_OUT = 2;
|
|
1463
|
+
var CONTEXT_BLOCK_IN = 3;
|
|
1464
|
+
var CONTEXT_BLOCK_OUT = 4;
|
|
1465
|
+
var PATTERN_NON_PRINTABLE = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
1466
|
+
var PATTERN_FLOW_INDICATORS = /[,\[\]{}]/;
|
|
1467
|
+
var PATTERN_TAG_HANDLE = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
|
|
1468
|
+
var NS_URI_CHAR = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`;
|
|
1469
|
+
var NS_TAG_CHAR = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;
|
|
1470
|
+
var PATTERN_TAG_URI = new RegExp(`^(?:${NS_URI_CHAR})*$`);
|
|
1471
|
+
var PATTERN_TAG_SUFFIX = new RegExp(`^(?:${NS_TAG_CHAR})+$`);
|
|
1472
|
+
var PATTERN_TAG_PREFIX = new RegExp(`^(?:!(?:${NS_URI_CHAR})*|${NS_TAG_CHAR}(?:${NS_URI_CHAR})*)$`);
|
|
1473
|
+
var DEFAULT_PARSER_OPTIONS = {
|
|
1474
|
+
filename: "",
|
|
1475
|
+
maxDepth: 100
|
|
1476
|
+
};
|
|
1477
|
+
function addDocumentEvent(state, explicitStart, explicitEnd) {
|
|
1478
|
+
state.events.push({
|
|
1479
|
+
type: 1,
|
|
1480
|
+
explicitStart,
|
|
1481
|
+
explicitEnd,
|
|
1482
|
+
directives: state.directives
|
|
1483
|
+
});
|
|
1484
|
+
}
|
|
1485
|
+
function addSequenceEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd, style) {
|
|
1486
|
+
state.events.push({
|
|
1487
|
+
type: 2,
|
|
1488
|
+
start,
|
|
1489
|
+
anchorStart,
|
|
1490
|
+
anchorEnd,
|
|
1491
|
+
tagStart,
|
|
1492
|
+
tagEnd,
|
|
1493
|
+
style
|
|
1494
|
+
});
|
|
1495
|
+
}
|
|
1496
|
+
function addMappingEvent(state, start, anchorStart, anchorEnd, tagStart, tagEnd, style) {
|
|
1497
|
+
state.events.push({
|
|
1498
|
+
type: 3,
|
|
1499
|
+
start,
|
|
1500
|
+
anchorStart,
|
|
1501
|
+
anchorEnd,
|
|
1502
|
+
tagStart,
|
|
1503
|
+
tagEnd,
|
|
1504
|
+
style
|
|
1505
|
+
});
|
|
1506
|
+
}
|
|
1507
|
+
function insertFlowPairMappingEvent(state, snapshot) {
|
|
1508
|
+
state.events.splice(snapshot.eventsLength, 0, {
|
|
1509
|
+
type: 3,
|
|
1510
|
+
start: snapshot.position,
|
|
1511
|
+
anchorStart: NO_RANGE$1,
|
|
1512
|
+
anchorEnd: NO_RANGE$1,
|
|
1513
|
+
tagStart: NO_RANGE$1,
|
|
1514
|
+
tagEnd: NO_RANGE$1,
|
|
1515
|
+
style: 2
|
|
1516
|
+
});
|
|
1517
|
+
}
|
|
1518
|
+
function addScalarEvent(state, valueStart, valueEnd, anchorStart, anchorEnd, tagStart, tagEnd, style, chomping = 1, indent = -1, fast = false) {
|
|
1519
|
+
state.events.push({
|
|
1520
|
+
type: 4,
|
|
1521
|
+
valueStart,
|
|
1522
|
+
valueEnd,
|
|
1523
|
+
anchorStart,
|
|
1524
|
+
anchorEnd,
|
|
1525
|
+
tagStart,
|
|
1526
|
+
tagEnd,
|
|
1527
|
+
style,
|
|
1528
|
+
chomping,
|
|
1529
|
+
indent,
|
|
1530
|
+
fast
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
function addAliasEvent(state, anchorStart, anchorEnd) {
|
|
1534
|
+
state.events.push({
|
|
1535
|
+
type: 5,
|
|
1536
|
+
anchorStart,
|
|
1537
|
+
anchorEnd
|
|
1538
|
+
});
|
|
1539
|
+
}
|
|
1540
|
+
function addPopEvent(state) {
|
|
1541
|
+
state.events.push({ type: 6 });
|
|
1542
|
+
}
|
|
1543
|
+
function addEmptyScalarEvent(state) {
|
|
1544
|
+
addScalarEvent(state, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, NO_RANGE$1, 1);
|
|
1545
|
+
}
|
|
1546
|
+
function emptyProperties() {
|
|
1547
|
+
return {
|
|
1548
|
+
anchorStart: NO_RANGE$1,
|
|
1549
|
+
anchorEnd: NO_RANGE$1,
|
|
1550
|
+
tagStart: NO_RANGE$1,
|
|
1551
|
+
tagEnd: NO_RANGE$1
|
|
1552
|
+
};
|
|
1553
|
+
}
|
|
1554
|
+
function snapshotState(state) {
|
|
1555
|
+
return {
|
|
1556
|
+
position: state.position,
|
|
1557
|
+
line: state.line,
|
|
1558
|
+
lineStart: state.lineStart,
|
|
1559
|
+
lineIndent: state.lineIndent,
|
|
1560
|
+
firstTabInLine: state.firstTabInLine,
|
|
1561
|
+
eventsLength: state.events.length
|
|
1562
|
+
};
|
|
1563
|
+
}
|
|
1564
|
+
function restoreState(state, snapshot) {
|
|
1565
|
+
state.position = snapshot.position;
|
|
1566
|
+
state.line = snapshot.line;
|
|
1567
|
+
state.lineStart = snapshot.lineStart;
|
|
1568
|
+
state.lineIndent = snapshot.lineIndent;
|
|
1569
|
+
state.firstTabInLine = snapshot.firstTabInLine;
|
|
1570
|
+
state.events.length = snapshot.eventsLength;
|
|
1571
|
+
}
|
|
1572
|
+
function throwError(state, message) {
|
|
1573
|
+
throwErrorAt(state.input.slice(0, state.length), state.position, message, state.filename);
|
|
1574
|
+
}
|
|
1575
|
+
function isEol(c) {
|
|
1576
|
+
return c === 10 || c === 13;
|
|
1577
|
+
}
|
|
1578
|
+
function isWhiteSpace(c) {
|
|
1579
|
+
return c === 9 || c === 32;
|
|
1580
|
+
}
|
|
1581
|
+
function isWsOrEol(c) {
|
|
1582
|
+
return isWhiteSpace(c) || isEol(c);
|
|
1583
|
+
}
|
|
1584
|
+
function isWsOrEolOrEnd(c) {
|
|
1585
|
+
return c === 0 || isWsOrEol(c);
|
|
1586
|
+
}
|
|
1587
|
+
function isFlowIndicator(c) {
|
|
1588
|
+
return c === 44 || c === 91 || c === 93 || c === 123 || c === 125;
|
|
1589
|
+
}
|
|
1590
|
+
function fromDecimalCode(c) {
|
|
1591
|
+
return c >= 48 && c <= 57 ? c - 48 : -1;
|
|
1592
|
+
}
|
|
1593
|
+
function fromHexCode(c) {
|
|
1594
|
+
if (c >= 48 && c <= 57) return c - 48;
|
|
1595
|
+
const lc = c | 32;
|
|
1596
|
+
if (lc >= 97 && lc <= 102) return lc - 97 + 10;
|
|
1597
|
+
return -1;
|
|
1598
|
+
}
|
|
1599
|
+
function escapedHexLen(c) {
|
|
1600
|
+
if (c === 120) return 2;
|
|
1601
|
+
if (c === 117) return 4;
|
|
1602
|
+
if (c === 85) return 8;
|
|
1603
|
+
return 0;
|
|
1604
|
+
}
|
|
1605
|
+
function isSimpleEscape(c) {
|
|
1606
|
+
return c === 48 || c === 97 || c === 98 || c === 116 || c === 9 || c === 110 || c === 118 || c === 102 || c === 114 || c === 101 || c === 32 || c === 34 || c === 47 || c === 92 || c === 78 || c === 95 || c === 76 || c === 80;
|
|
1607
|
+
}
|
|
1608
|
+
function consumeLineBreak(state) {
|
|
1609
|
+
if (state.input.charCodeAt(state.position) === 10) state.position++;
|
|
1610
|
+
else {
|
|
1611
|
+
state.position++;
|
|
1612
|
+
if (state.input.charCodeAt(state.position) === 10) state.position++;
|
|
1613
|
+
}
|
|
1614
|
+
state.line++;
|
|
1615
|
+
state.lineStart = state.position;
|
|
1616
|
+
state.lineIndent = 0;
|
|
1617
|
+
state.firstTabInLine = -1;
|
|
1618
|
+
}
|
|
1619
|
+
function skipSeparationSpace(state, allowComments) {
|
|
1620
|
+
let lineBreaks = 0;
|
|
1621
|
+
let ch = state.input.charCodeAt(state.position);
|
|
1622
|
+
let hasSeparation = state.position === state.lineStart || isWsOrEol(state.input.charCodeAt(state.position - 1));
|
|
1623
|
+
while (ch !== 0) {
|
|
1624
|
+
while (isWhiteSpace(ch)) {
|
|
1625
|
+
hasSeparation = true;
|
|
1626
|
+
if (ch === 9 && state.firstTabInLine === -1) state.firstTabInLine = state.position;
|
|
1627
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1628
|
+
}
|
|
1629
|
+
if (allowComments && hasSeparation && ch === 35) do
|
|
1630
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1631
|
+
while (!isEol(ch) && ch !== 0);
|
|
1632
|
+
if (!isEol(ch)) break;
|
|
1633
|
+
consumeLineBreak(state);
|
|
1634
|
+
lineBreaks++;
|
|
1635
|
+
hasSeparation = true;
|
|
1636
|
+
ch = state.input.charCodeAt(state.position);
|
|
1637
|
+
while (ch === 32) {
|
|
1638
|
+
state.lineIndent++;
|
|
1639
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
return lineBreaks;
|
|
1643
|
+
}
|
|
1644
|
+
function testDocumentSeparator(state, position = state.position) {
|
|
1645
|
+
const ch = state.input.charCodeAt(position);
|
|
1646
|
+
if ((ch === 45 || ch === 46) && ch === state.input.charCodeAt(position + 1) && ch === state.input.charCodeAt(position + 2)) {
|
|
1647
|
+
const following = state.input.charCodeAt(position + 3);
|
|
1648
|
+
return following === 0 || isWsOrEol(following);
|
|
1649
|
+
}
|
|
1650
|
+
return false;
|
|
1651
|
+
}
|
|
1652
|
+
function skipUntilLineEnd(state) {
|
|
1653
|
+
let ch = state.input.charCodeAt(state.position);
|
|
1654
|
+
while (ch !== 0 && !isEol(ch)) ch = state.input.charCodeAt(++state.position);
|
|
1655
|
+
}
|
|
1656
|
+
function checkPrintable(state, start, end) {
|
|
1657
|
+
if (PATTERN_NON_PRINTABLE.test(state.input.slice(start, end))) throwError(state, "the stream contains non-printable characters");
|
|
1658
|
+
}
|
|
1659
|
+
function readTagProperty(state, props, inFlow) {
|
|
1660
|
+
if (state.input.charCodeAt(state.position) !== 33) return false;
|
|
1661
|
+
if (props.tagStart !== NO_RANGE$1) throwError(state, "duplication of a tag property");
|
|
1662
|
+
const start = state.position;
|
|
1663
|
+
let isVerbatim = false;
|
|
1664
|
+
let isNamed = false;
|
|
1665
|
+
let tagHandle = "!";
|
|
1666
|
+
let ch = state.input.charCodeAt(++state.position);
|
|
1667
|
+
if (ch === 60) {
|
|
1668
|
+
isVerbatim = true;
|
|
1669
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1670
|
+
} else if (ch === 33) {
|
|
1671
|
+
isNamed = true;
|
|
1672
|
+
tagHandle = "!!";
|
|
1673
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1674
|
+
}
|
|
1675
|
+
let suffixStart = state.position;
|
|
1676
|
+
let tagName;
|
|
1677
|
+
if (isVerbatim) {
|
|
1678
|
+
while (ch !== 0 && ch !== 62) ch = state.input.charCodeAt(++state.position);
|
|
1679
|
+
if (ch !== 62) throwError(state, "unexpected end of the stream within a verbatim tag");
|
|
1680
|
+
tagName = state.input.slice(suffixStart, state.position);
|
|
1681
|
+
state.position++;
|
|
1682
|
+
} else {
|
|
1683
|
+
while (ch !== 0 && !isWsOrEol(ch) && !(inFlow && isFlowIndicator(ch))) {
|
|
1684
|
+
if (ch === 33) if (!isNamed) {
|
|
1685
|
+
tagHandle = state.input.slice(suffixStart - 1, state.position + 1);
|
|
1686
|
+
if (!PATTERN_TAG_HANDLE.test(tagHandle)) throwError(state, "named tag handle cannot contain such characters");
|
|
1687
|
+
isNamed = true;
|
|
1688
|
+
suffixStart = state.position + 1;
|
|
1689
|
+
} else throwError(state, "tag suffix cannot contain exclamation marks");
|
|
1690
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1691
|
+
}
|
|
1692
|
+
tagName = state.input.slice(suffixStart, state.position);
|
|
1693
|
+
if (PATTERN_FLOW_INDICATORS.test(tagName)) throwError(state, "tag suffix cannot contain flow indicator characters");
|
|
1694
|
+
}
|
|
1695
|
+
if (tagName && !(isVerbatim ? PATTERN_TAG_URI.test(tagName) : PATTERN_TAG_SUFFIX.test(tagName))) throwError(state, `tag name cannot contain such characters: ${tagName}`);
|
|
1696
|
+
if (!isVerbatim && tagHandle !== "!" && tagHandle !== "!!" && !HAS_OWN.call(state.tagHandlers, tagHandle)) throwError(state, `undeclared tag handle "${tagHandle}"`);
|
|
1697
|
+
props.tagStart = start;
|
|
1698
|
+
props.tagEnd = state.position;
|
|
1699
|
+
return true;
|
|
1700
|
+
}
|
|
1701
|
+
function readAnchorProperty(state, props) {
|
|
1702
|
+
if (state.input.charCodeAt(state.position) !== 38) return false;
|
|
1703
|
+
if (props.anchorStart !== NO_RANGE$1) throwError(state, "duplication of an anchor property");
|
|
1704
|
+
state.position++;
|
|
1705
|
+
const start = state.position;
|
|
1706
|
+
while (state.input.charCodeAt(state.position) !== 0 && !isWsOrEol(state.input.charCodeAt(state.position)) && !isFlowIndicator(state.input.charCodeAt(state.position))) state.position++;
|
|
1707
|
+
if (state.position === start) throwError(state, "name of an anchor node must contain at least one character");
|
|
1708
|
+
props.anchorStart = start;
|
|
1709
|
+
props.anchorEnd = state.position;
|
|
1710
|
+
return true;
|
|
1711
|
+
}
|
|
1712
|
+
function readAlias(state, props) {
|
|
1713
|
+
if (state.input.charCodeAt(state.position) !== 42) return false;
|
|
1714
|
+
if (props.anchorStart !== NO_RANGE$1 || props.tagStart !== NO_RANGE$1) throwError(state, "alias node should not have any properties");
|
|
1715
|
+
state.position++;
|
|
1716
|
+
const start = state.position;
|
|
1717
|
+
while (state.input.charCodeAt(state.position) !== 0 && !isWsOrEol(state.input.charCodeAt(state.position)) && !isFlowIndicator(state.input.charCodeAt(state.position))) state.position++;
|
|
1718
|
+
if (state.position === start) throwError(state, "name of an alias node must contain at least one character");
|
|
1719
|
+
addAliasEvent(state, start, state.position);
|
|
1720
|
+
return true;
|
|
1721
|
+
}
|
|
1722
|
+
function readFlowScalarBreak(state, nodeIndent) {
|
|
1723
|
+
skipSeparationSpace(state, false);
|
|
1724
|
+
if (state.lineIndent < nodeIndent) throwError(state, "deficient indentation");
|
|
1725
|
+
}
|
|
1726
|
+
function readSingleQuotedScalar(state, nodeIndent, props) {
|
|
1727
|
+
if (state.input.charCodeAt(state.position) !== 39) return false;
|
|
1728
|
+
state.position++;
|
|
1729
|
+
const start = state.position;
|
|
1730
|
+
let simple = true;
|
|
1731
|
+
while (state.input.charCodeAt(state.position) !== 0) {
|
|
1732
|
+
const ch = state.input.charCodeAt(state.position);
|
|
1733
|
+
if (ch === 39) {
|
|
1734
|
+
if (state.input.charCodeAt(state.position + 1) === 39) {
|
|
1735
|
+
simple = false;
|
|
1736
|
+
state.position += 2;
|
|
1737
|
+
continue;
|
|
1738
|
+
}
|
|
1739
|
+
const end = state.position;
|
|
1740
|
+
state.position++;
|
|
1741
|
+
addScalarEvent(state, start, end, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 2, 1, -1, simple);
|
|
1742
|
+
return true;
|
|
1743
|
+
}
|
|
1744
|
+
if (isEol(ch)) {
|
|
1745
|
+
simple = false;
|
|
1746
|
+
readFlowScalarBreak(state, nodeIndent);
|
|
1747
|
+
} else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a single quoted scalar");
|
|
1748
|
+
else if (ch !== 9 && ch < 32) throwError(state, "expected valid JSON character");
|
|
1749
|
+
else state.position++;
|
|
1750
|
+
}
|
|
1751
|
+
throwError(state, "unexpected end of the stream within a single quoted scalar");
|
|
1752
|
+
}
|
|
1753
|
+
function readDoubleQuotedScalar(state, nodeIndent, props) {
|
|
1754
|
+
if (state.input.charCodeAt(state.position) !== 34) return false;
|
|
1755
|
+
state.position++;
|
|
1756
|
+
const start = state.position;
|
|
1757
|
+
let simple = true;
|
|
1758
|
+
while (state.input.charCodeAt(state.position) !== 0) {
|
|
1759
|
+
const ch = state.input.charCodeAt(state.position);
|
|
1760
|
+
if (ch === 34) {
|
|
1761
|
+
const end = state.position;
|
|
1762
|
+
state.position++;
|
|
1763
|
+
addScalarEvent(state, start, end, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 3, 1, -1, simple);
|
|
1764
|
+
return true;
|
|
1765
|
+
}
|
|
1766
|
+
if (ch === 92) {
|
|
1767
|
+
simple = false;
|
|
1768
|
+
const escaped = state.input.charCodeAt(++state.position);
|
|
1769
|
+
if (isEol(escaped)) readFlowScalarBreak(state, nodeIndent);
|
|
1770
|
+
else if (isSimpleEscape(escaped)) state.position++;
|
|
1771
|
+
else {
|
|
1772
|
+
let hexLength = escapedHexLen(escaped);
|
|
1773
|
+
if (hexLength === 0) throwError(state, "unknown escape sequence");
|
|
1774
|
+
while (hexLength-- > 0) {
|
|
1775
|
+
state.position++;
|
|
1776
|
+
if (fromHexCode(state.input.charCodeAt(state.position)) < 0) throwError(state, "expected hexadecimal character");
|
|
1777
|
+
}
|
|
1778
|
+
state.position++;
|
|
1779
|
+
}
|
|
1780
|
+
} else if (isEol(ch)) {
|
|
1781
|
+
simple = false;
|
|
1782
|
+
readFlowScalarBreak(state, nodeIndent);
|
|
1783
|
+
} else if (state.position === state.lineStart && testDocumentSeparator(state)) throwError(state, "unexpected end of the document within a double quoted scalar");
|
|
1784
|
+
else if (ch !== 9 && ch < 32) throwError(state, "expected valid JSON character");
|
|
1785
|
+
else state.position++;
|
|
1786
|
+
}
|
|
1787
|
+
throwError(state, "unexpected end of the stream within a double quoted scalar");
|
|
1788
|
+
}
|
|
1789
|
+
function readBlockScalar(state, parentIndent, props) {
|
|
1790
|
+
const ch = state.input.charCodeAt(state.position);
|
|
1791
|
+
let chomping = 1;
|
|
1792
|
+
let indent = -1;
|
|
1793
|
+
let detectedIndent = false;
|
|
1794
|
+
if (ch !== 124 && ch !== 62) return false;
|
|
1795
|
+
const style = ch === 124 ? 4 : 5;
|
|
1796
|
+
state.position++;
|
|
1797
|
+
while (state.input.charCodeAt(state.position) !== 0) {
|
|
1798
|
+
const current = state.input.charCodeAt(state.position);
|
|
1799
|
+
const digit = fromDecimalCode(current);
|
|
1800
|
+
if (current === 43 || current === 45) {
|
|
1801
|
+
if (chomping !== 1) throwError(state, "repeat of a chomping mode identifier");
|
|
1802
|
+
chomping = current === 43 ? 3 : 2;
|
|
1803
|
+
state.position++;
|
|
1804
|
+
} else if (digit >= 0) {
|
|
1805
|
+
if (digit === 0) throwError(state, "bad explicit indentation width of a block scalar; it cannot be less than one");
|
|
1806
|
+
if (detectedIndent) throwError(state, "repeat of an indentation width identifier");
|
|
1807
|
+
indent = parentIndent + digit - 1;
|
|
1808
|
+
detectedIndent = true;
|
|
1809
|
+
state.position++;
|
|
1810
|
+
} else break;
|
|
1811
|
+
}
|
|
1812
|
+
let hadWhitespace = false;
|
|
1813
|
+
while (isWhiteSpace(state.input.charCodeAt(state.position))) {
|
|
1814
|
+
hadWhitespace = true;
|
|
1815
|
+
state.position++;
|
|
1816
|
+
}
|
|
1817
|
+
if (hadWhitespace && state.input.charCodeAt(state.position) === 35) skipUntilLineEnd(state);
|
|
1818
|
+
if (isEol(state.input.charCodeAt(state.position))) consumeLineBreak(state);
|
|
1819
|
+
else if (state.input.charCodeAt(state.position) !== 0) throwError(state, "a line break is expected");
|
|
1820
|
+
let contentIndent = detectedIndent ? indent : -1;
|
|
1821
|
+
let maxLeadingIndent = 0;
|
|
1822
|
+
const valueStart = state.position;
|
|
1823
|
+
let valueEnd = state.position;
|
|
1824
|
+
while (state.input.charCodeAt(state.position) !== 0) {
|
|
1825
|
+
const linePosition = state.position;
|
|
1826
|
+
let column = 0;
|
|
1827
|
+
while (state.input.charCodeAt(linePosition + column) === 32) column++;
|
|
1828
|
+
const first = state.input.charCodeAt(linePosition + column);
|
|
1829
|
+
if (first === 0) {
|
|
1830
|
+
if (contentIndent >= 0) {
|
|
1831
|
+
if (column > contentIndent) valueEnd = linePosition + column;
|
|
1832
|
+
} else if (column > 0) valueEnd = linePosition + column;
|
|
1833
|
+
break;
|
|
1834
|
+
}
|
|
1835
|
+
if (linePosition === state.lineStart && testDocumentSeparator(state, linePosition)) break;
|
|
1836
|
+
if (!detectedIndent && contentIndent === -1 && isEol(first)) maxLeadingIndent = Math.max(maxLeadingIndent, column);
|
|
1837
|
+
if (!detectedIndent && contentIndent === -1 && !isEol(first)) {
|
|
1838
|
+
if (first === 9 && column < parentIndent) {
|
|
1839
|
+
state.position = linePosition + column;
|
|
1840
|
+
throwError(state, "tab characters must not be used in indentation");
|
|
1841
|
+
}
|
|
1842
|
+
if (column < maxLeadingIndent) {
|
|
1843
|
+
state.position = linePosition + column;
|
|
1844
|
+
throwError(state, "bad indentation of a mapping entry");
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
if (contentIndent === -1 && first !== 0 && !isEol(first) && column < parentIndent) {
|
|
1848
|
+
state.lineIndent = column;
|
|
1849
|
+
state.position = linePosition + column;
|
|
1850
|
+
break;
|
|
1851
|
+
}
|
|
1852
|
+
if (!detectedIndent && first !== 0 && !isEol(first) && contentIndent === -1) contentIndent = column;
|
|
1853
|
+
const requiredIndent = contentIndent === -1 ? parentIndent + 1 : contentIndent;
|
|
1854
|
+
if (first !== 0 && !isEol(first) && column < requiredIndent) {
|
|
1855
|
+
state.lineIndent = column;
|
|
1856
|
+
state.position = linePosition + column;
|
|
1857
|
+
break;
|
|
1858
|
+
}
|
|
1859
|
+
skipUntilLineEnd(state);
|
|
1860
|
+
valueEnd = state.position;
|
|
1861
|
+
if (isEol(state.input.charCodeAt(state.position))) {
|
|
1862
|
+
consumeLineBreak(state);
|
|
1863
|
+
valueEnd = state.position;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
checkPrintable(state, valueStart, valueEnd);
|
|
1867
|
+
addScalarEvent(state, valueStart, valueEnd, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, style, chomping, contentIndent);
|
|
1868
|
+
return true;
|
|
1869
|
+
}
|
|
1870
|
+
function canStartPlainScalar(state, nodeContext) {
|
|
1871
|
+
const ch = state.input.charCodeAt(state.position);
|
|
1872
|
+
const inFlow = nodeContext === CONTEXT_FLOW_IN;
|
|
1873
|
+
if (ch === 0 || isWsOrEol(ch) || ch === 35 || ch === 38 || ch === 42 || ch === 33 || ch === 124 || ch === 62 || ch === 39 || ch === 34 || ch === 37 || ch === 64 || ch === 96 || inFlow && isFlowIndicator(ch)) return false;
|
|
1874
|
+
if (ch === 63 || ch === 45) {
|
|
1875
|
+
const following = state.input.charCodeAt(state.position + 1);
|
|
1876
|
+
if (isWsOrEolOrEnd(following) || inFlow && isFlowIndicator(following)) return false;
|
|
1877
|
+
}
|
|
1878
|
+
return true;
|
|
1879
|
+
}
|
|
1880
|
+
function readPlainScalar(state, nodeIndent, nodeContext, props) {
|
|
1881
|
+
if (!canStartPlainScalar(state, nodeContext)) return false;
|
|
1882
|
+
const start = state.position;
|
|
1883
|
+
let end = state.position;
|
|
1884
|
+
let ch = state.input.charCodeAt(state.position);
|
|
1885
|
+
const inFlow = nodeContext === CONTEXT_FLOW_IN;
|
|
1886
|
+
let multiline = false;
|
|
1887
|
+
while (ch !== 0) {
|
|
1888
|
+
if (state.position === state.lineStart && testDocumentSeparator(state)) break;
|
|
1889
|
+
if (ch === 58) {
|
|
1890
|
+
const following = state.input.charCodeAt(state.position + 1);
|
|
1891
|
+
if (isWsOrEolOrEnd(following) || inFlow && isFlowIndicator(following)) break;
|
|
1892
|
+
} else if (ch === 35) {
|
|
1893
|
+
if (isWsOrEol(state.input.charCodeAt(state.position - 1))) break;
|
|
1894
|
+
} else if (inFlow && isFlowIndicator(ch)) break;
|
|
1895
|
+
else if (isEol(ch)) {
|
|
1896
|
+
const savedPosition = state.position;
|
|
1897
|
+
const savedLine = state.line;
|
|
1898
|
+
const savedLineStart = state.lineStart;
|
|
1899
|
+
const savedLineIndent = state.lineIndent;
|
|
1900
|
+
skipSeparationSpace(state, false);
|
|
1901
|
+
if (state.lineIndent >= nodeIndent) {
|
|
1902
|
+
multiline = true;
|
|
1903
|
+
ch = state.input.charCodeAt(state.position);
|
|
1904
|
+
continue;
|
|
1905
|
+
}
|
|
1906
|
+
state.position = savedPosition;
|
|
1907
|
+
state.line = savedLine;
|
|
1908
|
+
state.lineStart = savedLineStart;
|
|
1909
|
+
state.lineIndent = savedLineIndent;
|
|
1910
|
+
break;
|
|
1911
|
+
}
|
|
1912
|
+
if (!isWhiteSpace(ch)) end = state.position + 1;
|
|
1913
|
+
ch = state.input.charCodeAt(++state.position);
|
|
1914
|
+
}
|
|
1915
|
+
if (end === start) return false;
|
|
1916
|
+
checkPrintable(state, start, end);
|
|
1917
|
+
addScalarEvent(state, start, end, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 1, 1, -1, !multiline);
|
|
1918
|
+
return true;
|
|
1919
|
+
}
|
|
1920
|
+
function skipFlowSeparationSpace(state, nodeIndent) {
|
|
1921
|
+
const startLine = state.line;
|
|
1922
|
+
skipSeparationSpace(state, true);
|
|
1923
|
+
if (state.line > startLine && state.lineIndent < nodeIndent || state.firstTabInLine !== -1 && state.lineIndent < nodeIndent) throwError(state, "deficient indentation");
|
|
1924
|
+
}
|
|
1925
|
+
function readFlowCollection(state, nodeIndent, props) {
|
|
1926
|
+
const ch = state.input.charCodeAt(state.position);
|
|
1927
|
+
const isMapping = ch === 123;
|
|
1928
|
+
const start = state.position;
|
|
1929
|
+
let readNext = true;
|
|
1930
|
+
if (ch !== 91 && ch !== 123) return false;
|
|
1931
|
+
const terminator = isMapping ? 125 : 93;
|
|
1932
|
+
if (isMapping) addMappingEvent(state, start, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 2);
|
|
1933
|
+
else addSequenceEvent(state, start, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 2);
|
|
1934
|
+
state.position++;
|
|
1935
|
+
while (state.input.charCodeAt(state.position) !== 0) {
|
|
1936
|
+
skipFlowSeparationSpace(state, nodeIndent);
|
|
1937
|
+
let ch = state.input.charCodeAt(state.position);
|
|
1938
|
+
if (ch === terminator) {
|
|
1939
|
+
state.position++;
|
|
1940
|
+
addPopEvent(state);
|
|
1941
|
+
return true;
|
|
1942
|
+
} else if (!readNext) throwError(state, "missed comma between flow collection entries");
|
|
1943
|
+
else if (ch === 44) throwError(state, "expected the node content, but found ','");
|
|
1944
|
+
let isPair = false;
|
|
1945
|
+
let isExplicitPair = false;
|
|
1946
|
+
if (ch === 63 && isWsOrEol(state.input.charCodeAt(state.position + 1))) {
|
|
1947
|
+
isPair = isExplicitPair = true;
|
|
1948
|
+
state.position += 1;
|
|
1949
|
+
skipFlowSeparationSpace(state, nodeIndent);
|
|
1950
|
+
}
|
|
1951
|
+
const entryLine = state.line;
|
|
1952
|
+
const entryStart = snapshotState(state);
|
|
1953
|
+
const keyWasRead = parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);
|
|
1954
|
+
skipFlowSeparationSpace(state, nodeIndent);
|
|
1955
|
+
ch = state.input.charCodeAt(state.position);
|
|
1956
|
+
if ((isMapping || isExplicitPair || state.line === entryLine) && ch === 58) {
|
|
1957
|
+
isPair = true;
|
|
1958
|
+
state.position++;
|
|
1959
|
+
skipFlowSeparationSpace(state, nodeIndent);
|
|
1960
|
+
if (!isMapping) {
|
|
1961
|
+
insertFlowPairMappingEvent(state, entryStart);
|
|
1962
|
+
if (!keyWasRead) addEmptyScalarEvent(state);
|
|
1963
|
+
} else if (!keyWasRead) addEmptyScalarEvent(state);
|
|
1964
|
+
if (!parseNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true)) addEmptyScalarEvent(state);
|
|
1965
|
+
skipFlowSeparationSpace(state, nodeIndent);
|
|
1966
|
+
if (!isMapping) addPopEvent(state);
|
|
1967
|
+
} else if (isMapping && isPair) {
|
|
1968
|
+
if (!keyWasRead) addEmptyScalarEvent(state);
|
|
1969
|
+
addEmptyScalarEvent(state);
|
|
1970
|
+
} else if (isMapping) addEmptyScalarEvent(state);
|
|
1971
|
+
else if (isPair) {
|
|
1972
|
+
insertFlowPairMappingEvent(state, entryStart);
|
|
1973
|
+
if (!keyWasRead) addEmptyScalarEvent(state);
|
|
1974
|
+
addEmptyScalarEvent(state);
|
|
1975
|
+
addPopEvent(state);
|
|
1976
|
+
}
|
|
1977
|
+
ch = state.input.charCodeAt(state.position);
|
|
1978
|
+
if (ch === 44) {
|
|
1979
|
+
readNext = true;
|
|
1980
|
+
state.position++;
|
|
1981
|
+
} else readNext = false;
|
|
1982
|
+
}
|
|
1983
|
+
throwError(state, "unexpected end of the stream within a flow collection");
|
|
1984
|
+
}
|
|
1985
|
+
function readBlockSequence(state, nodeIndent, props) {
|
|
1986
|
+
if (state.firstTabInLine !== -1 || state.input.charCodeAt(state.position) !== 45 || !isWsOrEolOrEnd(state.input.charCodeAt(state.position + 1))) return false;
|
|
1987
|
+
addSequenceEvent(state, state.position, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 1);
|
|
1988
|
+
while (state.input.charCodeAt(state.position) === 45 && isWsOrEolOrEnd(state.input.charCodeAt(state.position + 1))) {
|
|
1989
|
+
if (state.firstTabInLine !== -1) {
|
|
1990
|
+
state.position = state.firstTabInLine;
|
|
1991
|
+
throwError(state, "tab characters must not be used in indentation");
|
|
1992
|
+
}
|
|
1993
|
+
const entryLine = state.line;
|
|
1994
|
+
state.position++;
|
|
1995
|
+
const hadBreak = skipSeparationSpace(state, true) > 0;
|
|
1996
|
+
if (state.firstTabInLine !== -1 && state.input.charCodeAt(state.position) === 45 && isWsOrEolOrEnd(state.input.charCodeAt(state.position + 1))) throwError(state, "bad indentation of a sequence entry");
|
|
1997
|
+
if (hadBreak && state.lineIndent <= nodeIndent) addEmptyScalarEvent(state);
|
|
1998
|
+
else parseNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);
|
|
1999
|
+
skipSeparationSpace(state, true);
|
|
2000
|
+
if (state.lineIndent < nodeIndent || state.position >= state.length) break;
|
|
2001
|
+
if (state.lineIndent > nodeIndent) throwError(state, "bad indentation of a sequence entry");
|
|
2002
|
+
if (state.line === entryLine && state.input.charCodeAt(state.position) === 45 && isWsOrEolOrEnd(state.input.charCodeAt(state.position + 1))) throwError(state, "bad indentation of a sequence entry");
|
|
2003
|
+
}
|
|
2004
|
+
addPopEvent(state);
|
|
2005
|
+
return true;
|
|
2006
|
+
}
|
|
2007
|
+
function readBlockMapping(state, nodeIndent, flowIndent, props) {
|
|
2008
|
+
let atExplicitKey = false;
|
|
2009
|
+
let detected = false;
|
|
2010
|
+
let mappingOpened = false;
|
|
2011
|
+
let pendingExplicitKey = false;
|
|
2012
|
+
if (state.firstTabInLine !== -1) return false;
|
|
2013
|
+
let ch = state.input.charCodeAt(state.position);
|
|
2014
|
+
while (ch !== 0) {
|
|
2015
|
+
if (!atExplicitKey && state.firstTabInLine !== -1) {
|
|
2016
|
+
state.position = state.firstTabInLine;
|
|
2017
|
+
throwError(state, "tab characters must not be used in indentation");
|
|
2018
|
+
}
|
|
2019
|
+
const following = state.input.charCodeAt(state.position + 1);
|
|
2020
|
+
const entryLine = state.line;
|
|
2021
|
+
if ((ch === 63 || ch === 58) && isWsOrEolOrEnd(following)) {
|
|
2022
|
+
if (!mappingOpened) {
|
|
2023
|
+
addMappingEvent(state, state.position, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 1);
|
|
2024
|
+
mappingOpened = true;
|
|
2025
|
+
}
|
|
2026
|
+
if (ch === 63) {
|
|
2027
|
+
if (atExplicitKey) addEmptyScalarEvent(state);
|
|
2028
|
+
detected = true;
|
|
2029
|
+
atExplicitKey = true;
|
|
2030
|
+
} else if (atExplicitKey) atExplicitKey = false;
|
|
2031
|
+
else {
|
|
2032
|
+
addEmptyScalarEvent(state);
|
|
2033
|
+
detected = true;
|
|
2034
|
+
atExplicitKey = false;
|
|
2035
|
+
}
|
|
2036
|
+
state.position += 1;
|
|
2037
|
+
pendingExplicitKey = true;
|
|
2038
|
+
} else {
|
|
2039
|
+
if (atExplicitKey) {
|
|
2040
|
+
addEmptyScalarEvent(state);
|
|
2041
|
+
atExplicitKey = false;
|
|
2042
|
+
}
|
|
2043
|
+
const beforeKey = snapshotState(state);
|
|
2044
|
+
if (!parseNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) break;
|
|
2045
|
+
if (state.line === entryLine) {
|
|
2046
|
+
ch = state.input.charCodeAt(state.position);
|
|
2047
|
+
while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
|
|
2048
|
+
if (ch === 58) {
|
|
2049
|
+
ch = state.input.charCodeAt(++state.position);
|
|
2050
|
+
if (!isWsOrEolOrEnd(ch)) throwError(state, "a whitespace character is expected after the key-value separator within a block mapping");
|
|
2051
|
+
if (!mappingOpened) {
|
|
2052
|
+
restoreState(state, beforeKey);
|
|
2053
|
+
addMappingEvent(state, beforeKey.position, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 1);
|
|
2054
|
+
mappingOpened = true;
|
|
2055
|
+
parseNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true);
|
|
2056
|
+
ch = state.input.charCodeAt(state.position);
|
|
2057
|
+
while (isWhiteSpace(ch)) ch = state.input.charCodeAt(++state.position);
|
|
2058
|
+
state.position++;
|
|
2059
|
+
}
|
|
2060
|
+
detected = true;
|
|
2061
|
+
atExplicitKey = false;
|
|
2062
|
+
pendingExplicitKey = false;
|
|
2063
|
+
} else if (detected) throwError(state, "expected ':' after a mapping key");
|
|
2064
|
+
else {
|
|
2065
|
+
if (props.anchorStart !== NO_RANGE$1 || props.tagStart !== NO_RANGE$1) {
|
|
2066
|
+
restoreState(state, beforeKey);
|
|
2067
|
+
return false;
|
|
2068
|
+
}
|
|
2069
|
+
return true;
|
|
2070
|
+
}
|
|
2071
|
+
} else if (detected) throwError(state, "can not read a block mapping entry; a multiline key may not be an implicit key");
|
|
2072
|
+
else {
|
|
2073
|
+
if (props.anchorStart !== NO_RANGE$1 || props.tagStart !== NO_RANGE$1) {
|
|
2074
|
+
restoreState(state, beforeKey);
|
|
2075
|
+
return false;
|
|
2076
|
+
}
|
|
2077
|
+
return true;
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
if (parseNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, pendingExplicitKey)) pendingExplicitKey = false;
|
|
2081
|
+
if (!atExplicitKey) {
|
|
2082
|
+
if (pendingExplicitKey) {
|
|
2083
|
+
addEmptyScalarEvent(state);
|
|
2084
|
+
pendingExplicitKey = false;
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
skipSeparationSpace(state, true);
|
|
2088
|
+
ch = state.input.charCodeAt(state.position);
|
|
2089
|
+
if ((state.line === entryLine || state.lineIndent > nodeIndent) && ch !== 0) throwError(state, "bad indentation of a mapping entry");
|
|
2090
|
+
else if (state.lineIndent < nodeIndent) break;
|
|
2091
|
+
}
|
|
2092
|
+
if (!detected) return false;
|
|
2093
|
+
if (atExplicitKey) addEmptyScalarEvent(state);
|
|
2094
|
+
if (mappingOpened) addPopEvent(state);
|
|
2095
|
+
return true;
|
|
2096
|
+
}
|
|
2097
|
+
function parseNode(state, parentIndent, nodeContext, allowToSeek, allowCompact, allowPropertyMapping = true) {
|
|
2098
|
+
if (state.depth >= state.maxDepth) throwError(state, `nesting exceeded maxDepth (${state.maxDepth})`);
|
|
2099
|
+
state.depth++;
|
|
2100
|
+
let indentStatus = 1;
|
|
2101
|
+
let atNewLine = false;
|
|
2102
|
+
let hasContent = false;
|
|
2103
|
+
let propertyStart = null;
|
|
2104
|
+
const props = emptyProperties();
|
|
2105
|
+
let allowBlockScalars = nodeContext === CONTEXT_BLOCK_OUT || nodeContext === CONTEXT_BLOCK_IN;
|
|
2106
|
+
let allowBlockCollections = allowBlockScalars;
|
|
2107
|
+
const allowBlockStyles = allowBlockScalars;
|
|
2108
|
+
if (allowToSeek && skipSeparationSpace(state, true)) {
|
|
2109
|
+
atNewLine = true;
|
|
2110
|
+
if (state.lineIndent > parentIndent) indentStatus = 1;
|
|
2111
|
+
else if (state.lineIndent === parentIndent) indentStatus = 0;
|
|
2112
|
+
else indentStatus = -1;
|
|
2113
|
+
}
|
|
2114
|
+
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
2115
|
+
state.depth--;
|
|
2116
|
+
return false;
|
|
2117
|
+
}
|
|
2118
|
+
if (indentStatus === 1) while (true) {
|
|
2119
|
+
const ch = state.input.charCodeAt(state.position);
|
|
2120
|
+
const propertyState = snapshotState(state);
|
|
2121
|
+
if (atNewLine && indentStatus !== 1 && (ch === 33 || ch === 38)) break;
|
|
2122
|
+
if (atNewLine && allowBlockStyles && (props.tagStart !== NO_RANGE$1 || props.anchorStart !== NO_RANGE$1) && (ch === 33 || ch === 38)) {
|
|
2123
|
+
var _state$events$fallbac;
|
|
2124
|
+
const fallbackState = snapshotState(state);
|
|
2125
|
+
const flowIndent = parentIndent + 1;
|
|
2126
|
+
if (readBlockMapping(state, state.position - state.lineStart, flowIndent, props) && ((_state$events$fallbac = state.events[fallbackState.eventsLength]) === null || _state$events$fallbac === void 0 ? void 0 : _state$events$fallbac.type) === 3) {
|
|
2127
|
+
state.depth--;
|
|
2128
|
+
return true;
|
|
2129
|
+
}
|
|
2130
|
+
restoreState(state, fallbackState);
|
|
2131
|
+
}
|
|
2132
|
+
if (atNewLine && (ch === 33 && props.tagStart !== NO_RANGE$1 || ch === 38 && props.anchorStart !== NO_RANGE$1)) break;
|
|
2133
|
+
if (!readTagProperty(state, props, nodeContext === CONTEXT_FLOW_IN) && !readAnchorProperty(state, props)) break;
|
|
2134
|
+
if (propertyStart === null) propertyStart = propertyState;
|
|
2135
|
+
if (skipSeparationSpace(state, true)) {
|
|
2136
|
+
atNewLine = true;
|
|
2137
|
+
allowBlockCollections = allowBlockStyles;
|
|
2138
|
+
if (state.lineIndent > parentIndent) indentStatus = 1;
|
|
2139
|
+
else if (state.lineIndent === parentIndent) indentStatus = 0;
|
|
2140
|
+
else indentStatus = -1;
|
|
2141
|
+
} else allowBlockCollections = false;
|
|
2142
|
+
}
|
|
2143
|
+
if (allowBlockCollections) allowBlockCollections = atNewLine || allowCompact;
|
|
2144
|
+
if (indentStatus === 1 || nodeContext === CONTEXT_BLOCK_OUT) {
|
|
2145
|
+
const flowIndent = nodeContext === CONTEXT_FLOW_IN || nodeContext === CONTEXT_FLOW_OUT ? parentIndent : parentIndent + 1;
|
|
2146
|
+
const blockIndent = state.position - state.lineStart;
|
|
2147
|
+
if (indentStatus === 1) if (allowBlockCollections && (readBlockSequence(state, blockIndent, props) || readBlockMapping(state, blockIndent, flowIndent, props)) || readFlowCollection(state, flowIndent, props)) hasContent = true;
|
|
2148
|
+
else {
|
|
2149
|
+
const ch = state.input.charCodeAt(state.position);
|
|
2150
|
+
if (propertyStart !== null && allowPropertyMapping && allowBlockStyles && !allowBlockCollections && ch !== 124 && ch !== 62) {
|
|
2151
|
+
var _state$events$fallbac2;
|
|
2152
|
+
const fallbackState = snapshotState(state);
|
|
2153
|
+
const propertyIndent = propertyStart.position - propertyStart.lineStart;
|
|
2154
|
+
restoreState(state, propertyStart);
|
|
2155
|
+
if (readBlockMapping(state, propertyIndent, flowIndent, emptyProperties()) && ((_state$events$fallbac2 = state.events[fallbackState.eventsLength]) === null || _state$events$fallbac2 === void 0 ? void 0 : _state$events$fallbac2.type) === 3) hasContent = true;
|
|
2156
|
+
else restoreState(state, fallbackState);
|
|
2157
|
+
}
|
|
2158
|
+
if (!hasContent && (allowBlockScalars && readBlockScalar(state, flowIndent, props) || readSingleQuotedScalar(state, flowIndent, props) || readDoubleQuotedScalar(state, flowIndent, props) || readAlias(state, props) || readPlainScalar(state, flowIndent, nodeContext, props))) hasContent = true;
|
|
2159
|
+
}
|
|
2160
|
+
else if (indentStatus === 0) hasContent = allowBlockCollections && readBlockSequence(state, blockIndent, props);
|
|
2161
|
+
}
|
|
2162
|
+
allowBlockScalars = allowBlockScalars && !hasContent;
|
|
2163
|
+
if (!hasContent && (props.anchorStart !== NO_RANGE$1 || props.tagStart !== NO_RANGE$1 || allowBlockScalars)) {
|
|
2164
|
+
addScalarEvent(state, NO_RANGE$1, NO_RANGE$1, props.anchorStart, props.anchorEnd, props.tagStart, props.tagEnd, 1);
|
|
2165
|
+
hasContent = true;
|
|
2166
|
+
}
|
|
2167
|
+
state.depth--;
|
|
2168
|
+
return hasContent || props.anchorStart !== NO_RANGE$1 || props.tagStart !== NO_RANGE$1;
|
|
2169
|
+
}
|
|
2170
|
+
function readDirective(state) {
|
|
2171
|
+
if (state.lineIndent > 0 || state.input.charCodeAt(state.position) !== 37) return false;
|
|
2172
|
+
state.position++;
|
|
2173
|
+
const nameStart = state.position;
|
|
2174
|
+
while (state.input.charCodeAt(state.position) !== 0 && !isWsOrEol(state.input.charCodeAt(state.position))) state.position++;
|
|
2175
|
+
const name = state.input.slice(nameStart, state.position);
|
|
2176
|
+
const args = [];
|
|
2177
|
+
if (name.length === 0) throwError(state, "directive name must not be less than one character in length");
|
|
2178
|
+
while (state.input.charCodeAt(state.position) !== 0 && !isEol(state.input.charCodeAt(state.position))) {
|
|
2179
|
+
while (isWhiteSpace(state.input.charCodeAt(state.position))) state.position++;
|
|
2180
|
+
if (state.input.charCodeAt(state.position) === 35 || isEol(state.input.charCodeAt(state.position)) || state.input.charCodeAt(state.position) === 0) break;
|
|
2181
|
+
const start = state.position;
|
|
2182
|
+
while (state.input.charCodeAt(state.position) !== 0 && !isWsOrEol(state.input.charCodeAt(state.position))) state.position++;
|
|
2183
|
+
args.push(state.input.slice(start, state.position));
|
|
2184
|
+
}
|
|
2185
|
+
if (isEol(state.input.charCodeAt(state.position))) consumeLineBreak(state);
|
|
2186
|
+
if (name === "YAML") {
|
|
2187
|
+
if (state.directives.some((directive) => directive.kind === "yaml")) throwError(state, "duplication of %YAML directive");
|
|
2188
|
+
if (args.length !== 1) throwError(state, "YAML directive accepts exactly one argument");
|
|
2189
|
+
const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
|
|
2190
|
+
if (match === null) throwError(state, "ill-formed argument of the YAML directive");
|
|
2191
|
+
if (parseInt(match[1], 10) !== 1) throwError(state, "unacceptable YAML version of the document");
|
|
2192
|
+
state.directives.push({
|
|
2193
|
+
kind: "yaml",
|
|
2194
|
+
version: args[0]
|
|
2195
|
+
});
|
|
2196
|
+
} else if (name === "TAG") {
|
|
2197
|
+
if (args.length !== 2) throwError(state, "TAG directive accepts exactly two arguments");
|
|
2198
|
+
const [handle, prefix] = args;
|
|
2199
|
+
if (!PATTERN_TAG_HANDLE.test(handle)) throwError(state, "ill-formed tag handle (first argument) of the TAG directive");
|
|
2200
|
+
if (HAS_OWN.call(state.tagHandlers, handle)) throwError(state, `there is a previously declared suffix for "${handle}" tag handle`);
|
|
2201
|
+
if (!PATTERN_TAG_PREFIX.test(prefix)) throwError(state, "ill-formed tag prefix (second argument) of the TAG directive");
|
|
2202
|
+
state.tagHandlers[handle] = prefix;
|
|
2203
|
+
state.directives.push({
|
|
2204
|
+
kind: "tag",
|
|
2205
|
+
handle,
|
|
2206
|
+
prefix
|
|
2207
|
+
});
|
|
2208
|
+
}
|
|
2209
|
+
return true;
|
|
2210
|
+
}
|
|
2211
|
+
function readDocument(state) {
|
|
2212
|
+
state.directives = [];
|
|
2213
|
+
state.tagHandlers = Object.create(null);
|
|
2214
|
+
let hasDirectives = false;
|
|
2215
|
+
skipSeparationSpace(state, true);
|
|
2216
|
+
while (readDirective(state)) {
|
|
2217
|
+
hasDirectives = true;
|
|
2218
|
+
skipSeparationSpace(state, true);
|
|
2219
|
+
}
|
|
2220
|
+
let explicitStart = false;
|
|
2221
|
+
let explicitEnd = false;
|
|
2222
|
+
let allowCompact = true;
|
|
2223
|
+
if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 45 && state.input.charCodeAt(state.position + 1) === 45 && state.input.charCodeAt(state.position + 2) === 45 && isWsOrEolOrEnd(state.input.charCodeAt(state.position + 3))) {
|
|
2224
|
+
explicitStart = true;
|
|
2225
|
+
const markerLine = state.line;
|
|
2226
|
+
state.position += 3;
|
|
2227
|
+
skipSeparationSpace(state, true);
|
|
2228
|
+
allowCompact = state.line > markerLine;
|
|
2229
|
+
} else if (hasDirectives) throwError(state, "directives end mark is expected");
|
|
2230
|
+
const documentEventIndex = state.events.length;
|
|
2231
|
+
if (!explicitStart && state.position === state.lineStart && state.input.charCodeAt(state.position) === 46 && testDocumentSeparator(state)) {
|
|
2232
|
+
state.position += 3;
|
|
2233
|
+
skipSeparationSpace(state, true);
|
|
2234
|
+
return;
|
|
2235
|
+
}
|
|
2236
|
+
addDocumentEvent(state, explicitStart, false);
|
|
2237
|
+
if (!parseNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, allowCompact, allowCompact)) addEmptyScalarEvent(state);
|
|
2238
|
+
skipSeparationSpace(state, true);
|
|
2239
|
+
if (state.position === state.lineStart && testDocumentSeparator(state)) {
|
|
2240
|
+
explicitEnd = state.input.charCodeAt(state.position) === 46;
|
|
2241
|
+
if (explicitEnd) {
|
|
2242
|
+
const markerLine = state.line;
|
|
2243
|
+
state.position += 3;
|
|
2244
|
+
skipSeparationSpace(state, true);
|
|
2245
|
+
if (state.line === markerLine && state.position < state.length) throwError(state, "end of the stream or a document separator is expected");
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
const documentEvent = state.events[documentEventIndex];
|
|
2249
|
+
if ((documentEvent === null || documentEvent === void 0 ? void 0 : documentEvent.type) === 1) documentEvent.explicitEnd = explicitEnd;
|
|
2250
|
+
addPopEvent(state);
|
|
2251
|
+
if (!explicitEnd && state.position < state.length && !(state.position === state.lineStart && testDocumentSeparator(state))) throwError(state, "end of the stream or a document separator is expected");
|
|
2252
|
+
}
|
|
2253
|
+
function parseEvents(input, options) {
|
|
2254
|
+
const length = input.length;
|
|
2255
|
+
const state = _objectSpread2(_objectSpread2(_objectSpread2({}, DEFAULT_PARSER_OPTIONS), options), {}, {
|
|
2256
|
+
input: `${input}\0`,
|
|
2257
|
+
length,
|
|
2258
|
+
position: 0,
|
|
2259
|
+
line: 0,
|
|
2260
|
+
lineStart: 0,
|
|
2261
|
+
lineIndent: 0,
|
|
2262
|
+
firstTabInLine: -1,
|
|
2263
|
+
depth: 0,
|
|
2264
|
+
directives: [],
|
|
2265
|
+
tagHandlers: Object.create(null),
|
|
2266
|
+
events: []
|
|
2267
|
+
});
|
|
2268
|
+
const nullpos = input.indexOf("\0");
|
|
2269
|
+
if (nullpos !== -1) throwErrorAt(input, nullpos, "null byte is not allowed in input", state.filename);
|
|
2270
|
+
if (state.input.charCodeAt(state.position) === 65279) state.position++;
|
|
2271
|
+
while (state.position < state.length) {
|
|
2272
|
+
skipSeparationSpace(state, true);
|
|
2273
|
+
if (state.position >= state.length) break;
|
|
2274
|
+
const documentStart = state.position;
|
|
2275
|
+
readDocument(state);
|
|
2276
|
+
if (state.position === documentStart)
|
|
2277
|
+
/* c8 ignore next */
|
|
2278
|
+
throwError(state, "can not read a document");
|
|
2279
|
+
}
|
|
2280
|
+
return state.events;
|
|
2281
|
+
}
|
|
2282
|
+
//#endregion
|
|
2283
|
+
//#region src/load.ts
|
|
2284
|
+
var DEFAULT_LOAD_OPTIONS = _objectSpread2(_objectSpread2({}, DEFAULT_PARSER_OPTIONS), DEFAULT_CONSTRUCTOR_OPTIONS);
|
|
2285
|
+
function loadDocuments(input, options = {}) {
|
|
2286
|
+
const opts = _objectSpread2(_objectSpread2({}, DEFAULT_LOAD_OPTIONS), options);
|
|
2287
|
+
const source = String(input);
|
|
2288
|
+
const PARSER_OPT_KEYS = Object.keys(DEFAULT_PARSER_OPTIONS);
|
|
2289
|
+
const CONSTRUCTOR_OPT_KEYS = Object.keys(DEFAULT_CONSTRUCTOR_OPTIONS);
|
|
2290
|
+
return constructFromEvents(parseEvents(source, pick(opts, PARSER_OPT_KEYS)), _objectSpread2(_objectSpread2({}, pick(opts, CONSTRUCTOR_OPT_KEYS)), {}, { source }));
|
|
2291
|
+
}
|
|
2292
|
+
function loadAll(input, iteratorOrOptions, options) {
|
|
2293
|
+
let iterator = null;
|
|
2294
|
+
if (typeof iteratorOrOptions === "function") iterator = iteratorOrOptions;
|
|
2295
|
+
else if (iteratorOrOptions !== null && typeof iteratorOrOptions === "object") options = iteratorOrOptions;
|
|
2296
|
+
const documents = loadDocuments(input, options);
|
|
2297
|
+
if (iterator === null) return documents;
|
|
2298
|
+
for (const document of documents) iterator(document);
|
|
2299
|
+
}
|
|
2300
|
+
function load(input, options) {
|
|
2301
|
+
const documents = loadDocuments(input, options);
|
|
2302
|
+
if (documents.length === 0) throw new YAMLException("expected a document, but the input is empty");
|
|
2303
|
+
if (documents.length === 1) return documents[0];
|
|
2304
|
+
throw new YAMLException("expected a single document in the stream, but found more");
|
|
2305
|
+
}
|
|
2306
|
+
//#endregion
|
|
2307
|
+
//#region src/ast/nodes.ts
|
|
2308
|
+
var Style = class {
|
|
2309
|
+
constructor() {
|
|
2310
|
+
_defineProperty(this, "tagged", false);
|
|
2311
|
+
_defineProperty(this, "flow", false);
|
|
2312
|
+
_defineProperty(this, "singleQuoted", false);
|
|
2313
|
+
_defineProperty(this, "doubleQuoted", false);
|
|
2314
|
+
_defineProperty(this, "literal", false);
|
|
2315
|
+
_defineProperty(this, "folded", false);
|
|
2316
|
+
}
|
|
2317
|
+
};
|
|
2318
|
+
//#endregion
|
|
2319
|
+
//#region src/ast/from_js.ts
|
|
2320
|
+
var INVALID = Symbol("INVALID");
|
|
2321
|
+
function buildRepresentTypes(schema) {
|
|
2322
|
+
const defaultTags = new Set([
|
|
2323
|
+
schema.defaultScalarTag,
|
|
2324
|
+
schema.defaultSequenceTag,
|
|
2325
|
+
schema.defaultMappingTag
|
|
2326
|
+
].filter((t) => t !== void 0));
|
|
2327
|
+
const implicitScalars = schema.implicitScalarTags;
|
|
2328
|
+
const explicitTags = schema.tags.filter((t) => !(t.nodeKind === "scalar" && t.implicit) && !defaultTags.has(t));
|
|
2329
|
+
const defaultTagsLast = schema.tags.filter((t) => defaultTags.has(t));
|
|
2330
|
+
return [
|
|
2331
|
+
...implicitScalars.map((tag) => ({
|
|
2332
|
+
tag,
|
|
2333
|
+
implicitTag: true
|
|
2334
|
+
})),
|
|
2335
|
+
...explicitTags.map((tag) => ({
|
|
2336
|
+
tag,
|
|
2337
|
+
implicitTag: false
|
|
2338
|
+
})),
|
|
2339
|
+
...defaultTagsLast.map((tag) => ({
|
|
2340
|
+
tag,
|
|
2341
|
+
implicitTag: true
|
|
2342
|
+
}))
|
|
2343
|
+
];
|
|
2344
|
+
}
|
|
2345
|
+
function matchTag(state, object) {
|
|
2346
|
+
for (let index = 0, length = state.representTypes.length; index < length; index += 1) {
|
|
2347
|
+
const { tag, implicitTag } = state.representTypes[index];
|
|
2348
|
+
if (tag.identify && tag.identify(object)) {
|
|
2349
|
+
let tagName;
|
|
2350
|
+
if (tag.matchByTagPrefix && tag.representTagName) tagName = tag.representTagName(object);
|
|
2351
|
+
else tagName = tag.tagName;
|
|
2352
|
+
return {
|
|
2353
|
+
tag,
|
|
2354
|
+
tagName,
|
|
2355
|
+
implicitTag
|
|
2356
|
+
};
|
|
2357
|
+
}
|
|
2358
|
+
}
|
|
2359
|
+
return null;
|
|
2360
|
+
}
|
|
2361
|
+
function build(state, object) {
|
|
2362
|
+
if (!state.noRefs && object !== null && typeof object === "object") {
|
|
2363
|
+
const existing = state.refs.get(object);
|
|
2364
|
+
if (existing) {
|
|
2365
|
+
if (existing.anchor === void 0) existing.anchor = `ref_${state.refCounter++}`;
|
|
2366
|
+
return {
|
|
2367
|
+
kind: "alias",
|
|
2368
|
+
tag: "",
|
|
2369
|
+
style: new Style(),
|
|
2370
|
+
anchor: existing.anchor
|
|
2371
|
+
};
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
const matched = matchTag(state, object);
|
|
2375
|
+
if (!matched) {
|
|
2376
|
+
if (object === void 0) return INVALID;
|
|
2377
|
+
if (state.skipInvalid) return INVALID;
|
|
2378
|
+
throw new YAMLException(`unacceptable kind of an object to dump ${Object.prototype.toString.call(object)}`);
|
|
2379
|
+
}
|
|
2380
|
+
const { tag, tagName, implicitTag } = matched;
|
|
2381
|
+
const nodeTagName = implicitTag ? tagName : tagNameShort(tagName);
|
|
2382
|
+
if (tag.nodeKind === "scalar") {
|
|
2383
|
+
const style = new Style();
|
|
2384
|
+
style.tagged = !implicitTag;
|
|
2385
|
+
return {
|
|
2386
|
+
kind: "scalar",
|
|
2387
|
+
tag: nodeTagName,
|
|
2388
|
+
style,
|
|
2389
|
+
value: tag.represent(object)
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
if (tag.nodeKind === "sequence") {
|
|
2393
|
+
const container = tag.represent(object);
|
|
2394
|
+
const style = new Style();
|
|
2395
|
+
style.tagged = !implicitTag;
|
|
2396
|
+
const node = {
|
|
2397
|
+
kind: "sequence",
|
|
2398
|
+
tag: nodeTagName,
|
|
2399
|
+
style,
|
|
2400
|
+
items: []
|
|
2401
|
+
};
|
|
2402
|
+
if (!state.noRefs) state.refs.set(object, node);
|
|
2403
|
+
for (let index = 0, length = container.length; index < length; index += 1) {
|
|
2404
|
+
let item = build(state, container[index]);
|
|
2405
|
+
if (item === INVALID && container[index] === void 0) item = build(state, null);
|
|
2406
|
+
if (item === INVALID) continue;
|
|
2407
|
+
node.items.push(item);
|
|
2408
|
+
}
|
|
2409
|
+
return node;
|
|
2410
|
+
}
|
|
2411
|
+
const map = tag.represent(object);
|
|
2412
|
+
const style = new Style();
|
|
2413
|
+
style.tagged = !implicitTag;
|
|
2414
|
+
const node = {
|
|
2415
|
+
kind: "mapping",
|
|
2416
|
+
tag: nodeTagName,
|
|
2417
|
+
style,
|
|
2418
|
+
items: []
|
|
2419
|
+
};
|
|
2420
|
+
if (!state.noRefs) state.refs.set(object, node);
|
|
2421
|
+
for (const [objectKey, objectValue] of map) {
|
|
2422
|
+
const key = build(state, objectKey);
|
|
2423
|
+
if (key === INVALID) continue;
|
|
2424
|
+
const value = build(state, objectValue);
|
|
2425
|
+
if (value === INVALID) continue;
|
|
2426
|
+
node.items.push({
|
|
2427
|
+
key,
|
|
2428
|
+
value
|
|
2429
|
+
});
|
|
2430
|
+
}
|
|
2431
|
+
return node;
|
|
2432
|
+
}
|
|
2433
|
+
function jsToAst(input, schema, options = {}) {
|
|
2434
|
+
var _options$noRefs, _options$skipInvalid;
|
|
2435
|
+
const root = build({
|
|
2436
|
+
representTypes: buildRepresentTypes(schema),
|
|
2437
|
+
noRefs: (_options$noRefs = options.noRefs) !== null && _options$noRefs !== void 0 ? _options$noRefs : false,
|
|
2438
|
+
skipInvalid: (_options$skipInvalid = options.skipInvalid) !== null && _options$skipInvalid !== void 0 ? _options$skipInvalid : false,
|
|
2439
|
+
refs: /* @__PURE__ */ new Map(),
|
|
2440
|
+
refCounter: 0
|
|
2441
|
+
}, input);
|
|
2442
|
+
return [{
|
|
2443
|
+
contents: root === INVALID ? null : root,
|
|
2444
|
+
directives: []
|
|
2445
|
+
}];
|
|
2446
|
+
}
|
|
2447
|
+
//#endregion
|
|
2448
|
+
//#region src/ast/visit.ts
|
|
2449
|
+
var VISIT_BREAK = Symbol("visit:break");
|
|
2450
|
+
var VISIT_SKIP = Symbol("visit:skip");
|
|
2451
|
+
function visitNode(node, visitor, ctx) {
|
|
2452
|
+
const control = visitor(node, ctx);
|
|
2453
|
+
if (control === VISIT_BREAK) return true;
|
|
2454
|
+
if (control === VISIT_SKIP) return false;
|
|
2455
|
+
const depth = ctx.depth + 1;
|
|
2456
|
+
switch (node.kind) {
|
|
2457
|
+
case "sequence":
|
|
2458
|
+
for (const item of node.items) if (visitNode(item, visitor, {
|
|
2459
|
+
depth,
|
|
2460
|
+
parent: node,
|
|
2461
|
+
isKey: false
|
|
2462
|
+
})) return true;
|
|
2463
|
+
break;
|
|
2464
|
+
case "mapping":
|
|
2465
|
+
for (const { key, value } of node.items) {
|
|
2466
|
+
if (visitNode(key, visitor, {
|
|
2467
|
+
depth,
|
|
2468
|
+
parent: node,
|
|
2469
|
+
isKey: true
|
|
2470
|
+
})) return true;
|
|
2471
|
+
if (visitNode(value, visitor, {
|
|
2472
|
+
depth,
|
|
2473
|
+
parent: node,
|
|
2474
|
+
isKey: false
|
|
2475
|
+
})) return true;
|
|
2476
|
+
}
|
|
2477
|
+
break;
|
|
2478
|
+
}
|
|
2479
|
+
return false;
|
|
2480
|
+
}
|
|
2481
|
+
function visit(documents, visitor) {
|
|
2482
|
+
for (const doc of documents) if (doc.contents && visitNode(doc.contents, visitor, {
|
|
2483
|
+
depth: 0,
|
|
2484
|
+
parent: null,
|
|
2485
|
+
isKey: false
|
|
2486
|
+
})) return;
|
|
2487
|
+
}
|
|
2488
|
+
//#endregion
|
|
2489
|
+
//#region src/ast/presenter.ts
|
|
2490
|
+
var CHAR_BOM = 65279;
|
|
2491
|
+
var CHAR_TAB = 9;
|
|
2492
|
+
var CHAR_LINE_FEED = 10;
|
|
2493
|
+
var CHAR_CARRIAGE_RETURN = 13;
|
|
2494
|
+
var CHAR_SPACE = 32;
|
|
2495
|
+
var CHAR_EXCLAMATION = 33;
|
|
2496
|
+
var CHAR_DOUBLE_QUOTE = 34;
|
|
2497
|
+
var CHAR_SHARP = 35;
|
|
2498
|
+
var CHAR_PERCENT = 37;
|
|
2499
|
+
var CHAR_AMPERSAND = 38;
|
|
2500
|
+
var CHAR_SINGLE_QUOTE = 39;
|
|
2501
|
+
var CHAR_ASTERISK = 42;
|
|
2502
|
+
var CHAR_COMMA = 44;
|
|
2503
|
+
var CHAR_MINUS = 45;
|
|
2504
|
+
var CHAR_COLON = 58;
|
|
2505
|
+
var CHAR_EQUALS = 61;
|
|
2506
|
+
var CHAR_GREATER_THAN = 62;
|
|
2507
|
+
var CHAR_QUESTION = 63;
|
|
2508
|
+
var CHAR_COMMERCIAL_AT = 64;
|
|
2509
|
+
var CHAR_LEFT_SQUARE_BRACKET = 91;
|
|
2510
|
+
var CHAR_RIGHT_SQUARE_BRACKET = 93;
|
|
2511
|
+
var CHAR_GRAVE_ACCENT = 96;
|
|
2512
|
+
var CHAR_LEFT_CURLY_BRACKET = 123;
|
|
2513
|
+
var CHAR_VERTICAL_LINE = 124;
|
|
2514
|
+
var CHAR_RIGHT_CURLY_BRACKET = 125;
|
|
2515
|
+
var ESCAPE_SEQUENCES = {};
|
|
2516
|
+
ESCAPE_SEQUENCES[0] = "\\0";
|
|
2517
|
+
ESCAPE_SEQUENCES[7] = "\\a";
|
|
2518
|
+
ESCAPE_SEQUENCES[8] = "\\b";
|
|
2519
|
+
ESCAPE_SEQUENCES[9] = "\\t";
|
|
2520
|
+
ESCAPE_SEQUENCES[10] = "\\n";
|
|
2521
|
+
ESCAPE_SEQUENCES[11] = "\\v";
|
|
2522
|
+
ESCAPE_SEQUENCES[12] = "\\f";
|
|
2523
|
+
ESCAPE_SEQUENCES[13] = "\\r";
|
|
2524
|
+
ESCAPE_SEQUENCES[27] = "\\e";
|
|
2525
|
+
ESCAPE_SEQUENCES[34] = "\\\"";
|
|
2526
|
+
ESCAPE_SEQUENCES[92] = "\\\\";
|
|
2527
|
+
ESCAPE_SEQUENCES[133] = "\\N";
|
|
2528
|
+
ESCAPE_SEQUENCES[160] = "\\_";
|
|
2529
|
+
ESCAPE_SEQUENCES[8232] = "\\L";
|
|
2530
|
+
ESCAPE_SEQUENCES[8233] = "\\P";
|
|
2531
|
+
var DEFAULT_PRESENTER_OPTIONS = {
|
|
2532
|
+
indent: 2,
|
|
2533
|
+
seqNoIndent: false,
|
|
2534
|
+
seqInlineFirst: true,
|
|
2535
|
+
sortKeys: false,
|
|
2536
|
+
lineWidth: 80,
|
|
2537
|
+
flowBracketPadding: false,
|
|
2538
|
+
flowSkipCommaSpace: false,
|
|
2539
|
+
flowSkipColonSpace: false,
|
|
2540
|
+
quoteFlowKeys: false,
|
|
2541
|
+
quoteStyle: "single",
|
|
2542
|
+
forceQuotes: false,
|
|
2543
|
+
tagBeforeAnchor: false
|
|
2544
|
+
};
|
|
2545
|
+
function nodeTagShort(node) {
|
|
2546
|
+
return node.style.tagged ? node.tag : tagNameShort(node.tag);
|
|
2547
|
+
}
|
|
2548
|
+
function createPresenterState(options) {
|
|
2549
|
+
const opts = _objectSpread2(_objectSpread2({}, DEFAULT_PRESENTER_OPTIONS), options);
|
|
2550
|
+
return _objectSpread2(_objectSpread2({}, opts), {}, {
|
|
2551
|
+
defaultScalarTagName: opts.schema.defaultScalarTag.tagName,
|
|
2552
|
+
implicitResolvers: opts.schema.implicitScalarTags
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
function encodeNonPrintable(character) {
|
|
2556
|
+
const string = character.toString(16).toUpperCase();
|
|
2557
|
+
const handle = character <= 255 ? "x" : "u";
|
|
2558
|
+
const length = character <= 255 ? 2 : 4;
|
|
2559
|
+
return `\\${handle}${"0".repeat(length - string.length)}${string}`;
|
|
2560
|
+
}
|
|
2561
|
+
function indentString(string, spaces) {
|
|
2562
|
+
const ind = " ".repeat(spaces);
|
|
2563
|
+
let position = 0;
|
|
2564
|
+
let result = "";
|
|
2565
|
+
const length = string.length;
|
|
2566
|
+
while (position < length) {
|
|
2567
|
+
let line;
|
|
2568
|
+
const next = string.indexOf("\n", position);
|
|
2569
|
+
if (next === -1) {
|
|
2570
|
+
line = string.slice(position);
|
|
2571
|
+
position = length;
|
|
2572
|
+
} else {
|
|
2573
|
+
line = string.slice(position, next + 1);
|
|
2574
|
+
position = next + 1;
|
|
2575
|
+
}
|
|
2576
|
+
if (line.length && line !== "\n") result += ind;
|
|
2577
|
+
result += line;
|
|
2578
|
+
}
|
|
2579
|
+
return result;
|
|
2580
|
+
}
|
|
2581
|
+
function generateNextLine(state, level) {
|
|
2582
|
+
return `\n${" ".repeat(state.indent * level)}`;
|
|
2583
|
+
}
|
|
2584
|
+
function scalarLayout(state, level) {
|
|
2585
|
+
const indent = state.indent * Math.max(1, level);
|
|
2586
|
+
return {
|
|
2587
|
+
indent,
|
|
2588
|
+
blockIndent: level === 0 ? state.indent + 1 : state.indent,
|
|
2589
|
+
lineWidth: state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent)
|
|
2590
|
+
};
|
|
2591
|
+
}
|
|
2592
|
+
function resolveImplicitTag(state, str) {
|
|
2593
|
+
for (let index = 0, length = state.implicitResolvers.length; index < length; index += 1) {
|
|
2594
|
+
const tagDefinition = state.implicitResolvers[index];
|
|
2595
|
+
if (tagDefinition.resolve(str, false, tagDefinition.tagName) !== NOT_RESOLVED) return tagDefinition.tagName;
|
|
2596
|
+
}
|
|
2597
|
+
return state.defaultScalarTagName;
|
|
2598
|
+
}
|
|
2599
|
+
function isWhitespace(c) {
|
|
2600
|
+
return c === CHAR_SPACE || c === CHAR_TAB;
|
|
2601
|
+
}
|
|
2602
|
+
function startsWithDocumentSeparator(string) {
|
|
2603
|
+
const marker = string.charCodeAt(0);
|
|
2604
|
+
if (marker !== CHAR_MINUS && marker !== 46 || string.charCodeAt(1) !== marker || string.charCodeAt(2) !== marker) return false;
|
|
2605
|
+
if (string.length === 3) return true;
|
|
2606
|
+
const following = string.charCodeAt(3);
|
|
2607
|
+
return isWhitespace(following) || following === CHAR_CARRIAGE_RETURN || following === CHAR_LINE_FEED;
|
|
2608
|
+
}
|
|
2609
|
+
function isPrintable(c) {
|
|
2610
|
+
return c >= 32 && c <= 126 || c >= 161 && c <= 55295 && c !== 8232 && c !== 8233 || c >= 57344 && c <= 65533 && c !== CHAR_BOM || c >= 65536 && c <= 1114111;
|
|
2611
|
+
}
|
|
2612
|
+
function isNsCharOrWhitespace(c) {
|
|
2613
|
+
return isPrintable(c) && c !== CHAR_BOM && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
|
|
2614
|
+
}
|
|
2615
|
+
function isPlainSafe(c, prev, inblock) {
|
|
2616
|
+
const cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);
|
|
2617
|
+
const cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);
|
|
2618
|
+
return (inblock ? cIsNsCharOrWhitespace : cIsNsCharOrWhitespace && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET) && c !== CHAR_SHARP && !(prev === CHAR_COLON && !cIsNsChar) || isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP || prev === CHAR_COLON && cIsNsChar && (inblock || c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET);
|
|
2619
|
+
}
|
|
2620
|
+
function isPlainSafeFirst(c) {
|
|
2621
|
+
return isPrintable(c) && c !== CHAR_BOM && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
|
|
2622
|
+
}
|
|
2623
|
+
function isPlainSafeAtStart(string, inblock) {
|
|
2624
|
+
const first = codePointAt(string, 0);
|
|
2625
|
+
if (isPlainSafeFirst(first)) return true;
|
|
2626
|
+
if (string.length > 1 && (first === CHAR_MINUS || first === CHAR_QUESTION || first === CHAR_COLON)) {
|
|
2627
|
+
const second = codePointAt(string, 1);
|
|
2628
|
+
return !isWhitespace(second) && isPlainSafe(second, first, inblock);
|
|
2629
|
+
}
|
|
2630
|
+
return false;
|
|
2631
|
+
}
|
|
2632
|
+
function isPlainSafeLast(c) {
|
|
2633
|
+
return !isWhitespace(c) && c !== CHAR_COLON;
|
|
2634
|
+
}
|
|
2635
|
+
function codePointAt(string, pos) {
|
|
2636
|
+
const first = string.charCodeAt(pos);
|
|
2637
|
+
let second;
|
|
2638
|
+
if (first >= 55296 && first <= 56319 && pos + 1 < string.length) {
|
|
2639
|
+
second = string.charCodeAt(pos + 1);
|
|
2640
|
+
if (second >= 56320 && second <= 57343) return (first - 55296) * 1024 + second - 56320 + 65536;
|
|
2641
|
+
}
|
|
2642
|
+
return first;
|
|
2643
|
+
}
|
|
2644
|
+
function needIndentIndicator(string) {
|
|
2645
|
+
return /^\n* /.test(string);
|
|
2646
|
+
}
|
|
2647
|
+
var STYLE_PLAIN = 1;
|
|
2648
|
+
var STYLE_SINGLE = 2;
|
|
2649
|
+
var STYLE_LITERAL = 3;
|
|
2650
|
+
var STYLE_FOLDED = 4;
|
|
2651
|
+
var STYLE_DOUBLE = 5;
|
|
2652
|
+
function chooseScalarStyle(state, string, layout, singleLineOnly, forceQuote, inblock) {
|
|
2653
|
+
const { blockIndent, lineWidth } = layout;
|
|
2654
|
+
let i;
|
|
2655
|
+
let char = 0;
|
|
2656
|
+
let prevChar = -1;
|
|
2657
|
+
let hasLineBreak = false;
|
|
2658
|
+
let hasFoldableLine = false;
|
|
2659
|
+
const shouldTrackWidth = lineWidth !== -1;
|
|
2660
|
+
let previousLineBreak = -1;
|
|
2661
|
+
let plain = !startsWithDocumentSeparator(string) && isPlainSafeAtStart(string, inblock) && isPlainSafeLast(codePointAt(string, string.length - 1));
|
|
2662
|
+
if (singleLineOnly || forceQuote) for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
|
|
2663
|
+
char = codePointAt(string, i);
|
|
2664
|
+
if (!isPrintable(char)) return STYLE_DOUBLE;
|
|
2665
|
+
plain = plain && isPlainSafe(char, prevChar, inblock);
|
|
2666
|
+
prevChar = char;
|
|
2667
|
+
}
|
|
2668
|
+
else {
|
|
2669
|
+
for (i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
|
|
2670
|
+
char = codePointAt(string, i);
|
|
2671
|
+
if (char === CHAR_LINE_FEED) {
|
|
2672
|
+
hasLineBreak = true;
|
|
2673
|
+
if (shouldTrackWidth) {
|
|
2674
|
+
hasFoldableLine = hasFoldableLine || i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
|
|
2675
|
+
previousLineBreak = i;
|
|
2676
|
+
}
|
|
2677
|
+
} else if (!isPrintable(char)) return STYLE_DOUBLE;
|
|
2678
|
+
plain = plain && isPlainSafe(char, prevChar, inblock);
|
|
2679
|
+
prevChar = char;
|
|
2680
|
+
}
|
|
2681
|
+
hasFoldableLine = hasFoldableLine || shouldTrackWidth && i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== " ";
|
|
2682
|
+
}
|
|
2683
|
+
if (!hasLineBreak && !hasFoldableLine) {
|
|
2684
|
+
if (plain && !forceQuote) return STYLE_PLAIN;
|
|
2685
|
+
return state.quoteStyle === "double" ? STYLE_DOUBLE : STYLE_SINGLE;
|
|
2686
|
+
}
|
|
2687
|
+
if (blockIndent > 9 && needIndentIndicator(string)) return STYLE_DOUBLE;
|
|
2688
|
+
return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
|
|
2689
|
+
}
|
|
2690
|
+
function renderScalarStyle(string, style, layout) {
|
|
2691
|
+
const { indent, blockIndent, lineWidth } = layout;
|
|
2692
|
+
switch (style) {
|
|
2693
|
+
case STYLE_PLAIN: return encodeFlowBreaks(string, indent);
|
|
2694
|
+
case STYLE_SINGLE: return `'${encodeFlowBreaks(string, indent).replace(/'/g, "''")}'`;
|
|
2695
|
+
case STYLE_LITERAL: return "|" + blockHeader(string, blockIndent) + dropEndingNewline(indentString(string, indent));
|
|
2696
|
+
case STYLE_FOLDED: return ">" + blockHeader(string, blockIndent) + dropEndingNewline(indentString(foldBlockScalar(string, lineWidth), indent));
|
|
2697
|
+
case STYLE_DOUBLE: return `"${escapeString(string)}"`;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
function resolveScalarStyle(state, node, layout, iskey, inblock) {
|
|
2701
|
+
const singleLineOnly = iskey || !inblock;
|
|
2702
|
+
if (node.style.singleQuoted) return STYLE_SINGLE;
|
|
2703
|
+
if (node.style.doubleQuoted) return STYLE_DOUBLE;
|
|
2704
|
+
if (!singleLineOnly) {
|
|
2705
|
+
if (node.style.literal) return STYLE_LITERAL;
|
|
2706
|
+
if (node.style.folded) return STYLE_FOLDED;
|
|
2707
|
+
}
|
|
2708
|
+
const string = node.value;
|
|
2709
|
+
if (string.length === 0) {
|
|
2710
|
+
if (node.style.tagged || resolveImplicitTag(state, string) === node.tag) return STYLE_PLAIN;
|
|
2711
|
+
return state.quoteStyle === "double" ? STYLE_DOUBLE : STYLE_SINGLE;
|
|
2712
|
+
}
|
|
2713
|
+
const style = chooseScalarStyle(state, string, layout, singleLineOnly, state.forceQuotes && !iskey, inblock);
|
|
2714
|
+
if (style === STYLE_PLAIN && !node.style.tagged && resolveImplicitTag(state, string) !== node.tag) return state.quoteStyle === "double" ? STYLE_DOUBLE : STYLE_SINGLE;
|
|
2715
|
+
return style;
|
|
2716
|
+
}
|
|
2717
|
+
function blockHeader(string, indentPerLevel) {
|
|
2718
|
+
const indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : "";
|
|
2719
|
+
const clip = string[string.length - 1] === "\n";
|
|
2720
|
+
return `${indentIndicator}${clip && (string[string.length - 2] === "\n" || string === "\n") ? "+" : clip ? "" : "-"}\n`;
|
|
2721
|
+
}
|
|
2722
|
+
function encodeFlowBreaks(string, indent) {
|
|
2723
|
+
let nextLF = string.indexOf("\n");
|
|
2724
|
+
if (nextLF === -1) return string;
|
|
2725
|
+
const pad = " ".repeat(indent);
|
|
2726
|
+
let result = string.slice(0, nextLF);
|
|
2727
|
+
const lineRe = /(\n+)([^\n]*)/g;
|
|
2728
|
+
lineRe.lastIndex = nextLF;
|
|
2729
|
+
let match;
|
|
2730
|
+
while (match = lineRe.exec(string)) {
|
|
2731
|
+
const breaks = match[1].length;
|
|
2732
|
+
const line = match[2];
|
|
2733
|
+
result += "\n".repeat(breaks + 1) + pad + line;
|
|
2734
|
+
}
|
|
2735
|
+
return result;
|
|
2736
|
+
}
|
|
2737
|
+
function dropEndingNewline(string) {
|
|
2738
|
+
return string[string.length - 1] === "\n" ? string.slice(0, -1) : string;
|
|
2739
|
+
}
|
|
2740
|
+
function foldBlockScalar(string, width) {
|
|
2741
|
+
const lineRe = /(\n+)([^\n]*)/g;
|
|
2742
|
+
let nextLF = string.indexOf("\n");
|
|
2743
|
+
if (nextLF === -1) nextLF = string.length;
|
|
2744
|
+
lineRe.lastIndex = nextLF;
|
|
2745
|
+
let result = foldLine(string.slice(0, nextLF), width);
|
|
2746
|
+
let prevMoreIndented = string[0] === "\n" || string[0] === " ";
|
|
2747
|
+
let moreIndented;
|
|
2748
|
+
let match;
|
|
2749
|
+
while (match = lineRe.exec(string)) {
|
|
2750
|
+
const prefix = match[1];
|
|
2751
|
+
const line = match[2];
|
|
2752
|
+
moreIndented = line[0] === " ";
|
|
2753
|
+
result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
|
|
2754
|
+
prevMoreIndented = moreIndented;
|
|
2755
|
+
}
|
|
2756
|
+
return result;
|
|
2757
|
+
}
|
|
2758
|
+
function foldLine(line, width) {
|
|
2759
|
+
if (line === "" || line[0] === " ") return line;
|
|
2760
|
+
const breakRe = / [^ ]/g;
|
|
2761
|
+
let match;
|
|
2762
|
+
let start = 0;
|
|
2763
|
+
let end;
|
|
2764
|
+
let curr = 0;
|
|
2765
|
+
let next = 0;
|
|
2766
|
+
let result = "";
|
|
2767
|
+
while (match = breakRe.exec(line)) {
|
|
2768
|
+
next = match.index;
|
|
2769
|
+
if (next - start > width) {
|
|
2770
|
+
end = curr > start ? curr : next;
|
|
2771
|
+
result += `\n${line.slice(start, end)}`;
|
|
2772
|
+
start = end + 1;
|
|
2773
|
+
}
|
|
2774
|
+
curr = next;
|
|
2775
|
+
}
|
|
2776
|
+
result += "\n";
|
|
2777
|
+
if (line.length - start > width && curr > start) result += `${line.slice(start, curr)}\n${line.slice(curr + 1)}`;
|
|
2778
|
+
else result += line.slice(start);
|
|
2779
|
+
return result.slice(1);
|
|
2780
|
+
}
|
|
2781
|
+
function escapeString(string) {
|
|
2782
|
+
let result = "";
|
|
2783
|
+
let char = 0;
|
|
2784
|
+
for (let i = 0; i < string.length; char >= 65536 ? i += 2 : i++) {
|
|
2785
|
+
char = codePointAt(string, i);
|
|
2786
|
+
const escapeSeq = ESCAPE_SEQUENCES[char];
|
|
2787
|
+
if (escapeSeq) {
|
|
2788
|
+
result += escapeSeq;
|
|
2789
|
+
continue;
|
|
2790
|
+
}
|
|
2791
|
+
if (isPrintable(char)) {
|
|
2792
|
+
result += string[i];
|
|
2793
|
+
if (char >= 65536) result += string[i + 1];
|
|
2794
|
+
continue;
|
|
2795
|
+
}
|
|
2796
|
+
result += encodeNonPrintable(char);
|
|
2797
|
+
}
|
|
2798
|
+
return result;
|
|
2799
|
+
}
|
|
2800
|
+
function writeFlowSequence(state, level, node) {
|
|
2801
|
+
let result = "";
|
|
2802
|
+
for (let index = 0, length = node.items.length; index < length; index += 1) {
|
|
2803
|
+
const item = writeNode(state, level, node.items[index], {});
|
|
2804
|
+
if (result !== "") result += `,${!state.flowSkipCommaSpace ? " " : ""}`;
|
|
2805
|
+
result += item;
|
|
2806
|
+
}
|
|
2807
|
+
const pad = state.flowBracketPadding && result !== "" ? " " : "";
|
|
2808
|
+
return `[${pad}${result}${pad}]`;
|
|
2809
|
+
}
|
|
2810
|
+
function writeBlockSequence(state, level, node, compact) {
|
|
2811
|
+
let result = "";
|
|
2812
|
+
for (let index = 0, length = node.items.length; index < length; index += 1) {
|
|
2813
|
+
const item = writeNode(state, level + 1, node.items[index], {
|
|
2814
|
+
block: true,
|
|
2815
|
+
compact: state.seqInlineFirst,
|
|
2816
|
+
isblockseq: true
|
|
2817
|
+
});
|
|
2818
|
+
if (!compact || result !== "") result += generateNextLine(state, level);
|
|
2819
|
+
if (item === "" || CHAR_LINE_FEED === item.charCodeAt(0)) result += "-";
|
|
2820
|
+
else result += "- ";
|
|
2821
|
+
result += item;
|
|
2822
|
+
}
|
|
2823
|
+
return result;
|
|
2824
|
+
}
|
|
2825
|
+
function writeFlowMapping(state, level, node) {
|
|
2826
|
+
let result = "";
|
|
2827
|
+
const items = sortMappingItems(state, node.items);
|
|
2828
|
+
for (const { key, value } of items) {
|
|
2829
|
+
let pairBuffer = "";
|
|
2830
|
+
if (result !== "") pairBuffer += `,${!state.flowSkipCommaSpace ? " " : ""}`;
|
|
2831
|
+
const keyText = writeNode(state, level, key, { iskey: true });
|
|
2832
|
+
const explicitPair = keyText.length > 1024;
|
|
2833
|
+
if (explicitPair) pairBuffer += "? ";
|
|
2834
|
+
else if (state.quoteFlowKeys) pairBuffer += "\"";
|
|
2835
|
+
const valueText = writeNode(state, level, value, {});
|
|
2836
|
+
const sep = state.flowSkipColonSpace || valueText === "" ? "" : " ";
|
|
2837
|
+
pairBuffer += `${keyText}${state.quoteFlowKeys && !explicitPair ? "\"" : ""}:${sep}${valueText}`;
|
|
2838
|
+
result += pairBuffer;
|
|
2839
|
+
}
|
|
2840
|
+
const pad = state.flowBracketPadding && result !== "" ? " " : "";
|
|
2841
|
+
return `{${pad}${result}${pad}}`;
|
|
2842
|
+
}
|
|
2843
|
+
function sortKeyValue(key) {
|
|
2844
|
+
return key.kind === "scalar" ? key.value : key;
|
|
2845
|
+
}
|
|
2846
|
+
function sortMappingItems(state, items) {
|
|
2847
|
+
if (!state.sortKeys) return items;
|
|
2848
|
+
const copy = items.slice();
|
|
2849
|
+
if (state.sortKeys === true) copy.sort((a, b) => {
|
|
2850
|
+
const x = sortKeyValue(a.key);
|
|
2851
|
+
const y = sortKeyValue(b.key);
|
|
2852
|
+
if (x < y) return -1;
|
|
2853
|
+
if (x > y) return 1;
|
|
2854
|
+
return 0;
|
|
2855
|
+
});
|
|
2856
|
+
else {
|
|
2857
|
+
const fn = state.sortKeys;
|
|
2858
|
+
copy.sort((a, b) => fn(sortKeyValue(a.key), sortKeyValue(b.key)));
|
|
2859
|
+
}
|
|
2860
|
+
return copy;
|
|
2861
|
+
}
|
|
2862
|
+
function writeBlockMapping(state, level, node, compact) {
|
|
2863
|
+
let result = "";
|
|
2864
|
+
const items = sortMappingItems(state, node.items);
|
|
2865
|
+
for (let index = 0, length = items.length; index < length; index += 1) {
|
|
2866
|
+
let pairBuffer = "";
|
|
2867
|
+
if (!compact || result !== "") pairBuffer += generateNextLine(state, level);
|
|
2868
|
+
const { key, value } = items[index];
|
|
2869
|
+
const keyIsBlock = (key.kind === "mapping" || key.kind === "sequence") && !key.style.flow && key.items.length !== 0 || key.kind === "scalar" && (key.style.literal || key.style.folded);
|
|
2870
|
+
const keyText = keyIsBlock ? writeNode(state, level + 1, key, {
|
|
2871
|
+
block: true,
|
|
2872
|
+
compact: true,
|
|
2873
|
+
isblockseq: !cannotBeCompact(state, key, level + 1)
|
|
2874
|
+
}) : writeNode(state, level + 1, key, {
|
|
2875
|
+
block: true,
|
|
2876
|
+
compact: true,
|
|
2877
|
+
iskey: true
|
|
2878
|
+
});
|
|
2879
|
+
const keyHasLineBreak = key.kind === "scalar" && key.value.indexOf("\n") !== -1;
|
|
2880
|
+
const explicitPair = keyIsBlock || keyHasLineBreak || keyText.length > 1024;
|
|
2881
|
+
if (explicitPair) if (keyText && CHAR_LINE_FEED === keyText.charCodeAt(0)) pairBuffer += "?";
|
|
2882
|
+
else pairBuffer += "? ";
|
|
2883
|
+
pairBuffer += keyText;
|
|
2884
|
+
if (explicitPair) pairBuffer += generateNextLine(state, level);
|
|
2885
|
+
const valueText = writeNode(state, level + 1, value, {
|
|
2886
|
+
block: true,
|
|
2887
|
+
compact: explicitPair,
|
|
2888
|
+
isblockseq: explicitPair && !cannotBeCompact(state, value, level + 1)
|
|
2889
|
+
});
|
|
2890
|
+
const keyIsBareProps = key.kind === "scalar" && key.value === "" && keyText !== "" && keyText.charCodeAt(keyText.length - 1) !== CHAR_SINGLE_QUOTE && keyText.charCodeAt(keyText.length - 1) !== CHAR_DOUBLE_QUOTE;
|
|
2891
|
+
const keyColonSep = !explicitPair && (key.kind === "alias" || keyIsBareProps) ? " " : "";
|
|
2892
|
+
if (valueText === "" || CHAR_LINE_FEED === valueText.charCodeAt(0)) pairBuffer += `${keyColonSep}:`;
|
|
2893
|
+
else pairBuffer += `${keyColonSep}: `;
|
|
2894
|
+
pairBuffer += valueText;
|
|
2895
|
+
result += pairBuffer;
|
|
2896
|
+
}
|
|
2897
|
+
return result;
|
|
2898
|
+
}
|
|
2899
|
+
function cannotBeCompact(state, node, level) {
|
|
2900
|
+
return node.style.tagged || node.anchor !== void 0 || state.indent < 2 && level > 0;
|
|
2901
|
+
}
|
|
2902
|
+
function writeNode(state, level, node, ctx) {
|
|
2903
|
+
var _ctx$compact;
|
|
2904
|
+
if (node.kind === "alias") return `*${node.anchor}`;
|
|
2905
|
+
const { block = false, iskey = false, isblockseq = false } = ctx;
|
|
2906
|
+
let compact = (_ctx$compact = ctx.compact) !== null && _ctx$compact !== void 0 ? _ctx$compact : false;
|
|
2907
|
+
const hasAnchor = node.anchor !== void 0;
|
|
2908
|
+
if (cannotBeCompact(state, node, level)) compact = false;
|
|
2909
|
+
let body;
|
|
2910
|
+
let shouldPrintTag = node.style.tagged;
|
|
2911
|
+
const useBlockCollection = block && (node.kind === "mapping" || node.kind === "sequence") && !node.style.flow && node.items.length !== 0;
|
|
2912
|
+
if (node.kind === "mapping") if (useBlockCollection) body = writeBlockMapping(state, level, node, compact);
|
|
2913
|
+
else body = writeFlowMapping(state, level, node);
|
|
2914
|
+
else if (node.kind === "sequence") if (useBlockCollection) if (state.seqNoIndent && !isblockseq && level > 0) body = writeBlockSequence(state, level - 1, node, compact);
|
|
2915
|
+
else body = writeBlockSequence(state, level, node, compact);
|
|
2916
|
+
else body = writeFlowSequence(state, level, node);
|
|
2917
|
+
else {
|
|
2918
|
+
const layout = scalarLayout(state, level);
|
|
2919
|
+
const style = resolveScalarStyle(state, node, layout, iskey, block);
|
|
2920
|
+
body = renderScalarStyle(node.value, style, layout);
|
|
2921
|
+
shouldPrintTag = node.style.tagged || style !== STYLE_PLAIN && node.tag !== state.defaultScalarTagName;
|
|
2922
|
+
}
|
|
2923
|
+
if (useBlockCollection && compact && level > 0 && state.indent > 2) body = `${" ".repeat(state.indent - 2)}${body}`;
|
|
2924
|
+
if (shouldPrintTag || hasAnchor) {
|
|
2925
|
+
const props = [];
|
|
2926
|
+
const tag = shouldPrintTag ? nodeTagShort(node) : null;
|
|
2927
|
+
const anchor = hasAnchor ? `&${node.anchor}` : null;
|
|
2928
|
+
if (state.tagBeforeAnchor) {
|
|
2929
|
+
if (tag !== null) props.push(tag);
|
|
2930
|
+
if (anchor !== null) props.push(anchor);
|
|
2931
|
+
} else {
|
|
2932
|
+
if (anchor !== null) props.push(anchor);
|
|
2933
|
+
if (tag !== null) props.push(tag);
|
|
2934
|
+
}
|
|
2935
|
+
const sep = body === "" || body.charCodeAt(0) === CHAR_LINE_FEED ? "" : " ";
|
|
2936
|
+
body = `${props.join(" ")}${sep}${body}`;
|
|
2937
|
+
}
|
|
2938
|
+
return body;
|
|
2939
|
+
}
|
|
2940
|
+
function rootStartsOwnLine(node) {
|
|
2941
|
+
return (node.kind === "sequence" || node.kind === "mapping") && !node.style.flow && node.items.length !== 0 && !node.style.tagged && node.anchor === void 0;
|
|
2942
|
+
}
|
|
2943
|
+
function isOpenEnded(node) {
|
|
2944
|
+
let leaf = node;
|
|
2945
|
+
while ((leaf.kind === "sequence" || leaf.kind === "mapping") && !leaf.style.flow && leaf.items.length !== 0) leaf = leaf.kind === "sequence" ? leaf.items[leaf.items.length - 1] : leaf.items[leaf.items.length - 1].value;
|
|
2946
|
+
if (leaf.kind !== "scalar" || !(leaf.style.literal || leaf.style.folded)) return false;
|
|
2947
|
+
const { value } = leaf;
|
|
2948
|
+
return value.endsWith("\n\n") || value === "\n";
|
|
2949
|
+
}
|
|
2950
|
+
function writeDocumentDirectives(doc) {
|
|
2951
|
+
let result = "";
|
|
2952
|
+
for (const directive of doc.directives) {
|
|
2953
|
+
if (directive.kind === "yaml") {
|
|
2954
|
+
result += `%YAML ${directive.version}\n`;
|
|
2955
|
+
continue;
|
|
2956
|
+
}
|
|
2957
|
+
const { handle, prefix } = directive;
|
|
2958
|
+
result += `%TAG ${handle} ${prefix}\n`;
|
|
2959
|
+
}
|
|
2960
|
+
return result;
|
|
2961
|
+
}
|
|
2962
|
+
function present(documents, options) {
|
|
2963
|
+
const state = createPresenterState(options);
|
|
2964
|
+
let result = "";
|
|
2965
|
+
let previousEnded = false;
|
|
2966
|
+
for (let index = 0; index < documents.length; index += 1) {
|
|
2967
|
+
const doc = documents[index];
|
|
2968
|
+
const directives = writeDocumentDirectives(doc);
|
|
2969
|
+
const hasDirectives = directives !== "";
|
|
2970
|
+
const marker = doc.explicitStart || hasDirectives || index > 0 && !previousEnded;
|
|
2971
|
+
result += directives;
|
|
2972
|
+
if (doc.contents === null) {
|
|
2973
|
+
if (marker) result += "---\n";
|
|
2974
|
+
} else if (marker) {
|
|
2975
|
+
const body = writeNode(state, 0, doc.contents, {
|
|
2976
|
+
block: true,
|
|
2977
|
+
compact: true
|
|
2978
|
+
});
|
|
2979
|
+
const sep = body === "" ? "" : hasDirectives || rootStartsOwnLine(doc.contents) ? "\n" : " ";
|
|
2980
|
+
result += `---${sep}${body}\n`;
|
|
2981
|
+
} else result += writeNode(state, 0, doc.contents, {
|
|
2982
|
+
block: true,
|
|
2983
|
+
compact: true
|
|
2984
|
+
}) + "\n";
|
|
2985
|
+
previousEnded = doc.explicitEnd || doc.contents !== null && isOpenEnded(doc.contents);
|
|
2986
|
+
if (previousEnded) result += "...\n";
|
|
2987
|
+
}
|
|
2988
|
+
return result;
|
|
2989
|
+
}
|
|
2990
|
+
//#endregion
|
|
2991
|
+
//#region src/dump.ts
|
|
2992
|
+
var DEFAULT_DUMP_SCHEMA = YAML11_SCHEMA.withTags(_objectSpread2(_objectSpread2({}, intYaml11Tag), {}, { resolve: (source, isExplicit, tagName) => {
|
|
2993
|
+
const result = intYaml11Tag.resolve(source, isExplicit, tagName);
|
|
2994
|
+
return result === NOT_RESOLVED ? intCoreTag.resolve(source, isExplicit, tagName) : result;
|
|
2995
|
+
} }), _objectSpread2(_objectSpread2({}, floatYaml11Tag), {}, { resolve: (source, isExplicit, tagName) => {
|
|
2996
|
+
const result = floatYaml11Tag.resolve(source, isExplicit, tagName);
|
|
2997
|
+
return result === NOT_RESOLVED ? floatCoreTag.resolve(source, isExplicit, tagName) : result;
|
|
2998
|
+
} }));
|
|
2999
|
+
var DEFAULT_DUMP_OPTIONS = _objectSpread2(_objectSpread2({}, DEFAULT_PRESENTER_OPTIONS), {}, {
|
|
3000
|
+
schema: DEFAULT_DUMP_SCHEMA,
|
|
3001
|
+
skipInvalid: false,
|
|
3002
|
+
noRefs: false,
|
|
3003
|
+
flowLevel: -1,
|
|
3004
|
+
transform: () => {}
|
|
3005
|
+
});
|
|
3006
|
+
function dump(input, options = {}) {
|
|
3007
|
+
const opts = _objectSpread2(_objectSpread2({}, DEFAULT_DUMP_OPTIONS), options);
|
|
3008
|
+
const documents = jsToAst(input, opts.schema, {
|
|
3009
|
+
noRefs: opts.noRefs,
|
|
3010
|
+
skipInvalid: opts.skipInvalid
|
|
3011
|
+
});
|
|
3012
|
+
if (opts.flowLevel >= 0) visit(documents, (node, ctx) => {
|
|
3013
|
+
if (ctx.depth < opts.flowLevel) return;
|
|
3014
|
+
node.style.flow = true;
|
|
3015
|
+
return VISIT_SKIP;
|
|
3016
|
+
});
|
|
3017
|
+
opts.transform(documents);
|
|
3018
|
+
return present(documents, _objectSpread2(_objectSpread2({}, pick(opts, Object.keys(DEFAULT_PRESENTER_OPTIONS))), {}, { schema: opts.schema }));
|
|
3019
|
+
}
|
|
3020
|
+
//#endregion
|
|
3021
|
+
//#region src/ast/from_events.ts
|
|
3022
|
+
var NO_RANGE = -1;
|
|
3023
|
+
function eventPosition(event) {
|
|
3024
|
+
if ("tagStart" in event && event.tagStart !== NO_RANGE) return event.tagStart;
|
|
3025
|
+
if ("anchorStart" in event && event.anchorStart !== NO_RANGE) return event.anchorStart;
|
|
3026
|
+
if ("valueStart" in event && event.valueStart !== NO_RANGE) return event.valueStart;
|
|
3027
|
+
if ("start" in event) return event.start;
|
|
3028
|
+
return 0;
|
|
3029
|
+
}
|
|
3030
|
+
function rawTag(state, event) {
|
|
3031
|
+
return event.tagStart === NO_RANGE ? "" : state.source.slice(event.tagStart, event.tagEnd);
|
|
3032
|
+
}
|
|
3033
|
+
function anchorName(state, event) {
|
|
3034
|
+
return event.anchorStart === NO_RANGE ? void 0 : state.source.slice(event.anchorStart, event.anchorEnd);
|
|
3035
|
+
}
|
|
3036
|
+
function implicitScalarTagName(state, source) {
|
|
3037
|
+
var _schema$implicitScala;
|
|
3038
|
+
const { schema } = state;
|
|
3039
|
+
const candidates = (_schema$implicitScala = schema.implicitScalarByFirstChar.get(source.charAt(0))) !== null && _schema$implicitScala !== void 0 ? _schema$implicitScala : schema.implicitScalarAnyFirstChar;
|
|
3040
|
+
for (const tag of candidates) if (tag.resolve(source, false, tag.tagName) !== NOT_RESOLVED) return tag.tagName;
|
|
3041
|
+
return schema.defaultScalarTag.tagName;
|
|
3042
|
+
}
|
|
3043
|
+
function buildScalar(state, event) {
|
|
3044
|
+
const value = getScalarValue(state.source, event);
|
|
3045
|
+
const raw = rawTag(state, event);
|
|
3046
|
+
const style = new Style();
|
|
3047
|
+
switch (event.style) {
|
|
3048
|
+
case 2:
|
|
3049
|
+
style.singleQuoted = true;
|
|
3050
|
+
break;
|
|
3051
|
+
case 3:
|
|
3052
|
+
style.doubleQuoted = true;
|
|
3053
|
+
break;
|
|
3054
|
+
case 4:
|
|
3055
|
+
style.literal = true;
|
|
3056
|
+
break;
|
|
3057
|
+
case 5:
|
|
3058
|
+
style.folded = true;
|
|
3059
|
+
break;
|
|
3060
|
+
}
|
|
3061
|
+
let tag;
|
|
3062
|
+
if (raw !== "") {
|
|
3063
|
+
style.tagged = true;
|
|
3064
|
+
tag = raw;
|
|
3065
|
+
} else if (event.style === 1) tag = implicitScalarTagName(state, value);
|
|
3066
|
+
else tag = state.schema.defaultScalarTag.tagName;
|
|
3067
|
+
return {
|
|
3068
|
+
kind: "scalar",
|
|
3069
|
+
tag,
|
|
3070
|
+
style,
|
|
3071
|
+
anchor: anchorName(state, event),
|
|
3072
|
+
value
|
|
3073
|
+
};
|
|
3074
|
+
}
|
|
3075
|
+
function buildCollection(state, event, defaultTagName) {
|
|
3076
|
+
const raw = rawTag(state, event);
|
|
3077
|
+
const style = new Style();
|
|
3078
|
+
if (event.style === 2) style.flow = true;
|
|
3079
|
+
let tag;
|
|
3080
|
+
if (raw === "") tag = defaultTagName;
|
|
3081
|
+
else {
|
|
3082
|
+
tag = raw;
|
|
3083
|
+
style.tagged = true;
|
|
3084
|
+
}
|
|
3085
|
+
return {
|
|
3086
|
+
tag,
|
|
3087
|
+
style,
|
|
3088
|
+
anchor: anchorName(state, event)
|
|
3089
|
+
};
|
|
3090
|
+
}
|
|
3091
|
+
function addNode(state, node) {
|
|
3092
|
+
const frame = state.frames[state.frames.length - 1];
|
|
3093
|
+
if (frame.kind === "document") frame.doc.contents = node;
|
|
3094
|
+
else if (frame.kind === "sequence") frame.node.items.push(node);
|
|
3095
|
+
else if (frame.key) {
|
|
3096
|
+
frame.node.items.push({
|
|
3097
|
+
key: frame.key,
|
|
3098
|
+
value: node
|
|
3099
|
+
});
|
|
3100
|
+
frame.key = null;
|
|
3101
|
+
} else frame.key = node;
|
|
3102
|
+
}
|
|
3103
|
+
function eventsToAst(events, options) {
|
|
3104
|
+
const state = {
|
|
3105
|
+
source: options.source,
|
|
3106
|
+
schema: options.schema,
|
|
3107
|
+
eventIndex: 0,
|
|
3108
|
+
position: 0,
|
|
3109
|
+
frames: [],
|
|
3110
|
+
documents: []
|
|
3111
|
+
};
|
|
3112
|
+
while (state.eventIndex < events.length) {
|
|
3113
|
+
const event = events[state.eventIndex++];
|
|
3114
|
+
state.position = eventPosition(event);
|
|
3115
|
+
switch (event.type) {
|
|
3116
|
+
case 1: {
|
|
3117
|
+
const doc = {
|
|
3118
|
+
contents: null,
|
|
3119
|
+
explicitStart: event.explicitStart,
|
|
3120
|
+
explicitEnd: event.explicitEnd,
|
|
3121
|
+
directives: event.directives
|
|
3122
|
+
};
|
|
3123
|
+
state.frames.push({
|
|
3124
|
+
kind: "document",
|
|
3125
|
+
doc
|
|
3126
|
+
});
|
|
3127
|
+
break;
|
|
3128
|
+
}
|
|
3129
|
+
case 4:
|
|
3130
|
+
addNode(state, buildScalar(state, event));
|
|
3131
|
+
break;
|
|
3132
|
+
case 2: {
|
|
3133
|
+
const { tag, style, anchor } = buildCollection(state, event, "tag:yaml.org,2002:seq");
|
|
3134
|
+
const node = {
|
|
3135
|
+
kind: "sequence",
|
|
3136
|
+
tag,
|
|
3137
|
+
style,
|
|
3138
|
+
anchor,
|
|
3139
|
+
items: []
|
|
3140
|
+
};
|
|
3141
|
+
state.frames.push({
|
|
3142
|
+
kind: "sequence",
|
|
3143
|
+
node
|
|
3144
|
+
});
|
|
3145
|
+
break;
|
|
3146
|
+
}
|
|
3147
|
+
case 3: {
|
|
3148
|
+
const { tag, style, anchor } = buildCollection(state, event, "tag:yaml.org,2002:map");
|
|
3149
|
+
const node = {
|
|
3150
|
+
kind: "mapping",
|
|
3151
|
+
tag,
|
|
3152
|
+
style,
|
|
3153
|
+
anchor,
|
|
3154
|
+
items: []
|
|
3155
|
+
};
|
|
3156
|
+
state.frames.push({
|
|
3157
|
+
kind: "mapping",
|
|
3158
|
+
node,
|
|
3159
|
+
key: null
|
|
3160
|
+
});
|
|
3161
|
+
break;
|
|
3162
|
+
}
|
|
3163
|
+
case 5: {
|
|
3164
|
+
const name = state.source.slice(event.anchorStart, event.anchorEnd);
|
|
3165
|
+
addNode(state, {
|
|
3166
|
+
kind: "alias",
|
|
3167
|
+
tag: "",
|
|
3168
|
+
style: new Style(),
|
|
3169
|
+
anchor: name
|
|
3170
|
+
});
|
|
3171
|
+
break;
|
|
3172
|
+
}
|
|
3173
|
+
case 6: {
|
|
3174
|
+
const frame = state.frames.pop();
|
|
3175
|
+
if (frame.kind === "document") state.documents.push(frame.doc);
|
|
3176
|
+
else addNode(state, frame.node);
|
|
3177
|
+
break;
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
return state.documents;
|
|
3182
|
+
}
|
|
3183
|
+
//#endregion
|
|
3184
|
+
exports.CHOMPING_CLIP = CHOMPING_CLIP;
|
|
3185
|
+
exports.CHOMPING_KEEP = CHOMPING_KEEP;
|
|
3186
|
+
exports.CHOMPING_STRIP = CHOMPING_STRIP;
|
|
3187
|
+
exports.COLLECTION_STYLE_BLOCK = COLLECTION_STYLE_BLOCK;
|
|
3188
|
+
exports.COLLECTION_STYLE_FLOW = COLLECTION_STYLE_FLOW;
|
|
3189
|
+
exports.CORE_SCHEMA = CORE_SCHEMA;
|
|
3190
|
+
exports.EVENT_ALIAS = EVENT_ALIAS;
|
|
3191
|
+
exports.EVENT_DOCUMENT = EVENT_DOCUMENT;
|
|
3192
|
+
exports.EVENT_MAPPING = EVENT_MAPPING;
|
|
3193
|
+
exports.EVENT_POP = EVENT_POP;
|
|
3194
|
+
exports.EVENT_SCALAR = EVENT_SCALAR;
|
|
3195
|
+
exports.EVENT_SEQUENCE = EVENT_SEQUENCE;
|
|
3196
|
+
exports.FAILSAFE_SCHEMA = FAILSAFE_SCHEMA;
|
|
3197
|
+
exports.JSON_SCHEMA = JSON_SCHEMA;
|
|
3198
|
+
exports.MERGE_KEY = MERGE_KEY;
|
|
3199
|
+
exports.NOT_RESOLVED = NOT_RESOLVED;
|
|
3200
|
+
exports.SCALAR_STYLE_DOUBLE_QUOTED = SCALAR_STYLE_DOUBLE_QUOTED;
|
|
3201
|
+
exports.SCALAR_STYLE_FOLDED_BLOCK = SCALAR_STYLE_FOLDED_BLOCK;
|
|
3202
|
+
exports.SCALAR_STYLE_LITERAL_BLOCK = SCALAR_STYLE_LITERAL_BLOCK;
|
|
3203
|
+
exports.SCALAR_STYLE_PLAIN = SCALAR_STYLE_PLAIN;
|
|
3204
|
+
exports.SCALAR_STYLE_SINGLE_QUOTED = SCALAR_STYLE_SINGLE_QUOTED;
|
|
3205
|
+
exports.Schema = Schema;
|
|
3206
|
+
exports.Style = Style;
|
|
3207
|
+
exports.VISIT_BREAK = VISIT_BREAK;
|
|
3208
|
+
exports.VISIT_SKIP = VISIT_SKIP;
|
|
3209
|
+
exports.YAML11_SCHEMA = YAML11_SCHEMA;
|
|
3210
|
+
exports.YAMLException = YAMLException;
|
|
3211
|
+
exports.binaryTag = binaryTag;
|
|
3212
|
+
exports.boolCoreTag = boolCoreTag;
|
|
3213
|
+
exports.boolJsonTag = boolJsonTag;
|
|
3214
|
+
exports.boolYaml11Tag = boolYaml11Tag;
|
|
3215
|
+
exports.constructFromEvents = constructFromEvents;
|
|
3216
|
+
exports.defineMappingTag = defineMappingTag;
|
|
3217
|
+
exports.defineScalarTag = defineScalarTag;
|
|
3218
|
+
exports.defineSequenceTag = defineSequenceTag;
|
|
3219
|
+
exports.dump = dump;
|
|
3220
|
+
exports.eventsToAst = eventsToAst;
|
|
3221
|
+
exports.floatCoreTag = floatCoreTag;
|
|
3222
|
+
exports.floatJsonTag = floatJsonTag;
|
|
3223
|
+
exports.floatYaml11Tag = floatYaml11Tag;
|
|
3224
|
+
exports.getScalarValue = getScalarValue;
|
|
3225
|
+
exports.intCoreTag = intCoreTag;
|
|
3226
|
+
exports.intJsonTag = intJsonTag;
|
|
3227
|
+
exports.intYaml11Tag = intYaml11Tag;
|
|
3228
|
+
exports.jsToAst = jsToAst;
|
|
3229
|
+
exports.legacyMapTag = legacyMapTag;
|
|
3230
|
+
exports.load = load;
|
|
3231
|
+
exports.loadAll = loadAll;
|
|
3232
|
+
exports.mapTag = mapTag;
|
|
3233
|
+
exports.mergeTag = mergeTag;
|
|
3234
|
+
exports.nullCoreTag = nullCoreTag;
|
|
3235
|
+
exports.nullJsonTag = nullJsonTag;
|
|
3236
|
+
exports.nullYaml11Tag = nullYaml11Tag;
|
|
3237
|
+
exports.omapTag = omapTag;
|
|
3238
|
+
exports.pairsTag = pairsTag;
|
|
3239
|
+
exports.parseEvents = parseEvents;
|
|
3240
|
+
exports.present = present;
|
|
3241
|
+
exports.realMapTag = realMapTag;
|
|
3242
|
+
exports.seqTag = seqTag;
|
|
3243
|
+
exports.setTag = setTag;
|
|
3244
|
+
exports.strTag = strTag;
|
|
3245
|
+
exports.timestampTag = timestampTag;
|
|
3246
|
+
exports.visit = visit;
|
|
3247
|
+
|
|
3248
|
+
//# sourceMappingURL=js-yaml.cjs.js.map
|