cdk-rds-sql 3.4.0 → 3.4.1

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 (985) hide show
  1. package/.jsii +6 -6
  2. package/.pre-commit-config.yaml +1 -1
  3. package/lib/database.js +1 -1
  4. package/lib/handler.js +2 -2
  5. package/lib/provider.js +3 -2
  6. package/lib/role.js +1 -1
  7. package/lib/schema.js +1 -1
  8. package/lib/sql.js +1 -1
  9. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +30 -0
  10. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +1 -0
  11. package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.js → main/crossPlatformSha256.js} +0 -5
  12. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +1 -0
  13. package/node_modules/@aws-crypto/sha256-browser/build/{index.d.ts → main/index.d.ts} +0 -1
  14. package/node_modules/@aws-crypto/sha256-browser/build/{index.js → main/index.js} +1 -3
  15. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +1 -0
  16. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +1 -0
  17. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +1 -0
  18. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +10 -0
  19. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +40 -0
  20. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +1 -0
  21. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +8 -0
  22. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +27 -0
  23. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +1 -0
  24. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +2 -0
  25. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +3 -0
  26. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +1 -0
  27. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +7 -0
  28. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +1 -0
  29. package/node_modules/@aws-crypto/sha256-browser/build/{ie11Sha256.d.ts → module/webCryptoSha256.d.ts} +3 -2
  30. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +53 -0
  31. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +1 -0
  32. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +10 -0
  33. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  34. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  35. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  36. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  37. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/package.json +60 -0
  38. package/node_modules/@aws-crypto/{ie11-detection → sha256-browser/node_modules/@smithy/util-buffer-from}/LICENSE +4 -5
  39. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +10 -0
  40. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  41. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  42. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  43. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  44. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/package.json +61 -0
  45. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +201 -0
  46. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +4 -0
  47. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  48. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  49. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  50. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  51. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  52. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  53. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  54. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts} +0 -1
  55. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts} +0 -1
  56. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  57. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  58. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  59. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  60. package/node_modules/{@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts} +1 -2
  61. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  62. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  63. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  64. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  65. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  66. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +66 -0
  67. package/node_modules/@aws-crypto/sha256-browser/package.json +11 -11
  68. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -4
  69. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -1
  70. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +3 -15
  71. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +7 -0
  72. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +20 -0
  73. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +1 -0
  74. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +1 -0
  75. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +1 -0
  76. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +1 -0
  77. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +1 -0
  78. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +17 -0
  79. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +121 -0
  80. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +1 -0
  81. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +20 -0
  82. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +95 -0
  83. package/node_modules/@aws-crypto/sha256-js/build/{constants.js.map → module/constants.js.map} +1 -1
  84. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +1 -0
  85. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +2 -0
  86. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +1 -0
  87. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +12 -0
  88. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +82 -0
  89. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +1 -0
  90. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +5 -0
  91. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +319 -0
  92. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +1 -0
  93. package/node_modules/@aws-crypto/sha256-js/package.json +11 -7
  94. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +3 -10
  95. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +7 -0
  96. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +20 -0
  97. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +5 -0
  98. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +1 -0
  99. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +69 -0
  100. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +1 -0
  101. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +1 -0
  102. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +2 -0
  103. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +1 -0
  104. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +4 -0
  105. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +62 -0
  106. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +1 -0
  107. package/node_modules/@aws-crypto/supports-web-crypto/package.json +7 -5
  108. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +3 -9
  109. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +7 -0
  110. package/node_modules/@aws-crypto/util/CHANGELOG.md +24 -0
  111. package/node_modules/@aws-crypto/util/build/{convertToBuffer.js → main/convertToBuffer.js} +2 -2
  112. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +1 -0
  113. package/node_modules/@aws-crypto/util/build/main/index.js.map +1 -0
  114. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +2 -0
  115. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +1 -0
  116. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +1 -0
  117. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +1 -0
  118. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +2 -0
  119. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +20 -0
  120. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +1 -0
  121. package/node_modules/@aws-crypto/util/build/module/index.d.ts +4 -0
  122. package/node_modules/@aws-crypto/util/build/module/index.js +7 -0
  123. package/node_modules/@aws-crypto/util/build/module/index.js.map +1 -0
  124. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +2 -0
  125. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +9 -0
  126. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +1 -0
  127. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +1 -0
  128. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +11 -0
  129. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +1 -0
  130. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +1 -0
  131. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +16 -0
  132. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +1 -0
  133. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +201 -0
  134. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +10 -0
  135. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +32 -0
  136. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-es/index.js +2 -0
  137. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +4 -0
  138. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +4 -0
  139. package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json +60 -0
  140. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +201 -0
  141. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +10 -0
  142. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +47 -0
  143. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-es/index.js +14 -0
  144. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +13 -0
  145. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +13 -0
  146. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json +61 -0
  147. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +201 -0
  148. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +4 -0
  149. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -0
  150. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +1 -0
  151. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +5 -0
  152. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +3 -0
  153. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +10 -0
  154. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -0
  155. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +10 -0
  156. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +1 -0
  157. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +1 -0
  158. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/index.d.ts +3 -0
  159. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +1 -0
  160. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -0
  161. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -0
  162. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +1 -0
  163. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +1 -0
  164. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +3 -0
  165. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +1 -0
  166. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -0
  167. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -0
  168. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +66 -0
  169. package/node_modules/@aws-crypto/util/package.json +8 -7
  170. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +1 -1
  171. package/node_modules/@aws-crypto/util/tsconfig.json +2 -16
  172. package/node_modules/@aws-crypto/util/tsconfig.module.json +7 -0
  173. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/endpointResolver.js +6 -2
  174. package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js +35 -108
  175. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/SecretsManagerClient.js +9 -15
  176. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/BatchGetSecretValueCommand.js +1 -3
  177. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CancelRotateSecretCommand.js +1 -3
  178. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CreateSecretCommand.js +1 -3
  179. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteResourcePolicyCommand.js +1 -3
  180. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteSecretCommand.js +1 -3
  181. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DescribeSecretCommand.js +1 -3
  182. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetRandomPasswordCommand.js +1 -3
  183. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetResourcePolicyCommand.js +1 -3
  184. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetSecretValueCommand.js +1 -3
  185. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretVersionIdsCommand.js +1 -3
  186. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretsCommand.js +1 -3
  187. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutResourcePolicyCommand.js +1 -3
  188. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutSecretValueCommand.js +1 -3
  189. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RemoveRegionsFromReplicationCommand.js +1 -3
  190. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ReplicateSecretToRegionsCommand.js +1 -3
  191. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RestoreSecretCommand.js +1 -3
  192. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RotateSecretCommand.js +1 -3
  193. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/StopReplicationToReplicaCommand.js +1 -3
  194. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/TagResourceCommand.js +1 -3
  195. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UntagResourceCommand.js +1 -3
  196. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretCommand.js +1 -3
  197. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretVersionStageCommand.js +1 -3
  198. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ValidateResourcePolicyCommand.js +1 -3
  199. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/endpoint/endpointResolver.js +7 -3
  200. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/models/models_0.js +1 -0
  201. package/node_modules/@aws-sdk/client-secrets-manager/dist-es/protocols/Aws_json1_1.js +1 -0
  202. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +6 -8
  203. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  204. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/BatchGetSecretValueCommand.d.ts +2 -1
  205. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CancelRotateSecretCommand.d.ts +2 -1
  206. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/CreateSecretCommand.d.ts +6 -2
  207. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  208. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DeleteSecretCommand.d.ts +2 -1
  209. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/DescribeSecretCommand.d.ts +2 -1
  210. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetRandomPasswordCommand.d.ts +2 -1
  211. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  212. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/GetSecretValueCommand.d.ts +2 -1
  213. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  214. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ListSecretsCommand.d.ts +2 -1
  215. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -1
  216. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/PutSecretValueCommand.d.ts +7 -2
  217. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  218. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  219. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RestoreSecretCommand.d.ts +2 -1
  220. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/RotateSecretCommand.d.ts +2 -1
  221. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  222. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/TagResourceCommand.d.ts +2 -1
  223. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  224. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretCommand.d.ts +6 -2
  225. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  226. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  227. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +2 -2
  228. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/SecretsManagerServiceException.d.ts +2 -1
  229. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +15 -1
  230. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +4 -2
  231. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +4 -2
  232. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +5 -3
  233. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManagerClient.d.ts +7 -9
  234. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +2 -1
  235. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +2 -1
  238. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +2 -1
  239. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +2 -1
  240. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +2 -1
  241. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +2 -1
  242. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +2 -1
  243. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +2 -1
  244. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +2 -1
  245. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -1
  246. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +2 -1
  247. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -1
  248. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +2 -1
  249. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +2 -1
  250. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +2 -1
  251. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +2 -1
  252. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  253. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  254. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +2 -1
  255. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +2 -1
  256. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +2 -1
  257. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +2 -1
  258. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +1 -0
  259. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  260. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  261. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  262. package/node_modules/@aws-sdk/client-secrets-manager/package.json +37 -37
  263. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +6 -2
  264. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +13 -31
  265. package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +9 -15
  266. package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +1 -3
  267. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +1 -3
  268. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +1 -3
  269. package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +1 -3
  270. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +7 -3
  271. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -8
  272. package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  273. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  274. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  275. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  276. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  277. package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +2 -2
  278. package/node_modules/@aws-sdk/client-sso/dist-types/models/SSOServiceException.d.ts +2 -1
  279. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +4 -2
  280. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +4 -2
  281. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -3
  282. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +7 -9
  283. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +2 -1
  284. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +2 -1
  285. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -1
  286. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +2 -1
  287. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/SSOServiceException.d.ts +2 -1
  288. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  289. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  290. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  291. package/node_modules/@aws-sdk/client-sso/package.json +34 -34
  292. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +6 -2
  293. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +13 -31
  294. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +9 -15
  295. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +1 -3
  296. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
  297. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +1 -3
  298. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
  299. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +7 -3
  300. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +6 -8
  301. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  302. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
  303. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  304. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -1
  305. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  306. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +2 -2
  307. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/SSOOIDCServiceException.d.ts +2 -1
  308. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +4 -2
  309. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -2
  310. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +5 -3
  311. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +7 -9
  312. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -1
  313. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  314. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +2 -1
  315. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  316. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/SSOOIDCServiceException.d.ts +2 -1
  317. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  318. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  319. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  320. package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -36
  321. package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +9 -15
  322. package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +6 -2
  323. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +33 -40
  324. package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +9 -15
  325. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +1 -3
  326. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +1 -3
  327. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +1 -3
  328. package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +1 -3
  329. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +1 -3
  330. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +1 -3
  331. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +1 -3
  332. package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +1 -3
  333. package/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js +24 -6
  334. package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +7 -3
  335. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -8
  336. package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
  337. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  338. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  339. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  340. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  341. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  342. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  343. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  344. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  345. package/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +2 -2
  346. package/node_modules/@aws-sdk/client-sts/dist-types/models/STSServiceException.d.ts +2 -1
  347. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +4 -2
  348. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +4 -2
  349. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -3
  350. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +7 -9
  351. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +2 -1
  352. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  353. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  354. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  355. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  356. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +2 -1
  357. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +2 -1
  358. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +2 -1
  359. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/STSServiceException.d.ts +2 -1
  360. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -5
  361. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +7 -5
  362. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -6
  363. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  364. package/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
  365. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
  366. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +10 -1
  367. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +81 -9
  368. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
  369. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
  370. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
  371. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
  372. package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +8 -1
  373. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +20 -0
  374. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +20 -0
  375. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +14 -2
  376. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +20 -0
  377. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +3 -1
  378. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
  379. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
  380. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
  381. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
  382. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
  383. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +5 -0
  384. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
  385. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +26 -1
  386. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +5 -0
  387. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +3 -1
  388. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
  389. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
  390. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
  391. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
  392. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
  393. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +4 -0
  394. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
  395. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +18 -0
  396. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +4 -0
  397. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -1
  398. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
  399. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +11 -0
  400. package/node_modules/@aws-sdk/core/package.json +25 -9
  401. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +8 -3
  402. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +5 -2
  403. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +4 -0
  404. package/node_modules/@aws-sdk/credential-provider-env/dist-types/ts3.4/fromEnv.d.ts +1 -0
  405. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  406. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  407. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +4 -4
  408. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -9
  409. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +4 -8
  410. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +2 -2
  411. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +4 -4
  412. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -9
  413. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -8
  414. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +3 -1
  415. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  416. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  417. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  418. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/checkUrl.d.ts +2 -1
  419. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.browser.d.ts +1 -1
  420. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/fromHttp.d.ts +1 -1
  421. package/node_modules/@aws-sdk/credential-provider-http/dist-types/ts3.4/fromHttp/requestHelpers.d.ts +3 -2
  422. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  423. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +73 -22
  424. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  425. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +35 -14
  426. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +19 -6
  427. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
  428. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
  429. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +5 -2
  430. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +2 -2
  431. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +1 -0
  432. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +11 -2
  433. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveCredentialSource.d.ts +3 -2
  434. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveStaticCredentials.d.ts +1 -0
  435. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -11
  436. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  437. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +44 -16
  438. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +39 -16
  439. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +3 -3
  440. package/node_modules/@aws-sdk/credential-provider-node/dist-types/defaultProvider.d.ts +2 -1
  441. package/node_modules/@aws-sdk/credential-provider-node/dist-types/remoteProvider.d.ts +2 -1
  442. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/defaultProvider.d.ts +2 -0
  443. package/node_modules/@aws-sdk/credential-provider-node/dist-types/ts3.4/remoteProvider.d.ts +2 -1
  444. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  445. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +17 -9
  446. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +2 -2
  447. package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +6 -1
  448. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +7 -5
  449. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ProcessCredentials.d.ts +1 -0
  450. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  451. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +2 -2
  452. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/ProcessCredentials.d.ts +1 -0
  453. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/getValidatedProcessCredentials.d.ts +3 -2
  454. package/node_modules/@aws-sdk/credential-provider-process/dist-types/ts3.4/resolveProcessCredentials.d.ts +3 -2
  455. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  456. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +54 -23
  457. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +15 -7
  458. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +30 -8
  459. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +2 -2
  460. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
  461. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
  462. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/validateSsoProfile.d.ts +3 -1
  463. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -1
  464. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  465. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -2
  466. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -1
  467. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +4 -2
  468. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
  469. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  470. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  471. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  472. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  473. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +11 -0
  474. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  475. package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +11 -0
  476. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  477. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  478. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
  479. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  480. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  481. package/node_modules/@aws-sdk/types/package.json +2 -2
  482. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +16 -6
  483. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +9 -2
  484. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +7 -4
  485. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +9 -2
  486. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  487. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  488. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  489. package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +7 -4
  490. package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +6 -3
  491. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +7 -4
  492. package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +6 -3
  493. package/node_modules/@smithy/abort-controller/package.json +3 -3
  494. package/node_modules/@smithy/config-resolver/package.json +5 -5
  495. package/node_modules/@smithy/core/README.md +35 -2
  496. package/node_modules/@smithy/core/cbor.js +6 -0
  497. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  498. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +707 -0
  499. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
  500. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +181 -0
  501. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +20 -0
  502. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +15 -0
  503. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +2 -0
  504. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +82 -0
  505. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +2 -1
  506. package/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +2 -1
  507. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
  508. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
  509. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +40 -0
  510. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
  511. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +2 -0
  512. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +29 -0
  513. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
  514. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
  515. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +43 -0
  516. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
  517. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +2 -0
  518. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +29 -0
  519. package/node_modules/@smithy/core/package.json +40 -13
  520. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +32 -23
  521. package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +17 -6
  522. package/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js +11 -9
  523. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js +1 -0
  524. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/ImdsCredentials.d.ts +1 -0
  525. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/ImdsCredentials.d.ts +1 -0
  526. package/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  527. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -5
  528. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +17 -3
  529. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  530. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  531. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  532. package/node_modules/@smithy/hash-node/package.json +3 -3
  533. package/node_modules/@smithy/invalid-dependency/package.json +3 -3
  534. package/node_modules/@smithy/middleware-content-length/package.json +5 -5
  535. package/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js +1 -1
  536. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +23 -2
  537. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +7 -0
  538. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js +1 -1
  539. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +7 -1
  540. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +10 -1
  541. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts +4 -1
  542. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +11 -0
  543. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts +4 -1
  544. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +11 -0
  545. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  546. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  547. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  548. package/node_modules/@smithy/middleware-stack/package.json +3 -3
  549. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +21 -3
  550. package/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js +3 -2
  551. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -2
  552. package/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js +12 -0
  553. package/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts +2 -2
  554. package/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts +9 -0
  555. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts +2 -2
  556. package/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts +9 -0
  557. package/node_modules/@smithy/node-config-provider/package.json +5 -5
  558. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +119 -54
  559. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +29 -14
  560. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +9 -1
  561. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +27 -13
  562. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +18 -5
  563. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +12 -4
  564. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
  565. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +6 -1
  566. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -1
  567. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +6 -1
  568. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
  569. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -1
  570. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +2 -1
  571. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -1
  572. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  573. package/node_modules/@smithy/property-provider/dist-cjs/index.js +28 -10
  574. package/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +2 -3
  575. package/node_modules/@smithy/property-provider/dist-es/ProviderError.js +15 -4
  576. package/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +2 -3
  577. package/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +16 -3
  578. package/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +25 -3
  579. package/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +16 -3
  580. package/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +16 -3
  581. package/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +25 -3
  582. package/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +16 -3
  583. package/node_modules/@smithy/property-provider/package.json +3 -3
  584. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +30 -8
  585. package/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +13 -8
  586. package/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +31 -1
  587. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +31 -1
  588. package/node_modules/@smithy/protocol-http/package.json +3 -3
  589. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  590. package/node_modules/@smithy/querystring-parser/package.json +3 -3
  591. package/node_modules/@smithy/service-error-classification/package.json +3 -3
  592. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +18 -2
  593. package/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +14 -2
  594. package/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -1
  595. package/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +5 -1
  596. package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  597. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +4 -16
  598. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -2
  599. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -2
  600. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  601. package/node_modules/@smithy/signature-v4/dist-types/moveHeadersToQuery.d.ts +3 -3
  602. package/node_modules/@smithy/signature-v4/dist-types/prepareRequest.d.ts +2 -2
  603. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  604. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/moveHeadersToQuery.d.ts +3 -3
  605. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/prepareRequest.d.ts +2 -2
  606. package/node_modules/@smithy/signature-v4/package.json +6 -6
  607. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +27 -4
  608. package/node_modules/@smithy/smithy-client/dist-es/client.js +22 -4
  609. package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
  610. package/node_modules/@smithy/smithy-client/dist-es/date-utils.js +3 -0
  611. package/node_modules/@smithy/smithy-client/dist-es/ser-utils.js +1 -0
  612. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +22 -1
  613. package/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts +5 -0
  614. package/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts +2 -0
  615. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +22 -1
  616. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts +5 -0
  617. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts +2 -0
  618. package/node_modules/@smithy/smithy-client/package.json +7 -7
  619. package/node_modules/@smithy/types/README.md +36 -1
  620. package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
  621. package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
  622. package/node_modules/@smithy/types/dist-types/abort.d.ts +4 -3
  623. package/node_modules/@smithy/types/dist-types/command.d.ts +14 -1
  624. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  625. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +11 -0
  626. package/node_modules/@smithy/types/dist-types/http.d.ts +2 -2
  627. package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +4 -0
  628. package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +6 -6
  629. package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +12 -6
  630. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +8 -3
  631. package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
  632. package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +4 -3
  633. package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +14 -1
  634. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
  635. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +11 -0
  636. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +2 -2
  637. package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +4 -0
  638. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +6 -6
  639. package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +8 -10
  640. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +6 -9
  641. package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +3 -3
  642. package/node_modules/@smithy/types/dist-types/waiter.d.ts +3 -3
  643. package/node_modules/@smithy/types/package.json +1 -1
  644. package/node_modules/@smithy/url-parser/package.json +4 -4
  645. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  646. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  647. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +73 -11
  648. package/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js +49 -0
  649. package/node_modules/@smithy/util-endpoints/dist-es/index.js +1 -0
  650. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +0 -10
  651. package/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts +34 -0
  652. package/node_modules/@smithy/util-endpoints/dist-types/index.d.ts +1 -0
  653. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts +34 -0
  654. package/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  655. package/node_modules/@smithy/util-endpoints/package.json +4 -4
  656. package/node_modules/@smithy/util-middleware/package.json +3 -3
  657. package/node_modules/@smithy/util-retry/package.json +4 -4
  658. package/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js +36 -0
  659. package/node_modules/@smithy/util-stream/dist-cjs/headStream.js +46 -0
  660. package/node_modules/@smithy/util-stream/dist-cjs/index.js +7 -1
  661. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js +3 -3
  662. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js +11 -0
  663. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +17 -0
  664. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +9 -0
  665. package/node_modules/@smithy/util-stream/dist-es/headStream.browser.js +31 -0
  666. package/node_modules/@smithy/util-stream/dist-es/headStream.js +41 -0
  667. package/node_modules/@smithy/util-stream/dist-es/index.js +3 -0
  668. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js +3 -3
  669. package/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js +7 -0
  670. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +13 -0
  671. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +2 -0
  672. package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +8 -0
  673. package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +9 -0
  674. package/node_modules/@smithy/util-stream/dist-types/index.d.ts +3 -0
  675. package/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts +5 -0
  676. package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +8 -0
  677. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +12 -0
  678. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +8 -0
  679. package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +9 -0
  680. package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +3 -0
  681. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts +8 -0
  682. package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +14 -0
  683. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +12 -0
  684. package/node_modules/@smithy/util-stream/package.json +14 -8
  685. package/node_modules/@types/aws-lambda/README.md +2 -2
  686. package/node_modules/@types/aws-lambda/index.d.ts +1 -0
  687. package/node_modules/@types/aws-lambda/package.json +8 -3
  688. package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +3 -1
  689. package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +133 -42
  690. package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +196 -30
  691. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +1 -1
  692. package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +1 -1
  693. package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
  694. package/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts +2 -1
  695. package/node_modules/fast-xml-parser/CHANGELOG.md +349 -309
  696. package/node_modules/fast-xml-parser/README.md +83 -51
  697. package/node_modules/fast-xml-parser/package.json +8 -5
  698. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  699. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  700. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  701. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  702. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  703. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  704. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  705. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  706. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
  707. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  708. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  709. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  710. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  711. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  712. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  713. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  714. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  715. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  716. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  717. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  718. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  719. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
  720. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  721. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  722. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  723. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  724. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +31 -9
  725. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +4 -0
  726. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +25 -12
  727. package/node_modules/pg/lib/native/query.js +3 -0
  728. package/node_modules/pg/lib/query.js +5 -0
  729. package/node_modules/pg/package.json +3 -3
  730. package/node_modules/tslib/package.json +1 -1
  731. package/node_modules/tslib/tslib.d.ts +1 -1
  732. package/node_modules/tslib/tslib.es6.js +19 -10
  733. package/node_modules/tslib/tslib.es6.mjs +23 -15
  734. package/node_modules/tslib/tslib.js +19 -11
  735. package/package.json +22 -16
  736. package/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +0 -46
  737. package/node_modules/@aws-crypto/ie11-detection/README.md +0 -20
  738. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.d.ts +0 -19
  739. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js +0 -3
  740. package/node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js.map +0 -1
  741. package/node_modules/@aws-crypto/ie11-detection/build/Key.d.ts +0 -12
  742. package/node_modules/@aws-crypto/ie11-detection/build/Key.js +0 -3
  743. package/node_modules/@aws-crypto/ie11-detection/build/Key.js.map +0 -1
  744. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.d.ts +0 -12
  745. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js +0 -3
  746. package/node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js.map +0 -1
  747. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +0 -33
  748. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js +0 -3
  749. package/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js.map +0 -1
  750. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.d.ts +0 -21
  751. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js +0 -32
  752. package/node_modules/@aws-crypto/ie11-detection/build/MsWindow.js.map +0 -1
  753. package/node_modules/@aws-crypto/ie11-detection/build/index.d.ts +0 -5
  754. package/node_modules/@aws-crypto/ie11-detection/build/index.js +0 -9
  755. package/node_modules/@aws-crypto/ie11-detection/build/index.js.map +0 -1
  756. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/CopyrightNotice.txt +0 -15
  757. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/LICENSE.txt +0 -12
  758. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/README.md +0 -142
  759. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/index.js +0 -51
  760. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/modules/package.json +0 -3
  761. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/package.json +0 -37
  762. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  763. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  764. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.d.ts +0 -37
  765. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.html +0 -1
  766. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.es6.js +0 -218
  767. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.html +0 -1
  768. package/node_modules/@aws-crypto/ie11-detection/node_modules/tslib/tslib.js +0 -284
  769. package/node_modules/@aws-crypto/ie11-detection/package.json +0 -26
  770. package/node_modules/@aws-crypto/ie11-detection/src/CryptoOperation.ts +0 -21
  771. package/node_modules/@aws-crypto/ie11-detection/src/Key.ts +0 -12
  772. package/node_modules/@aws-crypto/ie11-detection/src/KeyOperation.ts +0 -13
  773. package/node_modules/@aws-crypto/ie11-detection/src/MsSubtleCrypto.ts +0 -88
  774. package/node_modules/@aws-crypto/ie11-detection/src/MsWindow.ts +0 -59
  775. package/node_modules/@aws-crypto/ie11-detection/src/index.ts +0 -5
  776. package/node_modules/@aws-crypto/ie11-detection/tsconfig.json +0 -17
  777. package/node_modules/@aws-crypto/sha256-browser/build/constants.js.map +0 -1
  778. package/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +0 -1
  779. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +0 -80
  780. package/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +0 -1
  781. package/node_modules/@aws-crypto/sha256-browser/build/index.js.map +0 -1
  782. package/node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js.map +0 -1
  783. package/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +0 -1
  784. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/CopyrightNotice.txt +0 -15
  785. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/LICENSE.txt +0 -12
  786. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/README.md +0 -142
  787. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/index.js +0 -51
  788. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/modules/package.json +0 -3
  789. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/package.json +0 -37
  790. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  791. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  792. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.d.ts +0 -37
  793. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.html +0 -1
  794. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.es6.js +0 -218
  795. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.html +0 -1
  796. package/node_modules/@aws-crypto/sha256-browser/node_modules/tslib/tslib.js +0 -284
  797. package/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +0 -108
  798. package/node_modules/@aws-crypto/sha256-js/build/RawSha256.js.map +0 -1
  799. package/node_modules/@aws-crypto/sha256-js/build/index.js.map +0 -1
  800. package/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +0 -1
  801. package/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +0 -1
  802. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/CopyrightNotice.txt +0 -15
  803. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/LICENSE.txt +0 -12
  804. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/README.md +0 -142
  805. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/index.js +0 -51
  806. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/modules/package.json +0 -3
  807. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/package.json +0 -37
  808. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  809. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  810. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.d.ts +0 -37
  811. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.html +0 -1
  812. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.es6.js +0 -218
  813. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.html +0 -1
  814. package/node_modules/@aws-crypto/sha256-js/node_modules/tslib/tslib.js +0 -284
  815. package/node_modules/@aws-crypto/supports-web-crypto/build/index.js +0 -5
  816. package/node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js +0 -69
  817. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/CopyrightNotice.txt +0 -15
  818. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/LICENSE.txt +0 -12
  819. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/README.md +0 -142
  820. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/index.js +0 -51
  821. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/modules/package.json +0 -3
  822. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/package.json +0 -37
  823. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  824. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  825. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.d.ts +0 -37
  826. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.html +0 -1
  827. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.es6.js +0 -218
  828. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.html +0 -1
  829. package/node_modules/@aws-crypto/supports-web-crypto/node_modules/tslib/tslib.js +0 -284
  830. package/node_modules/@aws-crypto/util/build/convertToBuffer.js.map +0 -1
  831. package/node_modules/@aws-crypto/util/build/index.js.map +0 -1
  832. package/node_modules/@aws-crypto/util/build/isEmptyData.js.map +0 -1
  833. package/node_modules/@aws-crypto/util/build/numToUint8.js.map +0 -1
  834. package/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js.map +0 -1
  835. package/node_modules/@aws-crypto/util/node_modules/tslib/CopyrightNotice.txt +0 -15
  836. package/node_modules/@aws-crypto/util/node_modules/tslib/LICENSE.txt +0 -12
  837. package/node_modules/@aws-crypto/util/node_modules/tslib/README.md +0 -142
  838. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/index.js +0 -51
  839. package/node_modules/@aws-crypto/util/node_modules/tslib/modules/package.json +0 -3
  840. package/node_modules/@aws-crypto/util/node_modules/tslib/package.json +0 -37
  841. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/index.js +0 -23
  842. package/node_modules/@aws-crypto/util/node_modules/tslib/test/validateModuleExportsMatchCommonJS/package.json +0 -6
  843. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.d.ts +0 -37
  844. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.html +0 -1
  845. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.es6.js +0 -218
  846. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.html +0 -1
  847. package/node_modules/@aws-crypto/util/node_modules/tslib/tslib.js +0 -284
  848. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/fromProcess.js +0 -1
  849. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/getValidatedProcessCredentials.js +0 -1
  850. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/resolveProcessCredentials.js +0 -1
  851. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/fromSSO.js +0 -1
  852. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/isSsoProfile.js +0 -1
  853. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso.js +0 -1
  854. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +0 -1
  855. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/types.js +0 -1
  856. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/validateSsoProfile.js +0 -1
  857. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +0 -1
  858. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/configurations.js +0 -1
  859. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/constants.js +0 -1
  860. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +0 -1
  861. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +0 -1
  862. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +0 -1
  863. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +0 -1
  864. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +0 -1
  865. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +0 -1
  866. package/node_modules/@aws-sdk/token-providers/dist-cjs/constants.js +0 -1
  867. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromSso.js +0 -1
  868. package/node_modules/@aws-sdk/token-providers/dist-cjs/fromStatic.js +0 -1
  869. package/node_modules/@aws-sdk/token-providers/dist-cjs/getNewSsoOidcToken.js +0 -1
  870. package/node_modules/@aws-sdk/token-providers/dist-cjs/getSsoOidcClient.js +0 -1
  871. package/node_modules/@aws-sdk/token-providers/dist-cjs/nodeProvider.js +0 -1
  872. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenExpiry.js +0 -1
  873. package/node_modules/@aws-sdk/token-providers/dist-cjs/validateTokenKey.js +0 -1
  874. package/node_modules/@aws-sdk/token-providers/dist-cjs/writeSSOTokenToFile.js +0 -1
  875. package/node_modules/@aws-sdk/types/dist-cjs/abort.js +0 -1
  876. package/node_modules/@aws-sdk/types/dist-cjs/auth.js +0 -1
  877. package/node_modules/@aws-sdk/types/dist-cjs/blob/blob-types.js +0 -1
  878. package/node_modules/@aws-sdk/types/dist-cjs/checksum.js +0 -1
  879. package/node_modules/@aws-sdk/types/dist-cjs/client.js +0 -1
  880. package/node_modules/@aws-sdk/types/dist-cjs/command.js +0 -1
  881. package/node_modules/@aws-sdk/types/dist-cjs/connection.js +0 -1
  882. package/node_modules/@aws-sdk/types/dist-cjs/credentials.js +0 -1
  883. package/node_modules/@aws-sdk/types/dist-cjs/crypto.js +0 -1
  884. package/node_modules/@aws-sdk/types/dist-cjs/dns.js +0 -1
  885. package/node_modules/@aws-sdk/types/dist-cjs/encode.js +0 -1
  886. package/node_modules/@aws-sdk/types/dist-cjs/endpoint.js +0 -1
  887. package/node_modules/@aws-sdk/types/dist-cjs/eventStream.js +0 -1
  888. package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +0 -1
  889. package/node_modules/@aws-sdk/types/dist-cjs/http.js +0 -1
  890. package/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js +0 -1
  891. package/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js +0 -1
  892. package/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  893. package/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js +0 -1
  894. package/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js +0 -1
  895. package/node_modules/@aws-sdk/types/dist-cjs/identity/index.js +0 -1
  896. package/node_modules/@aws-sdk/types/dist-cjs/logger.js +0 -1
  897. package/node_modules/@aws-sdk/types/dist-cjs/middleware.js +0 -1
  898. package/node_modules/@aws-sdk/types/dist-cjs/pagination.js +0 -1
  899. package/node_modules/@aws-sdk/types/dist-cjs/profile.js +0 -1
  900. package/node_modules/@aws-sdk/types/dist-cjs/request.js +0 -1
  901. package/node_modules/@aws-sdk/types/dist-cjs/response.js +0 -1
  902. package/node_modules/@aws-sdk/types/dist-cjs/retry.js +0 -1
  903. package/node_modules/@aws-sdk/types/dist-cjs/serde.js +0 -1
  904. package/node_modules/@aws-sdk/types/dist-cjs/shapes.js +0 -1
  905. package/node_modules/@aws-sdk/types/dist-cjs/signature.js +0 -1
  906. package/node_modules/@aws-sdk/types/dist-cjs/stream.js +0 -1
  907. package/node_modules/@aws-sdk/types/dist-cjs/token.js +0 -1
  908. package/node_modules/@aws-sdk/types/dist-cjs/transfer.js +0 -1
  909. package/node_modules/@aws-sdk/types/dist-cjs/uri.js +0 -1
  910. package/node_modules/@aws-sdk/types/dist-cjs/util.js +0 -1
  911. package/node_modules/@aws-sdk/types/dist-cjs/waiter.js +0 -1
  912. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/aws.js +0 -1
  913. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/index.js +0 -1
  914. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/isVirtualHostableS3Bucket.js +0 -1
  915. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/parseArn.js +0 -1
  916. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +0 -1
  917. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/isIpAddress.js +0 -1
  918. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/resolveEndpoint.js +0 -1
  919. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointError.js +0 -1
  920. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/EndpointRuleObject.js +0 -1
  921. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/ErrorRuleObject.js +0 -1
  922. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/RuleSetObject.js +0 -1
  923. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/TreeRuleObject.js +0 -1
  924. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/index.js +0 -1
  925. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/types/shared.js +0 -1
  926. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/crt-availability.js +0 -1
  927. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/is-crt-available.js +0 -1
  928. package/node_modules/@aws-sdk/util-utf8-browser/README.md +0 -8
  929. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
  930. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
  931. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
  932. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
  933. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
  934. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
  935. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
  936. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
  937. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
  938. package/node_modules/@aws-sdk/util-utf8-browser/package.json +0 -50
  939. package/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js +0 -1
  940. package/node_modules/@smithy/signature-v4/dist-es/cloneRequest.js +0 -12
  941. package/node_modules/@smithy/signature-v4/dist-types/cloneRequest.d.ts +0 -6
  942. package/node_modules/@smithy/signature-v4/dist-types/ts3.4/cloneRequest.d.ts +0 -6
  943. package/node_modules/source-map/CHANGELOG.md +0 -301
  944. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.d.ts → main/constants.d.ts} +0 -0
  945. /package/node_modules/@aws-crypto/sha256-browser/build/{constants.js → main/constants.js} +0 -0
  946. /package/node_modules/@aws-crypto/sha256-browser/build/{crossPlatformSha256.d.ts → main/crossPlatformSha256.d.ts} +0 -0
  947. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.d.ts → main/isEmptyData.d.ts} +0 -0
  948. /package/node_modules/@aws-crypto/sha256-browser/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  949. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.d.ts → main/webCryptoSha256.d.ts} +0 -0
  950. /package/node_modules/@aws-crypto/sha256-browser/build/{webCryptoSha256.js → main/webCryptoSha256.js} +0 -0
  951. /package/node_modules/@aws-crypto/{util/build → sha256-browser/build/module}/isEmptyData.d.ts +0 -0
  952. /package/node_modules/{@aws-sdk/util-utf8-browser → @aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer}/LICENSE +0 -0
  953. /package/node_modules/{@aws-sdk/credential-provider-env/dist-cjs/fromEnv.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
  954. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/fromIni.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
  955. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
  956. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveCredentialSource.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
  957. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProcessCredentials.js → @aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
  958. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.d.ts → main/RawSha256.d.ts} +0 -0
  959. /package/node_modules/@aws-crypto/sha256-js/build/{RawSha256.js → main/RawSha256.js} +0 -0
  960. /package/node_modules/@aws-crypto/sha256-js/build/{constants.d.ts → main/constants.d.ts} +0 -0
  961. /package/node_modules/@aws-crypto/sha256-js/build/{constants.js → main/constants.js} +0 -0
  962. /package/node_modules/@aws-crypto/sha256-js/build/{index.d.ts → main/index.d.ts} +0 -0
  963. /package/node_modules/@aws-crypto/sha256-js/build/{index.js → main/index.js} +0 -0
  964. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.d.ts → main/jsSha256.d.ts} +0 -0
  965. /package/node_modules/@aws-crypto/sha256-js/build/{jsSha256.js → main/jsSha256.js} +0 -0
  966. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.d.ts → main/knownHashes.fixture.d.ts} +0 -0
  967. /package/node_modules/@aws-crypto/sha256-js/build/{knownHashes.fixture.js → main/knownHashes.fixture.js} +0 -0
  968. /package/node_modules/@aws-crypto/supports-web-crypto/build/{index.d.ts → main/index.d.ts} +0 -0
  969. /package/node_modules/@aws-crypto/supports-web-crypto/build/{supportsWebCrypto.d.ts → main/supportsWebCrypto.d.ts} +0 -0
  970. /package/node_modules/@aws-crypto/util/build/{convertToBuffer.d.ts → main/convertToBuffer.d.ts} +0 -0
  971. /package/node_modules/@aws-crypto/util/build/{index.d.ts → main/index.d.ts} +0 -0
  972. /package/node_modules/@aws-crypto/util/build/{index.js → main/index.js} +0 -0
  973. /package/node_modules/@aws-crypto/util/build/{isEmptyData.js → main/isEmptyData.js} +0 -0
  974. /package/node_modules/@aws-crypto/util/build/{numToUint8.d.ts → main/numToUint8.d.ts} +0 -0
  975. /package/node_modules/@aws-crypto/util/build/{numToUint8.js → main/numToUint8.js} +0 -0
  976. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.d.ts → main/uint32ArrayFrom.d.ts} +0 -0
  977. /package/node_modules/@aws-crypto/util/build/{uint32ArrayFrom.js → main/uint32ArrayFrom.js} +0 -0
  978. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveProfileData.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js} +0 -0
  979. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveSsoCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js} +0 -0
  980. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveStaticCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js} +0 -0
  981. /package/node_modules/{@aws-sdk/credential-provider-ini/dist-cjs/resolveWebIdentityCredentials.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js} +0 -0
  982. /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/defaultProvider.js → @aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js} +0 -0
  983. /package/node_modules/{@aws-sdk/credential-provider-node/dist-cjs/remoteProvider.js → @smithy/node-config-provider/dist-cjs/getSelectorName.js} +0 -0
  984. /package/node_modules/{@aws-sdk/credential-provider-process/dist-cjs/ProcessCredentials.js → @smithy/types/dist-cjs/abort-handler.js} +0 -0
  985. /package/node_modules/{@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js → @smithy/util-endpoints/dist-cjs/cache/EndpointCache.js} +0 -0
@@ -0,0 +1,71 @@
1
+ class BaseOutputBuilder{
2
+ constructor(){
3
+ // this.attributes = {};
4
+ }
5
+
6
+ addAttribute(name, value){
7
+ if(this.options.onAttribute){
8
+ //TODO: better to pass tag path
9
+ const v = this.options.onAttribute(name, value, this.tagName);
10
+ if(v) this.attributes[v.name] = v.value;
11
+ }else{
12
+ name = this.options.attributes.prefix + name + this.options.attributes.suffix;
13
+ this.attributes[name] = this.parseValue(value, this.options.attributes.valueParsers);
14
+ }
15
+ }
16
+
17
+ /**
18
+ * parse value by chain of parsers
19
+ * @param {string} val
20
+ * @returns {any} parsed value if matching parser found
21
+ */
22
+ parseValue = function(val, valParsers){
23
+ for (let i = 0; i < valParsers.length; i++) {
24
+ let valParser = valParsers[i];
25
+ if(typeof valParser === "string"){
26
+ valParser = this.registeredParsers[valParser];
27
+ }
28
+ if(valParser){
29
+ val = valParser.parse(val);
30
+ }
31
+ }
32
+ return val;
33
+ }
34
+
35
+ /**
36
+ * To add a nested empty tag.
37
+ * @param {string} key
38
+ * @param {any} val
39
+ */
40
+ _addChild(key, val){}
41
+
42
+ /**
43
+ * skip the comment if property is not set
44
+ */
45
+ addComment(text){
46
+ if(this.options.nameFor.comment)
47
+ this._addChild(this.options.nameFor.comment, text);
48
+ }
49
+
50
+ //store CDATA separately if property is set
51
+ //otherwise add to tag's value
52
+ addCdata(text){
53
+ if (this.options.nameFor.cdata) {
54
+ this._addChild(this.options.nameFor.cdata, text);
55
+ } else {
56
+ this.addRawValue(text || "");
57
+ }
58
+ }
59
+
60
+ addRawValue = text => this.addValue(text);
61
+
62
+ addDeclaration(){
63
+ if(!this.options.declaration){
64
+ }else{
65
+ this.addPi("?xml");
66
+ }
67
+ this.attributes = {}
68
+ }
69
+ }
70
+
71
+ module.exports = BaseOutputBuilder;
@@ -0,0 +1,103 @@
1
+ const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder");
2
+
3
+ class OutputBuilder{
4
+ constructor(options){
5
+ this.options = buildOptions(options);
6
+ this.registeredParsers = registerCommonValueParsers(this.options);
7
+ }
8
+
9
+ registerValueParser(name,parserInstance){//existing name will override the parser without warning
10
+ this.registeredParsers[name] = parserInstance;
11
+ }
12
+
13
+ getInstance(parserOptions){
14
+ return new JsArrBuilder(parserOptions, this.options, this.registeredParsers);
15
+ }
16
+ }
17
+
18
+ const rootName = '!js_arr';
19
+ const BaseOutputBuilder = require("./BaseOutputBuilder");
20
+
21
+ class JsArrBuilder extends BaseOutputBuilder{
22
+
23
+ constructor(parserOptions, options,registeredParsers) {
24
+ super();
25
+ this.tagsStack = [];
26
+ this.parserOptions = parserOptions;
27
+ this.options = options;
28
+ this.registeredParsers = registeredParsers;
29
+
30
+ this.root = new Node(rootName);
31
+ this.currentNode = this.root;
32
+ this.attributes = {};
33
+ }
34
+
35
+ addTag(tag){
36
+ //when a new tag is added, it should be added as child of current node
37
+ //TODO: shift this check to the parser
38
+ if(tag.name === "__proto__") tag.name = "#__proto__";
39
+
40
+ this.tagsStack.push(this.currentNode);
41
+ this.currentNode = new Node(tag.name, this.attributes);
42
+ this.attributes = {};
43
+ }
44
+
45
+ /**
46
+ * Check if the node should be added by checking user's preference
47
+ * @param {Node} node
48
+ * @returns boolean: true if the node should not be added
49
+ */
50
+ closeTag(){
51
+ const node = this.currentNode;
52
+ this.currentNode = this.tagsStack.pop(); //set parent node in scope
53
+ if(this.options.onClose !== undefined){
54
+ //TODO TagPathMatcher
55
+ const resultTag = this.options.onClose(node,
56
+ new TagPathMatcher(this.tagsStack,node));
57
+
58
+ if(resultTag) return;
59
+ }
60
+ this.currentNode.child.push(node); //to parent node
61
+ }
62
+
63
+ //Called by parent class methods
64
+ _addChild(key, val){
65
+ // if(key === "__proto__") tagName = "#__proto__";
66
+ this.currentNode.child.push( {[key]: val });
67
+ // this.currentNode.leafType = false;
68
+ }
69
+
70
+ /**
71
+ * Add text value child node
72
+ * @param {string} text
73
+ */
74
+ addValue(text){
75
+ this.currentNode.child.push( {[this.options.nameFor.text]: this.parseValue(text, this.options.tags.valueParsers) });
76
+ }
77
+
78
+ addPi(name){
79
+ //TODO: set pi flag
80
+ if(!this.options.ignorePiTags){
81
+ const node = new Node(name, this.attributes);
82
+ this.currentNode[":@"] = this.attributes;
83
+ this.currentNode.child.push(node);
84
+ }
85
+ this.attributes = {};
86
+ }
87
+ getOutput(){
88
+ return this.root.child[0];
89
+ }
90
+ }
91
+
92
+
93
+
94
+ class Node{
95
+ constructor(tagname, attributes){
96
+ this.tagname = tagname;
97
+ this.child = []; //nested tags, text, cdata, comments
98
+ if(attributes && Object.keys(attributes).length > 0)
99
+ this[":@"] = attributes;
100
+ }
101
+ }
102
+
103
+ module.exports = OutputBuilder;
@@ -0,0 +1,102 @@
1
+ const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder");
2
+
3
+ class OutputBuilder{
4
+ constructor(options){
5
+ this.options = buildOptions(options);
6
+ this.registeredParsers = registerCommonValueParsers(this.options);
7
+ }
8
+
9
+ registerValueParser(name,parserInstance){//existing name will override the parser without warning
10
+ this.registeredParsers[name] = parserInstance;
11
+ }
12
+
13
+ getInstance(parserOptions){
14
+ return new JsMinArrBuilder(parserOptions, this.options, this.registeredParsers);
15
+ }
16
+ }
17
+
18
+ const BaseOutputBuilder = require("./BaseOutputBuilder");
19
+ const rootName = '^';
20
+
21
+ class JsMinArrBuilder extends BaseOutputBuilder{
22
+
23
+ constructor(parserOptions, options,registeredParsers) {
24
+ super();
25
+ this.tagsStack = [];
26
+ this.parserOptions = parserOptions;
27
+ this.options = options;
28
+ this.registeredParsers = registeredParsers;
29
+
30
+ this.root = {[rootName]: []};
31
+ this.currentNode = this.root;
32
+ this.currentNodeTagName = rootName;
33
+ this.attributes = {};
34
+ }
35
+
36
+ addTag(tag){
37
+ //when a new tag is added, it should be added as child of current node
38
+ //TODO: shift this check to the parser
39
+ if(tag.name === "__proto__") tag.name = "#__proto__";
40
+
41
+ this.tagsStack.push([this.currentNodeTagName,this.currentNode]); //this.currentNode is parent node here
42
+ this.currentNodeTagName = tag.name;
43
+ this.currentNode = { [tag.name]:[]}
44
+ if(Object.keys(this.attributes).length > 0){
45
+ this.currentNode[":@"] = this.attributes;
46
+ this.attributes = {};
47
+ }
48
+ }
49
+
50
+ /**
51
+ * Check if the node should be added by checking user's preference
52
+ * @param {Node} node
53
+ * @returns boolean: true if the node should not be added
54
+ */
55
+ closeTag(){
56
+ const node = this.currentNode;
57
+ const nodeName = this.currentNodeTagName;
58
+ const arr = this.tagsStack.pop(); //set parent node in scope
59
+ this.currentNodeTagName = arr[0];
60
+ this.currentNode = arr[1];
61
+
62
+ if(this.options.onClose !== undefined){
63
+ //TODO TagPathMatcher
64
+ const resultTag = this.options.onClose(node,
65
+ new TagPathMatcher(this.tagsStack,node));
66
+
67
+ if(resultTag) return;
68
+ }
69
+ this.currentNode[this.currentNodeTagName].push(node); //to parent node
70
+ }
71
+
72
+ //Called by parent class methods
73
+ _addChild(key, val){
74
+ // if(key === "__proto__") tagName = "#__proto__";
75
+ this.currentNode.push( {[key]: val });
76
+ // this.currentNode.leafType = false;
77
+ }
78
+
79
+ /**
80
+ * Add text value child node
81
+ * @param {string} text
82
+ */
83
+ addValue(text){
84
+ this.currentNode[this.currentNodeTagName].push( {[this.options.nameFor.text]: this.parseValue(text, this.options.tags.valueParsers) });
85
+ }
86
+
87
+ addPi(name){
88
+ if(!this.options.ignorePiTags){
89
+ const node = { [name]:[]}
90
+ if(this.attributes){
91
+ node[":@"] = this.attributes;
92
+ }
93
+ this.currentNode.push(node);
94
+ }
95
+ this.attributes = {};
96
+ }
97
+ getOutput(){
98
+ return this.root[rootName];
99
+ }
100
+ }
101
+
102
+ module.exports = OutputBuilder;
@@ -0,0 +1,156 @@
1
+
2
+
3
+ const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder");
4
+
5
+ class OutputBuilder{
6
+ constructor(builderOptions){
7
+ this.options = buildOptions(builderOptions);
8
+ this.registeredParsers = registerCommonValueParsers(this.options);
9
+ }
10
+
11
+ registerValueParser(name,parserInstance){//existing name will override the parser without warning
12
+ this.registeredParsers[name] = parserInstance;
13
+ }
14
+
15
+ getInstance(parserOptions){
16
+ return new JsObjBuilder(parserOptions, this.options, this.registeredParsers);
17
+ }
18
+ }
19
+
20
+ const BaseOutputBuilder = require("./BaseOutputBuilder");
21
+ const rootName = '^';
22
+
23
+ class JsObjBuilder extends BaseOutputBuilder{
24
+
25
+ constructor(parserOptions, builderOptions,registeredParsers) {
26
+ super();
27
+ //hold the raw detail of a tag and sequence with reference to the output
28
+ this.tagsStack = [];
29
+ this.parserOptions = parserOptions;
30
+ this.options = builderOptions;
31
+ this.registeredParsers = registeredParsers;
32
+
33
+ this.root = {};
34
+ this.parent = this.root;
35
+ this.tagName = rootName;
36
+ this.value = {};
37
+ this.textValue = "";
38
+ this.attributes = {};
39
+ }
40
+
41
+ addTag(tag){
42
+
43
+ let value = "";
44
+ if( !isEmpty(this.attributes)){
45
+ value = {};
46
+ if(this.options.attributes.groupBy){
47
+ value[this.options.attributes.groupBy] = this.attributes;
48
+ }else{
49
+ value = this.attributes;
50
+ }
51
+ }
52
+
53
+ this.tagsStack.push([this.tagName, this.textValue, this.value]); //parent tag, parent text value, parent tag value (jsobj)
54
+ this.tagName = tag.name;
55
+ this.value = value;
56
+ this.textValue = "";
57
+ this.attributes = {};
58
+ }
59
+
60
+ /**
61
+ * Check if the node should be added by checking user's preference
62
+ * @param {Node} node
63
+ * @returns boolean: true if the node should not be added
64
+ */
65
+ closeTag(){
66
+ const tagName = this.tagName;
67
+ let value = this.value;
68
+ let textValue = this.textValue;
69
+
70
+ //update tag text value
71
+ if(typeof value !== "object" && !Array.isArray(value)){
72
+ value = this.parseValue(textValue.trim(), this.options.tags.valueParsers);
73
+ }else if(textValue.length > 0){
74
+ value[this.options.nameFor.text] = this.parseValue(textValue.trim(), this.options.tags.valueParsers);
75
+ }
76
+
77
+
78
+ let resultTag= {
79
+ tagName: tagName,
80
+ value: value
81
+ };
82
+
83
+ if(this.options.onTagClose !== undefined){
84
+ //TODO TagPathMatcher
85
+ resultTag = this.options.onClose(tagName, value, this.textValue, new TagPathMatcher(this.tagsStack,node));
86
+
87
+ if(!resultTag) return;
88
+ }
89
+
90
+ //set parent node in scope
91
+ let arr = this.tagsStack.pop();
92
+ let parentTag = arr[2];
93
+ parentTag=this._addChildTo(resultTag.tagName, resultTag.value, parentTag);
94
+
95
+ this.tagName = arr[0];
96
+ this.textValue = arr[1];
97
+ this.value = parentTag;
98
+ }
99
+
100
+ _addChild(key, val){
101
+ if(typeof this.value === "string"){
102
+ this.value = { [this.options.nameFor.text] : this.value };
103
+ }
104
+
105
+ this._addChildTo(key, val, this.value);
106
+ // this.currentNode.leafType = false;
107
+ this.attributes = {};
108
+ }
109
+
110
+ _addChildTo(key, val, node){
111
+ if(typeof node === 'string') node = {};
112
+ if(!node[key]){
113
+ node[key] = val;
114
+ }else{ //Repeated
115
+ if(!Array.isArray(node[key])){ //but not stored as array
116
+ node[key] = [node[key]];
117
+ }
118
+ node[key].push(val);
119
+ }
120
+ return node;
121
+ }
122
+
123
+
124
+ /**
125
+ * Add text value child node
126
+ * @param {string} text
127
+ */
128
+ addValue(text){
129
+ //TODO: use bytes join
130
+ if(this.textValue.length > 0) this.textValue += " " + text;
131
+ else this.textValue = text;
132
+ }
133
+
134
+ addPi(name){
135
+ let value = "";
136
+ if( !isEmpty(this.attributes)){
137
+ value = {};
138
+ if(this.options.attributes.groupBy){
139
+ value[this.options.attributes.groupBy] = this.attributes;
140
+ }else{
141
+ value = this.attributes;
142
+ }
143
+ }
144
+ this._addChild(name, value);
145
+
146
+ }
147
+ getOutput(){
148
+ return this.value;
149
+ }
150
+ }
151
+
152
+ function isEmpty(obj) {
153
+ return Object.keys(obj).length === 0;
154
+ }
155
+
156
+ module.exports = OutputBuilder;
@@ -0,0 +1,99 @@
1
+ const trimParser = require("../valueParsers/trim")
2
+ const booleanParser = require("../valueParsers/booleanParser")
3
+ const currencyParser = require("../valueParsers/currency")
4
+ const numberParser = require("../valueParsers/number")
5
+
6
+ const defaultOptions={
7
+ nameFor:{
8
+ text: "#text",
9
+ comment: "",
10
+ cdata: "",
11
+ },
12
+ // onTagClose: () => {},
13
+ // onAttribute: () => {},
14
+ piTag: false,
15
+ declaration: false, //"?xml"
16
+ tags: {
17
+ valueParsers: [
18
+ // "trim",
19
+ // "boolean",
20
+ // "number",
21
+ // "currency",
22
+ // "date",
23
+ ]
24
+ },
25
+ attributes:{
26
+ prefix: "@_",
27
+ suffix: "",
28
+ groupBy: "",
29
+
30
+ valueParsers: [
31
+ // "trim",
32
+ // "boolean",
33
+ // "number",
34
+ // "currency",
35
+ // "date",
36
+ ]
37
+ },
38
+ dataType:{
39
+
40
+ }
41
+ }
42
+
43
+ //TODO
44
+ const withJoin = ["trim","join", /*"entities",*/"number","boolean","currency"/*, "date"*/]
45
+ const withoutJoin = ["trim", /*"entities",*/"number","boolean","currency"/*, "date"*/]
46
+
47
+ function buildOptions(options){
48
+ //clone
49
+ const finalOptions = { ... defaultOptions};
50
+
51
+ //add config missed in cloning
52
+ finalOptions.tags.valueParsers.push(...withJoin)
53
+ if(!this.preserveOrder)
54
+ finalOptions.tags.valueParsers.push(...withoutJoin);
55
+
56
+ //add config missed in cloning
57
+ finalOptions.attributes.valueParsers.push(...withJoin)
58
+
59
+ //override configuration
60
+ copyProperties(finalOptions,options);
61
+ return finalOptions;
62
+ }
63
+
64
+ function copyProperties(target, source) {
65
+ for (let key in source) {
66
+ if (source.hasOwnProperty(key)) {
67
+ if (typeof source[key] === 'object' && !Array.isArray(source[key])) {
68
+ // Recursively copy nested properties
69
+ if (typeof target[key] === 'undefined') {
70
+ target[key] = {};
71
+ }
72
+ copyProperties(target[key], source[key]);
73
+ } else {
74
+ // Copy non-nested properties
75
+ target[key] = source[key];
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ function registerCommonValueParsers(options){
82
+ return {
83
+ "trim": new trimParser(),
84
+ // "join": this.entityParser.parse,
85
+ "boolean": new booleanParser(),
86
+ "number": new numberParser({
87
+ hex: true,
88
+ leadingZeros: true,
89
+ eNotation: true
90
+ }),
91
+ "currency": new currencyParser(),
92
+ // "date": this.entityParser.parse,
93
+ }
94
+ }
95
+
96
+ module.exports = {
97
+ buildOptions : buildOptions,
98
+ registerCommonValueParsers: registerCommonValueParsers
99
+ }
File without changes
@@ -0,0 +1,81 @@
1
+ class TagPath{
2
+ constructor(pathStr){
3
+ let text = "";
4
+ let tName = "";
5
+ let pos;
6
+ let aName = "";
7
+ let aVal = "";
8
+ this.stack = []
9
+
10
+ for (let i = 0; i < pathStr.length; i++) {
11
+ let ch = pathStr[i];
12
+ if(ch === " ") {
13
+ if(text.length === 0) continue;
14
+ tName = text; text = "";
15
+ }else if(ch === "["){
16
+ if(tName.length === 0){
17
+ tName = text; text = "";
18
+ }
19
+ i++;
20
+ for (; i < pathStr.length; i++) {
21
+ ch = pathStr[i];
22
+ if(ch=== "=") continue;
23
+ else if(ch=== "]") {aName = text.trim(); text=""; break; i--;}
24
+ else if(ch === "'" || ch === '"'){
25
+ let attrEnd = pathStr.indexOf(ch,i+1);
26
+ aVal = pathStr.substring(i+1, attrEnd);
27
+ i = attrEnd;
28
+ }else{
29
+ text +=ch;
30
+ }
31
+ }
32
+ }else if(ch !== " " && text.length === 0 && tName.length > 0){//reading tagName
33
+ //save previous tag
34
+ this.stack.push(new TagPathNode(tName,pos,aName,aVal));
35
+ text = ch; tName = ""; aName = ""; aVal = "";
36
+ }else{
37
+ text+=ch;
38
+ }
39
+ }
40
+
41
+ //last tag in the path
42
+ if(tName.length >0 || text.length>0){
43
+ this.stack.push(new TagPathNode(text||tName,pos,aName,aVal));
44
+ }
45
+ }
46
+
47
+ match(tagStack,node){
48
+ if(this.stack[0].name !== "*"){
49
+ if(this.stack.length !== tagStack.length +1) return false;
50
+
51
+ //loop through tagPath and tagStack and match
52
+ for (let i = 0; i < this.tagStack.length; i++) {
53
+ if(!this.stack[i].match(tagStack[i])) return false;
54
+ }
55
+ }
56
+ if(!this.stack[this.stack.length - 1].match(node)) return false;
57
+ return true;
58
+ }
59
+ }
60
+
61
+ class TagPathNode{
62
+ constructor(name,position,attrName,attrVal){
63
+ this.name = name;
64
+ this.position = position;
65
+ this.attrName = attrName,
66
+ this.attrVal = attrVal;
67
+ }
68
+
69
+ match(node){
70
+ let matching = true;
71
+ matching = node.name === this.name;
72
+ if(this.position) matching = node.position === this.position;
73
+ if(this.attrName) matching = node.attrs[this.attrName !== undefined];
74
+ if(this.attrVal) matching = node.attrs[this.attrName !== this.attrVal];
75
+ return matching;
76
+ }
77
+ }
78
+
79
+ // console.log((new TagPath("* b[b]")).stack);
80
+ // console.log((new TagPath("a[a] b[b] c")).stack);
81
+ // console.log((new TagPath(" b [ b= 'cf sdadwa' ] a ")).stack);
@@ -0,0 +1,15 @@
1
+ const TagPath = require("./TagPath");
2
+
3
+ class TagPathMatcher{
4
+ constructor(stack,node){
5
+ this.stack = stack;
6
+ this.node= node;
7
+ }
8
+
9
+ match(path){
10
+ const tagPath = new TagPath(path);
11
+ return tagPath.match(this.stack, this.node);
12
+ }
13
+ }
14
+
15
+ module.exports = TagPathMatcher;