@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,55 @@
1
+ # Nodemailer
2
+
3
+ E-mail sending library for Node.js. Zero runtime dependencies. Entry point is `lib/nodemailer.js`, which exposes `createTransport(transporter, defaults)` and routes to one of the bundled transports based on the options object.
4
+
5
+ ## Layout
6
+
7
+ - `lib/nodemailer.js` — public entry, transport dispatch (`createTransport`).
8
+ - `lib/mailer/` — `Mail` class: the user-facing transport wrapper that normalizes messages, runs the DKIM signer, and hands off to the underlying transport's `.send()`.
9
+ - `lib/mail-composer/` + `lib/mime-node/` — message → MIME tree → raw RFC822 stream.
10
+ - `lib/smtp-connection/` — low-level SMTP/LMTP/ESMTP client. Hot path; security-sensitive. Used by `smtp-transport` and `smtp-pool`.
11
+ - `lib/smtp-transport/` — single-shot SMTP transport.
12
+ - `lib/smtp-pool/` — pooled SMTP transport with rate limiting.
13
+ - `lib/sendmail-transport/`, `lib/ses-transport/`, `lib/stream-transport/`, `lib/json-transport/` — alternate transports.
14
+ - `lib/dkim/`, `lib/addressparser/`, `lib/mime-funcs/`, `lib/base64/`, `lib/qp/`, `lib/punycode/`, `lib/well-known/`, `lib/xoauth2/`, `lib/fetch/`, `lib/shared/` — supporting modules.
15
+ - `test/` — mirrors `lib/` structure. Most suites spin up real `smtp-server` instances on ephemeral ports; raw `net` servers are used when byte-exact reply control is needed (e.g. injecting non-ASCII or invalid UTF-8).
16
+
17
+ Each transport must implement `name`, `version`, and `send(mail, callback)`. `Mail` discovers them via duck typing.
18
+
19
+ ## Engine target
20
+
21
+ `engines.node = ">=6.0.0"`. The library is shipped as ES2017 script-mode CommonJS — no `import`, no top-level `await`, no optional chaining, no nullish coalescing, no class fields. ESLint enforces `ecmaVersion: 2017` and `sourceType: 'script'`. There is a Node 6 syntax-compat check (`npm run test:syntax`, runs `test/syntax-compat.js` inside `node:6-alpine`) that must keep passing — do not introduce syntax that breaks it. `'use strict';` directive at the top of every file.
22
+
23
+ ## Conventions
24
+
25
+ - CommonJS only: `const x = require('...')`, `module.exports = ...`.
26
+ - Callback-first style throughout the public API. Many internals are still callback-based — match the style of the file you are editing rather than introducing promises mid-module.
27
+ - Prettier handles formatting; ESLint handles correctness. Run `npm run format` and `npm run lint` before sending changes. The lint config disables Prettier-overlapping rules.
28
+ - Snake_case is not used; camelCase for variables and methods, PascalCase for classes.
29
+ - Prefer small, surgical diffs. The codebase is mature and load-bearing — avoid drive-by refactors, comment churn, or "improvements" outside the scope of the change.
30
+ - Every change to security-sensitive code (anything in `lib/smtp-connection/`, address parsing, header generation, DKIM) needs tests that exercise the failure mode, not just the happy path.
31
+
32
+ ## Testing
33
+
34
+ - `npm test` — full suite via `node --test` (~150s, 480+ tests, runs serially).
35
+ - `npm run test:coverage` — same suite under `c8`.
36
+ - `npm run test:syntax` — Node 6 syntax compatibility check in Docker.
37
+ - `npm run lint` / `npm run lint:fix`.
38
+ - `npm run format` / `npm run format:check`.
39
+
40
+ Always run `npm test` and `npm run lint` before considering a change done. Tests are required to pass on every commit because release-please cuts releases directly from `master`.
41
+
42
+ ## Releases
43
+
44
+ Releases, version numbers, the `version` field in `package.json`, git tags, `CHANGELOG.md` entries, and npm publication are all managed automatically by the release-please GitHub Action (`.github/workflows/release.yaml`, configured by `.release-please-config.json`). **Never edit any of these manually and never propose manual edits to them.**
45
+
46
+ Release-please derives the next version and changelog from Conventional Commit messages on `master`, opens a release PR (`chore: release X.Y.Z [skip-ci]`), and publishes to npm with provenance when that PR is merged. The only thing that should land on `master` between releases is normal commits with Conventional Commit prefixes — release-please takes care of the rest.
47
+
48
+ Conventional Commit prefixes used in this repo: `fix:`, `feat:`, `chore:`, `docs:`, `refactor:`, `test:`. Use `fix:` for anything users would benefit from seeing in the changelog, including security fixes (reference the GHSA in the body).
49
+
50
+ ## Security
51
+
52
+ This is a widely-deployed library — security-sensitive changes get extra scrutiny:
53
+ - SMTP command injection: any user-controllable value that flows into a written SMTP command (envelope addresses, sizes, the `name`/EHLO option, headers) must be CRLF-stripped or rejected at the boundary. Sanitize at the assignment, not at every call site.
54
+ - Server reply parsing in `lib/smtp-connection/index.js` uses a `'binary'` byte-container intermediate to reassemble multi-byte UTF-8 across socket chunks; the actual decode happens at line boundaries via `decodeServerResponse`. Don't change the chunk-buffering encoding without understanding why.
55
+ - Reference the GHSA ID in commit messages for advisories.
@@ -17,6 +17,28 @@ const GREETING_TIMEOUT = 30 * 1000; // how much to wait after connection is esta
17
17
  const DNS_TIMEOUT = 30 * 1000; // how much to wait for resolveHostname
18
18
  const TEARDOWN_NOOP = () => {}; // reusable no-op handler for absorbing errors during socket teardown
19
19
 
20
+ /**
21
+ * Re-interpret a server response stored in fake 8-bit byte-container form
22
+ * (the result of chunk.toString('binary') in _onData) as UTF-8.
23
+ *
24
+ * Server reply text has no formally defined charset (RFC 5321 §4.2.1), but
25
+ * modern MTAs commonly use UTF-8. The byte-container plumbing in _onData is
26
+ * required to reassemble multi-byte sequences split across socket chunks;
27
+ * this helper performs the actual decode at the line boundary, falling back
28
+ * to the byte-container form when the bytes are not valid UTF-8 so that
29
+ * legacy 8-bit replies are still recoverable byte-for-byte.
30
+ */
31
+ function decodeServerResponse(str) {
32
+ if (!str) {
33
+ return str;
34
+ }
35
+ const utf8 = Buffer.from(str, 'binary').toString('utf8');
36
+ // The input is a byte container (each char is in U+0000..U+00FF) so it can never
37
+ // already contain U+FFFD; any \uFFFD in the result was inserted by Node's UTF-8
38
+ // decoder for invalid bytes, which means we should return the original bytes intact.
39
+ return utf8.includes('\uFFFD') ? str : utf8;
40
+ }
41
+
20
42
  /**
21
43
  * Generates a SMTP connection object
22
44
  *
@@ -68,7 +90,7 @@ class SMTPConnection extends EventEmitter {
68
90
  this.secureConnection = true;
69
91
  }
70
92
 
71
- this.name = this.options.name || this._getHostname();
93
+ this.name = (this.options.name || this._getHostname()).toString().replace(/[\r\n]+/g, '');
72
94
 
73
95
  this.logger = shared.getLogger(this.options, {
74
96
  component: this.options.component || 'smtp-connection',
@@ -895,15 +917,15 @@ class SMTPConnection extends EventEmitter {
895
917
  let serverResponse = false;
896
918
 
897
919
  if (this._remainder && this._remainder.trim()) {
920
+ this.lastServerResponse = serverResponse = decodeServerResponse(this._remainder.trim());
898
921
  if (this.options.debug || this.options.transactionLog) {
899
922
  this.logger.debug(
900
923
  {
901
924
  tnx: 'server'
902
925
  },
903
- this._remainder.replace(/\r?\n$/, '')
926
+ serverResponse
904
927
  );
905
928
  }
906
- this.lastServerResponse = serverResponse = this._remainder.trim();
907
929
  }
908
930
 
909
931
  this.logger.info(
@@ -1023,7 +1045,7 @@ class SMTPConnection extends EventEmitter {
1023
1045
  return false;
1024
1046
  }
1025
1047
 
1026
- let str = (this.lastServerResponse = (this._responseQueue.shift() || '').toString());
1048
+ let str = (this.lastServerResponse = decodeServerResponse((this._responseQueue.shift() || '').toString()));
1027
1049
 
1028
1050
  if (/^\d+-/.test(str.split('\n').pop())) {
1029
1051
  // keep waiting for the final part of multiline response
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodemailer",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "Easy as cake e-mail sending from your Node.js applications",
5
5
  "main": "lib/nodemailer.js",
6
6
  "scripts": {
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "homepage": "https://nodemailer.com/",
29
29
  "devDependencies": {
30
- "@aws-sdk/client-sesv2": "3.1011.0",
30
+ "@aws-sdk/client-sesv2": "3.1025.0",
31
31
  "bunyan": "1.8.15",
32
32
  "c8": "11.0.0",
33
- "eslint": "10.0.3",
33
+ "eslint": "10.2.0",
34
34
  "eslint-config-prettier": "10.1.8",
35
35
  "globals": "17.4.0",
36
36
  "libbase64": "1.3.0",
@@ -40,7 +40,7 @@
40
40
  "prettier": "3.8.1",
41
41
  "proxy": "1.0.2",
42
42
  "proxy-test-server": "1.0.0",
43
- "smtp-server": "3.18.1"
43
+ "smtp-server": "3.18.3"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=6.0.0"
@@ -4,10 +4,11 @@ Efficient path tracking and pattern matching for XML, JSON, YAML or any other pa
4
4
 
5
5
  ## 🎯 Purpose
6
6
 
7
- `path-expression-matcher` provides two core classes for tracking and matching paths:
7
+ `path-expression-matcher` provides three core classes for tracking and matching paths:
8
8
 
9
9
  - **`Expression`**: Parses and stores pattern expressions (e.g., `"root.users.user[id]"`)
10
10
  - **`Matcher`**: Tracks current path during parsing and matches against expressions
11
+ - **`MatcherView`**: A lightweight read-only view of a `Matcher`, safe to pass to callbacks
11
12
 
12
13
  Compatible with [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) and similar tools.
13
14
 
@@ -138,7 +139,7 @@ console.log(matcher.toString()); // "soap:Envelope.soap:Body.ns:UserId"
138
139
  #### Constructor
139
140
 
140
141
  ```javascript
141
- new Expression(pattern, options)
142
+ new Expression(pattern, options = {}, data)
142
143
  ```
143
144
 
144
145
  **Parameters:**
@@ -149,6 +150,8 @@ new Expression(pattern, options)
149
150
  ```javascript
150
151
  const expr1 = new Expression("root.users.user");
151
152
  const expr2 = new Expression("root/users/user", { separator: '/' });
153
+ const expr3 = new Expression("root/users/user", { separator: '/' }, { extra: "data"});
154
+ console.log(expr3.data) // { extra: "data" }
152
155
  ```
153
156
 
154
157
  #### Methods
@@ -240,6 +243,22 @@ if (matcher.matches(expr)) {
240
243
  }
241
244
  ```
242
245
 
246
+ #### `matchesAny(exprSet)` → `boolean`
247
+
248
+ Please check `ExpressionSet` class for more details.
249
+
250
+ ```javascript
251
+ const matcher = new Matcher();
252
+ const exprSet = new ExpressionSet();
253
+ exprSet.add(new Expression("root.users.user"));
254
+ exprSet.add(new Expression("root.config.*"));
255
+ exprSet.seal();
256
+
257
+ if (matcher.matchesAny(exprSet)) {
258
+ // Current path matches any expression in the set
259
+ }
260
+ ```
261
+
243
262
  ##### `getCurrentTag()`
244
263
 
245
264
  Get current tag name.
@@ -350,51 +369,51 @@ matcher.restore(snapshot);
350
369
 
351
370
  ##### `readOnly()`
352
371
 
353
- Returns a **live, read-only proxy** of the matcher. All query and inspection methods work normally, but any attempt to call a state-mutating method (`push`, `pop`, `reset`, `updateCurrent`, `restore`) or to write/delete a property throws a `TypeError`.
372
+ Returns a **`MatcherView`** — a lightweight, live read-only view of the matcher. All query and inspection methods work normally and always reflect the current state of the underlying matcher. Mutation methods (`push`, `pop`, `reset`, `updateCurrent`, `restore`) simply don't exist on `MatcherView`, so misuse is caught at **compile time** by TypeScript rather than at runtime.
354
373
 
355
- This is the recommended way to share the matcher with external consumers — plugins, callbacks, event handlers — that only need to inspect the current path without being able to corrupt parser state.
374
+ The **same instance** is returned on every call — no allocation occurs per invocation. This is the recommended way to share the matcher with callbacks, plugins, or any external code that only needs to inspect the current path.
356
375
 
357
376
  ```javascript
358
- const ro = matcher.readOnly();
377
+ const view = matcher.readOnly();
378
+ // Same reference every time — safe to cache
379
+ view === matcher.readOnly(); // true
359
380
  ```
360
381
 
361
- **What works on the read-only view:**
382
+ **What works on the view:**
362
383
 
363
384
  ```javascript
364
- ro.matches(expr) // ✓ pattern matching
365
- ro.getCurrentTag() // ✓ current tag name
366
- ro.getCurrentNamespace() // ✓ current namespace
367
- ro.getAttrValue("id") // ✓ attribute value
368
- ro.hasAttr("id") // ✓ attribute presence check
369
- ro.getPosition() // ✓ sibling position
370
- ro.getCounter() // ✓ occurrence counter
371
- ro.getDepth() // ✓ path depth
372
- ro.toString() // ✓ path as string
373
- ro.toArray() // ✓ path as array
374
- ro.snapshot() // ✓ snapshot (can be used to restore the real matcher)
385
+ view.matches(expr) // ✓ pattern matching
386
+ view.getCurrentTag() // ✓ current tag name
387
+ view.getCurrentNamespace() // ✓ current namespace
388
+ view.getAttrValue("id") // ✓ attribute value
389
+ view.hasAttr("id") // ✓ attribute presence check
390
+ view.getPosition() // ✓ sibling position
391
+ view.getCounter() // ✓ occurrence counter
392
+ view.getDepth() // ✓ path depth
393
+ view.toString() // ✓ path as string
394
+ view.toArray() // ✓ path as array
375
395
  ```
376
396
 
377
- **What throws a `TypeError`:**
397
+ **What doesn't exist (compile-time error in TypeScript):**
378
398
 
379
399
  ```javascript
380
- ro.push("child", {}) // ✗ TypeError: Cannot call 'push' on a read-only Matcher
381
- ro.pop() // ✗ TypeError: Cannot call 'pop' on a read-only Matcher
382
- ro.reset() // ✗ TypeError: Cannot call 'reset' on a read-only Matcher
383
- ro.updateCurrent({}) // ✗ TypeError: Cannot call 'updateCurrent' on a read-only Matcher
384
- ro.restore(snapshot) // ✗ TypeError: Cannot call 'restore' on a read-only Matcher
385
- ro.separator = '/' // ✗ TypeError: Cannot set property on a read-only Matcher
400
+ view.push("child", {}) // ✗ Property 'push' does not exist on type 'MatcherView'
401
+ view.pop() // ✗ Property 'pop' does not exist on type 'MatcherView'
402
+ view.reset() // ✗ Property 'reset' does not exist on type 'MatcherView'
403
+ view.updateCurrent({}) // ✗ Property 'updateCurrent' does not exist on type 'MatcherView'
404
+ view.restore(snapshot) // ✗ Property 'restore' does not exist on type 'MatcherView'
386
405
  ```
387
406
 
388
- **Important:** The read-only view is **live** — it always reflects the current state of the underlying matcher. If you need a frozen-in-time copy instead, use `snapshot()`.
407
+ **The view is live** — it always reflects the current state of the underlying matcher.
389
408
 
390
409
  ```javascript
391
410
  const matcher = new Matcher();
392
- const ro = matcher.readOnly();
411
+ const view = matcher.readOnly();
393
412
 
394
413
  matcher.push("root");
395
- ro.getDepth(); // 1 — immediately reflects the push
414
+ view.getDepth(); // 1 — immediately reflects the push
396
415
  matcher.push("users");
397
- ro.getDepth(); // 2 — still live
416
+ view.getDepth(); // 2 — still live
398
417
  ```
399
418
 
400
419
  ## 💡 Usage Examples
@@ -532,9 +551,9 @@ const expr = new Expression("root.item:first");
532
551
  console.log(matcher.matches(expr)); // false (counter=1, not 0)
533
552
  ```
534
553
 
535
- ### Example 8: Passing a Read-Only Matcher to External Consumers
554
+ ### Example 8: Passing a Read-Only View to External Consumers
536
555
 
537
- When passing the matcher into callbacks, plugins, or other code you don't control, use `readOnly()` to prevent accidental state corruption.
556
+ When passing the matcher into callbacks, plugins, or other code you don't control, use `readOnly()` to get a `MatcherView` — it can inspect but never mutate parser state.
538
557
 
539
558
  ```javascript
540
559
  import { Expression, Matcher } from 'path-expression-matcher';
@@ -546,40 +565,26 @@ const adminExpr = new Expression("..user[type=admin]");
546
565
  function parseTag(tagName, attrs, onTag) {
547
566
  matcher.push(tagName, attrs);
548
567
 
549
- // Pass a read-only view — consumer can inspect but not mutate
568
+ // Pass MatcherView — consumer can inspect but not mutate
550
569
  onTag(matcher.readOnly());
551
570
 
552
571
  matcher.pop();
553
572
  }
554
573
 
555
574
  // Safe consumer — can only read
556
- function myPlugin(ro) {
557
- if (ro.matches(adminExpr)) {
558
- console.log("Admin at path:", ro.toString());
559
- console.log("Depth:", ro.getDepth());
560
- console.log("ID:", ro.getAttrValue("id"));
575
+ function myPlugin(view) {
576
+ if (view.matches(adminExpr)) {
577
+ console.log("Admin at path:", view.toString());
578
+ console.log("Depth:", view.getDepth());
579
+ console.log("ID:", view.getAttrValue("id"));
561
580
  }
562
581
  }
563
582
 
564
- // ro.push(...) or ro.reset() here would throw TypeError,
565
- // so the parser's state is always safe.
583
+ // view.push(...) or view.reset() don't exist on MatcherView —
584
+ // TypeScript catches misuse at compile time.
566
585
  parseTag("user", { id: "1", type: "admin" }, myPlugin);
567
586
  ```
568
587
 
569
- **Combining with `snapshot()`:** A snapshot taken via the read-only view can still be used to restore the real matcher.
570
-
571
- ```javascript
572
- const matcher = new Matcher();
573
- matcher.push("root");
574
- matcher.push("users");
575
-
576
- const ro = matcher.readOnly();
577
- const snap = ro.snapshot(); // ✓ snapshot works on read-only view
578
-
579
- matcher.push("user"); // continue parsing...
580
- matcher.restore(snap); // restore to "root.users" using the snapshot
581
- ```
582
-
583
588
  ```javascript
584
589
  const matcher = new Matcher();
585
590
  const soapExpr = new Expression("soap::Envelope.soap::Body..ns::UserId");
@@ -674,21 +679,168 @@ for (let i = 0; i < 1000; i++) {
674
679
  }
675
680
  ```
676
681
 
677
- ### Batch Pattern Checking
682
+ ### Batch Pattern Checking with ExpressionSet (Recommended)
683
+
684
+ For checking multiple patterns on every tag, use `ExpressionSet` instead of a manual loop.
685
+ It pre-indexes expressions at build time so each call to `matchesAny()` does an O(1) bucket
686
+ lookup rather than a full O(N) scan:
678
687
 
679
688
  ```javascript
680
- // For multiple patterns, check all at once
681
- const patterns = [
682
- new Expression("..user"),
683
- new Expression("..post"),
684
- new Expression("..comment"),
685
- ];
689
+ import { Expression, ExpressionSet, Matcher } from 'path-expression-matcher';
686
690
 
687
- function matchesAny(matcher, patterns) {
688
- return patterns.some(expr => matcher.matches(expr));
691
+ // Build once at config/startup time
692
+ const stopNodes = new ExpressionSet();
693
+ stopNodes
694
+ .add(new Expression('root.users.user'))
695
+ .add(new Expression('root.config.*'))
696
+ .add(new Expression('..script'))
697
+ .seal(); // prevent accidental mutation during parsing
698
+
699
+ // Per-tag — hot path
700
+ if (stopNodes.matchesAny(matcher)) {
701
+ // handle stop node
702
+ }
703
+ ```
704
+
705
+ This replaces the manual loop pattern:
706
+
707
+ ```javascript
708
+ // ❌ Before — O(N) per tag
709
+ function isStopNode(expressions, matcher) {
710
+ for (let i = 0; i < expressions.length; i++) {
711
+ if (matcher.matches(expressions[i])) return true;
712
+ }
713
+ return false;
689
714
  }
715
+
716
+ // ✅ After — O(1) lookup per tag
717
+ const stopNodes = new ExpressionSet();
718
+ stopNodes.addAll(expressions);
719
+ stopNodes.matchesAny(matcher);
720
+ //or matcher.matchesAny(stopNodes)
721
+ ```
722
+
723
+ ---
724
+
725
+ ## 📦 ExpressionSet API
726
+
727
+ `ExpressionSet` is an indexed collection of `Expression` objects designed for efficient
728
+ bulk matching. Build it once from your config, then call `matchesAny()` on every tag.
729
+
730
+ ### Constructor
731
+
732
+ ```javascript
733
+ const set = new ExpressionSet();
734
+ ```
735
+
736
+ ### `add(expression)` → `this`
737
+
738
+ Add a single `Expression`. Duplicate patterns (same pattern string) are silently ignored.
739
+ Returns `this` for chaining. Throws `TypeError` if the set is sealed.
740
+
741
+ ```javascript
742
+ set.add(new Expression('root.users.user'));
743
+ set.add(new Expression('..script'));
744
+ ```
745
+
746
+ ### `addAll(expressions)` → `this`
747
+
748
+ Add an array of `Expression` objects at once. Returns `this` for chaining.
749
+
750
+ ```javascript
751
+ set.addAll(config.stopNodes.map(p => new Expression(p)));
690
752
  ```
691
753
 
754
+ ### `has(expression)` → `boolean`
755
+
756
+ Check whether an expression with the same pattern is already present.
757
+
758
+ ```javascript
759
+ set.has(new Expression('root.users.user')); // true / false
760
+ ```
761
+
762
+ ### `seal()` → `this`
763
+
764
+ Prevent further additions. Any subsequent call to `add()` or `addAll()` throws a `TypeError`.
765
+ Useful to guard against accidental mutation once parsing has started.
766
+
767
+ ```javascript
768
+ const stopNodes = new ExpressionSet();
769
+ stopNodes.addAll(patterns).seal();
770
+
771
+ stopNodes.add(new Expression('root.extra')); // ❌ TypeError: ExpressionSet is sealed
772
+ ```
773
+
774
+ ### `size` → `number`
775
+
776
+ Number of distinct expressions in the set.
777
+
778
+ ```javascript
779
+ set.size; // 3
780
+ ```
781
+
782
+ ### `isSealed` → `boolean`
783
+
784
+ Whether `seal()` has been called.
785
+
786
+ ### `matchesAny(matcher)` → `boolean`
787
+
788
+ Returns `true` if the matcher's current path matches **any** expression in the set.
789
+ Accepts both a `Matcher` instance and a `MatcherView`.
790
+
791
+ ```javascript
792
+ if (stopNodes.matchesAny(matcher)) { /* ... */ }
793
+ if (stopNodes.matchesAny(matcher.readOnly())) { /* ... */ } // also works
794
+ ```
795
+
796
+ **How indexing works:** expressions are bucketed at `add()` time, not at match time.
797
+
798
+ | Expression type | Bucket | Lookup cost |
799
+ |---|---|---|
800
+ | Fixed path, concrete tag (`root.users.user`) | `depth:tag` map | O(1) |
801
+ | Fixed path, wildcard tag (`root.config.*`) | `depth` map | O(1) |
802
+ | Deep wildcard (`..script`) | flat list | O(D) — always scanned |
803
+
804
+ In practice, deep-wildcard expressions are rare in configs, so the list stays small.
805
+
806
+ ### `findMatch(matcher)` → `Expression`
807
+
808
+ Returns the Expression instance that matched the current path. Accepts both a `Matcher` instance and a `MatcherView`.
809
+
810
+ ```javascript
811
+ const node = stopNodes.findMatch(matcher);
812
+ ```
813
+
814
+
815
+ ### Example 7: ExpressionSet in a real parser loop
816
+
817
+ ```javascript
818
+ import { XMLParser } from 'fast-xml-parser';
819
+ import { Expression, ExpressionSet, Matcher } from 'path-expression-matcher';
820
+
821
+ // Config-time setup
822
+ const stopNodes = new ExpressionSet();
823
+ stopNodes
824
+ .addAll(['script', 'style'].map(t => new Expression(`..${t}`)))
825
+ .seal();
826
+
827
+ const matcher = new Matcher();
828
+
829
+ const parser = new XMLParser({
830
+ onOpenTag(tagName, attrs) {
831
+ matcher.push(tagName, attrs);
832
+ if (stopNodes.matchesAny(matcher)) {
833
+ // treat as stop node
834
+ }
835
+ },
836
+ onCloseTag() {
837
+ matcher.pop();
838
+ },
839
+ });
840
+ ```
841
+
842
+
843
+
692
844
  ## 🔗 Integration with fast-xml-parser
693
845
 
694
846
  **Basic integration:**
@@ -717,4 +869,4 @@ MIT
717
869
 
718
870
  ## 🤝 Contributing
719
871
 
720
- Issues and PRs welcome! This package is designed to be used by XML/JSON parsers like fast-xml-parser.
872
+ Issues and PRs welcome! This package is designed to be used by XML/JSON parsers like fast-xml-parser. But can be used with any formar parser.
@@ -1 +1 @@
1
- (()=>{"use strict";var t={d:(e,s)=>{for(var n in s)t.o(s,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:s[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,Matcher:()=>i,default:()=>r});class s{constructor(t,e={}){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,n="";for(;s<t.length;)t[s]===this.separator?s+1<t.length&&t[s+1]===this.separator?(n.trim()&&(e.push(this._parseSegment(n.trim())),n=""),e.push({type:"deep-wildcard"}),s+=2):(n.trim()&&e.push(this._parseSegment(n.trim())),n="",s++):(n+=t[s],s++);return n.trim()&&e.push(this._parseSegment(n.trim())),e}_parseSegment(t){const e={type:"tag"};let s=null,n=t;const i=t.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(n=i[1]+i[3],i[2])){const t=i[2].slice(1,-1);t&&(s=t)}let r,a,h=n;if(n.includes("::")){const e=n.indexOf("::");if(r=n.substring(0,e).trim(),h=n.substring(e+2).trim(),!r)throw new Error(`Invalid namespace in pattern: ${t}`)}let o=null;if(h.includes(":")){const t=h.lastIndexOf(":"),e=h.substring(0,t).trim(),s=h.substring(t+1).trim();["first","last","odd","even"].includes(s)||/^nth\(\d+\)$/.test(s)?(a=e,o=s):a=h}else a=h;if(!a)throw new Error(`Invalid segment pattern: ${t}`);if(e.tag=a,r&&(e.namespace=r),s)if(s.includes("=")){const t=s.indexOf("=");e.attrName=s.substring(0,t).trim(),e.attrValue=s.substring(t+1).trim()}else e.attrName=s.trim();if(o){const t=o.match(/^nth\((\d+)\)$/);t?(e.position="nth",e.positionValue=parseInt(t[1],10)):e.position=o}return e}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}const n=new Set(["push","pop","reset","updateCurrent","restore"]);class i{constructor(t={}){this.separator=t.separator||".",this.path=[],this.siblingStacks=[]}push(t,e=null,s=null){this.path.length>0&&(this.path[this.path.length-1].values=void 0);const n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);const i=this.siblingStacks[n],r=s?`${s}:${t}`:t,a=i.get(r)||0;let h=0;for(const t of i.values())h+=t;i.set(r,a+1);const o={tag:t,position:h,counter:a};null!=s&&(o.namespace=s),null!=e&&(o.values=e),this.path.push(o)}pop(){if(0===this.path.length)return;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0===this.path.length)return;const e=this.path[this.path.length-1];return e.values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e<t.length;e++){const s=t[e],n=this.path[e],i=e===this.path.length-1;if(!this._matchSegment(s,n,i))return!1}return!0}_matchWithDeepWildcard(t){let e=this.path.length-1,s=t.length-1;for(;s>=0&&e>=0;){const n=t[s];if("deep-wildcard"===n.type){if(s--,s<0)return!0;const n=t[s];let i=!1;for(let t=e;t>=0;t--){const r=t===this.path.length-1;if(this._matchSegment(n,this.path[t],r)){e=t-1,s--,i=!0;break}}if(!i)return!1}else{const t=e===this.path.length-1;if(!this._matchSegment(n,this.path[e],t))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue){const s=e.values[t.attrName];if(String(s)!==String(t.attrValue))return!1}}if(void 0!==t.position){if(!s)return!1;const n=e.counter??0;if("first"===t.position&&0!==n)return!1;if("odd"===t.position&&n%2!=1)return!1;if("even"===t.position&&n%2!=0)return!1;if("nth"===t.position&&n!==t.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return new Proxy(this,{get(t,e,s){if(n.has(e))return()=>{throw new TypeError(`Cannot call '${e}' on a read-only Matcher. Obtain a writable instance to mutate state.`)};const i=Reflect.get(t,e,s);return"path"===e||"siblingStacks"===e?Object.freeze(Array.isArray(i)?i.map(t=>t instanceof Map?Object.freeze(new Map(t)):Object.freeze({...t})):i):"function"==typeof i?i.bind(t):i},set(t,e){throw new TypeError(`Cannot set property '${String(e)}' on a read-only Matcher.`)},deleteProperty(t,e){throw new TypeError(`Cannot delete property '${String(e)}' from a read-only Matcher.`)}})}}const r={Expression:s,Matcher:i};module.exports=e})();
1
+ (()=>{"use strict";var t={d:(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{Expression:()=>s,ExpressionSet:()=>n,Matcher:()=>h,default:()=>r});class s{constructor(t,e={},s){this.pattern=t,this.separator=e.separator||".",this.segments=this._parse(t),this.data=s,this._hasDeepWildcard=this.segments.some(t=>"deep-wildcard"===t.type),this._hasAttributeCondition=this.segments.some(t=>void 0!==t.attrName),this._hasPositionSelector=this.segments.some(t=>void 0!==t.position)}_parse(t){const e=[];let s=0,i="";for(;s<t.length;)t[s]===this.separator?s+1<t.length&&t[s+1]===this.separator?(i.trim()&&(e.push(this._parseSegment(i.trim())),i=""),e.push({type:"deep-wildcard"}),s+=2):(i.trim()&&e.push(this._parseSegment(i.trim())),i="",s++):(i+=t[s],s++);return i.trim()&&e.push(this._parseSegment(i.trim())),e}_parseSegment(t){const e={type:"tag"};let s=null,i=t;const h=t.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(h&&(i=h[1]+h[3],h[2])){const t=h[2].slice(1,-1);t&&(s=t)}let n,r,a=i;if(i.includes("::")){const e=i.indexOf("::");if(n=i.substring(0,e).trim(),a=i.substring(e+2).trim(),!n)throw new Error(`Invalid namespace in pattern: ${t}`)}let p=null;if(a.includes(":")){const t=a.lastIndexOf(":"),e=a.substring(0,t).trim(),s=a.substring(t+1).trim();["first","last","odd","even"].includes(s)||/^nth\(\d+\)$/.test(s)?(r=e,p=s):r=a}else r=a;if(!r)throw new Error(`Invalid segment pattern: ${t}`);if(e.tag=r,n&&(e.namespace=n),s)if(s.includes("=")){const t=s.indexOf("=");e.attrName=s.substring(0,t).trim(),e.attrValue=s.substring(t+1).trim()}else e.attrName=s.trim();if(p){const t=p.match(/^nth\((\d+)\)$/);t?(e.position="nth",e.positionValue=parseInt(t[1],10)):e.position=p}return e}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class i{constructor(t){this._matcher=t}get separator(){return this._matcher.separator}getCurrentTag(){const t=this._matcher.path;return t.length>0?t[t.length-1].tag:void 0}getCurrentNamespace(){const t=this._matcher.path;return t.length>0?t[t.length-1].namespace:void 0}getAttrValue(t){const e=this._matcher.path;if(0!==e.length)return e[e.length-1].values?.[t]}hasAttr(t){const e=this._matcher.path;if(0===e.length)return!1;const s=e[e.length-1];return void 0!==s.values&&t in s.values}getPosition(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].position??0}getCounter(){const t=this._matcher.path;return 0===t.length?-1:t[t.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(t,e=!0){return this._matcher.toString(t,e)}toArray(){return this._matcher.path.map(t=>t.tag)}matches(t){return this._matcher.matches(t)}matchesAny(t){return t.matchesAny(this._matcher)}}class h{constructor(t={}){this.separator=t.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new i(this)}push(t,e=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);const i=this.path.length;this.siblingStacks[i]||(this.siblingStacks[i]=new Map);const h=this.siblingStacks[i],n=s?`${s}:${t}`:t,r=h.get(n)||0;let a=0;for(const t of h.values())a+=t;h.set(n,r+1);const p={tag:t,position:a,counter:r};null!=s&&(p.namespace=s),null!=e&&(p.values=e),this.path.push(p)}pop(){if(0===this.path.length)return;this._pathStringCache=null;const t=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),t}updateCurrent(t){if(this.path.length>0){const e=this.path[this.path.length-1];null!=t&&(e.values=t)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(t){if(0!==this.path.length)return this.path[this.path.length-1].values?.[t]}hasAttr(t){if(0===this.path.length)return!1;const e=this.path[this.path.length-1];return void 0!==e.values&&t in e.values}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(t,e=!0){const s=t||this.separator;if(s===this.separator&&!0===e){if(null!==this._pathStringCache)return this._pathStringCache;const t=this.path.map(t=>t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s);return this._pathStringCache=t,t}return this.path.map(t=>e&&t.namespace?`${t.namespace}:${t.tag}`:t.tag).join(s)}toArray(){return this.path.map(t=>t.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(t){const e=t.segments;return 0!==e.length&&(t.hasDeepWildcard()?this._matchWithDeepWildcard(e):this._matchSimple(e))}_matchSimple(t){if(this.path.length!==t.length)return!1;for(let e=0;e<t.length;e++)if(!this._matchSegment(t[e],this.path[e],e===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(t){let e=this.path.length-1,s=t.length-1;for(;s>=0&&e>=0;){const i=t[s];if("deep-wildcard"===i.type){if(s--,s<0)return!0;const i=t[s];let h=!1;for(let t=e;t>=0;t--)if(this._matchSegment(i,this.path[t],t===this.path.length-1)){e=t-1,s--,h=!0;break}if(!h)return!1}else{if(!this._matchSegment(i,this.path[e],e===this.path.length-1))return!1;e--,s--}}return s<0}_matchSegment(t,e,s){if("*"!==t.tag&&t.tag!==e.tag)return!1;if(void 0!==t.namespace&&"*"!==t.namespace&&t.namespace!==e.namespace)return!1;if(void 0!==t.attrName){if(!s)return!1;if(!e.values||!(t.attrName in e.values))return!1;if(void 0!==t.attrValue&&String(e.values[t.attrName])!==String(t.attrValue))return!1}if(void 0!==t.position){if(!s)return!1;const i=e.counter??0;if("first"===t.position&&0!==i)return!1;if("odd"===t.position&&i%2!=1)return!1;if("even"===t.position&&i%2!=0)return!1;if("nth"===t.position&&i!==t.positionValue)return!1}return!0}matchesAny(t){return t.matchesAny(this)}snapshot(){return{path:this.path.map(t=>({...t})),siblingStacks:this.siblingStacks.map(t=>new Map(t))}}restore(t){this._pathStringCache=null,this.path=t.path.map(t=>({...t})),this.siblingStacks=t.siblingStacks.map(t=>new Map(t))}readOnly(){return this._view}}class n{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._patterns=new Set,this._sealed=!1}add(t){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(t.pattern))return this;if(this._patterns.add(t.pattern),t.hasDeepWildcard())return this._deepWildcards.push(t),this;const e=t.length,s=t.segments[t.segments.length-1],i=s?.tag;if(i&&"*"!==i){const s=`${e}:${i}`;this._byDepthAndTag.has(s)||this._byDepthAndTag.set(s,[]),this._byDepthAndTag.get(s).push(t)}else this._wildcardByDepth.has(e)||this._wildcardByDepth.set(e,[]),this._wildcardByDepth.get(e).push(t);return this}addAll(t){for(const e of t)this.add(e);return this}has(t){return this._patterns.has(t.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(t){return null!==this.findMatch(t)}findMatch(t){const e=t.getDepth(),s=`${e}:${t.getCurrentTag()}`,i=this._byDepthAndTag.get(s);if(i)for(let e=0;e<i.length;e++)if(t.matches(i[e]))return i[e];const h=this._wildcardByDepth.get(e);if(h)for(let e=0;e<h.length;e++)if(t.matches(h[e]))return h[e];for(let e=0;e<this._deepWildcards.length;e++)if(t.matches(this._deepWildcards[e]))return this._deepWildcards[e];return null}}const r={Expression:s,Matcher:h,ExpressionSet:n};module.exports=e})();