@mavogel/awscdk-rootmail 0.0.333 → 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 (689) 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/package.json +37 -37
  10. package/node_modules/@aws-sdk/client-route-53/package.json +36 -36
  11. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +5 -0
  12. package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +5 -0
  16. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +5 -0
  17. package/node_modules/@aws-sdk/client-s3/package.json +50 -50
  18. package/node_modules/@aws-sdk/client-ses/package.json +35 -35
  19. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  20. package/node_modules/@aws-sdk/core/dist-cjs/index.js +17 -0
  21. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +17 -0
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/client/longPollMiddleware.js +15 -0
  24. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  25. package/node_modules/@aws-sdk/core/dist-types/submodules/client/longPollMiddleware.d.ts +14 -0
  26. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  27. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +15 -0
  28. package/node_modules/@aws-sdk/core/package.json +11 -11
  29. package/node_modules/@aws-sdk/crc64-nvme/package.json +2 -2
  30. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  31. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  32. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  33. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  34. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  35. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  36. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  37. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  38. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  39. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  40. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +10 -10
  41. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  42. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  43. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  44. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  45. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  46. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  47. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  48. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  49. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  50. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  51. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  52. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  53. package/node_modules/@aws-sdk/types/package.json +2 -2
  54. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  55. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
  56. package/node_modules/@aws-sdk/util-locate-window/package.json +12 -11
  57. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  58. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  59. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  60. package/node_modules/@smithy/config-resolver/README.md +10 -3
  61. package/node_modules/@smithy/config-resolver/package.json +10 -11
  62. package/node_modules/@smithy/credential-provider-imds/README.md +12 -3
  63. package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
  64. package/node_modules/@smithy/eventstream-codec/README.md +13 -0
  65. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
  66. package/node_modules/@smithy/eventstream-codec/package.json +6 -7
  67. package/node_modules/@smithy/eventstream-serde-browser/README.md +10 -3
  68. package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
  69. package/node_modules/@smithy/eventstream-serde-config-resolver/README.md +10 -3
  70. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
  71. package/node_modules/@smithy/eventstream-serde-node/README.md +10 -3
  72. package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
  73. package/node_modules/@smithy/eventstream-serde-universal/README.md +10 -3
  74. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
  75. package/node_modules/@smithy/hash-blob-browser/README.md +10 -3
  76. package/node_modules/@smithy/hash-blob-browser/package.json +6 -7
  77. package/node_modules/@smithy/hash-node/README.md +10 -3
  78. package/node_modules/@smithy/hash-node/package.json +6 -7
  79. package/node_modules/@smithy/hash-stream-node/README.md +9 -4
  80. package/node_modules/@smithy/hash-stream-node/package.json +6 -7
  81. package/node_modules/@smithy/invalid-dependency/README.md +10 -3
  82. package/node_modules/@smithy/invalid-dependency/package.json +6 -7
  83. package/node_modules/@smithy/md5-js/README.md +10 -3
  84. package/node_modules/@smithy/md5-js/package.json +6 -7
  85. package/node_modules/@smithy/middleware-content-length/README.md +13 -0
  86. package/node_modules/@smithy/middleware-content-length/package.json +7 -8
  87. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  88. package/node_modules/@smithy/property-provider/README.md +10 -3
  89. package/node_modules/@smithy/property-provider/package.json +6 -7
  90. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
  91. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
  92. package/node_modules/@smithy/signature-v4/package.json +9 -10
  93. package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
  94. package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
  95. package/node_modules/@smithy/util-endpoints/README.md +10 -3
  96. package/node_modules/@smithy/util-endpoints/package.json +9 -10
  97. package/node_modules/@smithy/util-retry/dist-cjs/index.js +6 -0
  98. package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +3 -0
  99. package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +3 -0
  100. package/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts +5 -0
  101. package/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts +5 -0
  102. package/node_modules/@smithy/util-retry/package.json +1 -1
  103. package/node_modules/@smithy/util-waiter/package.json +7 -8
  104. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/CHANGELOG.md +172 -0
  105. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/LICENSE +19 -0
  106. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/README.md +207 -0
  107. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charset.js +118 -0
  108. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/charsets.js +212 -0
  109. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/get-charset-name.js +227 -0
  110. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/libmime.js +924 -0
  111. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/lib/mimetypes.js +2049 -0
  112. package/node_modules/@zone-eu/mailsplit/node_modules/libmime/package.json +42 -0
  113. package/node_modules/axios/CHANGELOG.md +1 -1
  114. package/node_modules/axios/README.md +90 -17
  115. package/node_modules/axios/dist/axios.js +47 -7
  116. package/node_modules/axios/dist/axios.js.map +1 -1
  117. package/node_modules/axios/dist/axios.min.js +3 -3
  118. package/node_modules/axios/dist/axios.min.js.map +1 -1
  119. package/node_modules/axios/dist/browser/axios.cjs +56 -8
  120. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  121. package/node_modules/axios/dist/esm/axios.js +56 -8
  122. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  123. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  124. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  125. package/node_modules/axios/dist/node/axios.cjs +123 -9
  126. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  127. package/node_modules/axios/lib/adapters/http.js +4 -2
  128. package/node_modules/axios/lib/core/Axios.js +19 -3
  129. package/node_modules/axios/lib/core/AxiosHeaders.js +35 -3
  130. package/node_modules/axios/lib/env/data.js +1 -1
  131. package/node_modules/axios/lib/helpers/shouldBypassProxy.js +106 -0
  132. package/node_modules/axios/package.json +4 -1
  133. package/node_modules/bowser/README.md +74 -7
  134. package/node_modules/bowser/bundled.js +1 -1
  135. package/node_modules/bowser/es5.js +1 -1
  136. package/node_modules/bowser/index.d.ts +115 -12
  137. package/node_modules/bowser/package.json +17 -7
  138. package/node_modules/bowser/src/bowser.js +24 -8
  139. package/node_modules/bowser/src/constants.js +79 -18
  140. package/node_modules/bowser/src/parser-browsers.js +483 -0
  141. package/node_modules/bowser/src/parser-os.js +12 -0
  142. package/node_modules/bowser/src/parser-platforms.js +301 -1
  143. package/node_modules/bowser/src/parser.js +106 -10
  144. package/node_modules/bowser/src/utils.js +33 -15
  145. package/node_modules/call-bind-apply-helpers/.eslintrc +1 -0
  146. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +7 -0
  147. package/node_modules/call-bind-apply-helpers/index.d.ts +38 -20
  148. package/node_modules/call-bind-apply-helpers/index.js +1 -1
  149. package/node_modules/call-bind-apply-helpers/package.json +8 -8
  150. package/node_modules/call-bind-apply-helpers/test/index.js +4 -4
  151. package/node_modules/get-intrinsic/.eslintrc +4 -0
  152. package/node_modules/get-intrinsic/CHANGELOG.md +8 -0
  153. package/node_modules/get-intrinsic/index.js +1 -0
  154. package/node_modules/get-intrinsic/package.json +8 -8
  155. package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
  156. package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts +211 -0
  157. package/node_modules/htmlparser2/node_modules/entities/lib/decode.d.ts.map +1 -0
  158. package/node_modules/htmlparser2/node_modules/entities/lib/decode.js +536 -0
  159. package/node_modules/htmlparser2/node_modules/entities/lib/decode.js.map +1 -0
  160. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  161. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  162. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js +76 -0
  163. package/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  164. package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts +22 -0
  165. package/node_modules/htmlparser2/node_modules/entities/lib/encode.d.ts.map +1 -0
  166. package/node_modules/htmlparser2/node_modules/entities/lib/encode.js +77 -0
  167. package/node_modules/htmlparser2/node_modules/entities/lib/encode.js.map +1 -0
  168. package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts +43 -0
  169. package/node_modules/htmlparser2/node_modules/entities/lib/escape.d.ts.map +1 -0
  170. package/node_modules/htmlparser2/node_modules/entities/lib/escape.js +122 -0
  171. package/node_modules/htmlparser2/node_modules/entities/lib/escape.js.map +1 -0
  172. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts +211 -0
  173. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  174. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js +496 -0
  175. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode.js.map +1 -0
  176. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  177. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  178. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  179. package/node_modules/htmlparser2/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  180. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts +22 -0
  181. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  182. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js +69 -0
  183. package/node_modules/htmlparser2/node_modules/entities/lib/esm/encode.js.map +1 -0
  184. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts +43 -0
  185. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  186. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js +116 -0
  187. package/node_modules/htmlparser2/node_modules/entities/lib/esm/escape.js.map +1 -0
  188. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  189. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  190. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  191. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  192. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  193. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  194. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  195. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  196. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  197. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  198. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  199. package/node_modules/htmlparser2/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  200. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts +96 -0
  201. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  202. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js +99 -0
  203. package/node_modules/htmlparser2/node_modules/entities/lib/esm/index.js.map +1 -0
  204. package/node_modules/htmlparser2/node_modules/entities/lib/esm/package.json +1 -0
  205. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  206. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  207. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  208. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  209. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  210. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  211. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  212. package/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  213. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  214. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  215. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js +12 -0
  216. package/node_modules/htmlparser2/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  217. package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts +96 -0
  218. package/node_modules/htmlparser2/node_modules/entities/lib/index.d.ts.map +1 -0
  219. package/node_modules/htmlparser2/node_modules/entities/lib/index.js +126 -0
  220. package/node_modules/htmlparser2/node_modules/entities/lib/index.js.map +1 -0
  221. package/node_modules/htmlparser2/node_modules/entities/package.json +90 -0
  222. package/node_modules/htmlparser2/node_modules/entities/readme.md +122 -0
  223. package/node_modules/libmime/CHANGELOG.md +8 -0
  224. package/node_modules/libmime/README.md +1 -1
  225. package/node_modules/libmime/lib/charset.js +5 -5
  226. package/node_modules/libmime/lib/libmime.js +14 -9
  227. package/node_modules/libmime/node_modules/iconv-lite/LICENSE +21 -0
  228. package/node_modules/libmime/node_modules/iconv-lite/README.md +138 -0
  229. package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
  230. package/node_modules/libmime/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
  231. package/node_modules/libmime/node_modules/iconv-lite/encodings/index.js +23 -0
  232. package/node_modules/libmime/node_modules/iconv-lite/encodings/internal.js +218 -0
  233. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
  234. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  235. package/node_modules/libmime/node_modules/iconv-lite/encodings/sbcs-data.js +178 -0
  236. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  237. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  238. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  239. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  240. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  241. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  242. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  243. package/node_modules/libmime/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  244. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf16.js +187 -0
  245. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf32.js +307 -0
  246. package/node_modules/libmime/node_modules/iconv-lite/encodings/utf7.js +283 -0
  247. package/node_modules/libmime/node_modules/iconv-lite/lib/bom-handling.js +48 -0
  248. package/node_modules/libmime/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
  249. package/node_modules/libmime/node_modules/iconv-lite/lib/index.d.ts +129 -0
  250. package/node_modules/libmime/node_modules/iconv-lite/lib/index.js +182 -0
  251. package/node_modules/libmime/node_modules/iconv-lite/lib/streams.js +105 -0
  252. package/node_modules/libmime/node_modules/iconv-lite/package.json +70 -0
  253. package/node_modules/libmime/node_modules/iconv-lite/types/encodings.d.ts +423 -0
  254. package/node_modules/libmime/package.json +4 -4
  255. package/node_modules/mailparser/.release-please-manifest.json +1 -1
  256. package/node_modules/mailparser/CHANGELOG.md +14 -0
  257. package/node_modules/mailparser/package.json +4 -4
  258. package/node_modules/nodemailer/CHANGELOG.md +8 -0
  259. package/node_modules/nodemailer/CLAUDE.md +55 -0
  260. package/node_modules/nodemailer/lib/smtp-connection/index.js +26 -4
  261. package/node_modules/nodemailer/package.json +4 -4
  262. package/node_modules/path-expression-matcher/README.md +214 -62
  263. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
  264. package/node_modules/path-expression-matcher/lib/pem.d.cts +111 -0
  265. package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
  266. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -1
  267. package/node_modules/path-expression-matcher/package.json +1 -1
  268. package/node_modules/path-expression-matcher/src/Expression.js +2 -2
  269. package/node_modules/path-expression-matcher/src/ExpressionSet.js +209 -0
  270. package/node_modules/path-expression-matcher/src/Matcher.js +247 -175
  271. package/node_modules/path-expression-matcher/src/index.d.ts +199 -194
  272. package/node_modules/path-expression-matcher/src/index.js +3 -2
  273. package/node_modules/strnum/package.json +1 -1
  274. package/package.json +27 -21
  275. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +0 -23
  276. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +0 -23
  277. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts +0 -16
  278. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts +0 -37
  279. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts +0 -57
  280. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts +0 -11
  281. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts +0 -12
  282. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts +0 -9
  283. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +0 -17
  284. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +0 -4
  285. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +0 -8
  286. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +0 -4
  287. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +0 -34
  288. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts +0 -11
  289. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts +0 -10
  290. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts +0 -15
  291. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts +0 -13
  292. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts +0 -14
  293. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts +0 -19
  294. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts +0 -13
  295. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts +0 -13
  296. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts +0 -14
  297. package/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts +0 -12
  298. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/Endpoint.d.ts +0 -7
  299. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointConfigOptions.d.ts +0 -13
  300. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointMode.d.ts +0 -7
  301. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/config/EndpointModeConfigOptions.d.ts +0 -13
  302. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/error/InstanceMetadataV1FallbackError.d.ts +0 -12
  303. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromContainerMetadata.d.ts +0 -21
  304. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/fromInstanceMetadata.d.ts +0 -10
  305. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +0 -28
  306. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +0 -19
  307. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/RemoteProviderInit.d.ts +0 -40
  308. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +0 -6
  309. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/index.d.ts +0 -8
  310. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/retry.d.ts +0 -10
  311. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/types.d.ts +0 -7
  312. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getExtendedInstanceMetadataCredentials.d.ts +0 -6
  313. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/getInstanceMetadataEndpoint.d.ts +0 -21
  314. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/utils/staticStabilityProvider.d.ts +0 -16
  315. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/EventStreamCodec.d.ts +0 -31
  316. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/HeaderMarshaller.d.ts +0 -12
  317. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Int64.d.ts +0 -20
  318. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/Message.d.ts +0 -26
  319. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageDecoderStream.d.ts +0 -17
  320. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/MessageEncoderStream.d.ts +0 -18
  321. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageDecoderStream.d.ts +0 -17
  322. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/SmithyMessageEncoderStream.d.ts +0 -17
  323. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/TestVectors.fixture.d.ts +0 -2
  324. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/index.d.ts +0 -8
  325. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/splitMessage.d.ts +0 -11
  326. package/node_modules/@smithy/eventstream-codec/dist-types/ts3.4/vectorTypes.fixture.d.ts +0 -12
  327. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -47
  328. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts +0 -12
  329. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts +0 -3
  330. package/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts +0 -13
  331. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +0 -27
  332. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts +0 -4
  333. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
  334. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts +0 -8
  335. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts +0 -3
  336. package/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +0 -12
  337. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts +0 -23
  338. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts +0 -4
  339. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts +0 -18
  340. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts +0 -8
  341. package/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts +0 -3
  342. package/node_modules/@smithy/hash-blob-browser/dist-types/ts3.4/index.d.ts +0 -5
  343. package/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts +0 -13
  344. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/HashCalculator.d.ts +0 -11
  345. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/fileStreamHasher.d.ts +0 -6
  346. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/index.d.ts +0 -8
  347. package/node_modules/@smithy/hash-stream-node/dist-types/ts3.4/readableStreamHasher.d.ts +0 -6
  348. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts +0 -8
  349. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts +0 -4
  350. package/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts +0 -5
  351. package/node_modules/@smithy/md5-js/dist-types/ts3.4/constants.d.ts +0 -12
  352. package/node_modules/@smithy/md5-js/dist-types/ts3.4/index.d.ts +0 -16
  353. package/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts +0 -6
  354. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  355. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  356. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  357. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  358. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
  359. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
  360. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
  361. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +0 -1
  362. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +0 -16
  363. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  364. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  365. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  366. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  367. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  368. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  369. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
  370. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  371. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
  372. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  373. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  374. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  375. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  376. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  377. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +0 -12
  378. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
  379. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +0 -4
  380. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +0 -9
  381. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  382. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  383. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  384. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  385. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  386. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  387. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
  388. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  389. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
  390. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -33
  391. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  392. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  393. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  394. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  395. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +0 -21
  396. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  397. package/node_modules/@smithy/middleware-endpoint/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  398. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/LICENSE +0 -201
  399. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/README.md +0 -17
  400. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -117
  401. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +0 -8
  402. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/ProviderError.js +0 -23
  403. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +0 -8
  404. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/chain.js +0 -21
  405. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/fromStatic.js +0 -1
  406. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/index.js +0 -6
  407. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-es/memoize.js +0 -45
  408. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +0 -31
  409. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +0 -39
  410. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +0 -31
  411. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/chain.d.ts +0 -13
  412. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +0 -5
  413. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/index.d.ts +0 -24
  414. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +0 -40
  415. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/property-provider/package.json +0 -60
  416. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/LICENSE +0 -201
  417. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/README.md +0 -105
  418. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +0 -26
  419. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js +0 -12
  420. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js +0 -15
  421. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -196
  422. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js +0 -16
  423. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js +0 -1
  424. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js +0 -16
  425. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js +0 -18
  426. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js +0 -4
  427. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js +0 -4
  428. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +0 -22
  429. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js +0 -3
  430. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js +0 -8
  431. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js +0 -11
  432. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +0 -5
  433. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -10
  434. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +0 -39
  435. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js +0 -9
  436. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js +0 -14
  437. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +0 -52
  438. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js +0 -6
  439. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js +0 -12
  440. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js +0 -1
  441. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts +0 -4
  442. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts +0 -9
  443. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts +0 -8
  444. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts +0 -2
  445. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts +0 -2
  446. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts +0 -6
  447. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts +0 -15
  448. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts +0 -5
  449. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts +0 -52
  450. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts +0 -6
  451. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts +0 -10
  452. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +0 -33
  453. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts +0 -17
  454. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +0 -7
  455. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts +0 -2
  456. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts +0 -18
  457. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts +0 -21
  458. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts +0 -16
  459. package/node_modules/@smithy/node-config-provider/node_modules/@smithy/shared-ini-file-loader/package.json +0 -72
  460. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +0 -31
  461. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +0 -39
  462. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +0 -31
  463. package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +0 -13
  464. package/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +0 -5
  465. package/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +0 -24
  466. package/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +0 -40
  467. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts +0 -4
  468. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts +0 -9
  469. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts +0 -8
  470. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts +0 -2
  471. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts +0 -2
  472. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts +0 -6
  473. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts +0 -15
  474. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts +0 -5
  475. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts +0 -52
  476. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts +0 -6
  477. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts +0 -10
  478. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +0 -33
  479. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts +0 -17
  480. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +0 -7
  481. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts +0 -2
  482. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts +0 -18
  483. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts +0 -21
  484. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts +0 -16
  485. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +0 -24
  486. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +0 -21
  487. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +0 -69
  488. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/constants.d.ts +0 -43
  489. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/credentialDerivation.d.ts +0 -30
  490. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalHeaders.d.ts +0 -5
  491. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getCanonicalQuery.d.ts +0 -5
  492. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/getPayloadHash.d.ts +0 -5
  493. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/headerUtil.d.ts +0 -4
  494. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +0 -11
  495. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +0 -10
  496. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +0 -5
  497. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +0 -24
  498. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/suite.fixture.d.ts +0 -14
  499. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/utilDate.d.ts +0 -2
  500. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts +0 -12
  501. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts +0 -4
  502. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  503. package/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts +0 -16
  504. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts +0 -24
  505. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts +0 -6
  506. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts +0 -4
  507. package/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts +0 -17
  508. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +0 -34
  509. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts +0 -1
  510. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts +0 -2
  511. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts +0 -9
  512. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts +0 -2
  513. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  514. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts +0 -5
  515. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts +0 -7
  516. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts +0 -4
  517. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts +0 -9
  518. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -4
  519. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts +0 -5
  520. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts +0 -7
  521. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts +0 -5
  522. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts +0 -5
  523. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts +0 -5
  524. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts +0 -7
  525. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts +0 -4
  526. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -6
  527. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -3
  528. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts +0 -2
  529. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -5
  530. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -2
  531. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -4
  532. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -3
  533. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -7
  534. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -25
  535. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts +0 -1
  536. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts +0 -4
  537. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts +0 -11
  538. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts +0 -8
  539. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts +0 -8
  540. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts +0 -3
  541. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts +0 -2
  542. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts +0 -7
  543. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts +0 -8
  544. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts +0 -2
  545. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts +0 -1
  546. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts +0 -2
  547. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts +0 -8
  548. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts +0 -1
  549. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts +0 -2
  550. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts +0 -2
  551. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts +0 -2
  552. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts +0 -6
  553. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts +0 -11
  554. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts +0 -2
  555. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts +0 -10
  556. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts +0 -8
  557. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts +0 -4
  558. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts +0 -8
  559. package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +0 -49
  560. package/node_modules/bowser/CHANGELOG.md +0 -218
  561. package/node_modules/strnum/.github/SECURITY.md +0 -5
  562. package/node_modules/strnum/.vscode/launch.json +0 -25
  563. package/node_modules/strnum/algo.stflow +0 -84
  564. package/node_modules/strnum/tests/infinity_test.js +0 -18
  565. package/node_modules/strnum/tests/strnum_test.js +0 -175
  566. package/node_modules/strnum/tests/temp.js +0 -8
  567. /package/node_modules/{entities → dom-serializer/node_modules/entities}/LICENSE +0 -0
  568. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts +0 -0
  569. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.d.ts.map +0 -0
  570. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js +0 -0
  571. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode.js.map +0 -0
  572. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts +0 -0
  573. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.d.ts.map +0 -0
  574. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js +0 -0
  575. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/decode_codepoint.js.map +0 -0
  576. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts +0 -0
  577. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.d.ts.map +0 -0
  578. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js +0 -0
  579. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/encode.js.map +0 -0
  580. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts +0 -0
  581. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.d.ts.map +0 -0
  582. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js +0 -0
  583. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/escape.js.map +0 -0
  584. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts +0 -0
  585. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.d.ts.map +0 -0
  586. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js +0 -0
  587. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode.js.map +0 -0
  588. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts +0 -0
  589. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.d.ts.map +0 -0
  590. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js +0 -0
  591. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/decode_codepoint.js.map +0 -0
  592. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts +0 -0
  593. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.d.ts.map +0 -0
  594. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js +0 -0
  595. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/encode.js.map +0 -0
  596. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts +0 -0
  597. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.d.ts.map +0 -0
  598. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js +0 -0
  599. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/escape.js.map +0 -0
  600. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts +0 -0
  601. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.d.ts.map +0 -0
  602. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js +0 -0
  603. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-html.js.map +0 -0
  604. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts +0 -0
  605. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.d.ts.map +0 -0
  606. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js +0 -0
  607. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/decode-data-xml.js.map +0 -0
  608. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts +0 -0
  609. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.d.ts.map +0 -0
  610. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js +0 -0
  611. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/generated/encode-html.js.map +0 -0
  612. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts +0 -0
  613. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.d.ts.map +0 -0
  614. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js +0 -0
  615. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/index.js.map +0 -0
  616. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/esm/package.json +0 -0
  617. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts +0 -0
  618. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.d.ts.map +0 -0
  619. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js +0 -0
  620. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-html.js.map +0 -0
  621. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts +0 -0
  622. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.d.ts.map +0 -0
  623. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js +0 -0
  624. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/decode-data-xml.js.map +0 -0
  625. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts +0 -0
  626. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.d.ts.map +0 -0
  627. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js +0 -0
  628. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/generated/encode-html.js.map +0 -0
  629. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts +0 -0
  630. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.d.ts.map +0 -0
  631. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js +0 -0
  632. /package/node_modules/{entities → dom-serializer/node_modules/entities}/lib/index.js.map +0 -0
  633. /package/node_modules/{entities → dom-serializer/node_modules/entities}/package.json +0 -0
  634. /package/node_modules/{entities → dom-serializer/node_modules/entities}/readme.md +0 -0
  635. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +0 -0
  636. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
  637. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +0 -0
  638. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js +0 -0
  639. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxbuilder.min.js.map +0 -0
  640. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.cjs +0 -0
  641. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +0 -0
  642. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js +0 -0
  643. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.min.js.map +0 -0
  644. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js +0 -0
  645. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxparser.min.js.map +0 -0
  646. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js +0 -0
  647. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxvalidator.min.js.map +0 -0
  648. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/pem.d.cts +0 -0
  649. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +0 -0
  650. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
  651. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
  652. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
  653. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +0 -0
  654. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +0 -0
  655. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/ignoreAttributes.js +0 -0
  656. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/pem.d.ts +0 -0
  657. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +0 -0
  658. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  659. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/EntitiesParser.js +0 -0
  660. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +0 -0
  661. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -0
  662. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +0 -0
  663. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  664. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +0 -0
  665. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -0
  666. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Report.js +0 -0
  667. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
  668. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  669. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +0 -0
  670. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  671. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  672. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  673. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  674. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  675. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/EntitiesParser.js +0 -0
  676. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  677. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  678. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  679. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  680. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  681. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
  682. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +0 -0
  683. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlbuilder/json2xml.js +0 -0
  684. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +0 -0
  685. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +0 -0
  686. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +0 -0
  687. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +0 -0
  688. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +0 -0
  689. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +0 -0
@@ -0,0 +1,536 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.decodeXML = exports.decodeHTMLStrict = exports.decodeHTMLAttribute = exports.decodeHTML = exports.determineBranch = exports.EntityDecoder = exports.DecodingMode = exports.BinTrieFlags = exports.fromCodePoint = exports.replaceCodePoint = exports.decodeCodePoint = exports.xmlDecodeTree = exports.htmlDecodeTree = void 0;
30
+ var decode_data_html_js_1 = __importDefault(require("./generated/decode-data-html.js"));
31
+ exports.htmlDecodeTree = decode_data_html_js_1.default;
32
+ var decode_data_xml_js_1 = __importDefault(require("./generated/decode-data-xml.js"));
33
+ exports.xmlDecodeTree = decode_data_xml_js_1.default;
34
+ var decode_codepoint_js_1 = __importStar(require("./decode_codepoint.js"));
35
+ exports.decodeCodePoint = decode_codepoint_js_1.default;
36
+ var decode_codepoint_js_2 = require("./decode_codepoint.js");
37
+ Object.defineProperty(exports, "replaceCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.replaceCodePoint; } });
38
+ Object.defineProperty(exports, "fromCodePoint", { enumerable: true, get: function () { return decode_codepoint_js_2.fromCodePoint; } });
39
+ var CharCodes;
40
+ (function (CharCodes) {
41
+ CharCodes[CharCodes["NUM"] = 35] = "NUM";
42
+ CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
43
+ CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
44
+ CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
45
+ CharCodes[CharCodes["NINE"] = 57] = "NINE";
46
+ CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
47
+ CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
48
+ CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
49
+ CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
50
+ CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
51
+ CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
52
+ CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
53
+ })(CharCodes || (CharCodes = {}));
54
+ /** Bit that needs to be set to convert an upper case ASCII character to lower case */
55
+ var TO_LOWER_BIT = 32;
56
+ var BinTrieFlags;
57
+ (function (BinTrieFlags) {
58
+ BinTrieFlags[BinTrieFlags["VALUE_LENGTH"] = 49152] = "VALUE_LENGTH";
59
+ BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
60
+ BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
61
+ })(BinTrieFlags = exports.BinTrieFlags || (exports.BinTrieFlags = {}));
62
+ function isNumber(code) {
63
+ return code >= CharCodes.ZERO && code <= CharCodes.NINE;
64
+ }
65
+ function isHexadecimalCharacter(code) {
66
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
67
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));
68
+ }
69
+ function isAsciiAlphaNumeric(code) {
70
+ return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
71
+ (code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
72
+ isNumber(code));
73
+ }
74
+ /**
75
+ * Checks if the given character is a valid end character for an entity in an attribute.
76
+ *
77
+ * Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
78
+ * See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
79
+ */
80
+ function isEntityInAttributeInvalidEnd(code) {
81
+ return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
82
+ }
83
+ var EntityDecoderState;
84
+ (function (EntityDecoderState) {
85
+ EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
86
+ EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
87
+ EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
88
+ EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
89
+ EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
90
+ })(EntityDecoderState || (EntityDecoderState = {}));
91
+ var DecodingMode;
92
+ (function (DecodingMode) {
93
+ /** Entities in text nodes that can end with any character. */
94
+ DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
95
+ /** Only allow entities terminated with a semicolon. */
96
+ DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
97
+ /** Entities in attributes have limitations on ending characters. */
98
+ DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
99
+ })(DecodingMode = exports.DecodingMode || (exports.DecodingMode = {}));
100
+ /**
101
+ * Token decoder with support of writing partial entities.
102
+ */
103
+ var EntityDecoder = /** @class */ (function () {
104
+ function EntityDecoder(
105
+ /** The tree used to decode entities. */
106
+ decodeTree,
107
+ /**
108
+ * The function that is called when a codepoint is decoded.
109
+ *
110
+ * For multi-byte named entities, this will be called multiple times,
111
+ * with the second codepoint, and the same `consumed` value.
112
+ *
113
+ * @param codepoint The decoded codepoint.
114
+ * @param consumed The number of bytes consumed by the decoder.
115
+ */
116
+ emitCodePoint,
117
+ /** An object that is used to produce errors. */
118
+ errors) {
119
+ this.decodeTree = decodeTree;
120
+ this.emitCodePoint = emitCodePoint;
121
+ this.errors = errors;
122
+ /** The current state of the decoder. */
123
+ this.state = EntityDecoderState.EntityStart;
124
+ /** Characters that were consumed while parsing an entity. */
125
+ this.consumed = 1;
126
+ /**
127
+ * The result of the entity.
128
+ *
129
+ * Either the result index of a numeric entity, or the codepoint of a
130
+ * numeric entity.
131
+ */
132
+ this.result = 0;
133
+ /** The current index in the decode tree. */
134
+ this.treeIndex = 0;
135
+ /** The number of characters that were consumed in excess. */
136
+ this.excess = 1;
137
+ /** The mode in which the decoder is operating. */
138
+ this.decodeMode = DecodingMode.Strict;
139
+ }
140
+ /** Resets the instance to make it reusable. */
141
+ EntityDecoder.prototype.startEntity = function (decodeMode) {
142
+ this.decodeMode = decodeMode;
143
+ this.state = EntityDecoderState.EntityStart;
144
+ this.result = 0;
145
+ this.treeIndex = 0;
146
+ this.excess = 1;
147
+ this.consumed = 1;
148
+ };
149
+ /**
150
+ * Write an entity to the decoder. This can be called multiple times with partial entities.
151
+ * If the entity is incomplete, the decoder will return -1.
152
+ *
153
+ * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
154
+ * entity is incomplete, and resume when the next string is written.
155
+ *
156
+ * @param string The string containing the entity (or a continuation of the entity).
157
+ * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
158
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
159
+ */
160
+ EntityDecoder.prototype.write = function (str, offset) {
161
+ switch (this.state) {
162
+ case EntityDecoderState.EntityStart: {
163
+ if (str.charCodeAt(offset) === CharCodes.NUM) {
164
+ this.state = EntityDecoderState.NumericStart;
165
+ this.consumed += 1;
166
+ return this.stateNumericStart(str, offset + 1);
167
+ }
168
+ this.state = EntityDecoderState.NamedEntity;
169
+ return this.stateNamedEntity(str, offset);
170
+ }
171
+ case EntityDecoderState.NumericStart: {
172
+ return this.stateNumericStart(str, offset);
173
+ }
174
+ case EntityDecoderState.NumericDecimal: {
175
+ return this.stateNumericDecimal(str, offset);
176
+ }
177
+ case EntityDecoderState.NumericHex: {
178
+ return this.stateNumericHex(str, offset);
179
+ }
180
+ case EntityDecoderState.NamedEntity: {
181
+ return this.stateNamedEntity(str, offset);
182
+ }
183
+ }
184
+ };
185
+ /**
186
+ * Switches between the numeric decimal and hexadecimal states.
187
+ *
188
+ * Equivalent to the `Numeric character reference state` in the HTML spec.
189
+ *
190
+ * @param str The string containing the entity (or a continuation of the entity).
191
+ * @param offset The current offset.
192
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
193
+ */
194
+ EntityDecoder.prototype.stateNumericStart = function (str, offset) {
195
+ if (offset >= str.length) {
196
+ return -1;
197
+ }
198
+ if ((str.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
199
+ this.state = EntityDecoderState.NumericHex;
200
+ this.consumed += 1;
201
+ return this.stateNumericHex(str, offset + 1);
202
+ }
203
+ this.state = EntityDecoderState.NumericDecimal;
204
+ return this.stateNumericDecimal(str, offset);
205
+ };
206
+ EntityDecoder.prototype.addToNumericResult = function (str, start, end, base) {
207
+ if (start !== end) {
208
+ var digitCount = end - start;
209
+ this.result =
210
+ this.result * Math.pow(base, digitCount) +
211
+ parseInt(str.substr(start, digitCount), base);
212
+ this.consumed += digitCount;
213
+ }
214
+ };
215
+ /**
216
+ * Parses a hexadecimal numeric entity.
217
+ *
218
+ * Equivalent to the `Hexademical character reference state` in the HTML spec.
219
+ *
220
+ * @param str The string containing the entity (or a continuation of the entity).
221
+ * @param offset The current offset.
222
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
223
+ */
224
+ EntityDecoder.prototype.stateNumericHex = function (str, offset) {
225
+ var startIdx = offset;
226
+ while (offset < str.length) {
227
+ var char = str.charCodeAt(offset);
228
+ if (isNumber(char) || isHexadecimalCharacter(char)) {
229
+ offset += 1;
230
+ }
231
+ else {
232
+ this.addToNumericResult(str, startIdx, offset, 16);
233
+ return this.emitNumericEntity(char, 3);
234
+ }
235
+ }
236
+ this.addToNumericResult(str, startIdx, offset, 16);
237
+ return -1;
238
+ };
239
+ /**
240
+ * Parses a decimal numeric entity.
241
+ *
242
+ * Equivalent to the `Decimal character reference state` in the HTML spec.
243
+ *
244
+ * @param str The string containing the entity (or a continuation of the entity).
245
+ * @param offset The current offset.
246
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
247
+ */
248
+ EntityDecoder.prototype.stateNumericDecimal = function (str, offset) {
249
+ var startIdx = offset;
250
+ while (offset < str.length) {
251
+ var char = str.charCodeAt(offset);
252
+ if (isNumber(char)) {
253
+ offset += 1;
254
+ }
255
+ else {
256
+ this.addToNumericResult(str, startIdx, offset, 10);
257
+ return this.emitNumericEntity(char, 2);
258
+ }
259
+ }
260
+ this.addToNumericResult(str, startIdx, offset, 10);
261
+ return -1;
262
+ };
263
+ /**
264
+ * Validate and emit a numeric entity.
265
+ *
266
+ * Implements the logic from the `Hexademical character reference start
267
+ * state` and `Numeric character reference end state` in the HTML spec.
268
+ *
269
+ * @param lastCp The last code point of the entity. Used to see if the
270
+ * entity was terminated with a semicolon.
271
+ * @param expectedLength The minimum number of characters that should be
272
+ * consumed. Used to validate that at least one digit
273
+ * was consumed.
274
+ * @returns The number of characters that were consumed.
275
+ */
276
+ EntityDecoder.prototype.emitNumericEntity = function (lastCp, expectedLength) {
277
+ var _a;
278
+ // Ensure we consumed at least one digit.
279
+ if (this.consumed <= expectedLength) {
280
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
281
+ return 0;
282
+ }
283
+ // Figure out if this is a legit end of the entity
284
+ if (lastCp === CharCodes.SEMI) {
285
+ this.consumed += 1;
286
+ }
287
+ else if (this.decodeMode === DecodingMode.Strict) {
288
+ return 0;
289
+ }
290
+ this.emitCodePoint((0, decode_codepoint_js_1.replaceCodePoint)(this.result), this.consumed);
291
+ if (this.errors) {
292
+ if (lastCp !== CharCodes.SEMI) {
293
+ this.errors.missingSemicolonAfterCharacterReference();
294
+ }
295
+ this.errors.validateNumericCharacterReference(this.result);
296
+ }
297
+ return this.consumed;
298
+ };
299
+ /**
300
+ * Parses a named entity.
301
+ *
302
+ * Equivalent to the `Named character reference state` in the HTML spec.
303
+ *
304
+ * @param str The string containing the entity (or a continuation of the entity).
305
+ * @param offset The current offset.
306
+ * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
307
+ */
308
+ EntityDecoder.prototype.stateNamedEntity = function (str, offset) {
309
+ var decodeTree = this.decodeTree;
310
+ var current = decodeTree[this.treeIndex];
311
+ // The mask is the number of bytes of the value, including the current byte.
312
+ var valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
313
+ for (; offset < str.length; offset++, this.excess++) {
314
+ var char = str.charCodeAt(offset);
315
+ this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);
316
+ if (this.treeIndex < 0) {
317
+ return this.result === 0 ||
318
+ // If we are parsing an attribute
319
+ (this.decodeMode === DecodingMode.Attribute &&
320
+ // We shouldn't have consumed any characters after the entity,
321
+ (valueLength === 0 ||
322
+ // And there should be no invalid characters.
323
+ isEntityInAttributeInvalidEnd(char)))
324
+ ? 0
325
+ : this.emitNotTerminatedNamedEntity();
326
+ }
327
+ current = decodeTree[this.treeIndex];
328
+ valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
329
+ // If the branch is a value, store it and continue
330
+ if (valueLength !== 0) {
331
+ // If the entity is terminated by a semicolon, we are done.
332
+ if (char === CharCodes.SEMI) {
333
+ return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
334
+ }
335
+ // If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
336
+ if (this.decodeMode !== DecodingMode.Strict) {
337
+ this.result = this.treeIndex;
338
+ this.consumed += this.excess;
339
+ this.excess = 0;
340
+ }
341
+ }
342
+ }
343
+ return -1;
344
+ };
345
+ /**
346
+ * Emit a named entity that was not terminated with a semicolon.
347
+ *
348
+ * @returns The number of characters consumed.
349
+ */
350
+ EntityDecoder.prototype.emitNotTerminatedNamedEntity = function () {
351
+ var _a;
352
+ var _b = this, result = _b.result, decodeTree = _b.decodeTree;
353
+ var valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
354
+ this.emitNamedEntityData(result, valueLength, this.consumed);
355
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();
356
+ return this.consumed;
357
+ };
358
+ /**
359
+ * Emit a named entity.
360
+ *
361
+ * @param result The index of the entity in the decode tree.
362
+ * @param valueLength The number of bytes in the entity.
363
+ * @param consumed The number of characters consumed.
364
+ *
365
+ * @returns The number of characters consumed.
366
+ */
367
+ EntityDecoder.prototype.emitNamedEntityData = function (result, valueLength, consumed) {
368
+ var decodeTree = this.decodeTree;
369
+ this.emitCodePoint(valueLength === 1
370
+ ? decodeTree[result] & ~BinTrieFlags.VALUE_LENGTH
371
+ : decodeTree[result + 1], consumed);
372
+ if (valueLength === 3) {
373
+ // For multi-byte values, we need to emit the second byte.
374
+ this.emitCodePoint(decodeTree[result + 2], consumed);
375
+ }
376
+ return consumed;
377
+ };
378
+ /**
379
+ * Signal to the parser that the end of the input was reached.
380
+ *
381
+ * Remaining data will be emitted and relevant errors will be produced.
382
+ *
383
+ * @returns The number of characters consumed.
384
+ */
385
+ EntityDecoder.prototype.end = function () {
386
+ var _a;
387
+ switch (this.state) {
388
+ case EntityDecoderState.NamedEntity: {
389
+ // Emit a named entity if we have one.
390
+ return this.result !== 0 &&
391
+ (this.decodeMode !== DecodingMode.Attribute ||
392
+ this.result === this.treeIndex)
393
+ ? this.emitNotTerminatedNamedEntity()
394
+ : 0;
395
+ }
396
+ // Otherwise, emit a numeric entity if we have one.
397
+ case EntityDecoderState.NumericDecimal: {
398
+ return this.emitNumericEntity(0, 2);
399
+ }
400
+ case EntityDecoderState.NumericHex: {
401
+ return this.emitNumericEntity(0, 3);
402
+ }
403
+ case EntityDecoderState.NumericStart: {
404
+ (_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
405
+ return 0;
406
+ }
407
+ case EntityDecoderState.EntityStart: {
408
+ // Return 0 if we have no entity.
409
+ return 0;
410
+ }
411
+ }
412
+ };
413
+ return EntityDecoder;
414
+ }());
415
+ exports.EntityDecoder = EntityDecoder;
416
+ /**
417
+ * Creates a function that decodes entities in a string.
418
+ *
419
+ * @param decodeTree The decode tree.
420
+ * @returns A function that decodes entities in a string.
421
+ */
422
+ function getDecoder(decodeTree) {
423
+ var ret = "";
424
+ var decoder = new EntityDecoder(decodeTree, function (str) { return (ret += (0, decode_codepoint_js_1.fromCodePoint)(str)); });
425
+ return function decodeWithTrie(str, decodeMode) {
426
+ var lastIndex = 0;
427
+ var offset = 0;
428
+ while ((offset = str.indexOf("&", offset)) >= 0) {
429
+ ret += str.slice(lastIndex, offset);
430
+ decoder.startEntity(decodeMode);
431
+ var len = decoder.write(str,
432
+ // Skip the "&"
433
+ offset + 1);
434
+ if (len < 0) {
435
+ lastIndex = offset + decoder.end();
436
+ break;
437
+ }
438
+ lastIndex = offset + len;
439
+ // If `len` is 0, skip the current `&` and continue.
440
+ offset = len === 0 ? lastIndex + 1 : lastIndex;
441
+ }
442
+ var result = ret + str.slice(lastIndex);
443
+ // Make sure we don't keep a reference to the final string.
444
+ ret = "";
445
+ return result;
446
+ };
447
+ }
448
+ /**
449
+ * Determines the branch of the current node that is taken given the current
450
+ * character. This function is used to traverse the trie.
451
+ *
452
+ * @param decodeTree The trie.
453
+ * @param current The current node.
454
+ * @param nodeIdx The index right after the current node and its value.
455
+ * @param char The current character.
456
+ * @returns The index of the next node, or -1 if no branch is taken.
457
+ */
458
+ function determineBranch(decodeTree, current, nodeIdx, char) {
459
+ var branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
460
+ var jumpOffset = current & BinTrieFlags.JUMP_TABLE;
461
+ // Case 1: Single branch encoded in jump offset
462
+ if (branchCount === 0) {
463
+ return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;
464
+ }
465
+ // Case 2: Multiple branches encoded in jump table
466
+ if (jumpOffset) {
467
+ var value = char - jumpOffset;
468
+ return value < 0 || value >= branchCount
469
+ ? -1
470
+ : decodeTree[nodeIdx + value] - 1;
471
+ }
472
+ // Case 3: Multiple branches encoded in dictionary
473
+ // Binary search for the character.
474
+ var lo = nodeIdx;
475
+ var hi = lo + branchCount - 1;
476
+ while (lo <= hi) {
477
+ var mid = (lo + hi) >>> 1;
478
+ var midVal = decodeTree[mid];
479
+ if (midVal < char) {
480
+ lo = mid + 1;
481
+ }
482
+ else if (midVal > char) {
483
+ hi = mid - 1;
484
+ }
485
+ else {
486
+ return decodeTree[mid + branchCount];
487
+ }
488
+ }
489
+ return -1;
490
+ }
491
+ exports.determineBranch = determineBranch;
492
+ var htmlDecoder = getDecoder(decode_data_html_js_1.default);
493
+ var xmlDecoder = getDecoder(decode_data_xml_js_1.default);
494
+ /**
495
+ * Decodes an HTML string.
496
+ *
497
+ * @param str The string to decode.
498
+ * @param mode The decoding mode.
499
+ * @returns The decoded string.
500
+ */
501
+ function decodeHTML(str, mode) {
502
+ if (mode === void 0) { mode = DecodingMode.Legacy; }
503
+ return htmlDecoder(str, mode);
504
+ }
505
+ exports.decodeHTML = decodeHTML;
506
+ /**
507
+ * Decodes an HTML string in an attribute.
508
+ *
509
+ * @param str The string to decode.
510
+ * @returns The decoded string.
511
+ */
512
+ function decodeHTMLAttribute(str) {
513
+ return htmlDecoder(str, DecodingMode.Attribute);
514
+ }
515
+ exports.decodeHTMLAttribute = decodeHTMLAttribute;
516
+ /**
517
+ * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
518
+ *
519
+ * @param str The string to decode.
520
+ * @returns The decoded string.
521
+ */
522
+ function decodeHTMLStrict(str) {
523
+ return htmlDecoder(str, DecodingMode.Strict);
524
+ }
525
+ exports.decodeHTMLStrict = decodeHTMLStrict;
526
+ /**
527
+ * Decodes an XML string, requiring all entities to be terminated by a semicolon.
528
+ *
529
+ * @param str The string to decode.
530
+ * @returns The decoded string.
531
+ */
532
+ function decodeXML(str) {
533
+ return xmlDecoder(str, DecodingMode.Strict);
534
+ }
535
+ exports.decodeXML = decodeXML;
536
+ //# 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,wFAA6D;AAQpD,yBARF,6BAAc,CAQE;AAPvB,sFAA2D;AAOlC,wBAPlB,4BAAa,CAOkB;AANtC,2EAG+B;AAGS,0BANjC,6BAAe,CAMiC;AACvD,6DAAwE;AAA/D,uHAAA,gBAAgB,OAAA;AAAE,oHAAA,aAAa,OAAA;AAExC,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;AAED,sFAAsF;AACtF,IAAM,YAAY,GAAG,EAAQ,CAAC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AAY,CAAC,MAAM;IAC9D,OAAO,WAAW,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAClC,CAAC;AAFD,gCAEC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,GAAW;IAC3C,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;AACpD,CAAC;AAFD,kDAEC;AAED;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,GAAW;IACxC,OAAO,WAAW,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAFD,4CAEC;AAED;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,GAAW;IACjC,OAAO,UAAU,CAAC,GAAG,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AAChD,CAAC;AAFD,8BAEC"}
@@ -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,76 @@
1
+ "use strict";
2
+ // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
3
+ var _a;
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.replaceCodePoint = exports.fromCodePoint = void 0;
6
+ var decodeMap = new Map([
7
+ [0, 65533],
8
+ // C1 Unicode control character reference replacements
9
+ [128, 8364],
10
+ [130, 8218],
11
+ [131, 402],
12
+ [132, 8222],
13
+ [133, 8230],
14
+ [134, 8224],
15
+ [135, 8225],
16
+ [136, 710],
17
+ [137, 8240],
18
+ [138, 352],
19
+ [139, 8249],
20
+ [140, 338],
21
+ [142, 381],
22
+ [145, 8216],
23
+ [146, 8217],
24
+ [147, 8220],
25
+ [148, 8221],
26
+ [149, 8226],
27
+ [150, 8211],
28
+ [151, 8212],
29
+ [152, 732],
30
+ [153, 8482],
31
+ [154, 353],
32
+ [155, 8250],
33
+ [156, 339],
34
+ [158, 382],
35
+ [159, 376],
36
+ ]);
37
+ /**
38
+ * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
39
+ */
40
+ exports.fromCodePoint =
41
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
42
+ (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : function (codePoint) {
43
+ var output = "";
44
+ if (codePoint > 0xffff) {
45
+ codePoint -= 0x10000;
46
+ output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);
47
+ codePoint = 0xdc00 | (codePoint & 0x3ff);
48
+ }
49
+ output += String.fromCharCode(codePoint);
50
+ return output;
51
+ };
52
+ /**
53
+ * Replace the given code point with a replacement character if it is a
54
+ * surrogate or is outside the valid range. Otherwise return the code
55
+ * point unchanged.
56
+ */
57
+ function replaceCodePoint(codePoint) {
58
+ var _a;
59
+ if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {
60
+ return 0xfffd;
61
+ }
62
+ return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;
63
+ }
64
+ exports.replaceCodePoint = replaceCodePoint;
65
+ /**
66
+ * Replace the code point if relevant, then convert it to a string.
67
+ *
68
+ * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
69
+ * @param codePoint The code point to decode.
70
+ * @returns The decoded code point.
71
+ */
72
+ function decodeCodePoint(codePoint) {
73
+ return (0, exports.fromCodePoint)(replaceCodePoint(codePoint));
74
+ }
75
+ exports.default = decodeCodePoint;
76
+ //# 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,IAAM,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,C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