@mavogel/awscdk-rootmail 0.0.323 → 0.0.324

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.
Files changed (542) hide show
  1. package/.jsii +2 -2
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +4442 -4660
  5. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +15 -15
  6. package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +7328 -7804
  7. package/node_modules/@aws-sdk/client-route-53/package.json +15 -15
  8. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +11771 -11916
  9. package/node_modules/@aws-sdk/client-s3/package.json +21 -21
  10. package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +7284 -7626
  11. package/node_modules/@aws-sdk/client-ses/package.json +15 -15
  12. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12508 -13696
  13. package/node_modules/@aws-sdk/client-ssm/package.json +15 -15
  14. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +478 -596
  15. package/node_modules/@aws-sdk/client-sso/package.json +14 -14
  16. package/node_modules/@aws-sdk/core/dist-cjs/index.js +1969 -6
  17. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +48 -88
  18. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +35 -74
  19. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +273 -365
  20. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1581 -1863
  21. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -2
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +4 -4
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +4 -4
  25. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -3
  26. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +4 -4
  27. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -2
  28. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +4 -4
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +1 -1
  31. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  32. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  33. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  34. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +1 -1
  35. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -1
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +1 -1
  40. package/node_modules/@aws-sdk/core/package.json +4 -4
  41. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +38 -73
  42. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  43. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  44. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +194 -259
  45. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  46. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +72 -132
  47. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  48. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +71 -107
  49. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  50. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +176 -249
  51. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +14 -0
  52. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  53. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +16 -25
  54. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  55. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +381 -478
  56. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
  57. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +511 -641
  58. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
  59. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +170 -203
  60. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  61. package/node_modules/@aws-sdk/nested-clients/dist-cjs/index.js +2 -2
  62. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +583 -858
  63. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +795 -928
  64. package/node_modules/@aws-sdk/nested-clients/package.json +14 -14
  65. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +108 -137
  66. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
  67. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +147 -222
  68. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  69. package/node_modules/@aws-sdk/util-user-agent-browser/README.md +22 -3
  70. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +57 -0
  71. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +39 -8
  72. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +20 -0
  73. package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +37 -6
  74. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +14 -0
  75. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +14 -4
  76. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +4 -3
  77. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +9 -0
  78. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +5 -0
  79. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +1 -1
  80. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +50 -94
  81. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +1 -2
  82. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +10 -5
  83. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  84. package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
  85. package/node_modules/@smithy/config-resolver/package.json +4 -4
  86. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -16
  87. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -3
  88. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +48 -44
  89. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +273 -319
  90. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +126 -34
  91. package/node_modules/@smithy/core/dist-es/index.js +1 -1
  92. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +6 -17
  93. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -3
  94. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +4 -4
  95. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -5
  96. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -2
  97. package/node_modules/@smithy/core/dist-es/submodules/protocols/SerdeContext.js +6 -0
  98. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  99. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +22 -22
  100. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +3 -2
  101. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +7 -9
  102. package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +5 -6
  103. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +4 -4
  104. package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +1 -0
  105. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +5 -1
  106. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +5 -1
  107. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +104 -180
  108. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +22 -0
  109. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  110. package/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js +110 -0
  111. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +4 -26
  112. package/node_modules/@smithy/core/dist-types/index.d.ts +1 -1
  113. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -10
  114. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +5 -2
  115. package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +8 -0
  116. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  117. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  118. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  119. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  120. package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  121. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +4 -4
  122. package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +1 -0
  123. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  124. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +2 -0
  125. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +7 -0
  126. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  127. package/node_modules/@smithy/core/dist-types/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  128. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +1 -1
  129. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -10
  130. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +5 -2
  131. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +8 -0
  132. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  133. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +3 -4
  134. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +5 -2
  135. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +5 -2
  136. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +3 -4
  137. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +4 -4
  138. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +1 -0
  139. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +26 -24
  140. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +2 -0
  141. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +7 -0
  142. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  143. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +47 -0
  144. package/node_modules/@smithy/core/package.json +8 -8
  145. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  146. package/node_modules/@smithy/hash-blob-browser/package.json +3 -3
  147. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  148. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  149. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  150. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  151. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  152. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  153. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  154. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  155. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  156. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  157. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  158. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  159. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  160. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  161. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  162. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  163. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  164. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  165. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  166. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  167. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  168. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  169. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  170. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  171. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  172. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  173. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  174. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  175. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  176. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  177. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  178. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  179. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  180. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  181. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  182. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  183. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  184. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  185. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  186. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  187. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  188. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  189. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  190. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  191. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  192. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  193. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  194. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  195. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  196. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  197. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  198. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  199. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  200. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  201. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  202. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  203. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  204. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  205. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  206. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  207. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  208. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  209. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  210. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +201 -0
  211. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +10 -0
  212. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  213. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  214. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  215. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  216. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  217. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  218. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  219. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  220. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  221. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  222. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  223. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  224. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  225. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  226. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  227. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  228. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  229. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  230. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  231. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  232. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  233. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  234. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +61 -0
  235. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +201 -0
  236. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +105 -0
  237. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +26 -0
  238. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +12 -0
  239. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +16 -0
  240. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +189 -0
  241. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js +17 -0
  242. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +16 -0
  243. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +18 -0
  244. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +4 -0
  245. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +4 -0
  246. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +22 -0
  247. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +3 -0
  248. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +8 -0
  249. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +12 -0
  250. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +5 -0
  251. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +9 -0
  252. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +39 -0
  253. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +9 -0
  254. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  255. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +52 -0
  256. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +6 -0
  257. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/slurpFile.js +13 -0
  258. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +1 -0
  259. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +9 -0
  260. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +8 -0
  261. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +2 -0
  262. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +2 -0
  263. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +6 -0
  264. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +15 -0
  265. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +5 -0
  266. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +50 -0
  267. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +6 -0
  268. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +9 -0
  269. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +36 -0
  270. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +17 -0
  271. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  272. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +2 -0
  273. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +18 -0
  274. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/slurpFile.d.ts +7 -0
  275. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +9 -0
  276. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +8 -0
  277. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +2 -0
  278. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +2 -0
  279. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +6 -0
  280. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +15 -0
  281. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +5 -0
  282. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +50 -0
  283. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +6 -0
  284. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +9 -0
  285. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +36 -0
  286. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +17 -0
  287. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +7 -0
  288. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +2 -0
  289. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +18 -0
  290. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +7 -0
  291. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +16 -0
  292. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +16 -0
  293. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +73 -0
  294. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  295. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +30 -6
  296. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -3
  297. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +1 -1
  298. package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
  299. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -3
  300. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
  301. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
  302. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/LICENSE +201 -0
  303. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/README.md +4 -0
  304. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-cjs/index.js +32 -0
  305. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortController.js +7 -0
  306. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +20 -0
  307. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-es/index.js +2 -0
  308. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +16 -0
  309. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +21 -0
  310. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/index.d.ts +9 -0
  311. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +16 -0
  312. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +21 -0
  313. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +9 -0
  314. package/node_modules/@smithy/node-http-handler/node_modules/@smithy/abort-controller/package.json +63 -0
  315. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  316. package/node_modules/@smithy/protocol-http/package.json +2 -2
  317. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  318. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  319. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  320. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +5 -4
  321. package/node_modules/@smithy/smithy-client/dist-es/command.js +5 -4
  322. package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +3 -3
  323. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +3 -3
  324. package/node_modules/@smithy/smithy-client/package.json +7 -7
  325. package/node_modules/@smithy/types/dist-es/index.js +1 -0
  326. package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
  327. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +17 -10
  328. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  329. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -1
  330. package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
  331. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +17 -10
  332. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
  333. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -1
  334. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
  335. package/node_modules/@smithy/types/package.json +1 -1
  336. package/node_modules/@smithy/url-parser/package.json +3 -3
  337. package/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +9 -32
  338. package/node_modules/@smithy/util-base64/dist-es/constants.browser.js +9 -28
  339. package/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +5 -6
  340. package/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +5 -6
  341. package/node_modules/@smithy/util-base64/package.json +1 -1
  342. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +8 -6
  343. package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +8 -6
  344. package/node_modules/@smithy/util-body-length-node/package.json +1 -1
  345. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js +11 -9
  346. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js +11 -8
  347. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/LICENSE +201 -0
  348. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/README.md +10 -0
  349. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  350. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  351. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  352. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  353. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  354. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  355. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  356. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  357. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  358. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  359. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  360. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  361. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  362. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  363. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  364. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  365. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  366. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  367. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  368. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  369. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  370. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  371. package/node_modules/@smithy/util-defaults-mode-browser/node_modules/@smithy/property-provider/package.json +61 -0
  372. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -5
  373. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/LICENSE +201 -0
  374. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/README.md +11 -0
  375. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +372 -0
  376. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js +5 -0
  377. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js +7 -0
  378. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js +5 -0
  379. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js +8 -0
  380. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js +10 -0
  381. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +77 -0
  382. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +134 -0
  383. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/index.js +7 -0
  384. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +13 -0
  385. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js +3 -0
  386. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +36 -0
  387. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +2 -0
  388. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js +7 -0
  389. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/types.js +1 -0
  390. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +17 -0
  391. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js +19 -0
  392. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js +25 -0
  393. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/Endpoint.d.ts +7 -0
  394. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointConfigOptions.d.ts +13 -0
  395. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointMode.d.ts +7 -0
  396. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/config/EndpointModeConfigOptions.d.ts +13 -0
  397. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  398. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromContainerMetadata.d.ts +21 -0
  399. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/fromInstanceMetadata.d.ts +10 -0
  400. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +28 -0
  401. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +19 -0
  402. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/RemoteProviderInit.d.ts +40 -0
  403. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +6 -0
  404. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +8 -0
  405. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/retry.d.ts +10 -0
  406. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +7 -0
  407. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +13 -0
  408. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +7 -0
  409. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +13 -0
  410. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +12 -0
  411. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +21 -0
  412. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +10 -0
  413. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +28 -0
  414. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +19 -0
  415. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +40 -0
  416. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +6 -0
  417. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +8 -0
  418. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +10 -0
  419. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +7 -0
  420. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  421. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  422. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +16 -0
  423. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/types.d.ts +7 -0
  424. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getExtendedInstanceMetadataCredentials.d.ts +6 -0
  425. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/getInstanceMetadataEndpoint.d.ts +21 -0
  426. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/dist-types/utils/staticStabilityProvider.d.ts +16 -0
  427. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/credential-provider-imds/package.json +70 -0
  428. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/LICENSE +201 -0
  429. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/README.md +10 -0
  430. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-cjs/index.js +117 -0
  431. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
  432. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/ProviderError.js +23 -0
  433. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
  434. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
  435. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
  436. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
  437. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
  438. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +31 -0
  439. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
  440. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +31 -0
  441. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
  442. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
  443. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
  444. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
  445. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +31 -0
  446. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
  447. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +31 -0
  448. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
  449. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
  450. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
  451. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
  452. package/node_modules/@smithy/util-defaults-mode-node/node_modules/@smithy/property-provider/package.json +61 -0
  453. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  454. package/node_modules/@smithy/util-middleware/package.json +2 -2
  455. package/node_modules/@smithy/util-retry/package.json +3 -3
  456. package/node_modules/@smithy/util-stream/dist-cjs/index.js +3 -5
  457. package/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js +3 -5
  458. package/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  459. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +1 -0
  460. package/node_modules/@smithy/util-stream/package.json +5 -5
  461. package/node_modules/cdk-nag/.jsii +3 -3
  462. package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
  463. package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
  464. package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
  465. package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
  466. package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
  467. package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
  468. package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
  469. package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
  470. package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
  471. package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
  472. package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
  473. package/node_modules/cdk-nag/package.json +2 -2
  474. package/node_modules/mailparser/CHANGELOG.md +7 -0
  475. package/node_modules/mailparser/lib/mail-parser.js +12 -3
  476. package/node_modules/mailparser/node_modules/iconv-lite/Changelog.md +236 -0
  477. package/node_modules/mailparser/node_modules/iconv-lite/LICENSE +21 -0
  478. package/node_modules/mailparser/node_modules/iconv-lite/README.md +138 -0
  479. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  480. package/node_modules/mailparser/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  481. package/node_modules/mailparser/node_modules/iconv-lite/encodings/index.js +23 -0
  482. package/node_modules/mailparser/node_modules/iconv-lite/encodings/internal.js +218 -0
  483. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  484. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  485. package/node_modules/mailparser/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  486. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  487. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  488. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  489. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  490. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  491. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  492. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  493. package/node_modules/mailparser/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  494. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf16.js +187 -0
  495. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf32.js +307 -0
  496. package/node_modules/mailparser/node_modules/iconv-lite/encodings/utf7.js +283 -0
  497. package/node_modules/mailparser/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  498. package/node_modules/mailparser/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  499. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.d.ts +41 -0
  500. package/node_modules/mailparser/node_modules/iconv-lite/lib/index.js +183 -0
  501. package/node_modules/mailparser/node_modules/iconv-lite/lib/streams.js +105 -0
  502. package/node_modules/mailparser/node_modules/iconv-lite/package.json +59 -0
  503. package/node_modules/mailparser/package.json +5 -5
  504. package/node_modules/mailsplit/index.js +2 -0
  505. package/node_modules/mailsplit/lib/chunked-passthrough.js +37 -0
  506. package/node_modules/mailsplit/package.json +1 -1
  507. package/node_modules/nodemailer/.ncurc.js +3 -5
  508. package/node_modules/nodemailer/.prettierignore +8 -0
  509. package/node_modules/nodemailer/.prettierrc +12 -0
  510. package/node_modules/nodemailer/.prettierrc.js +2 -0
  511. package/node_modules/nodemailer/.release-please-config.json +9 -0
  512. package/node_modules/nodemailer/CHANGELOG.md +323 -305
  513. package/node_modules/nodemailer/CODE_OF_CONDUCT.md +13 -13
  514. package/node_modules/nodemailer/README.md +10 -10
  515. package/node_modules/nodemailer/eslint.config.js +88 -0
  516. package/node_modules/nodemailer/lib/addressparser/index.js +47 -7
  517. package/node_modules/nodemailer/lib/base64/index.js +11 -14
  518. package/node_modules/nodemailer/lib/dkim/index.js +3 -1
  519. package/node_modules/nodemailer/lib/dkim/sign.js +1 -1
  520. package/node_modules/nodemailer/lib/fetch/index.js +7 -1
  521. package/node_modules/nodemailer/lib/mail-composer/index.js +47 -9
  522. package/node_modules/nodemailer/lib/mailer/index.js +8 -1
  523. package/node_modules/nodemailer/lib/mailer/mail-message.js +2 -1
  524. package/node_modules/nodemailer/lib/mime-funcs/index.js +2 -2
  525. package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +12 -3
  526. package/node_modules/nodemailer/lib/mime-node/index.js +11 -9
  527. package/node_modules/nodemailer/lib/nodemailer.js +3 -1
  528. package/node_modules/nodemailer/lib/qp/index.js +10 -2
  529. package/node_modules/nodemailer/lib/shared/index.js +108 -42
  530. package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +2 -2
  531. package/node_modules/nodemailer/lib/smtp-connection/index.js +13 -6
  532. package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +3 -2
  533. package/node_modules/nodemailer/lib/smtp-transport/index.js +1 -1
  534. package/node_modules/nodemailer/lib/well-known/services.json +277 -42
  535. package/node_modules/nodemailer/lib/xoauth2/index.js +58 -7
  536. package/node_modules/nodemailer/package.json +9 -5
  537. package/node_modules/tlds/index.json +0 -1
  538. package/node_modules/tlds/package.json +1 -1
  539. package/package.json +1 -1
  540. /package/node_modules/@smithy/core/dist-es/{protocols → request-builder}/requestBuilder.js +0 -0
  541. /package/node_modules/@smithy/core/dist-types/{protocols → request-builder}/requestBuilder.d.ts +0 -0
  542. /package/node_modules/@smithy/core/dist-types/ts3.4/{protocols → request-builder}/requestBuilder.d.ts +0 -0
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
14
14
  Examples of behavior that contributes to creating a positive environment
15
15
  include:
16
16
 
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
17
+ - Using welcoming and inclusive language
18
+ - Being respectful of differing viewpoints and experiences
19
+ - Gracefully accepting constructive criticism
20
+ - Focusing on what is best for the community
21
+ - Showing empathy towards other community members
22
22
 
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
25
+ - The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ - Trolling, insulting/derogatory comments, and personal or political attacks
28
+ - Public or private harassment
29
+ - Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ - Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
33
 
34
34
  ## Our Responsibilities
35
35
 
@@ -37,20 +37,20 @@ It's either a firewall issue, or your SMTP server blocks authentication attempts
37
37
 
38
38
  #### I get TLS errors
39
39
 
40
- - If you are running the code on your machine, check your antivirus settings. Antiviruses often mess around with email ports usage. Node.js might not recognize the MITM cert your antivirus is using.
41
- - Latest Node versions allow only TLS versions 1.2 and higher. Some servers might still use TLS 1.1 or lower. Check Node.js docs on how to get correct TLS support for your app. You can change this with [tls.minVersion](https://nodejs.org/dist/latest-v16.x/docs/api/tls.html#tls_tls_createsecurecontext_options) option
42
- - You might have the wrong value for the `secure` option. This should be set to `true` only for port 465. For every other port, it should be `false`. Setting it to `false` does not mean that Nodemailer would not use TLS. Nodemailer would still try to upgrade the connection to use TLS if the server supports it.
43
- - Older Node versions do not fully support the certificate chain of the newest Let's Encrypt certificates. Either set [tls.rejectUnauthorized](https://nodejs.org/dist/latest-v16.x/docs/api/tls.html#tlsconnectoptions-callback) to `false` to skip chain verification or upgrade your Node version
40
+ - If you are running the code on your machine, check your antivirus settings. Antiviruses often mess around with email ports usage. Node.js might not recognize the MITM cert your antivirus is using.
41
+ - Latest Node versions allow only TLS versions 1.2 and higher. Some servers might still use TLS 1.1 or lower. Check Node.js docs on how to get correct TLS support for your app. You can change this with [tls.minVersion](https://nodejs.org/dist/latest-v16.x/docs/api/tls.html#tls_tls_createsecurecontext_options) option
42
+ - You might have the wrong value for the `secure` option. This should be set to `true` only for port 465. For every other port, it should be `false`. Setting it to `false` does not mean that Nodemailer would not use TLS. Nodemailer would still try to upgrade the connection to use TLS if the server supports it.
43
+ - Older Node versions do not fully support the certificate chain of the newest Let's Encrypt certificates. Either set [tls.rejectUnauthorized](https://nodejs.org/dist/latest-v16.x/docs/api/tls.html#tlsconnectoptions-callback) to `false` to skip chain verification or upgrade your Node version
44
44
 
45
45
  ```js
46
46
  let configOptions = {
47
- host: "smtp.example.com",
47
+ host: 'smtp.example.com',
48
48
  port: 587,
49
49
  tls: {
50
50
  rejectUnauthorized: true,
51
- minVersion: "TLSv1.2"
51
+ minVersion: 'TLSv1.2'
52
52
  }
53
- }
53
+ };
54
54
  ```
55
55
 
56
56
  #### I have issues with DNS / hosts file
@@ -59,14 +59,14 @@ Node.js uses [c-ares](https://nodejs.org/en/docs/meta/topics/dependencies/#c-are
59
59
 
60
60
  ```js
61
61
  let configOptions = {
62
- host: "1.2.3.4",
62
+ host: '1.2.3.4',
63
63
  port: 465,
64
64
  secure: true,
65
65
  tls: {
66
66
  // must provide server name, otherwise TLS certificate check will fail
67
- servername: "example.com"
67
+ servername: 'example.com'
68
68
  }
69
- }
69
+ };
70
70
  ```
71
71
 
72
72
  #### I have an issue with TypeScript types
@@ -0,0 +1,88 @@
1
+ 'use strict';
2
+
3
+ const globals = require('globals');
4
+
5
+ module.exports = [
6
+ {
7
+ ignores: ['node_modules/**', 'coverage/**', 'dist/**', 'build/**', '.nyc_output/**']
8
+ },
9
+ {
10
+ files: ['**/*.js'],
11
+ languageOptions: {
12
+ ecmaVersion: 2017,
13
+ sourceType: 'script',
14
+ globals: Object.assign({}, globals.node, globals.es2017, {
15
+ it: true,
16
+ describe: true,
17
+ beforeEach: true,
18
+ afterEach: true
19
+ })
20
+ },
21
+ rules: {
22
+ // Error detection
23
+ 'for-direction': 'error',
24
+ 'no-await-in-loop': 'error',
25
+ 'no-div-regex': 'error',
26
+ eqeqeq: 'error',
27
+ 'dot-notation': 'error',
28
+ curly: 'error',
29
+ 'no-fallthrough': 'error',
30
+ 'no-unused-expressions': [
31
+ 'error',
32
+ {
33
+ allowShortCircuit: true
34
+ }
35
+ ],
36
+ 'no-unused-vars': [
37
+ 'error',
38
+ {
39
+ varsIgnorePattern: '^_',
40
+ argsIgnorePattern: '^_',
41
+ caughtErrorsIgnorePattern: '^_'
42
+ }
43
+ ],
44
+ 'handle-callback-err': 'error',
45
+ 'no-new': 'error',
46
+ 'new-cap': 'error',
47
+ 'no-eval': 'error',
48
+ 'no-invalid-this': 'error',
49
+ radix: ['error', 'always'],
50
+ 'no-use-before-define': ['error', 'nofunc'],
51
+ 'callback-return': ['error', ['callback', 'cb', 'done']],
52
+ 'no-regex-spaces': 'error',
53
+ 'no-empty': 'error',
54
+ 'no-duplicate-case': 'error',
55
+ 'no-empty-character-class': 'error',
56
+ 'no-redeclare': 'off', // Disabled per project preference
57
+ 'block-scoped-var': 'error',
58
+ 'no-sequences': 'error',
59
+ 'no-throw-literal': 'error',
60
+ 'no-useless-call': 'error',
61
+ 'no-useless-concat': 'error',
62
+ 'no-void': 'error',
63
+ yoda: 'error',
64
+ 'no-undef': 'error',
65
+ 'global-require': 'error',
66
+ 'no-var': 'error',
67
+ 'no-bitwise': 'error',
68
+ 'no-lonely-if': 'error',
69
+ 'no-mixed-spaces-and-tabs': 'error',
70
+ 'arrow-body-style': ['error', 'as-needed'],
71
+ 'arrow-parens': ['error', 'as-needed'],
72
+ 'prefer-arrow-callback': 'error',
73
+ 'object-shorthand': 'error',
74
+ 'prefer-spread': 'error',
75
+ 'no-prototype-builtins': 'off', // Disabled per project preference
76
+ strict: ['error', 'global'],
77
+
78
+ // Disable all formatting rules (handled by Prettier)
79
+ indent: 'off',
80
+ quotes: 'off',
81
+ 'linebreak-style': 'off',
82
+ semi: 'off',
83
+ 'quote-props': 'off',
84
+ 'comma-dangle': 'off',
85
+ 'comma-style': 'off'
86
+ }
87
+ }
88
+ ];
@@ -15,10 +15,12 @@ function _handleAddress(tokens) {
15
15
  address: [],
16
16
  comment: [],
17
17
  group: [],
18
- text: []
18
+ text: [],
19
+ textWasQuoted: [] // Track which text tokens came from inside quotes
19
20
  };
20
21
  let i;
21
22
  let len;
23
+ let insideQuotes = false; // Track if we're currently inside a quoted string
22
24
 
23
25
  // Filter out <addresses>, (comments) and regular text
24
26
  for (i = 0, len = tokens.length; i < len; i++) {
@@ -28,16 +30,25 @@ function _handleAddress(tokens) {
28
30
  switch (token.value) {
29
31
  case '<':
30
32
  state = 'address';
33
+ insideQuotes = false;
31
34
  break;
32
35
  case '(':
33
36
  state = 'comment';
37
+ insideQuotes = false;
34
38
  break;
35
39
  case ':':
36
40
  state = 'group';
37
41
  isGroup = true;
42
+ insideQuotes = false;
43
+ break;
44
+ case '"':
45
+ // Track quote state for text tokens
46
+ insideQuotes = !insideQuotes;
47
+ state = 'text';
38
48
  break;
39
49
  default:
40
50
  state = 'text';
51
+ insideQuotes = false;
41
52
  break;
42
53
  }
43
54
  } else if (token.value) {
@@ -51,8 +62,14 @@ function _handleAddress(tokens) {
51
62
  if (prevToken && prevToken.noBreak && data[state].length) {
52
63
  // join values
53
64
  data[state][data[state].length - 1] += token.value;
65
+ if (state === 'text' && insideQuotes) {
66
+ data.textWasQuoted[data.textWasQuoted.length - 1] = true;
67
+ }
54
68
  } else {
55
69
  data[state].push(token.value);
70
+ if (state === 'text') {
71
+ data.textWasQuoted.push(insideQuotes);
72
+ }
56
73
  }
57
74
  }
58
75
  }
@@ -66,16 +83,36 @@ function _handleAddress(tokens) {
66
83
  if (isGroup) {
67
84
  // http://tools.ietf.org/html/rfc2822#appendix-A.1.3
68
85
  data.text = data.text.join(' ');
86
+
87
+ // Parse group members, but flatten any nested groups (RFC 5322 doesn't allow nesting)
88
+ let groupMembers = [];
89
+ if (data.group.length) {
90
+ let parsedGroup = addressparser(data.group.join(','));
91
+ // Flatten: if any member is itself a group, extract its members into the sequence
92
+ parsedGroup.forEach(member => {
93
+ if (member.group) {
94
+ // Nested group detected - flatten it by adding its members directly
95
+ groupMembers = groupMembers.concat(member.group);
96
+ } else {
97
+ groupMembers.push(member);
98
+ }
99
+ });
100
+ }
101
+
69
102
  addresses.push({
70
103
  name: data.text || (address && address.name),
71
- group: data.group.length ? addressparser(data.group.join(',')) : []
104
+ group: groupMembers
72
105
  });
73
106
  } else {
74
107
  // If no address was found, try to detect one from regular text
75
108
  if (!data.address.length && data.text.length) {
76
109
  for (i = data.text.length - 1; i >= 0; i--) {
77
- if (data.text[i].match(/^[^@\s]+@[^@\s]+$/)) {
110
+ // Security fix: Do not extract email addresses from quoted strings
111
+ // RFC 5321 allows @ inside quoted local-parts like "user@domain"@example.com
112
+ // Extracting emails from quoted text leads to misrouting vulnerabilities
113
+ if (!data.textWasQuoted[i] && data.text[i].match(/^[^@\s]+@[^@\s]+$/)) {
78
114
  data.address = data.text.splice(i, 1);
115
+ data.textWasQuoted.splice(i, 1);
79
116
  break;
80
117
  }
81
118
  }
@@ -92,10 +129,13 @@ function _handleAddress(tokens) {
92
129
  // still no address
93
130
  if (!data.address.length) {
94
131
  for (i = data.text.length - 1; i >= 0; i--) {
95
- // fixed the regex to parse email address correctly when email address has more than one @
96
- data.text[i] = data.text[i].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/, _regexHandler).trim();
97
- if (data.address.length) {
98
- break;
132
+ // Security fix: Do not extract email addresses from quoted strings
133
+ if (!data.textWasQuoted[i]) {
134
+ // fixed the regex to parse email address correctly when email address has more than one @
135
+ data.text[i] = data.text[i].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/, _regexHandler).trim();
136
+ if (data.address.length) {
137
+ break;
138
+ }
99
139
  }
100
140
  }
101
141
  }
@@ -35,15 +35,12 @@ function wrap(str, lineLength) {
35
35
  let pos = 0;
36
36
  let chunkLength = lineLength * 1024;
37
37
  while (pos < str.length) {
38
- let wrappedLines = str
39
- .substr(pos, chunkLength)
40
- .replace(new RegExp('.{' + lineLength + '}', 'g'), '$&\r\n')
41
- .trim();
38
+ let wrappedLines = str.substr(pos, chunkLength).replace(new RegExp('.{' + lineLength + '}', 'g'), '$&\r\n');
42
39
  result.push(wrappedLines);
43
40
  pos += chunkLength;
44
41
  }
45
42
 
46
- return result.join('\r\n').trim();
43
+ return result.join('');
47
44
  }
48
45
 
49
46
  /**
@@ -56,7 +53,6 @@ function wrap(str, lineLength) {
56
53
  class Encoder extends Transform {
57
54
  constructor(options) {
58
55
  super();
59
- // init Transform
60
56
  this.options = options || {};
61
57
 
62
58
  if (this.options.lineLength !== false) {
@@ -98,17 +94,20 @@ class Encoder extends Transform {
98
94
  if (this.options.lineLength) {
99
95
  b64 = wrap(b64, this.options.lineLength);
100
96
 
101
- // remove last line as it is still most probably incomplete
102
97
  let lastLF = b64.lastIndexOf('\n');
103
98
  if (lastLF < 0) {
104
99
  this._curLine = b64;
105
100
  b64 = '';
106
- } else if (lastLF === b64.length - 1) {
107
- this._curLine = '';
108
101
  } else {
109
- this._curLine = b64.substr(lastLF + 1);
110
- b64 = b64.substr(0, lastLF + 1);
102
+ this._curLine = b64.substring(lastLF + 1);
103
+ b64 = b64.substring(0, lastLF + 1);
104
+
105
+ if (b64 && !b64.endsWith('\r\n')) {
106
+ b64 += '\r\n';
107
+ }
111
108
  }
109
+ } else {
110
+ this._curLine = '';
112
111
  }
113
112
 
114
113
  if (b64) {
@@ -125,16 +124,14 @@ class Encoder extends Transform {
125
124
  }
126
125
 
127
126
  if (this._curLine) {
128
- this._curLine = wrap(this._curLine, this.options.lineLength);
129
127
  this.outputBytes += this._curLine.length;
130
- this.push(this._curLine, 'ascii');
128
+ this.push(Buffer.from(this._curLine, 'ascii'));
131
129
  this._curLine = '';
132
130
  }
133
131
  done();
134
132
  }
135
133
  }
136
134
 
137
- // expose to the world
138
135
  module.exports = {
139
136
  encode,
140
137
  wrap,
@@ -42,7 +42,9 @@ class DKIMSigner {
42
42
  this.chunks = [];
43
43
  this.chunklen = 0;
44
44
  this.readPos = 0;
45
- this.cachePath = this.cacheDir ? path.join(this.cacheDir, 'message.' + Date.now() + '-' + crypto.randomBytes(14).toString('hex')) : false;
45
+ this.cachePath = this.cacheDir
46
+ ? path.join(this.cacheDir, 'message.' + Date.now() + '-' + crypto.randomBytes(14).toString('hex'))
47
+ : false;
46
48
  this.cache = false;
47
49
 
48
50
  this.headers = false;
@@ -41,7 +41,7 @@ module.exports = (headers, hashAlgo, bodyHash, options) => {
41
41
  signer.update(canonicalizedHeaderData.headers);
42
42
  try {
43
43
  signature = signer.sign(options.privateKey, 'base64');
44
- } catch (E) {
44
+ } catch (_E) {
45
45
  return false;
46
46
  }
47
47
 
@@ -132,7 +132,13 @@ function nmfetch(url, options) {
132
132
  });
133
133
  }
134
134
 
135
- if (parsed.protocol === 'https:' && parsed.hostname && parsed.hostname !== reqOptions.host && !net.isIP(parsed.hostname) && !reqOptions.servername) {
135
+ if (
136
+ parsed.protocol === 'https:' &&
137
+ parsed.hostname &&
138
+ parsed.hostname !== reqOptions.host &&
139
+ !net.isIP(parsed.hostname) &&
140
+ !reqOptions.servername
141
+ ) {
136
142
  reqOptions.servername = parsed.hostname;
137
143
  }
138
144
 
@@ -91,12 +91,14 @@ class MailComposer {
91
91
  attachment = this._processDataUrl(attachment);
92
92
  }
93
93
 
94
- let contentType = attachment.contentType || mimeFuncs.detectMimeType(attachment.filename || attachment.path || attachment.href || 'bin');
94
+ let contentType =
95
+ attachment.contentType || mimeFuncs.detectMimeType(attachment.filename || attachment.path || attachment.href || 'bin');
95
96
 
96
97
  let isImage = /^image\//i.test(contentType);
97
98
  let isMessageNode = /^message\//i.test(contentType);
98
99
 
99
- let contentDisposition = attachment.contentDisposition || (isMessageNode || (isImage && attachment.cid) ? 'inline' : 'attachment');
100
+ let contentDisposition =
101
+ attachment.contentDisposition || (isMessageNode || (isImage && attachment.cid) ? 'inline' : 'attachment');
100
102
 
101
103
  let contentTransferEncoding;
102
104
  if ('contentTransferEncoding' in attachment) {
@@ -212,7 +214,10 @@ class MailComposer {
212
214
  eventObject;
213
215
 
214
216
  if (this.mail.text) {
215
- if (typeof this.mail.text === 'object' && (this.mail.text.content || this.mail.text.path || this.mail.text.href || this.mail.text.raw)) {
217
+ if (
218
+ typeof this.mail.text === 'object' &&
219
+ (this.mail.text.content || this.mail.text.path || this.mail.text.href || this.mail.text.raw)
220
+ ) {
216
221
  text = this.mail.text;
217
222
  } else {
218
223
  text = {
@@ -237,7 +242,10 @@ class MailComposer {
237
242
  }
238
243
 
239
244
  if (this.mail.amp) {
240
- if (typeof this.mail.amp === 'object' && (this.mail.amp.content || this.mail.amp.path || this.mail.amp.href || this.mail.amp.raw)) {
245
+ if (
246
+ typeof this.mail.amp === 'object' &&
247
+ (this.mail.amp.content || this.mail.amp.path || this.mail.amp.href || this.mail.amp.raw)
248
+ ) {
241
249
  amp = this.mail.amp;
242
250
  } else {
243
251
  amp = {
@@ -272,14 +280,18 @@ class MailComposer {
272
280
  }
273
281
 
274
282
  eventObject.filename = false;
275
- eventObject.contentType = 'text/calendar; charset=utf-8; method=' + (eventObject.method || 'PUBLISH').toString().trim().toUpperCase();
283
+ eventObject.contentType =
284
+ 'text/calendar; charset=utf-8; method=' + (eventObject.method || 'PUBLISH').toString().trim().toUpperCase();
276
285
  if (!eventObject.headers) {
277
286
  eventObject.headers = {};
278
287
  }
279
288
  }
280
289
 
281
290
  if (this.mail.html) {
282
- if (typeof this.mail.html === 'object' && (this.mail.html.content || this.mail.html.path || this.mail.html.href || this.mail.html.raw)) {
291
+ if (
292
+ typeof this.mail.html === 'object' &&
293
+ (this.mail.html.content || this.mail.html.path || this.mail.html.href || this.mail.html.raw)
294
+ ) {
283
295
  html = this.mail.html;
284
296
  } else {
285
297
  html = {
@@ -304,7 +316,9 @@ class MailComposer {
304
316
  }
305
317
 
306
318
  data = {
307
- contentType: alternative.contentType || mimeFuncs.detectMimeType(alternative.filename || alternative.path || alternative.href || 'txt'),
319
+ contentType:
320
+ alternative.contentType ||
321
+ mimeFuncs.detectMimeType(alternative.filename || alternative.path || alternative.href || 'txt'),
308
322
  contentTransferEncoding: alternative.contentTransferEncoding
309
323
  };
310
324
 
@@ -550,9 +564,33 @@ class MailComposer {
550
564
  * @return {Object} Parsed element
551
565
  */
552
566
  _processDataUrl(element) {
567
+ const dataUrl = element.path || element.href;
568
+
569
+ // Early validation to prevent ReDoS
570
+ if (!dataUrl || typeof dataUrl !== 'string') {
571
+ return element;
572
+ }
573
+
574
+ if (!dataUrl.startsWith('data:')) {
575
+ return element;
576
+ }
577
+
578
+ if (dataUrl.length > 100000) {
579
+ // 100KB limit for data URL string
580
+ // Return empty content for excessively long data URLs
581
+ return Object.assign({}, element, {
582
+ path: false,
583
+ href: false,
584
+ content: Buffer.alloc(0),
585
+ contentType: element.contentType || 'application/octet-stream'
586
+ });
587
+ }
588
+
553
589
  let parsedDataUri;
554
- if ((element.path || element.href).match(/^data:/)) {
555
- parsedDataUri = parseDataURI(element.path || element.href);
590
+ try {
591
+ parsedDataUri = parseDataURI(dataUrl);
592
+ } catch (_err) {
593
+ return element;
556
594
  }
557
595
 
558
596
  if (!parsedDataUri) {
@@ -241,7 +241,14 @@ class Mail extends EventEmitter {
241
241
  }
242
242
 
243
243
  getVersionString() {
244
- return util.format('%s (%s; +%s; %s/%s)', packageData.name, packageData.version, packageData.homepage, this.transporter.name, this.transporter.version);
244
+ return util.format(
245
+ '%s (%s; +%s; %s/%s)',
246
+ packageData.name,
247
+ packageData.version,
248
+ packageData.homepage,
249
+ this.transporter.name,
250
+ this.transporter.version
251
+ );
245
252
  }
246
253
 
247
254
  _processPlugins(step, mail, callback) {
@@ -64,7 +64,8 @@ class MailMessage {
64
64
  if (this.data.attachments && this.data.attachments.length) {
65
65
  this.data.attachments.forEach((attachment, i) => {
66
66
  if (!attachment.filename) {
67
- attachment.filename = (attachment.path || attachment.href || '').split('/').pop().split('?').shift() || 'attachment-' + (i + 1);
67
+ attachment.filename =
68
+ (attachment.path || attachment.href || '').split('/').pop().split('?').shift() || 'attachment-' + (i + 1);
68
69
  if (attachment.filename.indexOf('.') < 0) {
69
70
  attachment.filename += '.' + mimeFuncs.detectExtension(attachment.contentType);
70
71
  }
@@ -269,7 +269,7 @@ module.exports = {
269
269
 
270
270
  // first line includes the charset and language info and needs to be encoded
271
271
  // even if it does not contain any unicode characters
272
- line = 'utf-8\x27\x27';
272
+ line = "utf-8''";
273
273
  let encoded = true;
274
274
  startPos = 0;
275
275
 
@@ -614,7 +614,7 @@ module.exports = {
614
614
  try {
615
615
  // might throw if we try to encode invalid sequences, eg. partial emoji
616
616
  str = encodeURIComponent(str);
617
- } catch (E) {
617
+ } catch (_E) {
618
618
  // should never run
619
619
  return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, '');
620
620
  }
@@ -1102,7 +1102,10 @@ const extensions = new Map([
1102
1102
  ['bdm', 'application/vnd.syncml.dm+wbxml'],
1103
1103
  ['bed', 'application/vnd.realvnc.bed'],
1104
1104
  ['bh2', 'application/vnd.fujitsu.oasysprs'],
1105
- ['bin', ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary']],
1105
+ [
1106
+ 'bin',
1107
+ ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary']
1108
+ ],
1106
1109
  ['bm', 'image/bmp'],
1107
1110
  ['bmi', 'application/vnd.bmi'],
1108
1111
  ['bmp', ['image/bmp', 'image/x-windows-bmp']],
@@ -1147,7 +1150,10 @@ const extensions = new Map([
1147
1150
  ['cii', 'application/vnd.anser-web-certificate-issue-initiation'],
1148
1151
  ['cil', 'application/vnd.ms-artgalry'],
1149
1152
  ['cla', 'application/vnd.claymore'],
1150
- ['class', ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class']],
1153
+ [
1154
+ 'class',
1155
+ ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class']
1156
+ ],
1151
1157
  ['clkk', 'application/vnd.crick.clicker.keyboard'],
1152
1158
  ['clkp', 'application/vnd.crick.clicker.palette'],
1153
1159
  ['clkt', 'application/vnd.crick.clicker.template'],
@@ -1752,7 +1758,10 @@ const extensions = new Map([
1752
1758
  ['sbml', 'application/sbml+xml'],
1753
1759
  ['sc', 'application/vnd.ibm.secure-container'],
1754
1760
  ['scd', 'application/x-msschedule'],
1755
- ['scm', ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme']],
1761
+ [
1762
+ 'scm',
1763
+ ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme']
1764
+ ],
1756
1765
  ['scq', 'application/scvp-cv-request'],
1757
1766
  ['scs', 'application/scvp-cv-response'],
1758
1767
  ['sct', 'text/scriptlet'],
@@ -552,7 +552,11 @@ class MimeNode {
552
552
 
553
553
  this._handleContentType(structured);
554
554
 
555
- if (structured.value.match(/^text\/plain\b/) && typeof this.content === 'string' && /[\u0080-\uFFFF]/.test(this.content)) {
555
+ if (
556
+ structured.value.match(/^text\/plain\b/) &&
557
+ typeof this.content === 'string' &&
558
+ /[\u0080-\uFFFF]/.test(this.content)
559
+ ) {
556
560
  structured.params.charset = 'utf-8';
557
561
  }
558
562
 
@@ -963,8 +967,8 @@ class MimeNode {
963
967
  setImmediate(() => {
964
968
  try {
965
969
  contentStream.end(content._resolvedValue);
966
- } catch (err) {
967
- contentStream.emit('error', err);
970
+ } catch (_err) {
971
+ contentStream.emit('error', _err);
968
972
  }
969
973
  });
970
974
 
@@ -995,8 +999,8 @@ class MimeNode {
995
999
  setImmediate(() => {
996
1000
  try {
997
1001
  contentStream.end(content || '');
998
- } catch (err) {
999
- contentStream.emit('error', err);
1002
+ } catch (_err) {
1003
+ contentStream.emit('error', _err);
1000
1004
  }
1001
1005
  });
1002
1006
  return contentStream;
@@ -1014,7 +1018,6 @@ class MimeNode {
1014
1018
  return [].concat.apply(
1015
1019
  [],
1016
1020
  [].concat(addresses).map(address => {
1017
- // eslint-disable-line prefer-spread
1018
1021
  if (address && address.address) {
1019
1022
  address.address = this._normalizeAddress(address.address);
1020
1023
  address.name = address.name || '';
@@ -1113,7 +1116,6 @@ class MimeNode {
1113
1116
  .apply(
1114
1117
  [],
1115
1118
  [].concat(value || '').map(elm => {
1116
- // eslint-disable-line prefer-spread
1117
1119
  elm = (elm || '')
1118
1120
  .toString()
1119
1121
  .replace(/\r?\n|\r/g, ' ')
@@ -1219,7 +1221,7 @@ class MimeNode {
1219
1221
 
1220
1222
  try {
1221
1223
  encodedDomain = punycode.toASCII(domain.toLowerCase());
1222
- } catch (err) {
1224
+ } catch (_err) {
1223
1225
  // keep as is?
1224
1226
  }
1225
1227
 
@@ -1282,7 +1284,7 @@ class MimeNode {
1282
1284
  // count latin alphabet symbols and 8-bit range symbols + control symbols
1283
1285
  // if there are more latin characters, then use quoted-printable
1284
1286
  // encoding, otherwise use base64
1285
- nonLatinLen = (value.match(/[\x00-\x08\x0B\x0C\x0E-\x1F\u0080-\uFFFF]/g) || []).length; // eslint-disable-line no-control-regex
1287
+ nonLatinLen = (value.match(/[\x00-\x08\x0B\x0C\x0E-\x1F\u0080-\uFFFF]/g) || []).length;
1286
1288
  latinLen = (value.match(/[a-z]/gi) || []).length;
1287
1289
  // if there are more latin symbols than binary/unicode, then prefer Q, otherwise B
1288
1290
  encoding = nonLatinLen < latinLen ? 'Q' : 'B';