@mavogel/awscdk-rootmail 0.1.34 → 0.1.36
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/sha/index.js +464 -40
- package/node_modules/@aws-sdk/checksums/dist-cjs/submodules/xxh/index.js +914 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.browser.js +2 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/index.js +3 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512.js +71 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512Js.js +276 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/sha/sha512/Sha512WebCrypto.js +76 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/U64.js +190 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/Xxh3.js +274 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/index.js +3 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_128/Xxh3_128.js +179 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash3_64/Xxh3_64.js +117 -0
- package/node_modules/@aws-sdk/checksums/dist-es/submodules/xxh/xxhash64/Xxh64.js +150 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512.d.ts +17 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512Js.d.ts +29 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/sha/sha512/Sha512WebCrypto.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/U64.d.ts +110 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/Xxh3.d.ts +139 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +37 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/submodules/xxh/xxhash64/Xxh64.d.ts +41 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512Js.d.ts +22 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/sha/sha512/Sha512WebCrypto.d.ts +14 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/U64.d.ts +27 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/Xxh3.d.ts +65 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/index.d.ts +3 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_128/Xxh3_128.d.ts +12 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash3_64/Xxh3_64.d.ts +10 -0
- package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/submodules/xxh/xxhash64/Xxh64.d.ts +17 -0
- package/node_modules/@aws-sdk/checksums/package.json +14 -4
- package/node_modules/@aws-sdk/checksums/xxh.d.ts +5 -0
- package/node_modules/@aws-sdk/checksums/xxh.js +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +51 -14
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +46 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +22 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +18 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagLogGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestMetricFilterCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +124 -58
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +58 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +21 -12
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +9 -9
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +36 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +22 -9
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +14 -8
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/mailparser/CHANGELOG.md +26 -0
- package/node_modules/mailparser/README.md +21 -1
- package/node_modules/mailparser/dist/cjs/index.d.ts +3 -1
- package/node_modules/mailparser/dist/cjs/index.js +4 -2
- package/node_modules/mailparser/dist/cjs/mail-parser.d.ts +8 -1
- package/node_modules/mailparser/dist/cjs/mail-parser.js +5 -0
- package/node_modules/mailparser/dist/cjs/otp-token.d.ts +9 -0
- package/node_modules/mailparser/dist/cjs/otp-token.js +186 -0
- package/node_modules/mailparser/dist/cjs/simple-parser.js +3 -0
- package/node_modules/mailparser/dist/cjs/types.d.ts +21 -0
- package/node_modules/mailparser/dist/esm/index.d.ts +3 -1
- package/node_modules/mailparser/dist/esm/index.js +3 -2
- package/node_modules/mailparser/dist/esm/mail-parser.d.ts +8 -1
- package/node_modules/mailparser/dist/esm/mail-parser.js +5 -0
- package/node_modules/mailparser/dist/esm/otp-token.d.ts +9 -0
- package/node_modules/mailparser/dist/esm/otp-token.js +180 -0
- package/node_modules/mailparser/dist/esm/simple-parser.js +3 -0
- package/node_modules/mailparser/dist/esm/types.d.ts +21 -0
- package/node_modules/mailparser/package.json +3 -3
- package/node_modules/nodemailer/CHANGELOG.md +19 -0
- package/node_modules/nodemailer/dist/cjs/dkim/sign.js +1 -1
- package/node_modules/nodemailer/dist/cjs/errors.d.ts +2 -0
- package/node_modules/nodemailer/dist/cjs/errors.js +3 -1
- package/node_modules/nodemailer/dist/cjs/mail-composer/index.d.ts +12 -0
- package/node_modules/nodemailer/dist/cjs/mail-composer/index.js +53 -0
- package/node_modules/nodemailer/dist/cjs/mailer/index.d.ts +3 -2
- package/node_modules/nodemailer/dist/cjs/mime-node/index.js +10 -2
- package/node_modules/nodemailer/dist/cjs/nodemailer.d.ts +1 -1
- package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
- package/node_modules/nodemailer/dist/cjs/well-known/services.js +7 -0
- package/node_modules/nodemailer/dist/esm/dkim/sign.js +1 -1
- package/node_modules/nodemailer/dist/esm/errors.d.ts +2 -0
- package/node_modules/nodemailer/dist/esm/errors.js +2 -0
- package/node_modules/nodemailer/dist/esm/mail-composer/index.d.ts +12 -0
- package/node_modules/nodemailer/dist/esm/mail-composer/index.js +53 -0
- package/node_modules/nodemailer/dist/esm/mailer/index.d.ts +3 -2
- package/node_modules/nodemailer/dist/esm/mime-node/index.js +10 -2
- package/node_modules/nodemailer/dist/esm/nodemailer.d.ts +1 -1
- package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
- package/node_modules/nodemailer/dist/esm/well-known/services.js +7 -0
- package/node_modules/nodemailer/dist/well-known/services.json +8 -0
- package/node_modules/nodemailer/package.json +5 -5
- package/package.json +7 -7
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.54",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
103
|
+
"@aws-sdk/core": "^3.979.1",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.51",
|
|
105
105
|
"@aws-sdk/types": "^3.975.0",
|
|
106
|
-
"@smithy/core": "^3.
|
|
106
|
+
"@smithy/core": "^3.38.0",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
|
-
"@smithy/node-http-handler": "^4.
|
|
108
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
109
109
|
"@smithy/types": "^4.19.0",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.51",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/types": "^3.975.0",
|
|
46
|
-
"@smithy/signature-v4": "^5.7.
|
|
46
|
+
"@smithy/signature-v4": "^5.7.5",
|
|
47
47
|
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1161.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
51
|
+
"@aws-sdk/core": "^3.979.1",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.54",
|
|
53
53
|
"@aws-sdk/types": "^3.975.0",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.38.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
@@ -139,8 +139,9 @@ const getHttpSigningPlugin = (config) => ({
|
|
|
139
139
|
});
|
|
140
140
|
|
|
141
141
|
const normalizeProvider = (input) => {
|
|
142
|
-
if (typeof input === "function")
|
|
142
|
+
if (typeof input === "function") {
|
|
143
143
|
return input;
|
|
144
|
+
}
|
|
144
145
|
const promisified = Promise.resolve(input);
|
|
145
146
|
return () => promisified;
|
|
146
147
|
};
|
|
@@ -203,8 +204,9 @@ class DefaultIdentityProviderConfig {
|
|
|
203
204
|
authSchemes = new Map();
|
|
204
205
|
constructor(config) {
|
|
205
206
|
for (const key in config) {
|
|
206
|
-
if (!hasOwn(config, key))
|
|
207
|
+
if (!hasOwn(config, key)) {
|
|
207
208
|
continue;
|
|
209
|
+
}
|
|
208
210
|
const value = config[key];
|
|
209
211
|
if (value !== undefined) {
|
|
210
212
|
this.authSchemes.set(key, value);
|
|
@@ -931,8 +931,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
931
931
|
}
|
|
932
932
|
if (endpoint.headers) {
|
|
933
933
|
for (const name in endpoint.headers) {
|
|
934
|
-
if (!hasOwn(endpoint.headers, name))
|
|
934
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
935
935
|
continue;
|
|
936
|
+
}
|
|
936
937
|
contents.headers[name] = endpoint.headers[name];
|
|
937
938
|
}
|
|
938
939
|
}
|
|
@@ -1193,8 +1194,9 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
1193
1194
|
}
|
|
1194
1195
|
if (typeof value.__type === "string") {
|
|
1195
1196
|
for (const k in value) {
|
|
1196
|
-
if (!hasOwn(value, k))
|
|
1197
|
+
if (!hasOwn(value, k)) {
|
|
1197
1198
|
continue;
|
|
1199
|
+
}
|
|
1198
1200
|
if (!memberNames.includes(k)) {
|
|
1199
1201
|
writeString(k);
|
|
1200
1202
|
writeUntypedValue(value[k]);
|
|
@@ -1260,8 +1262,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
1260
1262
|
const valueSchema = ns.getValueSchema();
|
|
1261
1263
|
const keys = [];
|
|
1262
1264
|
for (const k in value) {
|
|
1263
|
-
if (!hasOwn(value, k))
|
|
1265
|
+
if (!hasOwn(value, k)) {
|
|
1264
1266
|
continue;
|
|
1267
|
+
}
|
|
1265
1268
|
const v = value[k];
|
|
1266
1269
|
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
1267
1270
|
keys.push(k);
|
|
@@ -1675,8 +1678,9 @@ function readStruct(ns, count, startPos) {
|
|
|
1675
1678
|
if (isUnion) {
|
|
1676
1679
|
let resultEmpty = true;
|
|
1677
1680
|
for (const _ in result) {
|
|
1678
|
-
if (!hasOwn(result, _))
|
|
1681
|
+
if (!hasOwn(result, _)) {
|
|
1679
1682
|
continue;
|
|
1683
|
+
}
|
|
1680
1684
|
resultEmpty = false;
|
|
1681
1685
|
break;
|
|
1682
1686
|
}
|
|
@@ -1845,8 +1849,9 @@ function readMapIndefinite(ns) {
|
|
|
1845
1849
|
if (isUnion) {
|
|
1846
1850
|
let resultEmpty = true;
|
|
1847
1851
|
for (const _ in result) {
|
|
1848
|
-
if (!hasOwn(result, _))
|
|
1852
|
+
if (!hasOwn(result, _)) {
|
|
1849
1853
|
continue;
|
|
1854
|
+
}
|
|
1850
1855
|
resultEmpty = false;
|
|
1851
1856
|
break;
|
|
1852
1857
|
}
|
|
@@ -2151,8 +2156,9 @@ function transformObject(ns, value) {
|
|
|
2151
2156
|
if (ns.isMapSchema()) {
|
|
2152
2157
|
const targetSchema = ns.getValueSchema();
|
|
2153
2158
|
for (const key in value) {
|
|
2154
|
-
if (!hasOwn(value, key))
|
|
2159
|
+
if (!hasOwn(value, key)) {
|
|
2155
2160
|
continue;
|
|
2161
|
+
}
|
|
2156
2162
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
2157
2163
|
}
|
|
2158
2164
|
}
|
|
@@ -2162,8 +2168,9 @@ function transformObject(ns, value) {
|
|
|
2162
2168
|
if (isUnion) {
|
|
2163
2169
|
keys = new Set();
|
|
2164
2170
|
for (const k in value) {
|
|
2165
|
-
if (!hasOwn(value, k))
|
|
2171
|
+
if (!hasOwn(value, k)) {
|
|
2166
2172
|
continue;
|
|
2173
|
+
}
|
|
2167
2174
|
if (k !== "__type") {
|
|
2168
2175
|
keys.add(k);
|
|
2169
2176
|
}
|
|
@@ -2180,8 +2187,9 @@ function transformObject(ns, value) {
|
|
|
2180
2187
|
if (isUnion && keys?.size === 1) {
|
|
2181
2188
|
let newObjectEmpty = true;
|
|
2182
2189
|
for (const _ in newObject) {
|
|
2183
|
-
if (!hasOwn(newObject, _))
|
|
2190
|
+
if (!hasOwn(newObject, _)) {
|
|
2184
2191
|
continue;
|
|
2192
|
+
}
|
|
2185
2193
|
newObjectEmpty = false;
|
|
2186
2194
|
break;
|
|
2187
2195
|
}
|
|
@@ -2192,8 +2200,9 @@ function transformObject(ns, value) {
|
|
|
2192
2200
|
}
|
|
2193
2201
|
else if (typeof value.__type === "string") {
|
|
2194
2202
|
for (const k in value) {
|
|
2195
|
-
if (!hasOwn(value, k))
|
|
2203
|
+
if (!hasOwn(value, k)) {
|
|
2196
2204
|
continue;
|
|
2205
|
+
}
|
|
2197
2206
|
if (!(k in newObject)) {
|
|
2198
2207
|
newObject[k] = value[k];
|
|
2199
2208
|
}
|
|
@@ -2332,8 +2341,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2332
2341
|
if (ns.isMapSchema()) {
|
|
2333
2342
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
2334
2343
|
for (const key in sourceObject) {
|
|
2335
|
-
if (!hasOwn(sourceObject, key))
|
|
2344
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2336
2345
|
continue;
|
|
2346
|
+
}
|
|
2337
2347
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2338
2348
|
if (value != null || sparse) {
|
|
2339
2349
|
newObject[key] = value;
|
|
@@ -2354,8 +2364,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2354
2364
|
}
|
|
2355
2365
|
else if (typeof sourceObject.__type === "string") {
|
|
2356
2366
|
for (const k in sourceObject) {
|
|
2357
|
-
if (!hasOwn(sourceObject, k))
|
|
2367
|
+
if (!hasOwn(sourceObject, k)) {
|
|
2358
2368
|
continue;
|
|
2369
|
+
}
|
|
2359
2370
|
if (!(k in newObject)) {
|
|
2360
2371
|
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
2361
2372
|
}
|
|
@@ -2372,8 +2383,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2372
2383
|
return newArray;
|
|
2373
2384
|
}
|
|
2374
2385
|
for (const key in sourceObject) {
|
|
2375
|
-
if (!hasOwn(sourceObject, key))
|
|
2386
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2376
2387
|
continue;
|
|
2388
|
+
}
|
|
2377
2389
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2378
2390
|
}
|
|
2379
2391
|
}
|
|
@@ -2448,8 +2460,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2448
2460
|
if (ns.isMapSchema()) {
|
|
2449
2461
|
const targetSchema = ns.getValueSchema();
|
|
2450
2462
|
for (const key in value) {
|
|
2451
|
-
if (!hasOwn(value, key))
|
|
2463
|
+
if (!hasOwn(value, key)) {
|
|
2452
2464
|
continue;
|
|
2465
|
+
}
|
|
2453
2466
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
2454
2467
|
newObject[key] = itemValue;
|
|
2455
2468
|
}
|
|
@@ -2460,8 +2473,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2460
2473
|
if (isUnion) {
|
|
2461
2474
|
keys = new Set();
|
|
2462
2475
|
for (const k in value) {
|
|
2463
|
-
if (!hasOwn(value, k))
|
|
2476
|
+
if (!hasOwn(value, k)) {
|
|
2464
2477
|
continue;
|
|
2478
|
+
}
|
|
2465
2479
|
if (k !== "__type") {
|
|
2466
2480
|
keys.add(k);
|
|
2467
2481
|
}
|
|
@@ -2478,8 +2492,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2478
2492
|
if (isUnion && keys?.size === 1) {
|
|
2479
2493
|
let newObjectEmpty = true;
|
|
2480
2494
|
for (const _ in newObject) {
|
|
2481
|
-
if (!hasOwn(newObject, _))
|
|
2495
|
+
if (!hasOwn(newObject, _)) {
|
|
2482
2496
|
continue;
|
|
2497
|
+
}
|
|
2483
2498
|
newObjectEmpty = false;
|
|
2484
2499
|
break;
|
|
2485
2500
|
}
|
|
@@ -2490,8 +2505,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2490
2505
|
}
|
|
2491
2506
|
else if (typeof value.__type === "string") {
|
|
2492
2507
|
for (const k in value) {
|
|
2493
|
-
if (!hasOwn(value, k))
|
|
2508
|
+
if (!hasOwn(value, k)) {
|
|
2494
2509
|
continue;
|
|
2510
|
+
}
|
|
2495
2511
|
if (!(k in newObject)) {
|
|
2496
2512
|
newObject[k] = value[k];
|
|
2497
2513
|
}
|
|
@@ -157,8 +157,9 @@ const constructStack = () => {
|
|
|
157
157
|
const aliases = getAllAliases(name, _aliases);
|
|
158
158
|
if (aliases.length > 0) {
|
|
159
159
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
160
|
-
if (!override)
|
|
160
|
+
if (!override) {
|
|
161
161
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
162
|
+
}
|
|
162
163
|
for (const alias of aliases) {
|
|
163
164
|
const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
164
165
|
if (toOverrideIndex === -1) {
|
|
@@ -189,8 +190,9 @@ const constructStack = () => {
|
|
|
189
190
|
const aliases = getAllAliases(name, _aliases);
|
|
190
191
|
if (aliases.length > 0) {
|
|
191
192
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
192
|
-
if (!override)
|
|
193
|
+
if (!override) {
|
|
193
194
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
195
|
+
}
|
|
194
196
|
for (const alias of aliases) {
|
|
195
197
|
const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
196
198
|
if (toOverrideIndex === -1) {
|
|
@@ -217,10 +219,12 @@ const constructStack = () => {
|
|
|
217
219
|
plugin.applyToStack(stack);
|
|
218
220
|
},
|
|
219
221
|
remove: (toRemove) => {
|
|
220
|
-
if (typeof toRemove === "string")
|
|
222
|
+
if (typeof toRemove === "string") {
|
|
221
223
|
return removeByName(toRemove);
|
|
222
|
-
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
223
226
|
return removeByReference(toRemove);
|
|
227
|
+
}
|
|
224
228
|
},
|
|
225
229
|
removeByTag: (toRemove) => {
|
|
226
230
|
let isRemoved = false;
|
|
@@ -257,8 +261,9 @@ const constructStack = () => {
|
|
|
257
261
|
});
|
|
258
262
|
},
|
|
259
263
|
identifyOnResolve(toggle) {
|
|
260
|
-
if (typeof toggle === "boolean")
|
|
264
|
+
if (typeof toggle === "boolean") {
|
|
261
265
|
identifyOnResolve = toggle;
|
|
266
|
+
}
|
|
262
267
|
return identifyOnResolve;
|
|
263
268
|
},
|
|
264
269
|
resolve: (handler, context) => {
|
|
@@ -554,16 +559,22 @@ function schemaLogFilter(schema, data) {
|
|
|
554
559
|
return SENSITIVE_STRING$1;
|
|
555
560
|
}
|
|
556
561
|
if (ns.isListSchema()) {
|
|
557
|
-
const
|
|
558
|
-
if (
|
|
562
|
+
const valueSchema = ns.getValueSchema();
|
|
563
|
+
if (valueSchema.getMergedTraits().sensitive) {
|
|
559
564
|
return SENSITIVE_STRING$1;
|
|
560
565
|
}
|
|
566
|
+
if (Array.isArray(data)) {
|
|
567
|
+
return data.map((value) => schemaLogFilter(valueSchema, value));
|
|
568
|
+
}
|
|
561
569
|
}
|
|
562
570
|
else if (ns.isMapSchema()) {
|
|
563
|
-
const
|
|
564
|
-
if (
|
|
571
|
+
const valueSchema = ns.getValueSchema();
|
|
572
|
+
if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
|
|
565
573
|
return SENSITIVE_STRING$1;
|
|
566
574
|
}
|
|
575
|
+
if (typeof data === "object") {
|
|
576
|
+
return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
|
|
577
|
+
}
|
|
567
578
|
}
|
|
568
579
|
else if (ns.isStructSchema() && typeof data === "object") {
|
|
569
580
|
const object = data;
|
|
@@ -737,8 +748,9 @@ const createAggregatedClient = (commands, Client, options) => {
|
|
|
737
748
|
this.send(command, optionsOrCb);
|
|
738
749
|
}
|
|
739
750
|
else if (typeof cb === "function") {
|
|
740
|
-
if (typeof optionsOrCb !== "object")
|
|
751
|
+
if (typeof optionsOrCb !== "object") {
|
|
741
752
|
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
753
|
+
}
|
|
742
754
|
this.send(command, optionsOrCb || {}, cb);
|
|
743
755
|
}
|
|
744
756
|
else {
|
|
@@ -791,8 +803,9 @@ class ServiceException extends Error {
|
|
|
791
803
|
this.$metadata = options.$metadata;
|
|
792
804
|
}
|
|
793
805
|
static isInstance(value) {
|
|
794
|
-
if (!value)
|
|
806
|
+
if (!value) {
|
|
795
807
|
return false;
|
|
808
|
+
}
|
|
796
809
|
const candidate = value;
|
|
797
810
|
return (ServiceException.prototype.isPrototypeOf(candidate) ||
|
|
798
811
|
(Boolean(candidate.$fault) &&
|
|
@@ -800,8 +813,9 @@ class ServiceException extends Error {
|
|
|
800
813
|
(candidate.$fault === "client" || candidate.$fault === "server")));
|
|
801
814
|
}
|
|
802
815
|
static [Symbol.hasInstance](instance) {
|
|
803
|
-
if (!instance)
|
|
816
|
+
if (!instance) {
|
|
804
817
|
return false;
|
|
818
|
+
}
|
|
805
819
|
const candidate = instance;
|
|
806
820
|
if (this === ServiceException) {
|
|
807
821
|
return ServiceException.isInstance(instance);
|
|
@@ -925,8 +939,9 @@ const knownAlgorithms = Object.values(AlgorithmId);
|
|
|
925
939
|
const getChecksumConfiguration = (runtimeConfig) => {
|
|
926
940
|
const checksumAlgorithms = [];
|
|
927
941
|
for (const id in AlgorithmId) {
|
|
928
|
-
if (!hasOwn(AlgorithmId, id))
|
|
942
|
+
if (!hasOwn(AlgorithmId, id)) {
|
|
929
943
|
continue;
|
|
944
|
+
}
|
|
930
945
|
const algorithmId = AlgorithmId[id];
|
|
931
946
|
if (runtimeConfig[algorithmId] === undefined) {
|
|
932
947
|
continue;
|
|
@@ -1000,8 +1015,9 @@ const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeAr
|
|
|
1000
1015
|
const getValueFromTextNode = (obj) => {
|
|
1001
1016
|
const textNodeName = "#text";
|
|
1002
1017
|
for (const key in obj) {
|
|
1003
|
-
if (!hasOwn(obj, key))
|
|
1018
|
+
if (!hasOwn(obj, key)) {
|
|
1004
1019
|
continue;
|
|
1020
|
+
}
|
|
1005
1021
|
if (obj[key][textNodeName] !== undefined) {
|
|
1006
1022
|
obj[key] = obj[key][textNodeName];
|
|
1007
1023
|
}
|
|
@@ -1044,8 +1060,9 @@ function map(arg0, arg1, arg2) {
|
|
|
1044
1060
|
}
|
|
1045
1061
|
}
|
|
1046
1062
|
for (const key in instructions) {
|
|
1047
|
-
if (!hasOwn(instructions, key))
|
|
1063
|
+
if (!hasOwn(instructions, key)) {
|
|
1048
1064
|
continue;
|
|
1065
|
+
}
|
|
1049
1066
|
if (!Array.isArray(instructions[key])) {
|
|
1050
1067
|
target[key] = instructions[key];
|
|
1051
1068
|
continue;
|
|
@@ -1064,8 +1081,9 @@ const convertMap = (target) => {
|
|
|
1064
1081
|
const take = (source, instructions) => {
|
|
1065
1082
|
const out = {};
|
|
1066
1083
|
for (const key in instructions) {
|
|
1067
|
-
if (!hasOwn(instructions, key))
|
|
1084
|
+
if (!hasOwn(instructions, key)) {
|
|
1068
1085
|
continue;
|
|
1086
|
+
}
|
|
1069
1087
|
applyInstruction(out, source, instructions, key);
|
|
1070
1088
|
}
|
|
1071
1089
|
return out;
|
|
@@ -1146,8 +1164,9 @@ const _json = (obj) => {
|
|
|
1146
1164
|
if (typeof obj === "object") {
|
|
1147
1165
|
const target = {};
|
|
1148
1166
|
for (const key in obj) {
|
|
1149
|
-
if (!hasOwn(obj, key))
|
|
1167
|
+
if (!hasOwn(obj, key)) {
|
|
1150
1168
|
continue;
|
|
1169
|
+
}
|
|
1151
1170
|
if (obj[key] == null) {
|
|
1152
1171
|
continue;
|
|
1153
1172
|
}
|
|
@@ -111,18 +111,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
const booleanSelector = (obj, key, type) => {
|
|
114
|
-
if (!(key in obj))
|
|
114
|
+
if (!(key in obj)) {
|
|
115
115
|
return undefined;
|
|
116
|
-
|
|
116
|
+
}
|
|
117
|
+
if (obj[key] === "true") {
|
|
117
118
|
return true;
|
|
118
|
-
|
|
119
|
+
}
|
|
120
|
+
if (obj[key] === "false") {
|
|
119
121
|
return false;
|
|
122
|
+
}
|
|
120
123
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
121
124
|
};
|
|
122
125
|
|
|
123
126
|
const numberSelector = (obj, key, type) => {
|
|
124
|
-
if (!(key in obj))
|
|
127
|
+
if (!(key in obj)) {
|
|
125
128
|
return undefined;
|
|
129
|
+
}
|
|
126
130
|
const numberValue = parseInt(obj[key], 10);
|
|
127
131
|
if (Number.isNaN(numberValue)) {
|
|
128
132
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -116,18 +116,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
const booleanSelector = (obj, key, type) => {
|
|
119
|
-
if (!(key in obj))
|
|
119
|
+
if (!(key in obj)) {
|
|
120
120
|
return undefined;
|
|
121
|
-
|
|
121
|
+
}
|
|
122
|
+
if (obj[key] === "true") {
|
|
122
123
|
return true;
|
|
123
|
-
|
|
124
|
+
}
|
|
125
|
+
if (obj[key] === "false") {
|
|
124
126
|
return false;
|
|
127
|
+
}
|
|
125
128
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
126
129
|
};
|
|
127
130
|
|
|
128
131
|
const numberSelector = (obj, key, type) => {
|
|
129
|
-
if (!(key in obj))
|
|
132
|
+
if (!(key in obj)) {
|
|
130
133
|
return undefined;
|
|
134
|
+
}
|
|
131
135
|
const numberValue = parseInt(obj[key], 10);
|
|
132
136
|
if (Number.isNaN(numberValue)) {
|
|
133
137
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -150,15 +154,19 @@ const getHomeDirCacheKey = () => {
|
|
|
150
154
|
};
|
|
151
155
|
const getHomeDir = () => {
|
|
152
156
|
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
|
|
153
|
-
if (HOME)
|
|
157
|
+
if (HOME) {
|
|
154
158
|
return HOME;
|
|
155
|
-
|
|
159
|
+
}
|
|
160
|
+
if (USERPROFILE) {
|
|
156
161
|
return USERPROFILE;
|
|
157
|
-
|
|
162
|
+
}
|
|
163
|
+
if (HOMEPATH) {
|
|
158
164
|
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
165
|
+
}
|
|
159
166
|
const homeDirCacheKey = getHomeDirCacheKey();
|
|
160
|
-
if (!homeDirCache[homeDirCacheKey])
|
|
167
|
+
if (!homeDirCache[homeDirCacheKey]) {
|
|
161
168
|
homeDirCache[homeDirCacheKey] = homedir();
|
|
169
|
+
}
|
|
162
170
|
return homeDirCache[homeDirCacheKey];
|
|
163
171
|
};
|
|
164
172
|
|
|
@@ -111,18 +111,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
const booleanSelector = (obj, key, type) => {
|
|
114
|
-
if (!(key in obj))
|
|
114
|
+
if (!(key in obj)) {
|
|
115
115
|
return undefined;
|
|
116
|
-
|
|
116
|
+
}
|
|
117
|
+
if (obj[key] === "true") {
|
|
117
118
|
return true;
|
|
118
|
-
|
|
119
|
+
}
|
|
120
|
+
if (obj[key] === "false") {
|
|
119
121
|
return false;
|
|
122
|
+
}
|
|
120
123
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
121
124
|
};
|
|
122
125
|
|
|
123
126
|
const numberSelector = (obj, key, type) => {
|
|
124
|
-
if (!(key in obj))
|
|
127
|
+
if (!(key in obj)) {
|
|
125
128
|
return undefined;
|
|
129
|
+
}
|
|
126
130
|
const numberValue = parseInt(obj[key], 10);
|
|
127
131
|
if (Number.isNaN(numberValue)) {
|
|
128
132
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -783,8 +783,9 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
783
783
|
const { parameters, rules } = ruleSetObject;
|
|
784
784
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
785
785
|
for (const paramKey in parameters) {
|
|
786
|
-
if (!hasOwn(parameters, paramKey))
|
|
786
|
+
if (!hasOwn(parameters, paramKey)) {
|
|
787
787
|
continue;
|
|
788
|
+
}
|
|
788
789
|
const parameter = parameters[paramKey];
|
|
789
790
|
const endpointParam = endpointParams[paramKey];
|
|
790
791
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -11,11 +11,13 @@ const getEndpointUrlConfig = (serviceId) => ({
|
|
|
11
11
|
environmentVariableSelector: (env) => {
|
|
12
12
|
const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
|
|
13
13
|
const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
|
|
14
|
-
if (serviceEndpointUrl)
|
|
14
|
+
if (serviceEndpointUrl) {
|
|
15
15
|
return serviceEndpointUrl;
|
|
16
|
+
}
|
|
16
17
|
const endpointUrl = env[ENV_ENDPOINT_URL];
|
|
17
|
-
if (endpointUrl)
|
|
18
|
+
if (endpointUrl) {
|
|
18
19
|
return endpointUrl;
|
|
20
|
+
}
|
|
19
21
|
return undefined;
|
|
20
22
|
},
|
|
21
23
|
configFileSelector: (profile, config) => {
|
|
@@ -27,12 +29,14 @@ const getEndpointUrlConfig = (serviceId) => ({
|
|
|
27
29
|
const servicesSection = config[servicesSectionKey];
|
|
28
30
|
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
29
31
|
const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
30
|
-
if (endpointUrl)
|
|
32
|
+
if (endpointUrl) {
|
|
31
33
|
return endpointUrl;
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
|
34
|
-
if (endpointUrl)
|
|
37
|
+
if (endpointUrl) {
|
|
35
38
|
return endpointUrl;
|
|
39
|
+
}
|
|
36
40
|
return undefined;
|
|
37
41
|
},
|
|
38
42
|
default: undefined,
|
|
@@ -831,8 +835,9 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
831
835
|
const { parameters, rules } = ruleSetObject;
|
|
832
836
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
833
837
|
for (const paramKey in parameters) {
|
|
834
|
-
if (!hasOwn(parameters, paramKey))
|
|
838
|
+
if (!hasOwn(parameters, paramKey)) {
|
|
835
839
|
continue;
|
|
840
|
+
}
|
|
836
841
|
const parameter = parameters[paramKey];
|
|
837
842
|
const endpointParam = endpointParams[paramKey];
|
|
838
843
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -42,8 +42,9 @@ function negate(bytes) {
|
|
|
42
42
|
}
|
|
43
43
|
for (let i = 7; i > -1; i--) {
|
|
44
44
|
bytes[i]++;
|
|
45
|
-
if (bytes[i] !== 0)
|
|
45
|
+
if (bytes[i] !== 0) {
|
|
46
46
|
break;
|
|
47
|
+
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
|
|
@@ -57,8 +58,9 @@ class HeaderMarshaller {
|
|
|
57
58
|
format(headers) {
|
|
58
59
|
const chunks = [];
|
|
59
60
|
for (const headerName in headers) {
|
|
60
|
-
if (!hasOwn(headers, headerName))
|
|
61
|
+
if (!hasOwn(headers, headerName)) {
|
|
61
62
|
continue;
|
|
63
|
+
}
|
|
62
64
|
const bytes = this.fromUtf8(headerName);
|
|
63
65
|
if (bytes.byteLength > 255) {
|
|
64
66
|
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
@@ -384,8 +386,9 @@ class SmithyMessageDecoderStream {
|
|
|
384
386
|
async *asyncIterator() {
|
|
385
387
|
for await (const message of this.options.messageStream) {
|
|
386
388
|
const deserialized = await this.options.deserializer(message);
|
|
387
|
-
if (deserialized === undefined)
|
|
389
|
+
if (deserialized === undefined) {
|
|
388
390
|
continue;
|
|
391
|
+
}
|
|
389
392
|
yield deserialized;
|
|
390
393
|
}
|
|
391
394
|
}
|
|
@@ -481,8 +484,9 @@ function getUnmarshalledStream(source, options) {
|
|
|
481
484
|
for await (const chunk of source) {
|
|
482
485
|
const message = options.eventStreamCodec.decode(chunk);
|
|
483
486
|
const type = await messageUnmarshaller(message);
|
|
484
|
-
if (type === undefined)
|
|
487
|
+
if (type === undefined) {
|
|
485
488
|
continue;
|
|
489
|
+
}
|
|
486
490
|
yield type;
|
|
487
491
|
}
|
|
488
492
|
},
|
|
@@ -512,8 +516,9 @@ function getMessageUnmarshaller(deserializer, toUtf8) {
|
|
|
512
516
|
[message.headers[":event-type"].value]: message,
|
|
513
517
|
};
|
|
514
518
|
const deserialized = await deserializer(event);
|
|
515
|
-
if (deserialized.$unknown)
|
|
519
|
+
if (deserialized.$unknown) {
|
|
516
520
|
return;
|
|
521
|
+
}
|
|
517
522
|
return deserialized;
|
|
518
523
|
}
|
|
519
524
|
else {
|
|
@@ -552,8 +557,9 @@ const readableStreamToIterable = (readableStream) => ({
|
|
|
552
557
|
try {
|
|
553
558
|
while (true) {
|
|
554
559
|
const { done, value } = await reader.read();
|
|
555
|
-
if (done)
|
|
560
|
+
if (done) {
|
|
556
561
|
return;
|
|
562
|
+
}
|
|
557
563
|
yield value;
|
|
558
564
|
}
|
|
559
565
|
}
|
|
@@ -651,8 +657,9 @@ class EventStreamSerde {
|
|
|
651
657
|
}
|
|
652
658
|
let unionMember = "";
|
|
653
659
|
for (const key in event) {
|
|
654
|
-
if (!hasOwn(event, key))
|
|
660
|
+
if (!hasOwn(event, key)) {
|
|
655
661
|
continue;
|
|
662
|
+
}
|
|
656
663
|
if (key !== "__type") {
|
|
657
664
|
unionMember = key;
|
|
658
665
|
break;
|
|
@@ -680,8 +687,9 @@ class EventStreamSerde {
|
|
|
680
687
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
681
688
|
let unionMember = "";
|
|
682
689
|
for (const key in event) {
|
|
683
|
-
if (!hasOwn(event, key))
|
|
690
|
+
if (!hasOwn(event, key)) {
|
|
684
691
|
continue;
|
|
692
|
+
}
|
|
685
693
|
if (key !== "__type") {
|
|
686
694
|
unionMember = key;
|
|
687
695
|
break;
|
|
@@ -756,8 +764,9 @@ class EventStreamSerde {
|
|
|
756
764
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
757
765
|
}
|
|
758
766
|
for (const key in firstEvent.value) {
|
|
759
|
-
if (!hasOwn(firstEvent.value, key))
|
|
767
|
+
if (!hasOwn(firstEvent.value, key)) {
|
|
760
768
|
continue;
|
|
769
|
+
}
|
|
761
770
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
762
771
|
}
|
|
763
772
|
}
|