@cdklabs/cdk-construct-connect-datalake 0.0.5 → 0.0.7
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 +10 -10
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-connect/README.md +21 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-cjs/index.js +54 -0
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +133 -48
- package/node_modules/@aws-sdk/client-connect/dist-es/Connect.js +8 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/DescribeAttachedFilesConfigurationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/ListAttachedFilesConfigurationsCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/UpdateAttachedFilesConfigurationCommand.js +16 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/ListAttachedFilesConfigurationsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/pagination/index.js +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +102 -17
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +28 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeAttachedFilesConfigurationCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/DescribeRuleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetPromptFileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetTestCaseExecutionSummaryCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListAttachedFilesConfigurationsCommand.d.ts +106 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListRulesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/ListTestCaseExecutionsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/UpdateAttachedFilesConfigurationCommand.d.ts +109 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +11 -11
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +81 -156
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +220 -201
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +254 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/Connect.d.ts +64 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/ConnectClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/DescribeAttachedFilesConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetPromptFileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTaskTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetTestCaseExecutionSummaryCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/ListAttachedFilesConfigurationsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/UpdateAttachedFilesConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +3 -3
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +23 -40
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +57 -39
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +52 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/ListAttachedFilesConfigurationsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/node_modules/@aws-sdk/client-connect/package.json +33 -33
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +3 -3
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/package.json +33 -33
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/bdd.js +46 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-lakeformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/bdd.js +52 -0
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/bdd.js +49 -0
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ram/package.json +33 -33
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/auth/httpAuthSchemeProvider.js +96 -17
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/bdd.js +88 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/models/errors.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js +97 -16
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/bdd.js +85 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/models/errors.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +7 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -7
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +10 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +20 -9
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +11 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +35 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +8 -1
- package/node_modules/@aws-sdk/client-sts/package.json +35 -34
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +72 -61
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +70 -61
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +4 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +15 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +17 -17
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/package.json +14 -12
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- 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 +581 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +36 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +42 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +39 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +49 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +38 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +41 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +7 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +51 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts +10 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts +26 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +16 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts +37 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +32 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +79 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +21 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/toStream.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/bucket-endpoint-middleware.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/check-content-length-header.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +9 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-endpoint-middleware.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/region-redirect-middleware.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-expires-middleware.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCache.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +31 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/classes/SignatureV4S3Express.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/constants.d.ts +11 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +40 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/s3ExpressMiddleware.d.ts +27 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/functions/signS3Express.d.ts +21 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +17 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentity.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +8 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3Configuration.d.ts +33 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/throw-200-exceptions.d.ts +19 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/toStream.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/validate-bucket-name.d.ts +13 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts +14 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +79 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +100 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +80 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +87 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +150 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +97 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +77 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +88 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +147 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/errors.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +7 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +10 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +20 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/bdd.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/models/errors.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +35 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +11 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +8 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +33 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/LICENSE +201 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +32 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +121 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +112 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/signature-v4-crt-container.js +3 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +35 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts +5 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts +28 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/SignatureV4MultiRegion.d.ts +41 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/ts3.4/signature-v4-crt-container.d.ts +20 -0
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/LICENSE +201 -0
- package/node_modules/@aws-sdk/util-arn-parser/README.md +4 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +27 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-es/index.js +21 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts +32 -0
- package/node_modules/@aws-sdk/util-arn-parser/dist-types/ts3.4/index.d.ts +14 -0
- package/node_modules/@aws-sdk/util-arn-parser/package.json +55 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@nodable/entities/README.md +41 -0
- package/node_modules/@nodable/entities/package.json +54 -0
- package/node_modules/@nodable/entities/src/EntityDecoder.js +543 -0
- package/node_modules/@nodable/entities/src/EntityEncoder.js +194 -0
- package/node_modules/@nodable/entities/src/entities.js +1177 -0
- package/node_modules/@nodable/entities/src/entityTries.js +49 -0
- package/node_modules/@nodable/entities/src/index.d.ts +264 -0
- package/node_modules/@nodable/entities/src/index.js +29 -0
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -14
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +17 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +6 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +6 -3
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +23 -11
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +9 -3
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +16 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +8 -6
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +6 -3
- package/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +7 -7
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +208 -102
- package/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +83 -41
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -18
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +44 -43
- package/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +32 -14
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +32 -8
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +14 -6
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +6 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +11 -5
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -3
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +8 -1
- package/node_modules/@smithy/smithy-client/dist-es/command.js +8 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/signature.d.ts +20 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +79 -71
- package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +4 -3
- package/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js +2 -1
- package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +8 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +9 -7
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +12 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +14 -13
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js +7 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +10 -8
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +5 -5
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js +4 -4
- package/node_modules/@smithy/util-endpoints/dist-types/bdd/BinaryDecisionDiagram.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts +2 -15
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts +6 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts +3 -3
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts +1 -1
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +20 -10
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +20 -10
- package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +12 -4
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +59 -34
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +61 -34
- package/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts +1 -1
- package/node_modules/@smithy/util-waiter/dist-types/poller.d.ts +2 -1
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +13 -13
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/fast-xml-builder/package.json +1 -1
- package/node_modules/fast-xml-builder/src/fxb.js +6 -2
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +16 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +53 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +8 -28
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +172 -6
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +5 -4
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +162 -3
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +2 -5
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +15 -11
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +168 -244
- package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +1 -1
- package/node_modules/hasown/CHANGELOG.md +11 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +1 -0
- package/node_modules/hasown/package.json +14 -14
- package/package.json +11 -11
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-connect/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-connect/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-glue/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-glue/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-glue/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-lakeformation/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-lakeformation/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ram/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-ram/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-ram/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-ram/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +0 -146
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +0 -133
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +0 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +0 -145
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +0 -143
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +0 -130
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +0 -103
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +0 -142
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/ruleset.d.ts +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +0 -148
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +0 -135
- package/node_modules/hasown/.eslintrc +0 -5
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/strnum.js +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// entityTries.js
|
|
2
|
+
// Builds integer-keyed tries so the decoder never allocates a string object
|
|
3
|
+
// during lookup — every key is a plain charCode number.
|
|
4
|
+
//
|
|
5
|
+
// trie1: Map<code0, entity>
|
|
6
|
+
// trie2: Map<code0, Map<code1, entity>>
|
|
7
|
+
// trie3: Map<code0, Map<code1, Map<code2, entity>>>
|
|
8
|
+
|
|
9
|
+
import { ALL_ENTITIES } from './entities.js';
|
|
10
|
+
|
|
11
|
+
// Reverse map: character sequence → "&name;"
|
|
12
|
+
const CHAR_TO_ENTITY = new Map();
|
|
13
|
+
for (const [name, chars] of Object.entries(ALL_ENTITIES)) {
|
|
14
|
+
CHAR_TO_ENTITY.set(chars, `&${name};`);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const trie1 = new Map(); // code0 → entity string
|
|
18
|
+
export const trie2 = new Map(); // code0 → Map → entity string
|
|
19
|
+
export const trie3 = new Map(); // code0 → Map → Map → entity string
|
|
20
|
+
|
|
21
|
+
for (const [chars, entity] of CHAR_TO_ENTITY) {
|
|
22
|
+
const len = chars.length;
|
|
23
|
+
|
|
24
|
+
if (len === 1) {
|
|
25
|
+
const c0 = chars.charCodeAt(0);
|
|
26
|
+
// Keep shortest match only if no longer match already claimed this code
|
|
27
|
+
// (longer matches are inserted in the same pass so we just overwrite —
|
|
28
|
+
// trie1 is only consulted after trie2/trie3 both miss, so no conflict)
|
|
29
|
+
trie1.set(c0, entity);
|
|
30
|
+
|
|
31
|
+
} else if (len === 2) {
|
|
32
|
+
const c0 = chars.charCodeAt(0);
|
|
33
|
+
const c1 = chars.charCodeAt(1);
|
|
34
|
+
let inner = trie2.get(c0);
|
|
35
|
+
if (inner === undefined) { inner = new Map(); trie2.set(c0, inner); }
|
|
36
|
+
inner.set(c1, entity);
|
|
37
|
+
|
|
38
|
+
} else if (len === 3) {
|
|
39
|
+
const c0 = chars.charCodeAt(0);
|
|
40
|
+
const c1 = chars.charCodeAt(1);
|
|
41
|
+
const c2 = chars.charCodeAt(2);
|
|
42
|
+
let mid = trie3.get(c0);
|
|
43
|
+
if (mid === undefined) { mid = new Map(); trie3.set(c0, mid); }
|
|
44
|
+
let inner = mid.get(c1);
|
|
45
|
+
if (inner === undefined) { inner = new Map(); mid.set(c1, inner); }
|
|
46
|
+
inner.set(c2, entity);
|
|
47
|
+
}
|
|
48
|
+
// HTML5 has no named entity whose character sequence is longer than 3 chars
|
|
49
|
+
}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
// ---------------------------------------------------------------------------
|
|
2
|
+
// @nodable/entities — TypeScript declarations
|
|
3
|
+
// ---------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
/** A function-based entity replacement value (used for numeric refs). */
|
|
6
|
+
export type EntityValFn = (match: string, captured: string, ...rest: unknown[]) => string;
|
|
7
|
+
|
|
8
|
+
// ---------------------------------------------------------------------------
|
|
9
|
+
// Encoder options
|
|
10
|
+
// ---------------------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
export interface EntityEncoderOptions {
|
|
13
|
+
/**
|
|
14
|
+
* Whether to encode XML unsafe characters: `&`, `<`, `>`, `"`, `'`.
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
encodeXmlSafe?: boolean;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Whether to encode non‑ASCII characters (e.g. `é` → `é`) using the
|
|
21
|
+
* built‑in named entity trie.
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
encodeAllNamed?: boolean;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Maximum number of replacements performed **cumulatively** across all
|
|
28
|
+
* `encode()` calls. `0` means unlimited.
|
|
29
|
+
*
|
|
30
|
+
* Use `reset()` to reset the internal counter.
|
|
31
|
+
* @default 0
|
|
32
|
+
*/
|
|
33
|
+
maxReplacements?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// ---------------------------------------------------------------------------
|
|
37
|
+
// EntityEncoder class
|
|
38
|
+
// ---------------------------------------------------------------------------
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* High‑performance encoder that replaces characters with XML/HTML entities.
|
|
42
|
+
*
|
|
43
|
+
* - Escapes XML unsafe characters (`&`, `<`, `>`, `"`, `'`) when `encodeXmlSafe` is true.
|
|
44
|
+
* - Replaces non‑ASCII characters (e.g. `é`, `©`) with named entities using
|
|
45
|
+
* a compact trie‑based lookup when `encodeAllNamed` is true.
|
|
46
|
+
* - Supports a cumulative replacement limit (`maxReplacements`) that persists
|
|
47
|
+
* across multiple `encode()` calls until `reset()` is called.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* const encoder = new EntityEncoder({ encodeXmlSafe: true, encodeAllNamed: true });
|
|
51
|
+
* encoder.encode('<foo>'); // "<foo>"
|
|
52
|
+
* encoder.encode('© 2025'); // "© 2025"
|
|
53
|
+
*
|
|
54
|
+
* // With limit
|
|
55
|
+
* const limited = new EntityEncoder({ maxReplacements: 2 });
|
|
56
|
+
* limited.encode('<>&'); // "<>&" (third replacement omitted)
|
|
57
|
+
* limited.reset(); // reset counter
|
|
58
|
+
*/
|
|
59
|
+
export class EntityEncoder {
|
|
60
|
+
constructor(options?: EntityEncoderOptions);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Encode a string by replacing XML‑unsafe characters and (optionally)
|
|
64
|
+
* non‑ASCII characters with named entities.
|
|
65
|
+
*
|
|
66
|
+
* If `maxReplacements` is set and the cumulative limit has been reached,
|
|
67
|
+
* the input string is returned unchanged.
|
|
68
|
+
*
|
|
69
|
+
* @returns Encoded string (may be identical to input if no replacements needed
|
|
70
|
+
* or the limit has been exhausted).
|
|
71
|
+
*/
|
|
72
|
+
encode(str: string): string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Reset the internal replacement counter.
|
|
76
|
+
* Does **not** change `encodeXmlSafe`, `encodeAllNamed`, or `maxReplacements`.
|
|
77
|
+
*/
|
|
78
|
+
reset(): void;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// ---------------------------------------------------------------------------
|
|
82
|
+
// Constructor options for EntityDecoder (existing)
|
|
83
|
+
// ---------------------------------------------------------------------------
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Controls which entity categories count toward the expansion limits.
|
|
87
|
+
*
|
|
88
|
+
* - `'external'` — only untrusted / injected entities (default)
|
|
89
|
+
* - `'base'` — only built‑in XML entities + user‑supplied `namedEntities`
|
|
90
|
+
* - `'all'` — all entities regardless of tier
|
|
91
|
+
* - `string[]` — explicit combination, e.g. `['external', 'base']`
|
|
92
|
+
*/
|
|
93
|
+
export type ApplyLimitsTo = 'external' | 'base' | 'all' | Array<'external' | 'base'>;
|
|
94
|
+
|
|
95
|
+
export interface EntityDecoderLimitOptions {
|
|
96
|
+
/**
|
|
97
|
+
* Maximum number of entity references expanded **per document**.
|
|
98
|
+
* `0` means unlimited.
|
|
99
|
+
* @default 0
|
|
100
|
+
*/
|
|
101
|
+
maxTotalExpansions?: number;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Maximum number of characters **added** by entity expansion per document.
|
|
105
|
+
* `0` means unlimited.
|
|
106
|
+
* @default 0
|
|
107
|
+
*/
|
|
108
|
+
maxExpandedLength?: number;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Which entity tiers count toward the expansion limits.
|
|
112
|
+
*
|
|
113
|
+
* - `'external'` (default) – only input/runtime + persistent external entities
|
|
114
|
+
* - `'base'` – only built‑in XML + `namedEntities`
|
|
115
|
+
* - `'all'` – every entity regardless of tier
|
|
116
|
+
* - `string[]` – explicit combination, e.g. `['external', 'base']`
|
|
117
|
+
*
|
|
118
|
+
* @default 'external'
|
|
119
|
+
*/
|
|
120
|
+
applyLimitsTo?: ApplyLimitsTo;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface EntityDecoderNCROptions {
|
|
124
|
+
/**
|
|
125
|
+
* XML version used for NCR classification.
|
|
126
|
+
* @default 1.0
|
|
127
|
+
*/
|
|
128
|
+
xmlVersion?: 1.0 | 1.1;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Base action for all numeric references.
|
|
132
|
+
* @default 'allow'
|
|
133
|
+
*/
|
|
134
|
+
onNCR?: 'allow' | 'leave' | 'remove' | 'throw';
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Action for null NCR (U+0000).
|
|
138
|
+
* @default 'remove'
|
|
139
|
+
*/
|
|
140
|
+
nullNCR?: 'remove' | 'throw';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface EntityDecoderOptions {
|
|
144
|
+
/**
|
|
145
|
+
* Extra named entities merged into the **base map** (trusted, counts as `'base'` tier).
|
|
146
|
+
* These are combined with the built‑in XML entities (`lt`, `gt`, `quot`, `apos`).
|
|
147
|
+
* Values containing `&` are silently skipped to prevent recursive expansion.
|
|
148
|
+
*
|
|
149
|
+
* @default null
|
|
150
|
+
*/
|
|
151
|
+
namedEntities?: Record<string, string | { regex: RegExp; val: string | EntityValFn }> | null;
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Hook called once on the fully decoded string (after all replacements).
|
|
156
|
+
*
|
|
157
|
+
* - Receives `(resolved, original)` and **must return a string**.
|
|
158
|
+
* - To reject expansion, return `original`.
|
|
159
|
+
* - To sanitize, return a cleaned version of `resolved`.
|
|
160
|
+
*
|
|
161
|
+
* @example
|
|
162
|
+
* postCheck: (resolved, original) =>
|
|
163
|
+
* /<[a-z]/i.test(resolved) ? original : resolved
|
|
164
|
+
*/
|
|
165
|
+
postCheck?: ((resolved: string, original: string) => string) | null;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Whether numeric character references (`&#NNN;`, `&#xHH;`) are allowed.
|
|
169
|
+
* @default true
|
|
170
|
+
*/
|
|
171
|
+
numericAllowed?: boolean;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Array of entity names or numeric references to leave unexpanded.
|
|
175
|
+
* @default []
|
|
176
|
+
*/
|
|
177
|
+
leave?: string[];
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Array of entity names or numeric references to remove.
|
|
181
|
+
* @default []
|
|
182
|
+
*/
|
|
183
|
+
remove?: string[];
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Security limits for entity expansion.
|
|
187
|
+
*/
|
|
188
|
+
limit?: EntityDecoderLimitOptions;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Numeric Character Reference (NCR) policy.
|
|
192
|
+
*/
|
|
193
|
+
ncr?: EntityDecoderNCROptions;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// ---------------------------------------------------------------------------
|
|
197
|
+
// EntityDecoder class (default export)
|
|
198
|
+
// ---------------------------------------------------------------------------
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Single‑pass, zero‑regex entity decoder for XML/HTML content.
|
|
202
|
+
*
|
|
203
|
+
* ## Entity lookup priority (highest → lowest)
|
|
204
|
+
* 1. **input / runtime** – injected via `addInputEntities()` (DOCTYPE per document)
|
|
205
|
+
* 2. **persistent external** – set via `setExternalEntities()` / `addExternalEntity()`
|
|
206
|
+
* 3. **base map** – built‑in XML entities + user‑supplied `namedEntities`
|
|
207
|
+
*
|
|
208
|
+
* Numeric references (`&#NNN;`, `&#xHH;`) are resolved directly and count as the `'base'` tier.
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* const decoder = new EntityDecoder({
|
|
212
|
+
* namedEntities: COMMON_HTML,
|
|
213
|
+
* maxTotalExpansions: 100
|
|
214
|
+
* });
|
|
215
|
+
* decoder.setExternalEntities({ brand: 'Acme' });
|
|
216
|
+
*
|
|
217
|
+
* decoder.addInputEntities({ version: '1.0' });
|
|
218
|
+
* decoder.decode('&brand; v&version; <'); // 'Acme v1.0 <'
|
|
219
|
+
*
|
|
220
|
+
* decoder.reset(); // clears input entities + counters, keeps external entities
|
|
221
|
+
*/
|
|
222
|
+
export default class EntityDecoder {
|
|
223
|
+
constructor(options?: EntityDecoderOptions);
|
|
224
|
+
|
|
225
|
+
setExternalEntities(
|
|
226
|
+
map: Record<string, string | { regex: RegExp; val: string | EntityValFn }>
|
|
227
|
+
): void;
|
|
228
|
+
|
|
229
|
+
addExternalEntity(key: string, value: string): void;
|
|
230
|
+
|
|
231
|
+
addInputEntities(
|
|
232
|
+
map: Record<
|
|
233
|
+
string,
|
|
234
|
+
| string
|
|
235
|
+
| { regx: RegExp; val: string | EntityValFn }
|
|
236
|
+
| { regex: RegExp; val: string | EntityValFn }
|
|
237
|
+
>
|
|
238
|
+
): void;
|
|
239
|
+
|
|
240
|
+
reset(): this;
|
|
241
|
+
|
|
242
|
+
decode(str: string): string;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// ---------------------------------------------------------------------------
|
|
246
|
+
// Named entity group exports (for use with `namedEntities` option)
|
|
247
|
+
// ---------------------------------------------------------------------------
|
|
248
|
+
|
|
249
|
+
export const COMMON_HTML: Record<string, string>;
|
|
250
|
+
export const ALL_ENTITIES: Record<string, string>;
|
|
251
|
+
export const XML: Record<string, string>;
|
|
252
|
+
export const BASIC_LATIN: Record<string, string>;
|
|
253
|
+
export const LATIN_ACCENTS: Record<string, string>;
|
|
254
|
+
export const LATIN_EXTENDED: Record<string, string>;
|
|
255
|
+
export const GREEK: Record<string, string>;
|
|
256
|
+
export const CYRILLIC: Record<string, string>;
|
|
257
|
+
export const MATH: Record<string, string>;
|
|
258
|
+
export const MATH_ADVANCED: Record<string, string>;
|
|
259
|
+
export const ARROWS: Record<string, string>;
|
|
260
|
+
export const SHAPES: Record<string, string>;
|
|
261
|
+
export const PUNCTUATION: Record<string, string>;
|
|
262
|
+
export const CURRENCY: Record<string, string>;
|
|
263
|
+
export const FRACTIONS: Record<string, string>;
|
|
264
|
+
export const MISC_SYMBOLS: Record<string, string>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @nodable/entities
|
|
3
|
+
*
|
|
4
|
+
* Standalone, zero-dependency XML/HTML entity replacement.
|
|
5
|
+
*
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export { default as EntityDecoder } from './EntityDecoder.js';
|
|
10
|
+
export {
|
|
11
|
+
COMMON_HTML,
|
|
12
|
+
XML,
|
|
13
|
+
ALL_ENTITIES,
|
|
14
|
+
ARROWS,
|
|
15
|
+
BASIC_LATIN,
|
|
16
|
+
CURRENCY,
|
|
17
|
+
MATH,
|
|
18
|
+
MATH_ADVANCED,
|
|
19
|
+
CYRILLIC,
|
|
20
|
+
FRACTIONS,
|
|
21
|
+
GREEK,
|
|
22
|
+
LATIN_ACCENTS,
|
|
23
|
+
LATIN_EXTENDED,
|
|
24
|
+
MISC_SYMBOLS,
|
|
25
|
+
PUNCTUATION,
|
|
26
|
+
SHAPES,
|
|
27
|
+
} from './entities.js';
|
|
28
|
+
|
|
29
|
+
export { default as EntityEncoder } from './EntityEncoder.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.17",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
6
|
"build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline config-resolver",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/node-config-provider": "^4.3.
|
|
28
|
-
"@smithy/types": "^4.14.
|
|
27
|
+
"@smithy/node-config-provider": "^4.3.14",
|
|
28
|
+
"@smithy/types": "^4.14.1",
|
|
29
29
|
"@smithy/util-config-provider": "^4.2.2",
|
|
30
|
-
"@smithy/util-endpoints": "^3.4.
|
|
31
|
-
"@smithy/util-middleware": "^4.2.
|
|
30
|
+
"@smithy/util-endpoints": "^3.4.2",
|
|
31
|
+
"@smithy/util-middleware": "^4.2.14",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -204,7 +204,8 @@ function setFeature(context, feature, value) {
|
|
|
204
204
|
class DefaultIdentityProviderConfig {
|
|
205
205
|
authSchemes = new Map();
|
|
206
206
|
constructor(config) {
|
|
207
|
-
for (const
|
|
207
|
+
for (const key in config) {
|
|
208
|
+
const value = config[key];
|
|
208
209
|
if (value !== undefined) {
|
|
209
210
|
this.authSchemes.set(key, value);
|
|
210
211
|
}
|
|
@@ -745,7 +745,13 @@ const loadSmithyRpcV2CborErrorCode = (output, data) => {
|
|
|
745
745
|
if (data["__type"] !== undefined) {
|
|
746
746
|
return sanitizeErrorCode(data["__type"]);
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
let codeKey;
|
|
749
|
+
for (const key in data) {
|
|
750
|
+
if (key.toLowerCase() === "code") {
|
|
751
|
+
codeKey = key;
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
749
755
|
if (codeKey && data[codeKey] !== undefined) {
|
|
750
756
|
return sanitizeErrorCode(data[codeKey]);
|
|
751
757
|
}
|
|
@@ -772,8 +778,8 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
772
778
|
contents.hostname = resolvedHostname;
|
|
773
779
|
}
|
|
774
780
|
if (endpoint.headers) {
|
|
775
|
-
for (const
|
|
776
|
-
contents.headers[name] =
|
|
781
|
+
for (const name in endpoint.headers) {
|
|
782
|
+
contents.headers[name] = endpoint.headers[name];
|
|
777
783
|
}
|
|
778
784
|
}
|
|
779
785
|
if (body !== undefined) {
|
|
@@ -843,7 +849,7 @@ class CborShapeSerializer extends protocols.SerdeContext {
|
|
|
843
849
|
const newObject = {};
|
|
844
850
|
if (ns.isMapSchema()) {
|
|
845
851
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
846
|
-
for (const key
|
|
852
|
+
for (const key in sourceObject) {
|
|
847
853
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
848
854
|
if (value != null || sparse) {
|
|
849
855
|
newObject[key] = value;
|
|
@@ -863,15 +869,15 @@ class CborShapeSerializer extends protocols.SerdeContext {
|
|
|
863
869
|
newObject[k] = v;
|
|
864
870
|
}
|
|
865
871
|
else if (typeof sourceObject.__type === "string") {
|
|
866
|
-
for (const
|
|
872
|
+
for (const k in sourceObject) {
|
|
867
873
|
if (!(k in newObject)) {
|
|
868
|
-
newObject[k] = this.serialize(15,
|
|
874
|
+
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
869
875
|
}
|
|
870
876
|
}
|
|
871
877
|
}
|
|
872
878
|
}
|
|
873
879
|
else if (ns.isDocumentSchema()) {
|
|
874
|
-
for (const key
|
|
880
|
+
for (const key in sourceObject) {
|
|
875
881
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
876
882
|
}
|
|
877
883
|
}
|
|
@@ -944,7 +950,7 @@ class CborShapeDeserializer extends protocols.SerdeContext {
|
|
|
944
950
|
const newObject = {};
|
|
945
951
|
if (ns.isMapSchema()) {
|
|
946
952
|
const targetSchema = ns.getValueSchema();
|
|
947
|
-
for (const key
|
|
953
|
+
for (const key in value) {
|
|
948
954
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
949
955
|
newObject[key] = itemValue;
|
|
950
956
|
}
|
|
@@ -953,7 +959,12 @@ class CborShapeDeserializer extends protocols.SerdeContext {
|
|
|
953
959
|
const isUnion = ns.isUnionSchema();
|
|
954
960
|
let keys;
|
|
955
961
|
if (isUnion) {
|
|
956
|
-
keys = new Set(
|
|
962
|
+
keys = new Set();
|
|
963
|
+
for (const k in value) {
|
|
964
|
+
if (k !== "__type") {
|
|
965
|
+
keys.add(k);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
957
968
|
}
|
|
958
969
|
for (const [key, memberSchema] of ns.structIterator()) {
|
|
959
970
|
if (isUnion) {
|
|
@@ -963,14 +974,21 @@ class CborShapeDeserializer extends protocols.SerdeContext {
|
|
|
963
974
|
newObject[key] = this.readValue(memberSchema, value[key]);
|
|
964
975
|
}
|
|
965
976
|
}
|
|
966
|
-
if (isUnion && keys?.size === 1
|
|
967
|
-
|
|
968
|
-
|
|
977
|
+
if (isUnion && keys?.size === 1) {
|
|
978
|
+
let newObjectEmpty = true;
|
|
979
|
+
for (const _ in newObject) {
|
|
980
|
+
newObjectEmpty = false;
|
|
981
|
+
break;
|
|
982
|
+
}
|
|
983
|
+
if (newObjectEmpty) {
|
|
984
|
+
const k = keys.values().next().value;
|
|
985
|
+
newObject.$unknown = [k, value[k]];
|
|
986
|
+
}
|
|
969
987
|
}
|
|
970
988
|
else if (typeof value.__type === "string") {
|
|
971
|
-
for (const
|
|
989
|
+
for (const k in value) {
|
|
972
990
|
if (!(k in newObject)) {
|
|
973
|
-
newObject[k] =
|
|
991
|
+
newObject[k] = value[k];
|
|
974
992
|
}
|
|
975
993
|
}
|
|
976
994
|
}
|
|
@@ -8,8 +8,8 @@ const toEndpointV1 = (endpoint) => {
|
|
|
8
8
|
const v1Endpoint = urlParser.parseUrl(endpoint.url);
|
|
9
9
|
if (endpoint.headers) {
|
|
10
10
|
v1Endpoint.headers = {};
|
|
11
|
-
for (const
|
|
12
|
-
v1Endpoint.headers[name.toLowerCase()] =
|
|
11
|
+
for (const name in endpoint.headers) {
|
|
12
|
+
v1Endpoint.headers[name.toLowerCase()] = endpoint.headers[name].join(", ");
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
return v1Endpoint;
|
|
@@ -50,9 +50,13 @@ class EventStreamSerde {
|
|
|
50
50
|
body: event.body,
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
let unionMember = "";
|
|
54
|
+
for (const key in event) {
|
|
55
|
+
if (key !== "__type") {
|
|
56
|
+
unionMember = key;
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
56
60
|
const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event);
|
|
57
61
|
const headers = {
|
|
58
62
|
":event-type": { type: "string", value: eventType },
|
|
@@ -73,9 +77,13 @@ class EventStreamSerde {
|
|
|
73
77
|
const memberSchemas = unionSchema.getMemberSchemas();
|
|
74
78
|
const initialResponseMarker = Symbol("initialResponseMarker");
|
|
75
79
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
80
|
+
let unionMember = "";
|
|
81
|
+
for (const key in event) {
|
|
82
|
+
if (key !== "__type") {
|
|
83
|
+
unionMember = key;
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
79
87
|
const body = event[unionMember].body;
|
|
80
88
|
if (unionMember === "initial-response") {
|
|
81
89
|
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
@@ -151,8 +159,8 @@ class EventStreamSerde {
|
|
|
151
159
|
if (!responseSchema) {
|
|
152
160
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
153
161
|
}
|
|
154
|
-
for (const
|
|
155
|
-
initialResponseContainer[key] = value;
|
|
162
|
+
for (const key in firstEvent.value) {
|
|
163
|
+
initialResponseContainer[key] = firstEvent.value[key];
|
|
156
164
|
}
|
|
157
165
|
}
|
|
158
166
|
return {
|
|
@@ -72,8 +72,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
72
72
|
request.query[k] = v;
|
|
73
73
|
}
|
|
74
74
|
if (endpoint.headers) {
|
|
75
|
-
for (const
|
|
76
|
-
request.headers[name] =
|
|
75
|
+
for (const name in endpoint.headers) {
|
|
76
|
+
request.headers[name] = endpoint.headers[name].join(", ");
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
return request;
|
|
@@ -87,8 +87,8 @@ class HttpProtocol extends SerdeContext {
|
|
|
87
87
|
...endpoint.query,
|
|
88
88
|
};
|
|
89
89
|
if (endpoint.headers) {
|
|
90
|
-
for (const
|
|
91
|
-
request.headers[name] =
|
|
90
|
+
for (const name in endpoint.headers) {
|
|
91
|
+
request.headers[name] = endpoint.headers[name];
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return request;
|
|
@@ -103,8 +103,10 @@ class HttpProtocol extends SerdeContext {
|
|
|
103
103
|
if (opTraits.endpoint) {
|
|
104
104
|
let hostPrefix = opTraits.endpoint?.[0];
|
|
105
105
|
if (typeof hostPrefix === "string") {
|
|
106
|
-
const
|
|
107
|
-
|
|
106
|
+
for (const [name, member] of inputNs.structIterator()) {
|
|
107
|
+
if (!member.getMergedTraits().hostLabel) {
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
108
110
|
const replacement = input[name];
|
|
109
111
|
if (typeof replacement !== "string") {
|
|
110
112
|
throw new Error(`@smithy/core/schema - ${name} in input must be a string as hostLabel.`);
|
|
@@ -200,7 +202,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
200
202
|
request.path += path;
|
|
201
203
|
}
|
|
202
204
|
const traitSearchParams = new URLSearchParams(search ?? "");
|
|
203
|
-
|
|
205
|
+
for (const [key, value] of traitSearchParams) {
|
|
206
|
+
query[key] = value;
|
|
207
|
+
}
|
|
204
208
|
}
|
|
205
209
|
}
|
|
206
210
|
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
@@ -250,7 +254,8 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
250
254
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
251
255
|
}
|
|
252
256
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
253
|
-
for (const
|
|
257
|
+
for (const key in inputMemberValue) {
|
|
258
|
+
const val = inputMemberValue[key];
|
|
254
259
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
255
260
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
256
261
|
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
@@ -295,8 +300,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
295
300
|
const serializer = this.serializer;
|
|
296
301
|
const traits = ns.getMergedTraits();
|
|
297
302
|
if (traits.httpQueryParams) {
|
|
298
|
-
for (const
|
|
303
|
+
for (const key in data) {
|
|
299
304
|
if (!(key in query)) {
|
|
305
|
+
const val = data[key];
|
|
300
306
|
const valueSchema = ns.getValueSchema();
|
|
301
307
|
Object.assign(valueSchema.getMergedTraits(), {
|
|
302
308
|
...traits,
|
|
@@ -424,8 +430,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
424
430
|
}
|
|
425
431
|
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
426
432
|
dataObject[memberName] = {};
|
|
427
|
-
for (const
|
|
433
|
+
for (const header in response.headers) {
|
|
428
434
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
435
|
+
const value = response.headers[header];
|
|
429
436
|
const valueSchema = memberSchema.getValueSchema();
|
|
430
437
|
valueSchema.getMergedTraits().httpHeader = header;
|
|
431
438
|
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read(valueSchema, value);
|
|
@@ -655,7 +655,12 @@ class TypeRegistry {
|
|
|
655
655
|
return undefined;
|
|
656
656
|
}
|
|
657
657
|
find(predicate) {
|
|
658
|
-
|
|
658
|
+
for (const schema of this.schemas.values()) {
|
|
659
|
+
if (predicate(schema)) {
|
|
660
|
+
return schema;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
return undefined;
|
|
659
664
|
}
|
|
660
665
|
clear() {
|
|
661
666
|
this.schemas.clear();
|
|
@@ -141,9 +141,12 @@ const expectUnion = (value) => {
|
|
|
141
141
|
return undefined;
|
|
142
142
|
}
|
|
143
143
|
const asObject = expectObject(value);
|
|
144
|
-
const setKeys =
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
const setKeys = [];
|
|
145
|
+
for (const k in asObject) {
|
|
146
|
+
if (asObject[k] != null) {
|
|
147
|
+
setKeys.push(k);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
147
150
|
if (setKeys.length === 0) {
|
|
148
151
|
throw new TypeError(`Unions must have exactly one non-null member. None were found.`);
|
|
149
152
|
}
|
package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js
CHANGED
|
@@ -4,7 +4,8 @@ exports.DefaultIdentityProviderConfig = void 0;
|
|
|
4
4
|
class DefaultIdentityProviderConfig {
|
|
5
5
|
authSchemes = new Map();
|
|
6
6
|
constructor(config) {
|
|
7
|
-
for (const
|
|
7
|
+
for (const key in config) {
|
|
8
|
+
const value = config[key];
|
|
8
9
|
if (value !== undefined) {
|
|
9
10
|
this.authSchemes.set(key, value);
|
|
10
11
|
}
|