@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,496 @@
1
+ import htmlDecodeTree from "./generated/decode-data-html.js";
2
+ import xmlDecodeTree from "./generated/decode-data-xml.js";
3
+ import decodeCodePoint, { replaceCodePoint, fromCodePoint, } from "./decode_codepoint.js";
4
+ // Re-export for use by eg. htmlparser2
5
+ export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
6
+ export { replaceCodePoint, fromCodePoint } from "./decode_codepoint.js";
7
+ var CharCodes;
8
+ (function (CharCodes) {
9
+ CharCodes[CharCodes["NUM"] = 35] = "NUM";
10
+ CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
11
+ CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
12
+ CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
13
+ CharCodes[CharCodes["NINE"] = 57] = "NINE";
14
+ CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
15
+ CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
16
+ CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
17
+ CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
18
+ CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
19
+ CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
20
+ CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
21
+ })(CharCodes || (CharCodes = {}));
22
+ /** Bit that needs to be set to convert an upper case ASCII character to lower case */
23
+ const TO_LOWER_BIT = 0b100000;
24
+ export var BinTrieFlags;
25
+ (function (BinTrieFlags) {
26
+ BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
27
+ BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
28
+ BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
29
+ })(BinTrieFlags || (BinTrieFlags = {}));
30
+ function isNumber(code) {
31
+ return code >= CharCodes.ZERO && code <= CharCodes.NINE;
32
+ }
33
+ function isHexadecimalCharacter(code) {
34
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
35
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));
36
+ }
37
+ function isAsciiAlphaNumeric(code) {
38
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
39
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
40
+ isNumber(code));
41
+ }
42
+ /**
43
+ * Checks if the given character is a valid end character for an entity in an attribute.
44
+ *
45
+ * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
46
+ * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
47
+ */
48
+ function isEntityInAttributeInvalidEnd(code) {
49
+ return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
50
+ }
51
+ var EntityDecoderState;
52
+ (function (EntityDecoderState) {
53
+ EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
54
+ EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
55
+ EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
56
+ EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
57
+ EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
58
+ })(EntityDecoderState || (EntityDecoderState = {}));
59
+ export var DecodingMode;
60
+ (function (DecodingMode) {
61
+ /** Entities in text nodes that can end with any character. */
62
+ DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
63
+ /** Only allow entities terminated with a semicolon. */
64
+ DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
65
+ /** Entities in attributes have limitations on ending characters. */
66
+ DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
67
+ })(DecodingMode || (DecodingMode = {}));
68
+ /**
69
+ * Token decoder with support of writing partial entities.
70
+ */
71
+ export class EntityDecoder {
72
+ constructor(
73
+ /** The tree used to decode entities. */
74
+ decodeTree,
75
+ /**
76
+ * The function that is called when a codepoint is decoded.
77
+ *
78
+ * For multi-byte named entities, this will be called multiple times,
79
+ * with the second codepoint, and the same `consumed` value.
80
+ *
81
+ * @param codepoint The decoded codepoint.
82
+ * @param consumed The number of bytes consumed by the decoder.
83
+ */
84
+ emitCodePoint,
85
+ /** An object that is used to produce errors. */
86
+ errors) {
87
+ this.decodeTree = decodeTree;
88
+ this.emitCodePoint = emitCodePoint;
89
+ this.errors = errors;
90
+ /** The current state of the decoder. */
91
+ this.state = EntityDecoderState.EntityStart;
92
+ /** Characters that were consumed while parsing an entity. */
93
+ this.consumed = 1;
94
+ /**
95
+ * The result of the entity.
96
+ *
97
+ * Either the result index of a numeric entity, or the codepoint of a
98
+ * numeric entity.
99
+ */
100
+ this.result = 0;
101
+ /** The current index in the decode tree. */
102
+ this.treeIndex = 0;
103
+ /** The number of characters that were consumed in excess. */
104
+ this.excess = 1;
105
+ /** The mode in which the decoder is operating. */
106
+ this.decodeMode = DecodingMode.Strict;
107
+ }
108
+ /** Resets the instance to make it reusable. */
109
+ startEntity(decodeMode) {
110
+ this.decodeMode = decodeMode;
111
+ this.state = EntityDecoderState.EntityStart;
112
+ this.result = 0;
113
+ this.treeIndex = 0;
114
+ this.excess = 1;
115
+ this.consumed = 1;
116
+ }
117
+ /**
118
+ * Write an entity to the decoder. This can be called multiple times with partial entities.
119
+ * If the entity is incomplete, the decoder will return -1.
120
+ *
121
+ * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
122
+ * entity is incomplete, and resume when the next string is written.
123
+ *
124
+ * @param string The string containing the entity (or a continuation of the entity).
125
+ * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
126
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
127
+ */
128
+ write(str, offset) {
129
+ switch (this.state) {
130
+ case EntityDecoderState.EntityStart: {
131
+ if (str.charCodeAt(offset) === CharCodes.NUM) {
132
+ this.state = EntityDecoderState.NumericStart;
133
+ this.consumed += 1;
134
+ return this.stateNumericStart(str, offset + 1);
135
+ }
136
+ this.state = EntityDecoderState.NamedEntity;
137
+ return this.stateNamedEntity(str, offset);
138
+ }
139
+ case EntityDecoderState.NumericStart: {
140
+ return this.stateNumericStart(str, offset);
141
+ }
142
+ case EntityDecoderState.NumericDecimal: {
143
+ return this.stateNumericDecimal(str, offset);
144
+ }
145
+ case EntityDecoderState.NumericHex: {
146
+ return this.stateNumericHex(str, offset);
147
+ }
148
+ case EntityDecoderState.NamedEntity: {
149
+ return this.stateNamedEntity(str, offset);
150
+ }
151
+ }
152
+ }
153
+ /**
154
+ * Switches between the numeric decimal and hexadecimal states.
155
+ *
156
+ * Equivalent to the `Numeric character reference state` in the HTML spec.
157
+ *
158
+ * @param str The string containing the entity (or a continuation of the entity).
159
+ * @param offset The current offset.
160
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
161
+ */
162
+ stateNumericStart(str, offset) {
163
+ if (offset >= str.length) {
164
+ return -1;
165
+ }
166
+ if ((str.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
167
+ this.state = EntityDecoderState.NumericHex;
168
+ this.consumed += 1;
169
+ return this.stateNumericHex(str, offset + 1);
170
+ }
171
+ this.state = EntityDecoderState.NumericDecimal;
172
+ return this.stateNumericDecimal(str, offset);
173
+ }
174
+ addToNumericResult(str, start, end, base) {
175
+ if (start !== end) {
176
+ const digitCount = end - start;
177
+ this.result =
178
+ this.result * Math.pow(base, digitCount) +
179
+ parseInt(str.substr(start, digitCount), base);
180
+ this.consumed += digitCount;
181
+ }
182
+ }
183
+ /**
184
+ * Parses a hexadecimal numeric entity.
185
+ *
186
+ * Equivalent to the `Hexademical character reference state` in the HTML spec.
187
+ *
188
+ * @param str The string containing the entity (or a continuation of the entity).
189
+ * @param offset The current offset.
190
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
191
+ */
192
+ stateNumericHex(str, offset) {
193
+ const startIdx = offset;
194
+ while (offset < str.length) {
195
+ const char = str.charCodeAt(offset);
196
+ if (isNumber(char) || isHexadecimalCharacter(char)) {
197
+ offset += 1;
198
+ }
199
+ else {
200
+ this.addToNumericResult(str, startIdx, offset, 16);
201
+ return this.emitNumericEntity(char, 3);
202
+ }
203
+ }
204
+ this.addToNumericResult(str, startIdx, offset, 16);
205
+ return -1;
206
+ }
207
+ /**
208
+ * Parses a decimal numeric entity.
209
+ *
210
+ * Equivalent to the `Decimal character reference state` in the HTML spec.
211
+ *
212
+ * @param str The string containing the entity (or a continuation of the entity).
213
+ * @param offset The current offset.
214
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
215
+ */
216
+ stateNumericDecimal(str, offset) {
217
+ const startIdx = offset;
218
+ while (offset < str.length) {
219
+ const char = str.charCodeAt(offset);
220
+ if (isNumber(char)) {
221
+ offset += 1;
222
+ }
223
+ else {
224
+ this.addToNumericResult(str, startIdx, offset, 10);
225
+ return this.emitNumericEntity(char, 2);
226
+ }
227
+ }
228
+ this.addToNumericResult(str, startIdx, offset, 10);
229
+ return -1;
230
+ }
231
+ /**
232
+ * Validate and emit a numeric entity.
233
+ *
234
+ * Implements the logic from the `Hexademical character reference start
235
+ * state` and `Numeric character reference end state` in the HTML spec.
236
+ *
237
+ * @param lastCp The last code point of the entity. Used to see if the
238
+ * entity was terminated with a semicolon.
239
+ * @param expectedLength The minimum number of characters that should be
240
+ * consumed. Used to validate that at least one digit
241
+ * was consumed.
242
+ * @returns The number of characters that were consumed.
243
+ */
244
+ emitNumericEntity(lastCp, expectedLength) {
245
+ var _a;
246
+ // Ensure we consumed at least one digit.
247
+ if (this.consumed <= expectedLength) {
248
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
249
+ return 0;
250
+ }
251
+ // Figure out if this is a legit end of the entity
252
+ if (lastCp === CharCodes.SEMI) {
253
+ this.consumed += 1;
254
+ }
255
+ else if (this.decodeMode === DecodingMode.Strict) {
256
+ return 0;
257
+ }
258
+ this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
259
+ if (this.errors) {
260
+ if (lastCp !== CharCodes.SEMI) {
261
+ this.errors.missingSemicolonAfterCharacterReference();
262
+ }
263
+ this.errors.validateNumericCharacterReference(this.result);
264
+ }
265
+ return this.consumed;
266
+ }
267
+ /**
268
+ * Parses a named entity.
269
+ *
270
+ * Equivalent to the `Named character reference state` in the HTML spec.
271
+ *
272
+ * @param str The string containing the entity (or a continuation of the entity).
273
+ * @param offset The current offset.
274
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
275
+ */
276
+ stateNamedEntity(str, offset) {
277
+ const { decodeTree } = this;
278
+ let current = decodeTree[this.treeIndex];
279
+ // The mask is the number of bytes of the value, including the current byte.
280
+ let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
281
+ for (; offset < str.length; offset++, this.excess++) {
282
+ const char = str.charCodeAt(offset);
283
+ this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);
284
+ if (this.treeIndex < 0) {
285
+ return this.result === 0 ||
286
+ // If we are parsing an attribute
287
+ (this.decodeMode === DecodingMode.Attribute &&
288
+ // We shouldn't have consumed any characters after the entity,
289
+ (valueLength === 0 ||
290
+ // And there should be no invalid characters.
291
+ isEntityInAttributeInvalidEnd(char)))
292
+ ? 0
293
+ : this.emitNotTerminatedNamedEntity();
294
+ }
295
+ current = decodeTree[this.treeIndex];
296
+ valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
297
+ // If the branch is a value, store it and continue
298
+ if (valueLength !== 0) {
299
+ // If the entity is terminated by a semicolon, we are done.
300
+ if (char === CharCodes.SEMI) {
301
+ return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
302
+ }
303
+ // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
304
+ if (this.decodeMode !== DecodingMode.Strict) {
305
+ this.result = this.treeIndex;
306
+ this.consumed += this.excess;
307
+ this.excess = 0;
308
+ }
309
+ }
310
+ }
311
+ return -1;
312
+ }
313
+ /**
314
+ * Emit a named entity that was not terminated with a semicolon.
315
+ *
316
+ * @returns The number of characters consumed.
317
+ */
318
+ emitNotTerminatedNamedEntity() {
319
+ var _a;
320
+ const { result, decodeTree } = this;
321
+ const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
322
+ this.emitNamedEntityData(result, valueLength, this.consumed);
323
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();
324
+ return this.consumed;
325
+ }
326
+ /**
327
+ * Emit a named entity.
328
+ *
329
+ * @param result The index of the entity in the decode tree.
330
+ * @param valueLength The number of bytes in the entity.
331
+ * @param consumed The number of characters consumed.
332
+ *
333
+ * @returns The number of characters consumed.
334
+ */
335
+ emitNamedEntityData(result, valueLength, consumed) {
336
+ const { decodeTree } = this;
337
+ this.emitCodePoint(valueLength === 1
338
+ ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH
339
+ : decodeTree[result + 1], consumed);
340
+ if (valueLength === 3) {
341
+ // For multi-byte values, we need to emit the second byte.
342
+ this.emitCodePoint(decodeTree[result + 2], consumed);
343
+ }
344
+ return consumed;
345
+ }
346
+ /**
347
+ * Signal to the parser that the end of the input was reached.
348
+ *
349
+ * Remaining data will be emitted and relevant errors will be produced.
350
+ *
351
+ * @returns The number of characters consumed.
352
+ */
353
+ end() {
354
+ var _a;
355
+ switch (this.state) {
356
+ case EntityDecoderState.NamedEntity: {
357
+ // Emit a named entity if we have one.
358
+ return this.result !== 0 &&
359
+ (this.decodeMode !== DecodingMode.Attribute ||
360
+ this.result === this.treeIndex)
361
+ ? this.emitNotTerminatedNamedEntity()
362
+ : 0;
363
+ }
364
+ // Otherwise, emit a numeric entity if we have one.
365
+ case EntityDecoderState.NumericDecimal: {
366
+ return this.emitNumericEntity(0, 2);
367
+ }
368
+ case EntityDecoderState.NumericHex: {
369
+ return this.emitNumericEntity(0, 3);
370
+ }
371
+ case EntityDecoderState.NumericStart: {
372
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
373
+ return 0;
374
+ }
375
+ case EntityDecoderState.EntityStart: {
376
+ // Return 0 if we have no entity.
377
+ return 0;
378
+ }
379
+ }
380
+ }
381
+ }
382
+ /**
383
+ * Creates a function that decodes entities in a string.
384
+ *
385
+ * @param decodeTree The decode tree.
386
+ * @returns A function that decodes entities in a string.
387
+ */
388
+ function getDecoder(decodeTree) {
389
+ let ret = "";
390
+ const decoder = new EntityDecoder(decodeTree, (str) => (ret += fromCodePoint(str)));
391
+ return function decodeWithTrie(str, decodeMode) {
392
+ let lastIndex = 0;
393
+ let offset = 0;
394
+ while ((offset = str.indexOf("&", offset)) >= 0) {
395
+ ret += str.slice(lastIndex, offset);
396
+ decoder.startEntity(decodeMode);
397
+ const len = decoder.write(str,
398
+ // Skip the "&"
399
+ offset + 1);
400
+ if (len < 0) {
401
+ lastIndex = offset + decoder.end();
402
+ break;
403
+ }
404
+ lastIndex = offset + len;
405
+ // If `len` is 0, skip the current `&` and continue.
406
+ offset = len === 0 ? lastIndex + 1 : lastIndex;
407
+ }
408
+ const result = ret + str.slice(lastIndex);
409
+ // Make sure we don't keep a reference to the final string.
410
+ ret = "";
411
+ return result;
412
+ };
413
+ }
414
+ /**
415
+ * Determines the branch of the current node that is taken given the current
416
+ * character. This function is used to traverse the trie.
417
+ *
418
+ * @param decodeTree The trie.
419
+ * @param current The current node.
420
+ * @param nodeIdx The index right after the current node and its value.
421
+ * @param char The current character.
422
+ * @returns The index of the next node, or -1 if no branch is taken.
423
+ */
424
+ export function determineBranch(decodeTree, current, nodeIdx, char) {
425
+ const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
426
+ const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
427
+ // Case 1: Single branch encoded in jump offset
428
+ if (branchCount === 0) {
429
+ return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;
430
+ }
431
+ // Case 2: Multiple branches encoded in jump table
432
+ if (jumpOffset) {
433
+ const value = char - jumpOffset;
434
+ return value < 0 || value >= branchCount
435
+ ? -1
436
+ : decodeTree[nodeIdx + value] - 1;
437
+ }
438
+ // Case 3: Multiple branches encoded in dictionary
439
+ // Binary search for the character.
440
+ let lo = nodeIdx;
441
+ let hi = lo + branchCount - 1;
442
+ while (lo <= hi) {
443
+ const mid = (lo + hi) >>> 1;
444
+ const midVal = decodeTree[mid];
445
+ if (midVal < char) {
446
+ lo = mid + 1;
447
+ }
448
+ else if (midVal > char) {
449
+ hi = mid - 1;
450
+ }
451
+ else {
452
+ return decodeTree[mid + branchCount];
453
+ }
454
+ }
455
+ return -1;
456
+ }
457
+ const htmlDecoder = getDecoder(htmlDecodeTree);
458
+ const xmlDecoder = getDecoder(xmlDecodeTree);
459
+ /**
460
+ * Decodes an HTML string.
461
+ *
462
+ * @param str The string to decode.
463
+ * @param mode The decoding mode.
464
+ * @returns The decoded string.
465
+ */
466
+ export function decodeHTML(str, mode = DecodingMode.Legacy) {
467
+ return htmlDecoder(str, mode);
468
+ }
469
+ /**
470
+ * Decodes an HTML string in an attribute.
471
+ *
472
+ * @param str The string to decode.
473
+ * @returns The decoded string.
474
+ */
475
+ export function decodeHTMLAttribute(str) {
476
+ return htmlDecoder(str, DecodingMode.Attribute);
477
+ }
478
+ /**
479
+ * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
480
+ *
481
+ * @param str The string to decode.
482
+ * @returns The decoded string.
483
+ */
484
+ export function decodeHTMLStrict(str) {
485
+ return htmlDecoder(str, DecodingMode.Strict);
486
+ }
487
+ /**
488
+ * Decodes an XML string, requiring all entities to be terminated by a semicolon.
489
+ *
490
+ * @param str The string to decode.
491
+ * @returns The decoded string.
492
+ */
493
+ export function decodeXML(str) {
494
+ return xmlDecoder(str, DecodingMode.Strict);
495
+ }
496
+ //# sourceMappingURL=decode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode.js","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,iCAAiC,CAAC;AAC7D,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,eAAe,EAAE,EACpB,gBAAgB,EAChB,aAAa,GAChB,MAAM,uBAAuB,CAAC;AAE/B,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAExE,IAAW,SAaV;AAbD,WAAW,SAAS;IAChB,wCAAQ,CAAA;IACR,0CAAS,CAAA;IACT,8CAAW,CAAA;IACX,0CAAS,CAAA;IACT,0CAAS,CAAA;IACT,gDAAY,CAAA;IACZ,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,gDAAY,CAAA;IACZ,gDAAY,CAAA;IACZ,gDAAY,CAAA;AAChB,CAAC,EAbU,SAAS,KAAT,SAAS,QAanB;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BAAmB,CAAC,GAAW;IAC3C,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,GAAW;IACxC,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,GAAW;IACjC,OAAO,UAAU,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AAChD,CAAC"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
3
+ */
4
+ export declare const fromCodePoint: (...codePoints: number[]) => string;
5
+ /**
6
+ * Replace the given code point with a replacement character if it is a
7
+ * surrogate or is outside the valid range. Otherwise return the code
8
+ * point unchanged.
9
+ */
10
+ export declare function replaceCodePoint(codePoint: number): number;
11
+ /**
12
+ * Replace the code point if relevant, then convert it to a string.
13
+ *
14
+ * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
15
+ * @param codePoint The code point to decode.
16
+ * @returns The decoded code point.
17
+ */
18
+ export default function decodeCodePoint(codePoint: number): string;
19
+ //# sourceMappingURL=decode_codepoint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode_codepoint.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAkCA;;GAEG;AACH,eAAO,MAAM,aAAa,qCAgBrB,CAAC;AAEN;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,UAMjD;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAEjE"}
@@ -0,0 +1,71 @@
1
+ // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
2
+ var _a;
3
+ const decodeMap = new Map([
4
+ [0, 65533],
5
+ // C1 Unicode control character reference replacements
6
+ [128, 8364],
7
+ [130, 8218],
8
+ [131, 402],
9
+ [132, 8222],
10
+ [133, 8230],
11
+ [134, 8224],
12
+ [135, 8225],
13
+ [136, 710],
14
+ [137, 8240],
15
+ [138, 352],
16
+ [139, 8249],
17
+ [140, 338],
18
+ [142, 381],
19
+ [145, 8216],
20
+ [146, 8217],
21
+ [147, 8220],
22
+ [148, 8221],
23
+ [149, 8226],
24
+ [150, 8211],
25
+ [151, 8212],
26
+ [152, 732],
27
+ [153, 8482],
28
+ [154, 353],
29
+ [155, 8250],
30
+ [156, 339],
31
+ [158, 382],
32
+ [159, 376],
33
+ ]);
34
+ /**
35
+ * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
36
+ */
37
+ export const fromCodePoint =
38
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
39
+ (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
40
+ let output = "";
41
+ if (codePoint > 0xffff) {
42
+ codePoint -= 0x10000;
43
+ output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);
44
+ codePoint = 0xdc00 | (codePoint & 0x3ff);
45
+ }
46
+ output += String.fromCharCode(codePoint);
47
+ return output;
48
+ };
49
+ /**
50
+ * Replace the given code point with a replacement character if it is a
51
+ * surrogate or is outside the valid range. Otherwise return the code
52
+ * point unchanged.
53
+ */
54
+ export function replaceCodePoint(codePoint) {
55
+ var _a;
56
+ if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {
57
+ return 0xfffd;
58
+ }
59
+ return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;
60
+ }
61
+ /**
62
+ * Replace the code point if relevant, then convert it to a string.
63
+ *
64
+ * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
65
+ * @param codePoint The code point to decode.
66
+ * @returns The decoded code point.
67
+ */
68
+ export default function decodeCodePoint(codePoint) {
69
+ return fromCodePoint(replaceCodePoint(codePoint));
70
+ }
71
+ //# sourceMappingURL=decode_codepoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode_codepoint.js","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["decode_codepoint.ts"],"names":[],"mappings":"AAAA,qHAAqH;;AAErH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACtB,CAAC,CAAC,EAAE,KAAK,CAAC;IACV,sDAAsD;IACtD,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,GAAG,CAAC;IACV,CAAC,GAAG,EAAE,GAAG,CAAC;CACb,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa;AACtB,iHAAiH;AACjH,MAAA,MAAM,CAAC,aAAa,mCACpB,UAAU,SAAiB;IACvB,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,IAAI,SAAS,GAAG,MAAM,EAAE;QACpB,SAAS,IAAI,OAAO,CAAC;QACrB,MAAM,IAAI,MAAM,CAAC,YAAY,CACzB,CAAC,CAAC,SAAS,KAAK,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,MAAM,CACxC,CAAC;QACF,SAAS,GAAG,MAAM,GAAG,CAAC,SAAS,GAAG,KAAK,CAAC,CAAC;KAC5C;IAED,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzC,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC;AAEN;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAiB;;IAC9C,IAAI,CAAC,SAAS,IAAI,MAAM,IAAI,SAAS,IAAI,MAAM,CAAC,IAAI,SAAS,GAAG,QAAQ,EAAE;QACtE,OAAO,MAAM,CAAC;KACjB;IAED,OAAO,MAAA,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,SAAiB;IACrD,OAAO,aAAa,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Encodes all characters in the input using HTML entities. This includes
3
+ * characters that are valid ASCII characters in HTML documents, such as `#`.
4
+ *
5
+ * To get a more compact output, consider using the `encodeNonAsciiHTML`
6
+ * function, which will only encode characters that are not valid in HTML
7
+ * documents, as well as non-ASCII characters.
8
+ *
9
+ * If a character has no equivalent entity, a numeric hexadecimal reference
10
+ * (eg. `&#xfc;`) will be used.
11
+ */
12
+ export declare function encodeHTML(data: string): string;
13
+ /**
14
+ * Encodes all non-ASCII characters, as well as characters not valid in HTML
15
+ * documents using HTML entities. This function will not encode characters that
16
+ * are valid in HTML documents, such as `#`.
17
+ *
18
+ * If a character has no equivalent entity, a numeric hexadecimal reference
19
+ * (eg. `&#xfc;`) will be used.
20
+ */
21
+ export declare function encodeNonAsciiHTML(data: string): string;
22
+ //# sourceMappingURL=encode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encode.d.ts","sourceRoot":"https://raw.githubusercontent.com/fb55/entities/61afd4701eaa736978b13c7351cd3de9a96b04bc/src/","sources":["encode.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AACD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvD"}