@mavogel/awscdk-rootmail 0.0.332 → 0.0.334

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 (972) hide show
  1. package/.claude/settings.local.json +2 -1
  2. package/.jsii +3 -3
  3. package/lib/rootmail.js +1 -1
  4. package/lib/ses-receive.js +1 -1
  5. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +3 -3
  6. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +3 -3
  7. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +4 -5
  8. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  9. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/schemas/schemas_0.js +6 -4
  10. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +6 -4
  11. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueriesCommand.d.ts +3 -0
  12. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetTransformerCommand.d.ts +1 -0
  13. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutTransformerCommand.d.ts +1 -0
  14. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestTransformerCommand.d.ts +1 -0
  15. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +34 -2
  16. package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +4 -0
  17. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +37 -37
  18. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  19. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +6 -0
  20. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
  21. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
  22. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  23. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -0
  24. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +39 -8
  25. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +39 -8
  27. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +39 -8
  28. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +39 -8
  29. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
  30. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +51 -0
  31. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
  32. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  33. package/node_modules/@aws-sdk/client-ses/package.json +35 -35
  34. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  35. package/node_modules/@aws-sdk/core/dist-cjs/index.js +17 -0
  36. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
  37. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  38. package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
  41. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  42. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
  43. package/node_modules/@aws-sdk/core/package.json +11 -11
  44. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  45. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  46. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  47. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  48. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  49. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  50. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  51. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  52. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  53. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  54. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  55. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
  56. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  57. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  58. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  59. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  60. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  61. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  62. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  63. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  64. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  65. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  66. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  67. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  68. package/node_modules/@aws-sdk/types/package.json +2 -2
  69. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  70. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
  71. package/node_modules/@aws-sdk/util-locate-window/package.json +12 -11
  72. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  73. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  74. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  75. package/node_modules/@smithy/config-resolver/README.md +10 -3
  76. package/node_modules/@smithy/config-resolver/package.json +10 -11
  77. package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
  78. package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
  79. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
  80. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
  81. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
  82. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
  83. package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
  84. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
  85. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
  86. package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
  87. package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
  88. package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
  89. package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
  90. package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
  91. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
  92. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
  93. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
  94. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
  95. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
  96. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
  97. package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
  98. package/node_modules/@smithy/core/package.json +15 -16
  99. package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
  100. package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
  101. package/node_modules/@smithy/eventstream-codec/README.md +13 -0
  102. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
  103. package/node_modules/@smithy/eventstream-codec/package.json +6 -7
  104. package/node_modules/@smithy/eventstream-serde-browser/README.md +10 -3
  105. package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
  106. package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +10 -3
  107. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
  108. package/node_modules/@smithy/eventstream-serde-node/README.md +10 -3
  109. package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
  110. package/node_modules/@smithy/eventstream-serde-universal/README.md +10 -3
  111. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
  112. package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
  113. package/node_modules/@smithy/hash-blob-browser/README.md +10 -3
  114. package/node_modules/@smithy/hash-blob-browser/package.json +6 -7
  115. package/node_modules/@smithy/hash-node/README.md +10 -3
  116. package/node_modules/@smithy/hash-node/package.json +6 -7
  117. package/node_modules/@smithy/hash-stream-node/README.md +9 -4
  118. package/node_modules/@smithy/hash-stream-node/package.json +6 -7
  119. package/node_modules/@smithy/invalid-dependency/README.md +10 -3
  120. package/node_modules/@smithy/invalid-dependency/package.json +6 -7
  121. package/node_modules/@smithy/md5-js/README.md +10 -3
  122. package/node_modules/@smithy/md5-js/package.json +6 -7
  123. package/node_modules/@smithy/middleware-content-length/README.md +13 -0
  124. package/node_modules/@smithy/middleware-content-length/package.json +7 -8
  125. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
  126. package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
  127. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
  128. package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
  129. package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
  130. package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
  131. package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
  132. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
  133. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +3 -1
  134. package/node_modules/@smithy/middleware-retry/dist-types/index.d.ts +5 -4
  135. package/node_modules/@smithy/middleware-retry/dist-types/longPollMiddleware.d.ts +15 -0
  136. package/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts +2 -0
  137. package/node_modules/@smithy/middleware-retry/dist-types/parseRetryAfterHeader.d.ts +10 -0
  138. package/node_modules/@smithy/middleware-retry/dist-types/{AdaptiveRetryStrategy.d.ts → retry-pre-sra-deprecated/AdaptiveRetryStrategy.d.ts} +2 -1
  139. package/node_modules/@smithy/middleware-retry/dist-types/{defaultRetryQuota.d.ts → retry-pre-sra-deprecated/defaultRetryQuota.d.ts} +2 -0
  140. package/node_modules/@smithy/middleware-retry/dist-types/{delayDecider.d.ts → retry-pre-sra-deprecated/delayDecider.d.ts} +2 -1
  141. package/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts +0 -4
  142. package/node_modules/@smithy/middleware-retry/package.json +16 -16
  143. package/node_modules/@smithy/middleware-serde/package.json +10 -11
  144. package/node_modules/@smithy/middleware-stack/README.md +13 -0
  145. package/node_modules/@smithy/middleware-stack/package.json +7 -8
  146. package/node_modules/@smithy/node-config-provider/README.md +10 -3
  147. package/node_modules/@smithy/node-config-provider/package.json +8 -9
  148. package/node_modules/@smithy/node-http-handler/package.json +10 -11
  149. package/node_modules/@smithy/property-provider/README.md +10 -3
  150. package/node_modules/@smithy/property-provider/package.json +6 -7
  151. package/node_modules/@smithy/protocol-http/README.md +13 -0
  152. package/node_modules/@smithy/protocol-http/package.json +6 -7
  153. package/node_modules/@smithy/querystring-builder/README.md +10 -3
  154. package/node_modules/@smithy/querystring-builder/package.json +6 -7
  155. package/node_modules/@smithy/querystring-parser/README.md +10 -3
  156. package/node_modules/@smithy/querystring-parser/package.json +6 -7
  157. package/node_modules/@smithy/service-error-classification/README.md +13 -0
  158. package/node_modules/@smithy/service-error-classification/package.json +6 -7
  159. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
  160. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
  161. package/node_modules/@smithy/signature-v4/package.json +9 -10
  162. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  163. package/node_modules/@smithy/smithy-client/package.json +14 -15
  164. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  165. package/node_modules/@smithy/types/dist-types/retry.d.ts +4 -0
  166. package/node_modules/@smithy/types/package.json +7 -8
  167. package/node_modules/@smithy/url-parser/README.md +10 -3
  168. package/node_modules/@smithy/url-parser/package.json +7 -8
  169. package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
  170. package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
  171. package/node_modules/@smithy/util-endpoints/README.md +10 -3
  172. package/node_modules/@smithy/util-endpoints/package.json +9 -10
  173. package/node_modules/@smithy/util-middleware/README.md +9 -4
  174. package/node_modules/@smithy/util-middleware/package.json +6 -7
  175. package/node_modules/@smithy/util-retry/dist-cjs/index.js +135 -80
  176. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +10 -4
  177. package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
  178. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +30 -29
  179. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
  180. package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
  181. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +42 -26
  182. package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
  183. package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
  184. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +13 -8
  185. package/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts +2 -2
  186. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +78 -8
  187. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryBackoffStrategy.d.ts +12 -0
  188. package/node_modules/@smithy/util-retry/dist-types/DefaultRetryToken.d.ts +15 -0
  189. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +26 -4
  190. package/node_modules/@smithy/util-retry/dist-types/config.d.ts +4 -4
  191. package/node_modules/@smithy/util-retry/dist-types/constants.d.ts +15 -14
  192. package/node_modules/@smithy/util-retry/dist-types/index.d.ts +1 -0
  193. package/node_modules/@smithy/util-retry/dist-types/retries-2026-config.d.ts +11 -0
  194. package/node_modules/@smithy/util-retry/dist-types/types.d.ts +1 -1
  195. package/node_modules/@smithy/util-retry/package.json +10 -11
  196. package/node_modules/@smithy/util-stream/package.json +12 -13
  197. package/node_modules/@smithy/util-waiter/package.json +7 -8
  198. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/CHANGELOG.md +172 -0
  199. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/LICENSE +19 -0
  200. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/README.md +207 -0
  201. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charset.js +118 -0
  202. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charsets.js +212 -0
  203. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/get-charset-name.js +227 -0
  204. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/libmime.js +924 -0
  205. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/mimetypes.js +2049 -0
  206. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/package.json +42 -0
  207. package/node_modules/axios/CHANGELOG.md +1 -1
  208. package/node_modules/axios/README.md +90 -17
  209. package/node_modules/axios/dist/axios.js +47 -7
  210. package/node_modules/axios/dist/axios.js.map +1 -1
  211. package/node_modules/axios/dist/axios.min.js +3 -3
  212. package/node_modules/axios/dist/axios.min.js.map +1 -1
  213. package/node_modules/axios/dist/browser/axios.cjs +56 -8
  214. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  215. package/node_modules/axios/dist/esm/axios.js +56 -8
  216. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  217. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  218. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  219. package/node_modules/axios/dist/node/axios.cjs +123 -9
  220. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  221. package/node_modules/axios/lib/adapters/http.js +4 -2
  222. package/node_modules/axios/lib/core/Axios.js +19 -3
  223. package/node_modules/axios/lib/core/AxiosHeaders.js +35 -3
  224. package/node_modules/axios/lib/env/data.js +1 -1
  225. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +106 -0
  226. package/node_modules/axios/package.json +4 -1
  227. package/node_modules/bowser/README.md +74 -7
  228. package/node_modules/bowser/bundled.js +1 -1
  229. package/node_modules/bowser/es5.js +1 -1
  230. package/node_modules/bowser/index.d.ts +115 -12
  231. package/node_modules/bowser/package.json +17 -7
  232. package/node_modules/bowser/src/bowser.js +24 -8
  233. package/node_modules/bowser/src/constants.js +79 -18
  234. package/node_modules/bowser/src/parser-browsers.js +483 -0
  235. package/node_modules/bowser/src/parser-os.js +12 -0
  236. package/node_modules/bowser/src/parser-platforms.js +301 -1
  237. package/node_modules/bowser/src/parser.js +106 -10
  238. package/node_modules/bowser/src/utils.js +33 -15
  239. package/node_modules/call-bind-apply-helpers/.eslintrc +1 -0
  240. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
  241. package/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
  242. package/node_modules/call-bind-apply-helpers/index.js +1 -1
  243. package/node_modules/call-bind-apply-helpers/package.json +8 -8
  244. package/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  245. package/node_modules/get-intrinsic/.eslintrc +4 -0
  246. package/node_modules/get-intrinsic/CHANGELOG.md +8 -0
  247. package/node_modules/get-intrinsic/index.js +1 -0
  248. package/node_modules/get-intrinsic/package.json +8 -8
  249. package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
  250. package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts +211 -0
  251. package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts.map +1 -0
  252. package/node_modules/htmlparser2/node_modules/entities/lib/decode.js +536 -0
  253. package/node_modules/htmlparser2/node_modules/entities/lib/decode.js.map +1 -0
  254. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  255. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  256. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js +76 -0
  257. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  258. package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts +22 -0
  259. package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts.map +1 -0
  260. package/node_modules/htmlparser2/node_modules/entities/lib/encode.js +77 -0
  261. package/node_modules/htmlparser2/node_modules/entities/lib/encode.js.map +1 -0
  262. package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts +43 -0
  263. package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts.map +1 -0
  264. package/node_modules/htmlparser2/node_modules/entities/lib/escape.js +122 -0
  265. package/node_modules/htmlparser2/node_modules/entities/lib/escape.js.map +1 -0
  266. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts +211 -0
  267. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  268. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js +496 -0
  269. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js.map +1 -0
  270. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  271. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  272. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  273. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  274. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts +22 -0
  275. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  276. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js +69 -0
  277. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js.map +1 -0
  278. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts +43 -0
  279. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  280. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js +116 -0
  281. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js.map +1 -0
  282. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  283. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  284. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  285. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  286. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  287. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  288. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  289. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  290. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  291. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  292. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  293. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  294. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts +96 -0
  295. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  296. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js +99 -0
  297. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js.map +1 -0
  298. package/node_modules/htmlparser2/node_modules/entities/lib/esm/package.json +1 -0
  299. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  300. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  301. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  302. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  303. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  304. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  305. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  306. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  307. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  308. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  309. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js +12 -0
  310. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  311. package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts +96 -0
  312. package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts.map +1 -0
  313. package/node_modules/htmlparser2/node_modules/entities/lib/index.js +126 -0
  314. package/node_modules/htmlparser2/node_modules/entities/lib/index.js.map +1 -0
  315. package/node_modules/htmlparser2/node_modules/entities/package.json +90 -0
  316. package/node_modules/htmlparser2/node_modules/entities/readme.md +122 -0
  317. package/node_modules/libmime/CHANGELOG.md +8 -0
  318. package/node_modules/libmime/README.md +1 -1
  319. package/node_modules/libmime/lib/charset.js +5 -5
  320. package/node_modules/libmime/lib/libmime.js +14 -9
  321. package/node_modules/libmime/node_modules/iconv-lite/LICENSE +21 -0
  322. package/node_modules/libmime/node_modules/iconv-lite/README.md +138 -0
  323. package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  324. package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  325. package/node_modules/libmime/node_modules/iconv-lite/encodings/index.js +23 -0
  326. package/node_modules/libmime/node_modules/iconv-lite/encodings/internal.js +218 -0
  327. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  328. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  329. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  330. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  331. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  332. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  333. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  334. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  335. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  336. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  337. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  338. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf16.js +187 -0
  339. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf32.js +307 -0
  340. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf7.js +283 -0
  341. package/node_modules/libmime/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  342. package/node_modules/libmime/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  343. package/node_modules/libmime/node_modules/iconv-lite/lib/index.d.ts +129 -0
  344. package/node_modules/libmime/node_modules/iconv-lite/lib/index.js +182 -0
  345. package/node_modules/libmime/node_modules/iconv-lite/lib/streams.js +105 -0
  346. package/node_modules/libmime/node_modules/iconv-lite/package.json +70 -0
  347. package/node_modules/libmime/node_modules/iconv-lite/types/encodings.d.ts +423 -0
  348. package/node_modules/libmime/package.json +4 -4
  349. package/node_modules/mailparser/.release-please-manifest.json +1 -1
  350. package/node_modules/mailparser/CHANGELOG.md +14 -0
  351. package/node_modules/mailparser/package.json +4 -4
  352. package/node_modules/nodemailer/CHANGELOG.md +8 -0
  353. package/node_modules/nodemailer/CLAUDE.md +55 -0
  354. package/node_modules/nodemailer/lib/smtp-connection/index.js +26 -4
  355. package/node_modules/nodemailer/package.json +4 -4
  356. package/node_modules/path-expression-matcher/README.md +214 -62
  357. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  358. package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
  359. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  360. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  361. package/node_modules/path-expression-matcher/package.json +1 -1
  362. package/node_modules/path-expression-matcher/src/Expression.js +2 -2
  363. package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
  364. package/node_modules/path-expression-matcher/src/Matcher.js +247 -175
  365. package/node_modules/path-expression-matcher/src/index.d.ts +199 -194
  366. package/node_modules/path-expression-matcher/src/index.js +3 -2
  367. package/node_modules/strnum/package.json +1 -1
  368. package/package.json +27 -21
  369. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
  370. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
  371. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
  372. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
  373. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
  374. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
  375. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
  376. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
  377. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
  378. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
  379. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
  380. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
  381. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
  382. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
  383. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
  384. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
  385. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
  386. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
  387. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
  388. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
  389. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
  390. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
  391. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
  392. package/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  393. package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +0 -8
  394. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -18
  395. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +0 -18
  396. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +0 -33
  397. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +0 -3
  398. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +0 -10
  399. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +0 -9
  400. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +0 -5
  401. package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +0 -2
  402. package/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  403. package/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +0 -7
  404. package/node_modules/@smithy/core/dist-types/ts3.4/request-builder/requestBuilder.d.ts +0 -5
  405. package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +0 -12
  406. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +0 -33
  407. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +0 -28
  408. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +0 -6
  409. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +0 -17
  410. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +0 -9
  411. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +0 -65
  412. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +0 -26
  413. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +0 -5
  414. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +0 -31
  415. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +0 -1
  416. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +0 -6
  417. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +0 -60
  418. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/index.d.ts +0 -1
  419. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +0 -31
  420. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +0 -89
  421. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +0 -16
  422. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +0 -16
  423. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +0 -10
  424. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +0 -7
  425. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +0 -13
  426. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +0 -51
  427. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +0 -4
  428. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +0 -13
  429. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +0 -21
  430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +0 -23
  431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +0 -14
  432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +0 -9
  433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +0 -71
  434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +0 -6
  435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +0 -14
  436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +0 -14
  437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +0 -11
  438. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +0 -9
  439. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +0 -6
  440. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +0 -37
  441. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +0 -23
  442. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +0 -24
  443. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -146
  444. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +0 -23
  445. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +0 -16
  446. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +0 -28
  447. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +0 -23
  448. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/operation.d.ts +0 -7
  449. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +0 -23
  450. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +0 -13
  451. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +0 -6
  452. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/date-utils.d.ts +0 -73
  453. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +0 -2
  454. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +0 -10
  455. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/lazy-json.d.ts +0 -45
  456. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +0 -270
  457. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/quote-header.d.ts +0 -6
  458. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/schema-serde-lib/schema-date-utils.d.ts +0 -47
  459. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-every.d.ts +0 -11
  460. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/split-header.d.ts +0 -5
  461. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +0 -33
  462. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +0 -15
  463. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -8
  464. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +0 -8
  465. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +0 -3
  466. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +0 -8
  467. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +0 -3
  468. package/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +0 -30
  469. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  470. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  471. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  472. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  473. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  474. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  475. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  476. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  477. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  478. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  479. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  480. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  481. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  482. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  483. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  484. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  485. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  486. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
  487. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
  488. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
  489. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
  490. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
  491. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
  492. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
  493. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
  494. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
  495. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
  496. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
  497. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
  498. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -47
  499. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts +0 -12
  500. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts +0 -3
  501. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts +0 -13
  502. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +0 -27
  503. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts +0 -4
  504. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
  505. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts +0 -8
  506. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts +0 -3
  507. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -12
  508. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
  509. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts +0 -4
  510. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts +0 -18
  511. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts +0 -8
  512. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts +0 -3
  513. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +0 -6
  514. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -42
  515. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
  516. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
  517. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
  518. package/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts +0 -5
  519. package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
  520. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -11
  521. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -6
  522. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts +0 -8
  523. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -6
  524. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
  525. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
  526. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
  527. package/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts +0 -12
  528. package/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts +0 -16
  529. package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
  530. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +0 -14
  531. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts +0 -1
  532. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +0 -4
  533. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts +0 -28
  534. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts +0 -2
  535. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts +0 -8
  536. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +0 -6
  537. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts +0 -10
  538. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts +0 -11
  539. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +0 -18
  540. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +0 -109
  541. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +0 -32
  542. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts +0 -4
  543. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts +0 -26
  544. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts +0 -41
  545. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -23
  546. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -33
  547. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +0 -66
  548. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts +0 -24
  549. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts +0 -5
  550. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts +0 -7
  551. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts +0 -5
  552. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts +0 -5
  553. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts +0 -13
  554. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +0 -6
  555. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts +0 -18
  556. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts +0 -65
  557. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts +0 -2
  558. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +0 -6
  559. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts +0 -3
  560. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +0 -24
  561. package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +0 -6
  562. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts +0 -5
  563. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts +0 -1
  564. package/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts +0 -22
  565. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts +0 -31
  566. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +0 -20
  567. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts +0 -22
  568. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts +0 -9
  569. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +0 -9
  570. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts +0 -4
  571. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +0 -10
  572. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +0 -5
  573. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +0 -4
  574. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +0 -3
  575. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +0 -46
  576. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +0 -24
  577. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +0 -12
  578. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +0 -63
  579. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +0 -13
  580. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +0 -12
  581. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +0 -2
  582. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +0 -6
  583. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +0 -6
  584. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +0 -2
  585. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +0 -5
  586. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +0 -6
  587. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +0 -13
  588. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +0 -8
  589. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +0 -12
  590. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
  591. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  592. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
  593. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  594. package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  595. package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  596. package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  597. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +0 -50
  598. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +0 -44
  599. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +0 -33
  600. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +0 -1
  601. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +0 -35
  602. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +0 -56
  603. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +0 -29
  604. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +0 -8
  605. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +0 -1
  606. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +0 -21
  607. package/node_modules/@smithy/querystring-builder/dist-types/ts3.4/index.d.ts +0 -5
  608. package/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +0 -5
  609. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +0 -30
  610. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +0 -24
  611. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
  612. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
  613. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  614. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  615. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  616. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  617. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  618. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  619. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
  620. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  621. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
  622. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
  623. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  624. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  625. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  626. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  627. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
  628. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  629. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
  630. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
  631. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
  632. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
  633. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
  634. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
  635. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
  636. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
  637. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
  638. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
  639. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
  640. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
  641. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
  642. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
  643. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
  644. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts +0 -11
  645. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +0 -87
  646. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +0 -5
  647. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +0 -119
  648. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts +0 -4
  649. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +0 -18
  650. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts +0 -15
  651. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts +0 -28
  652. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts +0 -8
  653. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts +0 -42
  654. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +0 -5
  655. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -26
  656. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -38
  657. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +0 -1
  658. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  659. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts +0 -7
  660. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts +0 -7
  661. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +0 -21
  662. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts +0 -5
  663. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts +0 -178
  664. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +0 -5
  665. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts +0 -9
  666. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +0 -15
  667. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +0 -12
  668. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +0 -7
  669. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +0 -50
  670. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +0 -7
  671. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +0 -49
  672. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +0 -20
  673. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +0 -41
  674. package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +0 -14
  675. package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +0 -57
  676. package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +0 -6
  677. package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +0 -40
  678. package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +0 -63
  679. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +0 -57
  680. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +0 -28
  681. package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +0 -10
  682. package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +0 -3
  683. package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +0 -34
  684. package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +0 -32
  685. package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +0 -60
  686. package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +0 -41
  687. package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +0 -31
  688. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +0 -77
  689. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +0 -27
  690. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +0 -10
  691. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +0 -28
  692. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +0 -16
  693. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +0 -5
  694. package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +0 -55
  695. package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +0 -137
  696. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +0 -58
  697. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +0 -33
  698. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +0 -9
  699. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +0 -4
  700. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +0 -18
  701. package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +0 -35
  702. package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +0 -16
  703. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +0 -128
  704. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +0 -113
  705. package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +0 -14
  706. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +0 -31
  707. package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +0 -15
  708. package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +0 -4
  709. package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +0 -14
  710. package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +0 -43
  711. package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +0 -13
  712. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +0 -534
  713. package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +0 -33
  714. package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +0 -30
  715. package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +0 -40
  716. package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +0 -133
  717. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +0 -149
  718. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +0 -251
  719. package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +0 -65
  720. package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +0 -118
  721. package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +0 -46
  722. package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +0 -114
  723. package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +0 -82
  724. package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +0 -155
  725. package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +0 -22
  726. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +0 -32
  727. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +0 -60
  728. package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +0 -51
  729. package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +0 -41
  730. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +0 -26
  731. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +0 -81
  732. package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +0 -14
  733. package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +0 -6
  734. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +0 -88
  735. package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +0 -41
  736. package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +0 -17
  737. package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +0 -192
  738. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +0 -35
  739. package/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +0 -5
  740. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
  741. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
  742. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  743. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
  744. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
  745. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
  746. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
  747. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  748. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
  749. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
  750. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
  751. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
  752. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
  753. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  754. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
  755. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
  756. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
  757. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
  758. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
  759. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
  760. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
  761. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
  762. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
  763. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
  764. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
  765. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
  766. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
  767. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
  768. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
  769. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
  770. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
  771. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
  772. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
  773. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
  774. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
  775. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
  776. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
  777. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
  778. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
  779. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
  780. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
  781. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
  782. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
  783. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
  784. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
  785. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
  786. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
  787. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
  788. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
  789. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
  790. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
  791. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
  792. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +0 -5
  793. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +0 -8
  794. package/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts +0 -7
  795. package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
  796. package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
  797. package/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts +0 -5
  798. package/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts +0 -9
  799. package/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts +0 -33
  800. package/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts +0 -32
  801. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +0 -49
  802. package/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts +0 -26
  803. package/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts +0 -20
  804. package/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts +0 -59
  805. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts +0 -5
  806. package/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts +0 -9
  807. package/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts +0 -7
  808. package/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts +0 -19
  809. package/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts +0 -13
  810. package/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts +0 -22
  811. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts +0 -37
  812. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +0 -61
  813. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +0 -14
  814. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +0 -13
  815. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +0 -15
  816. package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +0 -54
  817. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts +0 -5
  818. package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +0 -10
  819. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +0 -7
  820. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +0 -9
  821. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +0 -12
  822. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts +0 -7
  823. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +0 -8
  824. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +0 -8
  825. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +0 -17
  826. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +0 -17
  827. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
  828. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
  829. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
  830. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
  831. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
  832. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
  833. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
  834. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
  835. package/node_modules/bowser/CHANGELOG.md +0 -218
  836. package/node_modules/strnum/.github/SECURITY.md +0 -5
  837. package/node_modules/strnum/.vscode/launch.json +0 -25
  838. package/node_modules/strnum/algo.stflow +0 -84
  839. package/node_modules/strnum/tests/infinity_test.js +0 -18
  840. package/node_modules/strnum/tests/strnum_test.js +0 -175
  841. package/node_modules/strnum/tests/temp.js +0 -8
  842. /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
  843. /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
  844. /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
  845. /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
  846. /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
  847. /package/node_modules/@smithy/middleware-retry/dist-types/{StandardRetryStrategy.d.ts → retry-pre-sra-deprecated/StandardRetryStrategy.d.ts} +0 -0
  848. /package/node_modules/@smithy/middleware-retry/dist-types/{retryDecider.d.ts → retry-pre-sra-deprecated/retryDecider.d.ts} +0 -0
  849. /package/node_modules/@smithy/middleware-retry/dist-types/{types.d.ts → retry-pre-sra-deprecated/types.d.ts} +0 -0
  850. /package/node_modules/{entities → dom-serializer/node_modules/entities}/LICENSE +0 -0
  851. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts +0 -0
  852. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts.map +0 -0
  853. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js +0 -0
  854. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js.map +0 -0
  855. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts +0 -0
  856. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts.map +0 -0
  857. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js +0 -0
  858. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js.map +0 -0
  859. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts +0 -0
  860. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts.map +0 -0
  861. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js +0 -0
  862. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js.map +0 -0
  863. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts +0 -0
  864. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts.map +0 -0
  865. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js +0 -0
  866. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js.map +0 -0
  867. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts +0 -0
  868. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts.map +0 -0
  869. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js +0 -0
  870. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js.map +0 -0
  871. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts +0 -0
  872. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts.map +0 -0
  873. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js +0 -0
  874. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js.map +0 -0
  875. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts +0 -0
  876. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts.map +0 -0
  877. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js +0 -0
  878. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js.map +0 -0
  879. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts +0 -0
  880. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts.map +0 -0
  881. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js +0 -0
  882. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js.map +0 -0
  883. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts +0 -0
  884. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts.map +0 -0
  885. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js +0 -0
  886. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js.map +0 -0
  887. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts +0 -0
  888. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts.map +0 -0
  889. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js +0 -0
  890. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js.map +0 -0
  891. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts +0 -0
  892. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts.map +0 -0
  893. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js +0 -0
  894. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js.map +0 -0
  895. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts +0 -0
  896. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts.map +0 -0
  897. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js +0 -0
  898. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js.map +0 -0
  899. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/package.json +0 -0
  900. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts +0 -0
  901. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts.map +0 -0
  902. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js +0 -0
  903. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js.map +0 -0
  904. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts +0 -0
  905. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts.map +0 -0
  906. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js +0 -0
  907. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js.map +0 -0
  908. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts +0 -0
  909. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts.map +0 -0
  910. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js +0 -0
  911. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js.map +0 -0
  912. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts +0 -0
  913. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts.map +0 -0
  914. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js +0 -0
  915. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js.map +0 -0
  916. /package/node_modules/{entities → dom-serializer/node_modules/entities}/package.json +0 -0
  917. /package/node_modules/{entities → dom-serializer/node_modules/entities}/readme.md +0 -0
  918. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +0 -0
  919. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
  920. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +0 -0
  921. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js +0 -0
  922. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
  923. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.cjs +0 -0
  924. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +0 -0
  925. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js +0 -0
  926. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js.map +0 -0
  927. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js +0 -0
  928. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js.map +0 -0
  929. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  930. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  931. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/pem.d.cts +0 -0
  932. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +0 -0
  933. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
  934. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
  935. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
  936. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +0 -0
  937. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
  938. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
  939. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/pem.d.ts +0 -0
  940. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
  941. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  942. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  943. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  944. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  945. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  946. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  947. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  948. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  949. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
  950. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
  951. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  952. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
  953. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  954. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  955. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  956. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  957. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  958. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  959. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  960. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  961. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  962. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  963. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  964. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  965. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
  966. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  967. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
  968. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
  969. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
  970. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
  971. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  972. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -0,0 +1,924 @@
1
+ /* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */
2
+ 'use strict';
3
+
4
+ const { Buffer } = require('node:buffer');
5
+ const libcharset = require('./charset');
6
+ const libbase64 = require('libbase64');
7
+ const libqp = require('libqp');
8
+ const mimetypes = require('./mimetypes');
9
+
10
+ const STAGE_KEY = 0x1001;
11
+ const STAGE_VALUE = 0x1002;
12
+
13
+ class Libmime {
14
+ constructor(config) {
15
+ this.config = config || {};
16
+ }
17
+
18
+ /**
19
+ * Checks if a value is plaintext string (uses only printable 7bit chars)
20
+ *
21
+ * @param {String} value String to be tested
22
+ * @returns {Boolean} true if it is a plaintext string
23
+ */
24
+ isPlainText(value) {
25
+ if (typeof value !== 'string' || /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/.test(value)) {
26
+ return false;
27
+ } else {
28
+ return true;
29
+ }
30
+ }
31
+
32
+ /**
33
+ * Checks if a multi line string containes lines longer than the selected value.
34
+ *
35
+ * Useful when detecting if a mail message needs any processing at all –
36
+ * if only plaintext characters are used and lines are short, then there is
37
+ * no need to encode the values in any way. If the value is plaintext but has
38
+ * longer lines then allowed, then use format=flowed
39
+ *
40
+ * @param {Number} lineLength Max line length to check for
41
+ * @returns {Boolean} Returns true if there is at least one line longer than lineLength chars
42
+ */
43
+ hasLongerLines(str, lineLength) {
44
+ return new RegExp('^.{' + (lineLength + 1) + ',}', 'm').test(str);
45
+ }
46
+
47
+ /**
48
+ * Decodes a string from a format=flowed soft wrapping.
49
+ *
50
+ * @param {String} str Plaintext string with format=flowed to decode
51
+ * @param {Boolean} [delSp] If true, delete leading spaces (delsp=yes)
52
+ * @return {String} Mime decoded string
53
+ */
54
+ decodeFlowed(str, delSp) {
55
+ str = (str || '').toString();
56
+
57
+ let lines = str.split(/\r?\n/);
58
+
59
+ let result = [],
60
+ buffer = null;
61
+
62
+ // remove soft linebreaks
63
+ // soft linebreaks are added after space symbols
64
+ for (let i = 0; i < lines.length; i++) {
65
+ let line = lines[i];
66
+
67
+ let isSoftBreak = buffer !== null && / $/.test(buffer) && !/(^|\n)-- $/.test(buffer);
68
+
69
+ if (isSoftBreak) {
70
+ if (delSp) {
71
+ // delsp adds space to text to be able to fold it
72
+ // these spaces can be removed once the text is unfolded
73
+ buffer = buffer.slice(0, -1) + line;
74
+ } else {
75
+ buffer += line;
76
+ }
77
+ } else {
78
+ if (buffer !== null) {
79
+ result.push(buffer);
80
+ }
81
+
82
+ buffer = line;
83
+ }
84
+ }
85
+
86
+ if (buffer) {
87
+ result.push(buffer);
88
+ }
89
+
90
+ // remove whitespace stuffing
91
+ // http://tools.ietf.org/html/rfc3676#section-4.4
92
+ return result.join('\n').replace(/^ /gm, '');
93
+ }
94
+
95
+ /**
96
+ * Adds soft line breaks to content marked with format=flowed to
97
+ * ensure that no line in the message is never longer than lineLength
98
+ *
99
+ * @param {String} str Plaintext string that requires wrapping
100
+ * @param {Number} [lineLength=76] Maximum length of a line
101
+ * @return {String} String with forced line breaks
102
+ */
103
+ encodeFlowed(str, lineLength) {
104
+ lineLength = lineLength || 76;
105
+
106
+ let flowed = [];
107
+ str.split(/\r?\n/).forEach(line => {
108
+ flowed.push(
109
+ this.foldLines(
110
+ line
111
+ // space stuffing http://tools.ietf.org/html/rfc3676#section-4.2
112
+ .replace(/^( |From|>)/gim, ' $1'),
113
+ lineLength,
114
+ true
115
+ )
116
+ );
117
+ });
118
+ return flowed.join('\r\n');
119
+ }
120
+
121
+ /**
122
+ * Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047)
123
+ *
124
+ * @param {String|Buffer} data String to be encoded
125
+ * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B
126
+ * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed
127
+ * @return {String} Single or several mime words joined together
128
+ */
129
+ encodeWord(data, mimeWordEncoding, maxLength) {
130
+ mimeWordEncoding = (mimeWordEncoding || 'Q').toString().toUpperCase().trim().charAt(0);
131
+ maxLength = maxLength || 0;
132
+
133
+ let encodedStr;
134
+ let toCharset = 'UTF-8';
135
+
136
+ if (maxLength && maxLength > 7 + toCharset.length) {
137
+ maxLength -= 7 + toCharset.length;
138
+ }
139
+
140
+ if (mimeWordEncoding === 'Q') {
141
+ // https://tools.ietf.org/html/rfc2047#section-5 rule (3)
142
+ encodedStr = libqp.encode(data).replace(/[^a-z0-9!*+\-/=]/gi, chr => {
143
+ let ord = chr.charCodeAt(0).toString(16).toUpperCase();
144
+ if (chr === ' ') {
145
+ return '_';
146
+ } else {
147
+ return '=' + (ord.length === 1 ? '0' + ord : ord);
148
+ }
149
+ });
150
+ } else if (mimeWordEncoding === 'B') {
151
+ encodedStr = typeof data === 'string' ? data : libbase64.encode(data);
152
+ maxLength = maxLength ? Math.max(3, ((maxLength - (maxLength % 4)) / 4) * 3) : 0;
153
+ }
154
+
155
+ if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64.encode(data)).length > maxLength) {
156
+ if (mimeWordEncoding === 'Q') {
157
+ encodedStr = this.splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?');
158
+ } else {
159
+ // RFC2047 6.3 (2) states that encoded-word must include an integral number of characters, so no chopping unicode sequences
160
+ let parts = [];
161
+ let lpart = '';
162
+ for (let i = 0, len = encodedStr.length; i < len; i++) {
163
+ let chr = encodedStr.charAt(i);
164
+ // check if we can add this character to the existing string
165
+ // without breaking byte length limit
166
+
167
+ if (/[\ud83c\ud83d\ud83e]/.test(chr) && i < len - 1) {
168
+ // composite emoji byte, so add the next byte as well
169
+ chr += encodedStr.charAt(++i);
170
+ }
171
+
172
+ if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) {
173
+ lpart += chr;
174
+ } else {
175
+ // we hit the length limit, so push the existing string and start over
176
+ parts.push(libbase64.encode(lpart));
177
+ lpart = chr;
178
+ }
179
+ }
180
+ if (lpart) {
181
+ parts.push(libbase64.encode(lpart));
182
+ }
183
+
184
+ if (parts.length > 1) {
185
+ encodedStr = parts.join('?= =?' + toCharset + '?' + mimeWordEncoding + '?');
186
+ } else {
187
+ encodedStr = parts.join('');
188
+ }
189
+ }
190
+ } else if (mimeWordEncoding === 'B') {
191
+ encodedStr = libbase64.encode(data);
192
+ }
193
+
194
+ return '=?' + toCharset + '?' + mimeWordEncoding + '?' + encodedStr + (encodedStr.substr(-2) === '?=' ? '' : '?=');
195
+ }
196
+
197
+ /**
198
+ * Decode a complete mime word encoded string
199
+ *
200
+ * @param {String} str Mime word encoded string
201
+ * @return {String} Decoded unicode string
202
+ */
203
+ decodeWord(charset, encoding, str) {
204
+ // RFC2231 added language tag to the encoding
205
+ // see: https://tools.ietf.org/html/rfc2231#section-5
206
+ // this implementation silently ignores this tag
207
+ let splitPos = charset.indexOf('*');
208
+ if (splitPos >= 0) {
209
+ charset = charset.substr(0, splitPos);
210
+ }
211
+ charset = libcharset.normalizeCharset(charset);
212
+
213
+ encoding = encoding.toUpperCase();
214
+
215
+ if (encoding === 'Q') {
216
+ str = str
217
+ // remove spaces between = and hex char, this might indicate invalidly applied line splitting
218
+ .replace(/=\s+([0-9a-fA-F])/g, '=$1')
219
+ // convert all underscores to spaces
220
+ .replace(/[_\s]/g, ' ');
221
+
222
+ let buf = Buffer.from(str);
223
+ let bytes = [];
224
+ for (let i = 0, len = buf.length; i < len; i++) {
225
+ let c = buf[i];
226
+ if (i <= len - 2 && c === 0x3d /* = */) {
227
+ let c1 = this.getHex(buf[i + 1]);
228
+ let c2 = this.getHex(buf[i + 2]);
229
+ if (c1 && c2) {
230
+ let c = parseInt(c1 + c2, 16);
231
+ bytes.push(c);
232
+ i += 2;
233
+ continue;
234
+ }
235
+ }
236
+ bytes.push(c);
237
+ }
238
+ str = Buffer.from(bytes);
239
+ } else if (encoding === 'B') {
240
+ str = Buffer.concat(
241
+ str
242
+ .split('=')
243
+ .filter(s => s !== '') // filter empty string
244
+ .map(str => Buffer.from(str, 'base64'))
245
+ );
246
+ } else {
247
+ // keep as is, convert Buffer to unicode string, assume utf8
248
+ str = Buffer.from(str);
249
+ }
250
+
251
+ return libcharset.decode(str, charset);
252
+ }
253
+
254
+ /**
255
+ * Finds word sequences with non ascii text and converts these to mime words
256
+ *
257
+ * @param {String|Buffer} data String to be encoded
258
+ * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B
259
+ * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed
260
+ * @param {String} [fromCharset='UTF-8'] Source sharacter set
261
+ * @return {String} String with possible mime words
262
+ */
263
+ encodeWords(data, mimeWordEncoding, maxLength, fromCharset) {
264
+ if (!fromCharset && typeof maxLength === 'string' && !maxLength.match(/^[0-9]+$/)) {
265
+ fromCharset = maxLength;
266
+ maxLength = undefined;
267
+ }
268
+
269
+ maxLength = maxLength || 0;
270
+
271
+ let decodedValue = libcharset.decode(libcharset.convert(data || '', fromCharset));
272
+ let encodedValue;
273
+
274
+ let firstMatch = decodedValue.match(/(?:^|\s)([^\s]*[\u0080-\uFFFF])/);
275
+ if (!firstMatch) {
276
+ return decodedValue;
277
+ }
278
+ let lastMatch = decodedValue.match(/([\u0080-\uFFFF][^\s]*)[^\u0080-\uFFFF]*$/);
279
+ if (!lastMatch) {
280
+ // should not happen
281
+ return decodedValue;
282
+ }
283
+ let startIndex =
284
+ firstMatch.index +
285
+ (
286
+ firstMatch[0].match(/[^\s]/) || {
287
+ index: 0
288
+ }
289
+ ).index;
290
+ let endIndex = lastMatch.index + (lastMatch[1] || '').length;
291
+
292
+ encodedValue =
293
+ (startIndex ? decodedValue.substr(0, startIndex) : '') +
294
+ this.encodeWord(decodedValue.substring(startIndex, endIndex), mimeWordEncoding || 'Q', maxLength) +
295
+ (endIndex < decodedValue.length ? decodedValue.substr(endIndex) : '');
296
+
297
+ return encodedValue;
298
+ }
299
+
300
+ /**
301
+ * Decode a string that might include one or several mime words
302
+ *
303
+ * @param {String} str String including some mime words that will be encoded
304
+ * @return {String} Decoded unicode string
305
+ */
306
+ decodeWords(str) {
307
+ return (
308
+ (str || '')
309
+ .toString()
310
+ // find base64 words that can be joined
311
+ .replace(/(=\?([^?]+)\?[Bb]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Bb]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => {
312
+ // only mark b64 chunks to be joined if charsets match
313
+ if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) {
314
+ // set a joiner marker
315
+ return left + '__\x00JOIN\x00__';
316
+ }
317
+ return match;
318
+ })
319
+ // find QP words that can be joined
320
+ .replace(/(=\?([^?]+)\?[Qq]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Qq]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => {
321
+ // only mark QP chunks to be joined if charsets match
322
+ if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) {
323
+ // set a joiner marker
324
+ return left + '__\x00JOIN\x00__';
325
+ }
326
+ return match;
327
+ })
328
+ // join base64 encoded words
329
+ .replace(/(\?=)?__\x00JOIN\x00__(=\?([^?]+)\?[QqBb]\?)?/g, '')
330
+ // remove spaces between mime encoded words
331
+ .replace(/(=\?[^?]+\?[QqBb]\?[^?]*\?=)\s+(?==\?[^?]+\?[QqBb]\?[^?]*\?=)/g, '$1')
332
+ // decode words
333
+ .replace(/=\?([\w_\-*]+)\?([QqBb])\?([^?]*)\?=/g, (m, charset, encoding, text) => this.decodeWord(charset, encoding, text))
334
+ );
335
+ }
336
+
337
+ getHex(c) {
338
+ if ((c >= 0x30 /* 0 */ && c <= 0x39) /* 9 */ || (c >= 0x61 /* a */ && c <= 0x66) /* f */ || (c >= 0x41 /* A */ && c <= 0x46) /* F */) {
339
+ return String.fromCharCode(c);
340
+ }
341
+ return false;
342
+ }
343
+
344
+ /**
345
+ * Splits a string by :
346
+ * The result is not mime word decoded, you need to do your own decoding based
347
+ * on the rules for the specific header key
348
+ *
349
+ * @param {String} headerLine Single header line, might include linebreaks as well if folded
350
+ * @return {Object} And object of {key, value}
351
+ */
352
+ decodeHeader(headerLine) {
353
+ let line = (headerLine || '')
354
+ .toString()
355
+ .replace(/(?:\r?\n|\r)[ \t]*/g, ' ')
356
+ .trim(),
357
+ match = line.match(/^\s*([^:]+):(.*)$/),
358
+ key = ((match && match[1]) || '').trim().toLowerCase(),
359
+ value = ((match && match[2]) || '').trim();
360
+
361
+ return {
362
+ key,
363
+ value
364
+ };
365
+ }
366
+
367
+ /**
368
+ * Parses a block of header lines. Does not decode mime words as every
369
+ * header might have its own rules (eg. formatted email addresses and such)
370
+ *
371
+ * @param {String} headers Headers string
372
+ * @return {Object} An object of headers, where header keys are object keys. NB! Several values with the same key make up an Array
373
+ */
374
+ decodeHeaders(headers) {
375
+ let lines = headers.split(/\r?\n|\r/),
376
+ headersObj = {},
377
+ header,
378
+ i,
379
+ len;
380
+
381
+ for (i = lines.length - 1; i >= 0; i--) {
382
+ if (i && lines[i].match(/^\s/)) {
383
+ lines[i - 1] += '\r\n' + lines[i];
384
+ lines.splice(i, 1);
385
+ }
386
+ }
387
+
388
+ for (i = 0, len = lines.length; i < len; i++) {
389
+ header = this.decodeHeader(lines[i]);
390
+ if (!headersObj[header.key]) {
391
+ headersObj[header.key] = [header.value];
392
+ } else {
393
+ headersObj[header.key].push(header.value);
394
+ }
395
+ }
396
+
397
+ return headersObj;
398
+ }
399
+
400
+ /**
401
+ * Joins parsed header value together as 'value; param1=value1; param2=value2'
402
+ * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes.
403
+ * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html
404
+ * @param {Object} structured Parsed header value
405
+ * @return {String} joined header value
406
+ */
407
+ buildHeaderValue(structured) {
408
+ let paramsArray = [];
409
+
410
+ Object.keys(structured.params || {}).forEach(param => {
411
+ // filename might include unicode characters so it is a special case
412
+ let value = structured.params[param];
413
+ if (!this.isPlainText(value) || value.length >= 75) {
414
+ this.buildHeaderParam(param, value, 50).forEach(encodedParam => {
415
+ if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') {
416
+ paramsArray.push(encodedParam.key + '=' + encodedParam.value);
417
+ } else {
418
+ paramsArray.push(encodedParam.key + '=' + JSON.stringify(encodedParam.value));
419
+ }
420
+ });
421
+ } else if (/[\s'"\\;:/=(),<>@[\]?]|^-/.test(value)) {
422
+ paramsArray.push(param + '=' + JSON.stringify(value));
423
+ } else {
424
+ paramsArray.push(param + '=' + value);
425
+ }
426
+ });
427
+
428
+ return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : '');
429
+ }
430
+
431
+ /**
432
+ * Parses a header value with key=value arguments into a structured
433
+ * object.
434
+ *
435
+ * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8'') ->
436
+ * {
437
+ * 'value': 'text/plain',
438
+ * 'params': {
439
+ * 'charset': 'UTF-8'
440
+ * }
441
+ * }
442
+ *
443
+ * @param {String} str Header value
444
+ * @return {Object} Header value as a parsed structure
445
+ */
446
+ parseHeaderValue(str) {
447
+ let response = {
448
+ value: false,
449
+ params: {}
450
+ };
451
+ let key = false;
452
+ let value = '';
453
+ let stage = STAGE_VALUE;
454
+
455
+ let quote = false;
456
+ let escaped = false;
457
+ let chr;
458
+
459
+ for (let i = 0, len = str.length; i < len; i++) {
460
+ chr = str.charAt(i);
461
+ switch (stage) {
462
+ case STAGE_KEY:
463
+ if (chr === '=') {
464
+ key = value.trim().toLowerCase();
465
+ stage = STAGE_VALUE;
466
+ value = '';
467
+ break;
468
+ }
469
+ value += chr;
470
+ break;
471
+ case STAGE_VALUE:
472
+ if (escaped) {
473
+ value += chr;
474
+ } else if (chr === '\\') {
475
+ escaped = true;
476
+ continue;
477
+ } else if (quote && chr === quote) {
478
+ quote = false;
479
+ } else if (!quote && chr === '"') {
480
+ quote = chr;
481
+ } else if (!quote && chr === ';') {
482
+ if (key === false) {
483
+ response.value = value.trim();
484
+ } else {
485
+ response.params[key] = value.trim();
486
+ }
487
+ stage = STAGE_KEY;
488
+ value = '';
489
+ } else {
490
+ value += chr;
491
+ }
492
+ escaped = false;
493
+ break;
494
+ }
495
+ }
496
+
497
+ // finalize remainder
498
+ value = value.trim();
499
+ if (stage === STAGE_VALUE) {
500
+ if (key === false) {
501
+ // default value
502
+ response.value = value;
503
+ } else {
504
+ // subkey value
505
+ response.params[key] = value;
506
+ }
507
+ } else if (value) {
508
+ // treat as key without value, see emptykey:
509
+ // Header-Key: somevalue; key=value; emptykey
510
+ response.params[value.toLowerCase()] = '';
511
+ }
512
+
513
+ // handle parameter value continuations
514
+ // https://tools.ietf.org/html/rfc2231#section-3
515
+
516
+ // preprocess values
517
+ Object.keys(response.params).forEach(key => {
518
+ let actualKey;
519
+ let nr;
520
+ let value;
521
+
522
+ let match = key.match(/\*((\d+)\*?)?$/);
523
+
524
+ if (!match) {
525
+ // nothing to do here, does not seem like a continuation param
526
+ return;
527
+ }
528
+
529
+ actualKey = key.substr(0, match.index).toLowerCase();
530
+ nr = Number(match[2]) || 0;
531
+
532
+ if (!response.params[actualKey] || typeof response.params[actualKey] !== 'object') {
533
+ response.params[actualKey] = {
534
+ charset: false,
535
+ values: []
536
+ };
537
+ }
538
+
539
+ value = response.params[key];
540
+
541
+ if (nr === 0 && match[0].charAt(match[0].length - 1) === '*' && (match = value.match(/^([^']*)'[^']*'(.*)$/))) {
542
+ response.params[actualKey].charset = match[1] || 'utf-8';
543
+ value = match[2];
544
+ }
545
+
546
+ response.params[actualKey].values.push({ nr, value });
547
+
548
+ // remove the old reference
549
+ delete response.params[key];
550
+ });
551
+
552
+ // concatenate split rfc2231 strings and convert encoded strings to mime encoded words
553
+ Object.keys(response.params).forEach(key => {
554
+ let value;
555
+ if (response.params[key] && Array.isArray(response.params[key].values)) {
556
+ value = response.params[key].values
557
+ .sort((a, b) => a.nr - b.nr)
558
+ .map(val => (val && val.value) || '')
559
+ .join('');
560
+
561
+ if (response.params[key].charset) {
562
+ // convert "%AB" to "=?charset?Q?=AB?=" and then to unicode
563
+ response.params[key] = this.decodeWords(
564
+ '=?' +
565
+ response.params[key].charset +
566
+ '?Q?' +
567
+ value
568
+ // fix invalidly encoded chars
569
+ .replace(/[=?_\s]/g, s => {
570
+ let c = s.charCodeAt(0).toString(16);
571
+ if (s === ' ') {
572
+ return '_';
573
+ } else {
574
+ return '%' + (c.length < 2 ? '0' : '') + c;
575
+ }
576
+ })
577
+ // change from urlencoding to percent encoding
578
+ .replace(/%/g, '=') +
579
+ '?='
580
+ );
581
+ } else {
582
+ response.params[key] = this.decodeWords(value);
583
+ }
584
+ }
585
+ });
586
+
587
+ return response;
588
+ }
589
+
590
+ /**
591
+ * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231)
592
+ * Useful for splitting long parameter values.
593
+ *
594
+ * For example
595
+ * title="unicode string"
596
+ * becomes
597
+ * title*0*=utf-8''unicode
598
+ * title*1*=%20string
599
+ *
600
+ * @param {String|Buffer} data String to be encoded
601
+ * @param {Number} [maxLength=50] Max length for generated chunks
602
+ * @param {String} [fromCharset='UTF-8'] Source sharacter set
603
+ * @return {Array} A list of encoded keys and headers
604
+ */
605
+ buildHeaderParam(key, data, maxLength, fromCharset) {
606
+ let list = [];
607
+ let encodedStr = typeof data === 'string' ? data : this.decode(data, fromCharset);
608
+ let encodedStrArr;
609
+ let chr, ord;
610
+ let line;
611
+ let startPos = 0;
612
+ let isEncoded = false;
613
+ let i, len;
614
+
615
+ maxLength = maxLength || 50;
616
+
617
+ // process ascii only text
618
+ if (this.isPlainText(data)) {
619
+ // check if conversion is even needed
620
+ if (encodedStr.length <= maxLength) {
621
+ return [
622
+ {
623
+ key,
624
+ value: encodedStr
625
+ }
626
+ ];
627
+ }
628
+
629
+ encodedStr = encodedStr.replace(new RegExp('.{' + maxLength + '}', 'g'), str => {
630
+ list.push({
631
+ line: str
632
+ });
633
+ return '';
634
+ });
635
+
636
+ if (encodedStr) {
637
+ list.push({
638
+ line: encodedStr
639
+ });
640
+ }
641
+ } else {
642
+ if (/[\uD800-\uDBFF]/.test(encodedStr)) {
643
+ // string containts surrogate pairs, so normalize it to an array of bytes
644
+ encodedStrArr = [];
645
+ for (i = 0, len = encodedStr.length; i < len; i++) {
646
+ chr = encodedStr.charAt(i);
647
+ ord = chr.charCodeAt(0);
648
+ if (ord >= 0xd800 && ord <= 0xdbff && i < len - 1) {
649
+ chr += encodedStr.charAt(i + 1);
650
+ encodedStrArr.push(chr);
651
+ i++;
652
+ } else {
653
+ encodedStrArr.push(chr);
654
+ }
655
+ }
656
+ encodedStr = encodedStrArr;
657
+ }
658
+
659
+ // first line includes the charset and language info and needs to be encoded
660
+ // even if it does not contain any unicode characters
661
+ line = "utf-8''";
662
+ isEncoded = true;
663
+ startPos = 0;
664
+
665
+ // process text with unicode or special chars
666
+ for (i = 0, len = encodedStr.length; i < len; i++) {
667
+ chr = encodedStr[i];
668
+
669
+ if (isEncoded) {
670
+ chr = this.safeEncodeURIComponent(chr);
671
+ } else {
672
+ // try to urlencode current char
673
+ chr = chr === ' ' ? chr : this.safeEncodeURIComponent(chr);
674
+ // By default it is not required to encode a line, the need
675
+ // only appears when the string contains unicode or special chars
676
+ // in this case we start processing the line over and encode all chars
677
+ if (chr !== encodedStr[i]) {
678
+ // Check if it is even possible to add the encoded char to the line
679
+ // If not, there is no reason to use this line, just push it to the list
680
+ // and start a new line with the char that needs encoding
681
+ if ((this.safeEncodeURIComponent(line) + chr).length >= maxLength) {
682
+ list.push({
683
+ line,
684
+ encoded: isEncoded
685
+ });
686
+ line = '';
687
+ startPos = i - 1;
688
+ } else {
689
+ isEncoded = true;
690
+ i = startPos;
691
+ line = '';
692
+ continue;
693
+ }
694
+ }
695
+ }
696
+
697
+ // if the line is already too long, push it to the list and start a new one
698
+ if ((line + chr).length >= maxLength) {
699
+ list.push({
700
+ line,
701
+ encoded: isEncoded
702
+ });
703
+ line = chr = encodedStr[i] === ' ' ? ' ' : this.safeEncodeURIComponent(encodedStr[i]);
704
+ if (chr === encodedStr[i]) {
705
+ isEncoded = false;
706
+ startPos = i - 1;
707
+ } else {
708
+ isEncoded = true;
709
+ }
710
+ } else {
711
+ line += chr;
712
+ }
713
+ }
714
+
715
+ if (line) {
716
+ list.push({
717
+ line,
718
+ encoded: isEncoded
719
+ });
720
+ }
721
+ }
722
+
723
+ return list.map((item, i) => ({
724
+ // encoded lines: {name}*{part}*
725
+ // unencoded lines: {name}*{part}
726
+ // if any line needs to be encoded then the first line (part==0) is always encoded
727
+ key: key + '*' + i + (item.encoded ? '*' : ''),
728
+ value: item.line
729
+ }));
730
+ }
731
+
732
+ /**
733
+ * Returns file extension for a content type string. If no suitable extensions
734
+ * are found, 'bin' is used as the default extension
735
+ *
736
+ * @param {String} mimeType Content type to be checked for
737
+ * @return {String} File extension
738
+ */
739
+ detectExtension(mimeType) {
740
+ mimeType = (mimeType || '').toString().toLowerCase().replace(/\s/g, '');
741
+ if (!(mimeType in mimetypes.list)) {
742
+ return 'bin';
743
+ }
744
+
745
+ if (typeof mimetypes.list[mimeType] === 'string') {
746
+ return mimetypes.list[mimeType];
747
+ }
748
+
749
+ let mimeParts = mimeType.split('/');
750
+
751
+ // search for name match
752
+ for (let i = 0, len = mimetypes.list[mimeType].length; i < len; i++) {
753
+ if (mimeParts[1] === mimetypes.list[mimeType][i]) {
754
+ return mimetypes.list[mimeType][i];
755
+ }
756
+ }
757
+
758
+ // use the first one
759
+ return mimetypes.list[mimeType][0] !== '*' ? mimetypes.list[mimeType][0] : 'bin';
760
+ }
761
+
762
+ /**
763
+ * Returns content type for a file extension. If no suitable content types
764
+ * are found, 'application/octet-stream' is used as the default content type
765
+ *
766
+ * @param {String} extension Extension to be checked for
767
+ * @return {String} File extension
768
+ */
769
+ detectMimeType(extension) {
770
+ extension = (extension || '').toString().toLowerCase().replace(/\s/g, '').replace(/^\./g, '').split('.').pop();
771
+
772
+ if (!(extension in mimetypes.extensions)) {
773
+ return 'application/octet-stream';
774
+ }
775
+
776
+ if (typeof mimetypes.extensions[extension] === 'string') {
777
+ return mimetypes.extensions[extension];
778
+ }
779
+
780
+ let mimeParts;
781
+
782
+ // search for name match
783
+ for (let i = 0, len = mimetypes.extensions[extension].length; i < len; i++) {
784
+ mimeParts = mimetypes.extensions[extension][i].split('/');
785
+ if (mimeParts[1] === extension) {
786
+ return mimetypes.extensions[extension][i];
787
+ }
788
+ }
789
+
790
+ // use the first one
791
+ return mimetypes.extensions[extension][0];
792
+ }
793
+
794
+ /**
795
+ * Folds long lines, useful for folding header lines (afterSpace=false) and
796
+ * flowed text (afterSpace=true)
797
+ *
798
+ * @param {String} str String to be folded
799
+ * @param {Number} [lineLength=76] Maximum length of a line
800
+ * @param {Boolean} afterSpace If true, leave a space in th end of a line
801
+ * @return {String} String with folded lines
802
+ */
803
+ foldLines(str, lineLength, afterSpace) {
804
+ str = (str || '').toString();
805
+ lineLength = lineLength || 76;
806
+
807
+ let pos = 0,
808
+ len = str.length,
809
+ result = '',
810
+ line,
811
+ match;
812
+
813
+ while (pos < len) {
814
+ line = str.substr(pos, lineLength);
815
+ if (line.length < lineLength) {
816
+ result += line;
817
+ break;
818
+ }
819
+ if ((match = line.match(/^[^\n\r]*(\r?\n|\r)/))) {
820
+ line = match[0];
821
+ result += line;
822
+ pos += line.length;
823
+ continue;
824
+ } else if ((match = line.match(/(\s+)[^\s]*$/)) && match[0].length - (afterSpace ? (match[1] || '').length : 0) < line.length) {
825
+ line = line.substr(0, line.length - (match[0].length - (afterSpace ? (match[1] || '').length : 0)));
826
+ } else if ((match = str.substr(pos + line.length).match(/^[^\s]+(\s*)/))) {
827
+ line = line + match[0].substr(0, match[0].length - (!afterSpace ? (match[1] || '').length : 0));
828
+ }
829
+
830
+ result += line;
831
+ pos += line.length;
832
+ if (pos < len) {
833
+ result += '\r\n';
834
+ }
835
+ }
836
+
837
+ return result;
838
+ }
839
+
840
+ /**
841
+ * Splits a mime encoded string. Needed for dividing mime words into smaller chunks
842
+ *
843
+ * @param {String} str Mime encoded string to be split up
844
+ * @param {Number} maxlen Maximum length of characters for one part (minimum 12)
845
+ * @return {Array} Split string
846
+ */
847
+ splitMimeEncodedString(str, maxlen) {
848
+ let curLine,
849
+ match,
850
+ chr,
851
+ done,
852
+ lines = [];
853
+
854
+ // require at least 12 symbols to fit possible 4 octet UTF-8 sequences
855
+ maxlen = Math.max(maxlen || 0, 12);
856
+
857
+ while (str.length) {
858
+ curLine = str.substr(0, maxlen);
859
+
860
+ // move incomplete escaped char back to main
861
+ if ((match = curLine.match(/[=][0-9A-F]?$/i))) {
862
+ curLine = curLine.substr(0, match.index);
863
+ }
864
+
865
+ done = false;
866
+ while (!done) {
867
+ done = true;
868
+ // check if not middle of a unicode char sequence
869
+ if ((match = str.substr(curLine.length).match(/^[=]([0-9A-F]{2})/i))) {
870
+ chr = parseInt(match[1], 16);
871
+ // invalid sequence, move one char back anc recheck
872
+ if (chr < 0xc2 && chr > 0x7f) {
873
+ curLine = curLine.substr(0, curLine.length - 3);
874
+ done = false;
875
+ }
876
+ }
877
+ }
878
+
879
+ if (curLine.length) {
880
+ lines.push(curLine);
881
+ }
882
+ str = str.substr(curLine.length);
883
+ }
884
+
885
+ return lines;
886
+ }
887
+
888
+ encodeURICharComponent(chr) {
889
+ let res = '';
890
+ let ord = chr.charCodeAt(0).toString(16).toUpperCase();
891
+
892
+ if (ord.length % 2) {
893
+ ord = '0' + ord;
894
+ }
895
+
896
+ if (ord.length > 2) {
897
+ for (let i = 0, len = ord.length / 2; i < len; i++) {
898
+ res += '%' + ord.substr(i, 2);
899
+ }
900
+ } else {
901
+ res += '%' + ord;
902
+ }
903
+
904
+ return res;
905
+ }
906
+
907
+ safeEncodeURIComponent(str) {
908
+ str = (str || '').toString();
909
+
910
+ try {
911
+ // might throw if we try to encode invalid sequences, eg. partial emoji
912
+ str = encodeURIComponent(str);
913
+ } catch (E) {
914
+ // should never run
915
+ return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, '');
916
+ }
917
+
918
+ // ensure chars that are not handled by encodeURICompent are converted as well
919
+ return str.replace(/[\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]/g, chr => this.encodeURICharComponent(chr));
920
+ }
921
+ }
922
+
923
+ module.exports = new Libmime();
924
+ module.exports.Libmime = Libmime;