cloudstructs 0.12.8 → 0.12.10

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 (1244) hide show
  1. package/.jsii +6 -6
  2. package/API.md +308 -0
  3. package/assets/slack-textract/detect.lambda/index.js +1107 -1006
  4. package/assets/ssl-server-test/analyze.lambda/index.js +103 -68
  5. package/assets/toolkit-cleaner/clean.lambda/index.js +103 -68
  6. package/lib/codecommit-mirror/index.js +2 -2
  7. package/lib/dmarc/index.js +1 -1
  8. package/lib/ecs-service-roller/index.js +2 -2
  9. package/lib/email-receiver/receiver.js +1 -1
  10. package/lib/mjml-template/index.js +1 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-textract/index.js +1 -1
  16. package/lib/ssl-server-test/index.js +1 -1
  17. package/lib/state-machine-cr-provider/index.js +1 -1
  18. package/lib/static-website/index.js +1 -1
  19. package/lib/toolkit-cleaner/index.js +1 -1
  20. package/lib/url-shortener/index.js +1 -1
  21. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +192 -70
  23. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +192 -70
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts +5 -2
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
  34. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  35. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  36. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
  37. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
  38. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
  39. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
  40. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  41. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  42. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -1
  43. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  44. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
  45. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
  46. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
  47. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
  48. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
  49. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  50. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  51. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  52. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  53. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  54. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  55. package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
  56. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +294 -3996
  57. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  58. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  59. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  60. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  61. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  62. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  63. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  64. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  65. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  66. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  67. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  68. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  69. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  70. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  72. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  73. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  74. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -3
  75. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  76. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  77. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  78. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  79. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  80. package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
  81. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  82. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -69
  83. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +45 -69
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
  87. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  88. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +3 -10
  89. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  90. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  91. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +4 -0
  92. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  93. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  94. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  95. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  96. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  97. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  98. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
  99. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  100. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  101. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  102. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  103. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  104. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  105. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  106. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  107. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +7 -0
  108. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  109. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  110. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  111. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
  112. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  114. package/node_modules/@aws-sdk/core/package.json +16 -16
  115. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
  116. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  117. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  118. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  119. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
  120. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  121. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  122. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  123. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  124. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
  125. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  126. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
  127. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
  128. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  129. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
  130. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
  131. package/node_modules/@aws-sdk/credential-provider-ini/package.json +17 -17
  132. package/node_modules/@aws-sdk/credential-provider-login/package.json +11 -11
  133. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  134. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  135. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  136. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  137. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  138. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
  139. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  140. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  141. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
  142. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  143. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  144. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  145. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  146. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  147. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
  148. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  149. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
  150. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  151. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
  153. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  154. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
  155. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
  156. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
  157. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
  158. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -10
  159. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
  160. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -7
  161. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  162. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  163. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
  164. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
  165. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
  167. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
  168. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -7
  169. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  170. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  171. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  172. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
  173. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  174. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  175. package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -10
  176. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  177. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  183. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  184. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  185. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  188. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +27 -206
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  193. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  194. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  202. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +2 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  205. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +27 -355
  206. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +33 -314
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  219. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  220. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  221. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  227. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  228. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  237. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  238. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  240. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  241. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  244. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  245. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  249. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +2 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  253. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  255. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  257. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  258. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  259. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  260. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  261. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  262. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  290. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSO.d.ts +1 -22
  291. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  292. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  293. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  294. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  299. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  301. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +11 -14
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  305. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  306. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  307. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  308. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  309. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  310. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  311. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  312. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  317. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  318. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  319. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  320. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  321. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  322. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  323. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  324. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  325. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  326. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  327. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  328. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  329. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  330. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  331. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  332. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  333. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  334. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  335. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  336. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  337. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  338. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  339. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  340. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  341. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  342. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  343. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  344. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  345. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  346. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  347. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +6 -14
  348. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  349. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  350. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  351. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  352. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  353. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  354. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  355. package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
  356. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  357. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  358. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  359. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  360. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  361. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  362. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  363. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
  364. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
  365. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
  366. package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
  367. package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
  368. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  369. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  370. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  371. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  372. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
  373. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
  374. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
  375. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
  376. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
  377. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
  378. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  379. package/node_modules/@aws-sdk/types/package.json +5 -5
  380. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
  381. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  382. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  383. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  384. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  385. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  386. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
  387. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
  388. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -6
  389. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
  390. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
  391. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  392. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
  393. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  394. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  395. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
  396. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
  397. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
  398. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
  399. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  400. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  401. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
  402. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
  403. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  404. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  405. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
  406. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  407. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  408. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
  409. package/node_modules/@aws-sdk/util-user-agent-node/package.json +12 -9
  410. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  411. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  412. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  413. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
  414. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
  415. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +52 -0
  416. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  417. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  418. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  419. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  420. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
  421. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  422. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  423. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  424. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  425. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  426. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  427. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +9 -6
  428. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +92 -14
  429. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  430. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
  431. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
  432. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  433. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  434. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  435. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  436. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  437. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +21 -21
  438. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  439. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  440. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  441. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  442. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +315 -293
  443. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
  444. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +309 -186
  445. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +22 -22
  446. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
  447. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  448. package/node_modules/@aws-sdk/xml-builder/package.json +7 -7
  449. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
  450. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
  451. package/node_modules/@babel/runtime/package.json +1 -1
  452. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
  453. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
  454. package/node_modules/@slack/logger/LICENSE +23 -0
  455. package/node_modules/@slack/logger/README.md +36 -3
  456. package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
  457. package/node_modules/@slack/logger/dist/index.js +5 -6
  458. package/node_modules/@slack/logger/dist/index.js.map +1 -1
  459. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  460. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
  461. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +11 -6
  462. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  463. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
  464. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
  465. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +57 -12
  466. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  467. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
  468. package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
  469. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
  470. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -5
  471. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  472. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  473. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +22 -8
  474. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
  475. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +145 -17
  476. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
  477. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +56 -20
  478. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
  479. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
  480. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +37 -3
  481. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +12 -3
  482. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  483. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  484. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
  485. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
  486. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
  487. package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
  488. package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
  489. package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  490. package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
  491. package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
  492. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  493. package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
  494. package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
  495. package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
  496. package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
  497. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
  498. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
  499. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  500. package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +1 -1
  501. package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
  502. package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  503. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
  504. package/node_modules/@slack/logger/package.json +13 -33
  505. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  506. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  507. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  508. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  509. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  510. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  511. package/node_modules/@slack/types/dist/chunk.js +3 -0
  512. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  513. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  514. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  515. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  516. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  517. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  518. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  519. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  520. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  521. package/node_modules/@slack/types/dist/index.js +1 -0
  522. package/node_modules/@slack/types/dist/index.js.map +1 -1
  523. package/node_modules/@slack/types/package.json +8 -12
  524. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  525. package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
  526. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  527. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  528. package/node_modules/@slack/web-api/dist/chat-stream.js +85 -64
  529. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  530. package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
  531. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  532. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  533. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  534. package/node_modules/@slack/web-api/dist/index.js +3 -1
  535. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  536. package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
  537. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  538. package/node_modules/@slack/web-api/dist/methods.js +9 -0
  539. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  540. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
  541. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
  542. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  543. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  544. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  545. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  546. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
  547. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  548. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
  549. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
  550. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
  551. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
  552. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
  553. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  554. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  555. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
  556. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +11 -6
  557. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  558. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
  559. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
  560. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +57 -12
  561. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  562. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
  563. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
  564. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
  565. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -5
  566. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  567. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  568. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +22 -8
  569. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
  570. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +145 -17
  571. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
  572. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +56 -20
  573. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
  574. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
  575. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +37 -3
  576. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +12 -3
  577. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  578. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  579. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
  580. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
  581. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
  582. package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
  583. package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
  584. package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  585. package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
  586. package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
  587. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  588. package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
  589. package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
  590. package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
  591. package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
  592. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
  593. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
  594. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  595. package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +1 -1
  596. package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
  597. package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  598. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
  599. package/node_modules/@slack/web-api/package.json +15 -29
  600. package/node_modules/@smithy/abort-controller/package.json +7 -7
  601. package/node_modules/@smithy/config-resolver/package.json +11 -11
  602. package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
  603. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -19
  604. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  605. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +9 -1
  606. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -5
  607. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +73 -11
  608. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
  609. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  610. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  611. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  612. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  613. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  614. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  615. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +9 -1
  616. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
  617. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +16 -1
  618. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  619. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  620. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  621. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  622. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +38 -3
  623. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  624. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  625. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  626. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  627. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  628. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  629. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  630. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  631. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  632. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  633. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  634. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  635. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  636. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  637. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  638. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  639. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  640. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  641. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  642. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  643. package/node_modules/@smithy/core/endpoints.js +6 -0
  644. package/node_modules/@smithy/core/package.json +21 -12
  645. package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
  646. package/node_modules/@smithy/eventstream-codec/package.json +9 -9
  647. package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
  648. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
  649. package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
  650. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
  651. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
  652. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
  653. package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
  654. package/node_modules/@smithy/hash-node/package.json +9 -9
  655. package/node_modules/@smithy/invalid-dependency/package.json +7 -7
  656. package/node_modules/@smithy/is-array-buffer/package.json +6 -6
  657. package/node_modules/@smithy/middleware-content-length/package.json +8 -8
  658. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  659. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  660. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  661. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  662. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  663. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  664. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  665. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  666. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  667. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  668. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  669. package/node_modules/@smithy/middleware-serde/package.json +9 -8
  670. package/node_modules/@smithy/middleware-stack/package.json +7 -7
  671. package/node_modules/@smithy/node-config-provider/package.json +9 -9
  672. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +77 -47
  673. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  674. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
  675. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  676. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
  677. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  678. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  679. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  680. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  681. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +10 -3
  682. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  683. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  684. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  685. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  686. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  687. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  688. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  689. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  690. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  691. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  692. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  693. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  694. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  695. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  696. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  697. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  698. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  699. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  700. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  701. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  702. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  703. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  704. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  705. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  706. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  707. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  708. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  709. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  710. package/node_modules/@smithy/node-http-handler/package.json +10 -10
  711. package/node_modules/@smithy/property-provider/package.json +7 -7
  712. package/node_modules/@smithy/protocol-http/package.json +7 -7
  713. package/node_modules/@smithy/querystring-builder/package.json +8 -8
  714. package/node_modules/@smithy/querystring-parser/package.json +7 -7
  715. package/node_modules/@smithy/service-error-classification/package.json +7 -7
  716. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
  717. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
  718. package/node_modules/@smithy/signature-v4/package.json +13 -13
  719. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -19
  720. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  721. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  722. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  723. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  724. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  725. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  726. package/node_modules/@smithy/smithy-client/package.json +11 -9
  727. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  728. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  729. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  730. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  731. package/node_modules/@smithy/types/package.json +5 -5
  732. package/node_modules/@smithy/url-parser/package.json +8 -8
  733. package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
  734. package/node_modules/@smithy/util-base64/package.json +8 -8
  735. package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
  736. package/node_modules/@smithy/util-body-length-node/package.json +6 -6
  737. package/node_modules/@smithy/util-buffer-from/package.json +7 -7
  738. package/node_modules/@smithy/util-config-provider/package.json +6 -6
  739. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
  740. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  741. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  742. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  743. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  744. package/node_modules/@smithy/util-endpoints/package.json +8 -8
  745. package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
  746. package/node_modules/@smithy/util-middleware/package.json +7 -7
  747. package/node_modules/@smithy/util-retry/package.json +8 -8
  748. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
  749. package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
  750. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
  751. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  752. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
  753. package/node_modules/@smithy/util-stream/package.json +13 -13
  754. package/node_modules/@smithy/util-uri-escape/package.json +6 -6
  755. package/node_modules/@smithy/util-utf8/package.json +7 -7
  756. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  757. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  758. package/node_modules/@smithy/util-waiter/package.json +8 -8
  759. package/node_modules/@smithy/uuid/package.json +6 -6
  760. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  761. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
  762. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +11 -6
  763. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  764. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
  765. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
  766. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +57 -12
  767. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  768. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
  769. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
  770. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
  771. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -5
  772. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  773. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  774. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +22 -8
  775. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  776. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +145 -17
  777. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
  778. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +56 -20
  779. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
  780. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
  781. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +37 -3
  782. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +12 -3
  783. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  784. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  785. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
  786. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
  787. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
  788. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
  789. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
  790. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  791. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
  792. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
  793. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  794. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
  795. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
  796. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
  797. package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
  798. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
  799. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
  800. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  801. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +1 -1
  802. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
  803. package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  804. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
  805. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  806. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  807. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  808. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  809. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
  810. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +11 -6
  811. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  812. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
  813. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
  814. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +57 -12
  815. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  816. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
  817. package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
  818. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
  819. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -5
  820. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  821. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  822. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +22 -8
  823. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  824. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +145 -17
  825. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
  826. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +56 -20
  827. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
  828. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
  829. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +37 -3
  830. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +12 -3
  831. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  832. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  833. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
  834. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
  835. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
  836. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
  837. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
  838. package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  839. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
  840. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
  841. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  842. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
  843. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
  844. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
  845. package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
  846. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
  847. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
  848. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  849. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +1 -1
  850. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
  851. package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  852. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
  853. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  854. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
  855. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +11 -6
  856. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  857. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
  858. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
  859. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +57 -12
  860. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  861. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
  862. package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
  863. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
  864. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -5
  865. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  866. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  867. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +22 -8
  868. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  869. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +145 -17
  870. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
  871. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +56 -20
  872. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
  873. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
  874. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +37 -3
  875. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +12 -3
  876. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  877. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  878. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
  879. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
  880. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
  881. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
  882. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
  883. package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  884. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
  885. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
  886. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  887. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
  888. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
  889. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
  890. package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
  891. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
  892. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
  893. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  894. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +1 -1
  895. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
  896. package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  897. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
  898. package/node_modules/axios/CHANGELOG.md +460 -403
  899. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  900. package/node_modules/axios/README.md +584 -447
  901. package/node_modules/axios/dist/axios.js +873 -881
  902. package/node_modules/axios/dist/axios.js.map +1 -1
  903. package/node_modules/axios/dist/axios.min.js +4 -2
  904. package/node_modules/axios/dist/axios.min.js.map +1 -1
  905. package/node_modules/axios/dist/browser/axios.cjs +1142 -812
  906. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  907. package/node_modules/axios/dist/esm/axios.js +1143 -813
  908. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  909. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  910. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  911. package/node_modules/axios/dist/node/axios.cjs +1816 -1415
  912. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  913. package/node_modules/axios/index.d.cts +256 -112
  914. package/node_modules/axios/index.d.ts +341 -116
  915. package/node_modules/axios/index.js +3 -3
  916. package/node_modules/axios/lib/adapters/README.md +5 -6
  917. package/node_modules/axios/lib/adapters/adapters.js +18 -14
  918. package/node_modules/axios/lib/adapters/fetch.js +138 -92
  919. package/node_modules/axios/lib/adapters/http.js +615 -561
  920. package/node_modules/axios/lib/adapters/xhr.js +189 -167
  921. package/node_modules/axios/lib/axios.js +6 -6
  922. package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
  923. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  924. package/node_modules/axios/lib/core/Axios.js +66 -43
  925. package/node_modules/axios/lib/core/AxiosError.js +64 -84
  926. package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
  927. package/node_modules/axios/lib/core/InterceptorManager.js +3 -2
  928. package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
  929. package/node_modules/axios/lib/core/mergeConfig.js +8 -7
  930. package/node_modules/axios/lib/core/settle.js +11 -7
  931. package/node_modules/axios/lib/core/transformData.js +1 -1
  932. package/node_modules/axios/lib/defaults/index.js +85 -74
  933. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  934. package/node_modules/axios/lib/env/data.js +1 -1
  935. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
  936. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
  937. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
  938. package/node_modules/axios/lib/helpers/buildURL.js +18 -19
  939. package/node_modules/axios/lib/helpers/callbackify.js +13 -11
  940. package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
  941. package/node_modules/axios/lib/helpers/cookies.js +45 -50
  942. package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
  943. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  944. package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
  945. package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
  946. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +4 -0
  947. package/node_modules/axios/lib/helpers/isAxiosError.js +2 -2
  948. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
  949. package/node_modules/axios/lib/helpers/parseHeaders.js +35 -21
  950. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  951. package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
  952. package/node_modules/axios/lib/helpers/readBlob.js +4 -4
  953. package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
  954. package/node_modules/axios/lib/helpers/speedometer.js +1 -1
  955. package/node_modules/axios/lib/helpers/spread.js +1 -1
  956. package/node_modules/axios/lib/helpers/throttle.js +4 -4
  957. package/node_modules/axios/lib/helpers/toFormData.js +43 -25
  958. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
  959. package/node_modules/axios/lib/helpers/trackStream.js +33 -31
  960. package/node_modules/axios/lib/helpers/validator.js +16 -5
  961. package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
  962. package/node_modules/axios/lib/platform/browser/index.js +5 -5
  963. package/node_modules/axios/lib/platform/common/utils.js +6 -5
  964. package/node_modules/axios/lib/platform/index.js +2 -2
  965. package/node_modules/axios/lib/platform/node/index.js +9 -10
  966. package/node_modules/axios/lib/utils.js +243 -106
  967. package/node_modules/axios/package.json +57 -70
  968. package/node_modules/bowser/README.md +72 -3
  969. package/node_modules/bowser/bundled.js +1 -1
  970. package/node_modules/bowser/es5.js +1 -1
  971. package/node_modules/bowser/index.d.ts +44 -6
  972. package/node_modules/bowser/package.json +10 -5
  973. package/node_modules/bowser/src/bowser.js +24 -8
  974. package/node_modules/bowser/src/constants.js +8 -0
  975. package/node_modules/bowser/src/parser-browsers.js +89 -0
  976. package/node_modules/bowser/src/parser-platforms.js +42 -0
  977. package/node_modules/bowser/src/parser.js +86 -5
  978. package/node_modules/editorconfig/lib/cli.js +18 -8
  979. package/node_modules/editorconfig/lib/index.d.ts +0 -1
  980. package/node_modules/editorconfig/lib/index.js +24 -15
  981. package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
  982. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  983. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
  984. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
  985. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
  986. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  987. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
  988. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  989. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
  990. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  991. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
  992. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  993. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
  994. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  995. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
  996. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
  997. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  998. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
  999. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
  1000. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
  1001. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  1002. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
  1003. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  1004. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
  1005. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  1006. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
  1007. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  1008. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
  1009. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
  1010. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
  1011. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
  1012. package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
  1013. package/node_modules/editorconfig/package.json +4 -30
  1014. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  1015. package/node_modules/fast-xml-builder/LICENSE +21 -0
  1016. package/node_modules/fast-xml-builder/README.md +23 -0
  1017. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  1018. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  1019. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  1020. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  1021. package/node_modules/fast-xml-builder/package.json +80 -0
  1022. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  1023. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  1024. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  1025. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  1026. package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1027. package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
  1028. package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
  1029. package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
  1030. package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
  1031. package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
  1032. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1033. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1034. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1035. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1036. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1037. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1038. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1039. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1040. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1041. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1042. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1043. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1044. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1045. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1046. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1047. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1048. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
  1049. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1050. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1051. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1052. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1053. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1054. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1055. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1056. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
  1057. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1058. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1059. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1060. package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
  1061. package/node_modules/minipass/LICENSE.md +55 -0
  1062. package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
  1063. package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
  1064. package/node_modules/minipass/dist/commonjs/index.js +13 -3
  1065. package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
  1066. package/node_modules/minipass/dist/esm/index.d.ts +12 -16
  1067. package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
  1068. package/node_modules/minipass/dist/esm/index.js +3 -1
  1069. package/node_modules/minipass/dist/esm/index.js.map +1 -1
  1070. package/node_modules/minipass/package.json +9 -14
  1071. package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1072. package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
  1073. package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
  1074. package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
  1075. package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
  1076. package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
  1077. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1078. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1079. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1080. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1081. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1082. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1083. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1084. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1085. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1086. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1087. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1088. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1089. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1090. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1091. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1092. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1093. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
  1094. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1095. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1096. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1097. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1098. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1099. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1100. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1101. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
  1102. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1103. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1104. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1105. package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
  1106. package/node_modules/path-expression-matcher/LICENSE +21 -0
  1107. package/node_modules/path-expression-matcher/README.md +635 -0
  1108. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  1109. package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
  1110. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  1111. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  1112. package/node_modules/path-expression-matcher/package.json +78 -0
  1113. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  1114. package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
  1115. package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
  1116. package/node_modules/path-expression-matcher/src/index.js +28 -0
  1117. package/node_modules/pump/empty.js +1 -0
  1118. package/node_modules/pump/package.json +7 -1
  1119. package/node_modules/semver/README.md +3 -2
  1120. package/node_modules/semver/bin/semver.js +1 -1
  1121. package/node_modules/semver/functions/diff.js +1 -1
  1122. package/node_modules/semver/internal/re.js +2 -2
  1123. package/node_modules/semver/package.json +4 -4
  1124. package/node_modules/semver/ranges/subset.js +1 -1
  1125. package/node_modules/strnum/README.md +1 -0
  1126. package/node_modules/strnum/package.json +3 -3
  1127. package/node_modules/strnum/strnum.js +85 -59
  1128. package/node_modules/strnum/tests/infinity_test.js +18 -0
  1129. package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
  1130. package/package.json +23 -23
  1131. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  1132. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  1133. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  1134. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -420
  1135. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -15
  1136. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  1137. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  1138. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  1139. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  1140. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  1141. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  1142. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -152
  1143. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  1144. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  1145. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  1146. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  1147. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  1148. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  1149. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  1150. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  1151. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  1152. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -73
  1153. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  1154. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  1155. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  1156. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  1157. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  1158. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  1159. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  1160. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  1161. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  1162. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  1163. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  1164. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  1165. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  1166. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
  1167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
  1168. package/node_modules/bowser/CHANGELOG.md +0 -218
  1169. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  1170. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  1171. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  1172. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  1173. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  1174. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  1175. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  1176. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  1177. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  1178. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  1179. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  1180. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  1181. package/node_modules/minipass/LICENSE +0 -15
  1182. package/node_modules/strnum/test.js +0 -9
  1183. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1184. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1185. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  1186. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1187. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  1188. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  1189. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1190. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  1191. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  1192. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  1193. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  1194. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  1195. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  1196. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1197. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1198. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1199. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1200. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  1201. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1202. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  1203. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1204. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1205. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1206. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1207. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1208. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  1209. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  1210. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  1211. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1212. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1213. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  1214. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1215. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  1216. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1217. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1218. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1219. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
  1220. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
  1221. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
  1222. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
  1223. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
  1224. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
  1225. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
  1226. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
  1227. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
  1228. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
  1229. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
  1230. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
  1231. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
  1232. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
  1233. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
  1234. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
  1235. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
  1236. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
  1237. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
  1238. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
  1239. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
  1240. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
  1241. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
  1242. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
  1243. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
  1244. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
@@ -0,0 +1,75 @@
1
+ import { booleanSelector, SelectorType } from "@smithy/util-config-provider";
2
+ import { readFile } from "node:fs/promises";
3
+ import { join } from "node:path";
4
+ import { getNodeModulesParentDirs } from "./getNodeModulesParentDirs";
5
+ import { getSanitizedDevTypeScriptVersion } from "./getSanitizedDevTypeScriptVersion";
6
+ import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion";
7
+ let tscVersion;
8
+ const TS_PACKAGE_JSON = join("node_modules", "typescript", "package.json");
9
+ export const getTypeScriptUserAgentPair = async () => {
10
+ if (tscVersion === null) {
11
+ return undefined;
12
+ }
13
+ else if (typeof tscVersion === "string") {
14
+ return ["md/tsc", tscVersion];
15
+ }
16
+ let isTypeScriptDetectionDisabled = false;
17
+ try {
18
+ isTypeScriptDetectionDisabled =
19
+ booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", SelectorType.ENV) || false;
20
+ }
21
+ catch { }
22
+ if (isTypeScriptDetectionDisabled) {
23
+ tscVersion = null;
24
+ return undefined;
25
+ }
26
+ const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
27
+ const nodeModulesParentDirs = getNodeModulesParentDirs(dirname);
28
+ let versionFromApp;
29
+ for (const nodeModulesParentDir of nodeModulesParentDirs) {
30
+ try {
31
+ const appPackageJsonPath = join(nodeModulesParentDir, "package.json");
32
+ const packageJson = await readFile(appPackageJsonPath, "utf-8");
33
+ const { dependencies, devDependencies } = JSON.parse(packageJson);
34
+ const version = devDependencies?.typescript ?? dependencies?.typescript;
35
+ if (typeof version !== "string") {
36
+ continue;
37
+ }
38
+ versionFromApp = version;
39
+ break;
40
+ }
41
+ catch {
42
+ }
43
+ }
44
+ if (!versionFromApp) {
45
+ tscVersion = null;
46
+ return undefined;
47
+ }
48
+ let versionFromNodeModules;
49
+ for (const nodeModulesParentDir of nodeModulesParentDirs) {
50
+ try {
51
+ const tsPackageJsonPath = join(nodeModulesParentDir, TS_PACKAGE_JSON);
52
+ const packageJson = await readFile(tsPackageJsonPath, "utf-8");
53
+ const { version } = JSON.parse(packageJson);
54
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version);
55
+ if (typeof sanitizedVersion !== "string") {
56
+ continue;
57
+ }
58
+ versionFromNodeModules = sanitizedVersion;
59
+ break;
60
+ }
61
+ catch {
62
+ }
63
+ }
64
+ if (versionFromNodeModules) {
65
+ tscVersion = versionFromNodeModules;
66
+ return ["md/tsc", tscVersion];
67
+ }
68
+ const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp);
69
+ if (typeof sanitizedVersion !== "string") {
70
+ tscVersion = null;
71
+ return undefined;
72
+ }
73
+ tscVersion = `dev_${sanitizedVersion}`;
74
+ return ["md/tsc", tscVersion];
75
+ };
@@ -1,4 +1,4 @@
1
- import { Provider, UserAgent } from "@smithy/types";
1
+ import type { Provider, UserAgent } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Returns candidate paths to the node_modules parent directories based on current
3
+ * working directory and, if provided, from the given directory.
4
+ *
5
+ * @param dirname - Optional directory path to derive an additional candidate path from.
6
+ * @returns An array of unique candidate paths to the TypeScript package.json file.
7
+ *
8
+ * @internal
9
+ */
10
+ export declare const getNodeModulesParentDirs: (dirname?: string) => string[];
@@ -0,0 +1,6 @@
1
+ import type { UserAgentPair } from "@smithy/types";
2
+ /**
3
+ * Returns the runtime name and version as a user agent pair.
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeUserAgentPair: () => UserAgentPair;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Sanitizes a TypeScript version string for user-agent reporting.
3
+ * Handles dist tags (e.g., "latest", "beta"), version prefixes (e.g., "^", "~"),
4
+ * and semver strings. Returns undefined if the version is invalid.
5
+ *
6
+ * @internal
7
+ */
8
+ export declare const getSanitizedDevTypeScriptVersion: (version?: string) => string | undefined;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Validates a semver string (with optional pre-release and/or build metadata).
3
+ * If valid, returns the version string with build metadata stripped.
4
+ * Returns undefined if the string is not a valid semver.
5
+ *
6
+ * @internal
7
+ */
8
+ export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined;
@@ -0,0 +1,6 @@
1
+ import type { UserAgentPair } from "@smithy/types";
2
+ /**
3
+ * Returns the tyescript name and version as a user agent pair, if present.
4
+ * @internal
5
+ */
6
+ export declare const getTypeScriptUserAgentPair: () => Promise<UserAgentPair | undefined>;
@@ -1,4 +1,4 @@
1
- import { UserAgentPair } from "@smithy/types";
1
+ import type { UserAgentPair } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { LoadedConfigSelectors } from "@smithy/node-config-provider";
1
+ import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -0,0 +1 @@
1
+ export declare const getNodeModulesParentDirs: (dirname?: string) => string[];
@@ -0,0 +1,2 @@
1
+ import { UserAgentPair } from "@smithy/types";
2
+ export declare const getRuntimeUserAgentPair: () => UserAgentPair;
@@ -0,0 +1,3 @@
1
+ export declare const getSanitizedDevTypeScriptVersion: (
2
+ version?: string
3
+ ) => string | undefined;
@@ -0,0 +1,3 @@
1
+ export declare const getSanitizedTypeScriptVersion: (
2
+ version?: string
3
+ ) => string | undefined;
@@ -0,0 +1,4 @@
1
+ import { UserAgentPair } from "@smithy/types";
2
+ export declare const getTypeScriptUserAgentPair: () => Promise<
3
+ UserAgentPair | undefined
4
+ >;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.972.0",
3
+ "version": "3.973.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -10,7 +10,9 @@
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
12
  "test": "yarn g:vitest run",
13
- "test:watch": "yarn g:vitest watch"
13
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
14
+ "test:watch": "yarn g:vitest watch",
15
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
14
16
  },
15
17
  "main": "./dist-cjs/index.js",
16
18
  "module": "./dist-es/index.js",
@@ -22,10 +24,11 @@
22
24
  },
23
25
  "license": "Apache-2.0",
24
26
  "dependencies": {
25
- "@aws-sdk/middleware-user-agent": "3.972.0",
26
- "@aws-sdk/types": "3.972.0",
27
- "@smithy/node-config-provider": "^4.3.8",
28
- "@smithy/types": "^4.12.0",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.21",
28
+ "@aws-sdk/types": "^3.973.6",
29
+ "@smithy/node-config-provider": "^4.3.12",
30
+ "@smithy/types": "^4.13.1",
31
+ "@smithy/util-config-provider": "^4.2.2",
29
32
  "tslib": "^2.6.2"
30
33
  },
31
34
  "devDependencies": {
@@ -48,7 +51,7 @@
48
51
  "node": ">=20.0.0"
49
52
  },
50
53
  "typesVersions": {
51
- "<4.0": {
54
+ "<4.5": {
52
55
  "dist-types/*": [
53
56
  "dist-types/ts3.4/*"
54
57
  ]
@@ -57,10 +60,10 @@
57
60
  "files": [
58
61
  "dist-*/**"
59
62
  ],
60
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-user-agent-node",
63
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-user-agent-node",
61
64
  "repository": {
62
65
  "type": "git",
63
66
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
64
- "directory": "packages/util-user-agent-node"
67
+ "directory": "packages-internal/util-user-agent-node"
65
68
  }
66
69
  }
@@ -116,9 +116,6 @@ class XmlNode {
116
116
  }
117
117
  }
118
118
 
119
- Object.defineProperty(exports, "parseXML", {
120
- enumerable: true,
121
- get: function () { return xmlParser.parseXML; }
122
- });
119
+ exports.parseXML = xmlParser.parseXML;
123
120
  exports.XmlNode = XmlNode;
124
121
  exports.XmlText = XmlText;
@@ -10,6 +10,7 @@ const parser = new fast_xml_parser_1.XMLParser({
10
10
  parseTagValue: false,
11
11
  trimValues: false,
12
12
  tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
13
+ maxNestedTags: 1024,
13
14
  });
14
15
  parser.addEntity("#xD", "\r");
15
16
  parser.addEntity("#10", "\n");
@@ -7,6 +7,7 @@ const parser = new XMLParser({
7
7
  parseTagValue: false,
8
8
  trimValues: false,
9
9
  tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
10
+ maxNestedTags: 1024,
10
11
  });
11
12
  parser.addEntity("#xD", "\r");
12
13
  parser.addEntity("#10", "\n");
@@ -1,4 +1,4 @@
1
- import { Stringable } from "./stringable";
1
+ import type { Stringable } from "./stringable";
2
2
  /**
3
3
  * @internal
4
4
  *
@@ -1,4 +1,4 @@
1
- import { Stringable } from "./stringable";
1
+ import type { Stringable } from "./stringable";
2
2
  /**
3
3
  * @internal
4
4
  *
@@ -1,5 +1,57 @@
1
1
  <small>Note: If you find missing information about particular minor version, that version must have been changed without any functional change in this library.</small>
2
2
 
3
+ **5.4.1 / 2026-02-25**
4
+ - fix (#785) unpairedTag node should not have tag content
5
+
6
+
7
+ **5.4.0 / 2026-02-25**
8
+ - migrate to fast-xml-builder
9
+
10
+ 5.3.9
11
+ **5.3.9 / 2026-02-25**
12
+ - support strictReservedNames
13
+
14
+ 5.3.8
15
+ **5.3.8 / 2026-02-25**
16
+ - support maxNestedTags
17
+ - handle non-array input for XML builder when preserveOrder is true (By [Angelo Coetzee](https://github.com/Angelopvtac))
18
+ - save use of js properies
19
+
20
+ 5.3.7
21
+ **5.3.7 / 2026-02-20**
22
+ - fix typings for CJS (By [Corentin Girard](https://github.com/Drarig29))
23
+
24
+
25
+
26
+ **5.3.6 / 2026-02-14**
27
+ - Improve security and performance of entity processing
28
+ - new options `maxEntitySize`, `maxExpansionDepth`, `maxTotalExpansions`, `maxExpandedLength`, `allowedTags`,`tagFilter`
29
+ - fast return when no edtity is present
30
+ - improvement replacement logic to reduce number of calls
31
+
32
+
33
+ **5.3.5 / 2026-02-08**
34
+ - fix: Escape regex char in entity name
35
+ - update strnum to 2.1.2
36
+ - add missing exports in CJS typings
37
+
38
+
39
+ **5.3.4 / 2026-01-30**
40
+ - fix: handle HTML numeric and hex entities when out of range
41
+
42
+
43
+ **5.3.3 / 2025-12-12**
44
+ - fix #775: transformTagName with allowBooleanAttributes adds an unnecessary attribute
45
+
46
+ **5.3.2 / 2025-11-14**
47
+ - fix for import statement for v6
48
+
49
+ **5.3.1 / 2025-11-03**
50
+ - Performance improvement for stopNodes (By [Maciek Lamberski](https://github.com/macieklamberski))
51
+
52
+ **5.3.0 / 2025-10-03**
53
+ - Use `Uint8Array` in place of `Buffer` in Parser
54
+
3
55
  **5.2.5 / 2025-06-08**
4
56
  - Inform user to use [fxp-cli](https://github.com/NaturalIntelligence/fxp-cli) instead of in-built CLI feature
5
57
  - Export typings for direct use
@@ -7,7 +7,7 @@ Validate XML, Parse XML to JS Object, or Build XML from JS Object without C/C++
7
7
  <img align="right" src="static/img/fxp_logo.png" width="180px" alt="FXP logo"/>
8
8
 
9
9
  * Validate XML data syntactically. Use [detailed-xml-validator](https://github.com/NaturalIntelligence/detailed-xml-validator/) to verify business rules.
10
- * Parse XML to JS Objectand vice versa
10
+ * Parse XML to JS Objects and vice versa
11
11
  * Common JS, ESM, and browser compatible
12
12
  * Faster than any other pure JS implementation.
13
13
 
@@ -18,10 +18,11 @@ It can handle big files (tested up to 100mb). XML Entities, HTML entities, and D
18
18
 
19
19
  ## Try out our New Thoughts
20
20
 
21
- We've recently launched **Flowgger**
22
- <a href="https://github.com/solothought/flowgger"> <img src="static/img/flowgger_h.webp" alt="Flowgger Logging Framework" /></a>
23
-
24
- Don't forget to check our new library [Text2Chart](https://solothought.com/text2chart/flow) that constructs flow chart out of simple text. Very helpful in creating or alayzing an algorithm, and documentation purpose.
21
+ - WishIn - You need it if negative thoughts take over all the time <br>
22
+ <a href="https://play.google.com/store/apps/details?id=com.solothought.wishin"> <img src="https://solothought.com/products/assets/images/wishin/YouTubeThumbnail.png" width="500px"/> </a>
23
+ - **Flowgger**: 90% less logs size and 90% less debugging time<br>
24
+ <a href="https://github.com/solothought/flowgger"> <img src="static/img/flowgger_h.webp" alt="Flowgger Logging Framework" width="300px"/></a>
25
+ - [Text2Chart](https://solothought.com/text2chart/flow): interactive flow chart out of simple text.
25
26
 
26
27
  ## Financial Support
27
28
 
@@ -170,7 +171,7 @@ Bundle size
170
171
  </table>
171
172
 
172
173
  **note**:
173
- - Version 6 is released with version 4 for experimental use. Based on it's demand, it'll be developed and the features can be different in final release.
174
+ - Version 6 is released with version 4 for experimental use. Based on its demand, it'll be developed and the features can be different in final release.
174
175
  - Version 5 has the same functionalities as version 4.
175
176
 
176
177
  ## Performance
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XMLBuilder=e():t.XMLBuilder=e()}(this,(()=>(()=>{"use strict";var t={d:(e,i)=>{for(var r in i)t.o(i,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t,e){var i="";return e.format&&e.indentBy.length>0&&(i="\n"),r(t,e,"",i)}function r(t,e,i,u){for(var p="",h=!1,l=0;l<t.length;l++){var d=t[l],f=n(d);if(void 0!==f){var c;if(c=0===i.length?f:i+"."+f,f!==e.textNodeName)if(f!==e.cdataPropName)if(f!==e.commentPropName)if("?"!==f[0]){var g=u;""!==g&&(g+=e.indentBy);var b=u+"<"+f+o(d[":@"],e),m=r(d[f],e,c,g);-1!==e.unpairedTags.indexOf(f)?e.suppressUnpairedNode?p+=b+">":p+=b+"/>":m&&0!==m.length||!e.suppressEmptyNode?m&&m.endsWith(">")?p+=b+">"+m+u+"</"+f+">":(p+=b+">",m&&""!==u&&(m.includes("/>")||m.includes("</"))?p+=u+e.indentBy+m+u:p+=m,p+="</"+f+">"):p+=b+"/>",h=!0}else{var N=o(d[":@"],e),v="?xml"===f?"":u,y=d[f][0][e.textNodeName];p+=v+"<"+f+(y=0!==y.length?" "+y:"")+N+"?>",h=!0}else p+=u+"\x3c!--"+d[f][0][e.textNodeName]+"--\x3e",h=!0;else h&&(p+=u),p+="<![CDATA["+d[f][0][e.textNodeName]+"]]>",h=!1;else{var x=d[f];s(c,e)||(x=a(x=e.tagValueProcessor(f,x),e)),h&&(p+=u),p+=x,h=!1}}}return p}function n(t){for(var e=Object.keys(t),i=0;i<e.length;i++){var r=e[i];if(t.hasOwnProperty(r)&&":@"!==r)return r}}function o(t,e){var i="";if(t&&!e.ignoreAttributes)for(var r in t)if(t.hasOwnProperty(r)){var n=e.attributeValueProcessor(r,t[r]);!0===(n=a(n,e))&&e.suppressBooleanAttributes?i+=" "+r.substr(e.attributeNamePrefix.length):i+=" "+r.substr(e.attributeNamePrefix.length)+'="'+n+'"'}return i}function s(t,e){var i=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(var r in e.stopNodes)if(e.stopNodes[r]===t||e.stopNodes[r]==="*."+i)return!0;return!1}function a(t,e){if(t&&t.length>0&&e.processEntities)for(var i=0;i<e.entities.length;i++){var r=e.entities[i];t=t.replace(r.regex,r.val)}return t}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}t.r(e),t.d(e,{default:()=>h});var p={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function h(t){var e;this.options=Object.assign({},p,t),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn="function"==typeof(e=this.options.ignoreAttributes)?e:Array.isArray(e)?function(t){for(var i,r=function(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return u(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?u(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(i=r()).done;){var n=i.value;if("string"==typeof n&&t===n)return!0;if(n instanceof RegExp&&n.test(t))return!0}}:function(){return!1},this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=f),this.processTextOrObjNode=l,this.options.format?(this.indentate=d,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function l(t,e,i,r){var n=this.j2x(t,i+1,r.concat(e));return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,n.attrStr,i):this.buildObjectNode(n.val,e,n.attrStr,i)}function d(t){return this.options.indentBy.repeat(t)}function f(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}return h.prototype.build=function(t){return this.options.preserveOrder?i(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&((e={})[this.options.arrayNodeName]=t,t=e),this.j2x(t,0,[]).val);var e},h.prototype.j2x=function(t,e,i){var r="",n="",o=i.join(".");for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s))if(void 0===t[s])this.isAttribute(s)&&(n+="");else if(null===t[s])this.isAttribute(s)||s===this.options.cdataPropName?n+="":"?"===s[0]?n+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if(t[s]instanceof Date)n+=this.buildTextValNode(t[s],s,"",e);else if("object"!=typeof t[s]){var a=this.isAttribute(s);if(a&&!this.ignoreAttributesFn(a,o))r+=this.buildAttrPairStr(a,""+t[s]);else if(!a)if(s===this.options.textNodeName){var u=this.options.tagValueProcessor(s,""+t[s]);n+=this.replaceEntitiesValue(u)}else n+=this.buildTextValNode(t[s],s,"",e)}else if(Array.isArray(t[s])){for(var p=t[s].length,h="",l="",d=0;d<p;d++){var f=t[s][d];if(void 0===f);else if(null===f)"?"===s[0]?n+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if("object"==typeof f)if(this.options.oneListGroup){var c=this.j2x(f,e+1,i.concat(s));h+=c.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(l+=c.attrStr)}else h+=this.processTextOrObjNode(f,s,e,i);else if(this.options.oneListGroup){var g=this.options.tagValueProcessor(s,f);h+=g=this.replaceEntitiesValue(g)}else h+=this.buildTextValNode(f,s,"",e)}this.options.oneListGroup&&(h=this.buildObjectNode(h,s,l,e)),n+=h}else if(this.options.attributesGroupName&&s===this.options.attributesGroupName)for(var b=Object.keys(t[s]),m=b.length,N=0;N<m;N++)r+=this.buildAttrPairStr(b[N],""+t[s][b[N]]);else n+=this.processTextOrObjNode(t[s],s,e,i);return{attrStr:r,val:n}},h.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},h.prototype.buildObjectNode=function(t,e,i,r){if(""===t)return"?"===e[0]?this.indentate(r)+"<"+e+i+"?"+this.tagEndChar:this.indentate(r)+"<"+e+i+this.closeTag(e)+this.tagEndChar;var n="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",n=""),!i&&""!==i||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(r)+"\x3c!--"+t+"--\x3e"+this.newLine:this.indentate(r)+"<"+e+i+o+this.tagEndChar+t+this.indentate(r)+n:this.indentate(r)+"<"+e+i+o+">"+t+n},h.prototype.closeTag=function(t){var e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":"></"+t,e},h.prototype.buildTextValNode=function(t,e,i,r){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(r)+"<![CDATA["+t+"]]>"+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+"\x3c!--"+t+"--\x3e"+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+i+"?"+this.tagEndChar;var n=this.options.tagValueProcessor(e,t);return""===(n=this.replaceEntitiesValue(n))?this.indentate(r)+"<"+e+i+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+i+">"+n+"</"+e+this.tagEndChar},h.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(var e=0;e<this.options.entities.length;e++){var i=this.options.entities[e];t=t.replace(i.regex,i.val)}return t},e})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XMLBuilder=e():t.XMLBuilder=e()}(this,()=>(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t,e){let i="";return e.format&&e.indentBy.length>0&&(i="\n"),s(t,e,"",i)}function s(t,e,i,p){let u="",h=!1;if(!Array.isArray(t)){if(null!=t){let i=t.toString();return i=a(i,e),i}return""}for(let l=0;l<t.length;l++){const d=t[l],c=n(d);if(void 0===c)continue;let f="";if(f=0===i.length?c:`${i}.${c}`,c===e.textNodeName){let t=d[c];r(f,e)||(t=e.tagValueProcessor(c,t),t=a(t,e)),h&&(u+=p),u+=t,h=!1;continue}if(c===e.cdataPropName){h&&(u+=p),u+=`<![CDATA[${d[c][0][e.textNodeName]}]]>`,h=!1;continue}if(c===e.commentPropName){u+=p+`\x3c!--${d[c][0][e.textNodeName]}--\x3e`,h=!0;continue}if("?"===c[0]){const t=o(d[":@"],e),i="?xml"===c?"":p;let s=d[c][0][e.textNodeName];s=0!==s.length?" "+s:"",u+=i+`<${c}${s}${t}?>`,h=!0;continue}let g=p;""!==g&&(g+=e.indentBy);const b=p+`<${c}${o(d[":@"],e)}`,N=s(d[c],e,f,g);-1!==e.unpairedTags.indexOf(c)?e.suppressUnpairedNode?u+=b+">":u+=b+"/>":N&&0!==N.length||!e.suppressEmptyNode?N&&N.endsWith(">")?u+=b+`>${N}${p}</${c}>`:(u+=b+">",N&&""!==p&&(N.includes("/>")||N.includes("</"))?u+=p+e.indentBy+N+p:u+=N,u+=`</${c}>`):u+=b+"/>",h=!0}return u}function n(t){const e=Object.keys(t);for(let i=0;i<e.length;i++){const s=e[i];if(Object.prototype.hasOwnProperty.call(t,s)&&":@"!==s)return s}}function o(t,e){let i="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=e.attributeValueProcessor(s,t[s]);n=a(n,e),!0===n&&e.suppressBooleanAttributes?i+=` ${s.substr(e.attributeNamePrefix.length)}`:i+=` ${s.substr(e.attributeNamePrefix.length)}="${n}"`}return i}function r(t,e){let i=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let s in e.stopNodes)if(e.stopNodes[s]===t||e.stopNodes[s]==="*."+i)return!0;return!1}function a(t,e){if(t&&t.length>0&&e.processEntities)for(let i=0;i<e.entities.length;i++){const s=e.entities[i];t=t.replace(s.regex,s.val)}return t}t.r(e),t.d(e,{default:()=>c});const p={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function u(t){var e;this.options=Object.assign({},p,t),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn="function"==typeof(e=this.options.ignoreAttributes)?e:Array.isArray(e)?t=>{for(const i of e){if("string"==typeof i&&t===i)return!0;if(i instanceof RegExp&&i.test(t))return!0}}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=d),this.processTextOrObjNode=h,this.options.format?(this.indentate=l,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function h(t,e,i,s){const n=this.j2x(t,i+1,s.concat(e));return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,n.attrStr,i):this.buildObjectNode(n.val,e,n.attrStr,i)}function l(t){return this.options.indentBy.repeat(t)}function d(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}u.prototype.build=function(t){return this.options.preserveOrder?i(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0,[]).val)},u.prototype.j2x=function(t,e,i){let s="",n="";const o=i.join(".");for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r))if(void 0===t[r])this.isAttribute(r)&&(n+="");else if(null===t[r])this.isAttribute(r)||r===this.options.cdataPropName?n+="":"?"===r[0]?n+=this.indentate(e)+"<"+r+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+r+"/"+this.tagEndChar;else if(t[r]instanceof Date)n+=this.buildTextValNode(t[r],r,"",e);else if("object"!=typeof t[r]){const i=this.isAttribute(r);if(i&&!this.ignoreAttributesFn(i,o))s+=this.buildAttrPairStr(i,""+t[r]);else if(!i)if(r===this.options.textNodeName){let e=this.options.tagValueProcessor(r,""+t[r]);n+=this.replaceEntitiesValue(e)}else n+=this.buildTextValNode(t[r],r,"",e)}else if(Array.isArray(t[r])){const s=t[r].length;let o="",a="";for(let p=0;p<s;p++){const s=t[r][p];if(void 0===s);else if(null===s)"?"===r[0]?n+=this.indentate(e)+"<"+r+"?"+this.tagEndChar:n+=this.indentate(e)+"<"+r+"/"+this.tagEndChar;else if("object"==typeof s)if(this.options.oneListGroup){const t=this.j2x(s,e+1,i.concat(r));o+=t.val,this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)&&(a+=t.attrStr)}else o+=this.processTextOrObjNode(s,r,e,i);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(r,s);t=this.replaceEntitiesValue(t),o+=t}else o+=this.buildTextValNode(s,r,"",e)}this.options.oneListGroup&&(o=this.buildObjectNode(o,r,a,e)),n+=o}else if(this.options.attributesGroupName&&r===this.options.attributesGroupName){const e=Object.keys(t[r]),i=e.length;for(let n=0;n<i;n++)s+=this.buildAttrPairStr(e[n],""+t[r][e[n]])}else n+=this.processTextOrObjNode(t[r],r,e,i);return{attrStr:s,val:n}},u.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},u.prototype.buildObjectNode=function(t,e,i,s){if(""===t)return"?"===e[0]?this.indentate(s)+"<"+e+i+"?"+this.tagEndChar:this.indentate(s)+"<"+e+i+this.closeTag(e)+this.tagEndChar;{let n="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",n=""),!i&&""!==i||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(s)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(s)+"<"+e+i+o+this.tagEndChar+t+this.indentate(s)+n:this.indentate(s)+"<"+e+i+o+">"+t+n}},u.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},u.prototype.buildTextValNode=function(t,e,i,s){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(s)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(s)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(s)+"<"+e+i+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(e,t);return n=this.replaceEntitiesValue(n),""===n?this.indentate(s)+"<"+e+i+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+i+">"+n+"</"+e+this.tagEndChar}},u.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const i=this.options.entities[e];t=t.replace(i.regex,i.val)}return t};const c=u;return e})());
2
2
  //# sourceMappingURL=fxbuilder.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"./lib/fxbuilder.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,GACtB,CATD,CASGK,MAAM,I,mBCRT,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDF,EAAwB,CAACQ,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFT,EAAyBL,IACH,oBAAXkB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeV,EAASkB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeV,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UI,GAAS,IAAMjG,EAAMsD,EAAU,IAClDW,EACD,KAAOjE,EAAMH,KAAKiG,UAG1B,EAEAf,EAAQvE,UAAU0C,qBAAuB,SAASe,GAChD,GAAGA,GAAaA,EAAU7C,OAAS,GAAKvB,KAAKmB,QAAQkD,gBACnD,IAAK,IAAIxC,EAAE,EAAGA,EAAE7B,KAAKmB,QAAQmD,SAAS/C,OAAQM,IAAK,CACjD,IAAM0C,EAASvE,KAAKmB,QAAQmD,SAASzC,GACrCuC,EAAYA,EAAUI,QAAQD,EAAOE,MAAOF,EAAOG,IACrD,CAEF,OAAON,CACT,E","sources":["webpack://XMLBuilder/webpack/universalModuleDefinition","webpack://XMLBuilder/webpack/bootstrap","webpack://XMLBuilder/webpack/runtime/define property getters","webpack://XMLBuilder/webpack/runtime/hasOwnProperty shorthand","webpack://XMLBuilder/webpack/runtime/make namespace object","webpack://XMLBuilder/./src/xmlbuilder/orderedJs2Xml.js","webpack://XMLBuilder/./src/xmlbuilder/json2xml.js","webpack://XMLBuilder/./src/ignoreAttributes.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"XMLBuilder\"] = factory();\n\telse\n\t\troot[\"XMLBuilder\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const EOL = \"\\n\";\n\n/**\n * \n * @param {array} jArray \n * @param {any} options \n * @returns \n */\nexport default function toXml(jArray, options) {\n let indentation = \"\";\n if (options.format && options.indentBy.length > 0) {\n indentation = EOL;\n }\n return arrToStr(jArray, options, \"\", indentation);\n}\n\nfunction arrToStr(arr, options, jPath, indentation) {\n let xmlStr = \"\";\n let isPreviousElementTag = false;\n\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const tagName = propName(tagObj);\n if(tagName === undefined) continue;\n\n let newJPath = \"\";\n if (jPath.length === 0) newJPath = tagName\n else newJPath = `${jPath}.${tagName}`;\n\n if (tagName === options.textNodeName) {\n let tagText = tagObj[tagName];\n if (!isStopNode(newJPath, options)) {\n tagText = options.tagValueProcessor(tagName, tagText);\n tagText = replaceEntitiesValue(tagText, options);\n }\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += tagText;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.cdataPropName) {\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.commentPropName) {\n xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;\n isPreviousElementTag = true;\n continue;\n } else if (tagName[0] === \"?\") {\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tempInd = tagName === \"?xml\" ? \"\" : indentation;\n let piTextNodeName = tagObj[tagName][0][options.textNodeName];\n piTextNodeName = piTextNodeName.length !== 0 ? \" \" + piTextNodeName : \"\"; //remove extra spacing\n xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;\n isPreviousElementTag = true;\n continue;\n }\n let newIdentation = indentation;\n if (newIdentation !== \"\") {\n newIdentation += options.indentBy;\n }\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tagStart = indentation + `<${tagName}${attStr}`;\n const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation);\n if (options.unpairedTags.indexOf(tagName) !== -1) {\n if (options.suppressUnpairedNode) xmlStr += tagStart + \">\";\n else xmlStr += tagStart + \"/>\";\n } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {\n xmlStr += tagStart + \"/>\";\n } else if (tagValue && tagValue.endsWith(\">\")) {\n xmlStr += tagStart + `>${tagValue}${indentation}</${tagName}>`;\n } else {\n xmlStr += tagStart + \">\";\n if (tagValue && indentation !== \"\" && (tagValue.includes(\"/>\") || tagValue.includes(\"</\"))) {\n xmlStr += indentation + options.indentBy + tagValue + indentation;\n } else {\n xmlStr += tagValue;\n }\n xmlStr += `</${tagName}>`;\n }\n isPreviousElementTag = true;\n }\n\n return xmlStr;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if(!obj.hasOwnProperty(key)) continue;\n if (key !== \":@\") return key;\n }\n}\n\nfunction attr_to_str(attrMap, options) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if(!attrMap.hasOwnProperty(attr)) continue;\n let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);\n attrVal = replaceEntitiesValue(attrVal, options);\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction isStopNode(jPath, options) {\n jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1);\n let tagName = jPath.substr(jPath.lastIndexOf(\".\") + 1);\n for (let index in options.stopNodes) {\n if (options.stopNodes[index] === jPath || options.stopNodes[index] === \"*.\" + tagName) return true;\n }\n return false;\n}\n\nfunction replaceEntitiesValue(textValue, options) {\n if (textValue && textValue.length > 0 && options.processEntities) {\n for (let i = 0; i < options.entities.length; i++) {\n const entity = options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n","'use strict';\n//parse Empty Node as self closing node\nimport buildFromOrderedJs from './orderedJs2Xml.js';\nimport getIgnoreAttributesFn from \"../ignoreAttributes.js\";\n\nconst defaultOptions = {\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n cdataPropName: false,\n format: false,\n indentBy: ' ',\n suppressEmptyNode: false,\n suppressUnpairedNode: true,\n suppressBooleanAttributes: true,\n tagValueProcessor: function(key, a) {\n return a;\n },\n attributeValueProcessor: function(attrName, a) {\n return a;\n },\n preserveOrder: false,\n commentPropName: false,\n unpairedTags: [],\n entities: [\n { regex: new RegExp(\"&\", \"g\"), val: \"&amp;\" },//it must be on top\n { regex: new RegExp(\">\", \"g\"), val: \"&gt;\" },\n { regex: new RegExp(\"<\", \"g\"), val: \"&lt;\" },\n { regex: new RegExp(\"\\'\", \"g\"), val: \"&apos;\" },\n { regex: new RegExp(\"\\\"\", \"g\"), val: \"&quot;\" }\n ],\n processEntities: true,\n stopNodes: [],\n // transformTagName: false,\n // transformAttributeName: false,\n oneListGroup: false\n};\n\nexport default function Builder(options) {\n this.options = Object.assign({}, defaultOptions, options);\n if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {\n this.isAttribute = function(/*a*/) {\n return false;\n };\n } else {\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.attrPrefixLen = this.options.attributeNamePrefix.length;\n this.isAttribute = isAttribute;\n }\n\n this.processTextOrObjNode = processTextOrObjNode\n\n if (this.options.format) {\n this.indentate = indentate;\n this.tagEndChar = '>\\n';\n this.newLine = '\\n';\n } else {\n this.indentate = function() {\n return '';\n };\n this.tagEndChar = '>';\n this.newLine = '';\n }\n}\n\nBuilder.prototype.build = function(jObj) {\n if(this.options.preserveOrder){\n return buildFromOrderedJs(jObj, this.options);\n }else {\n if(Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1){\n jObj = {\n [this.options.arrayNodeName] : jObj\n }\n }\n return this.j2x(jObj, 0, []).val;\n }\n};\n\nBuilder.prototype.j2x = function(jObj, level, ajPath) {\n let attrStr = '';\n let val = '';\n const jPath = ajPath.join('.')\n for (let key in jObj) {\n if(!Object.prototype.hasOwnProperty.call(jObj, key)) continue;\n if (typeof jObj[key] === 'undefined') {\n // supress undefined node only if it is not an attribute\n if (this.isAttribute(key)) {\n val += '';\n }\n } else if (jObj[key] === null) {\n // null attribute should be ignored by the attribute list, but should not cause the tag closing\n if (this.isAttribute(key)) {\n val += '';\n } else if (key === this.options.cdataPropName) {\n val += '';\n } else if (key[0] === '?') {\n val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n }\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (jObj[key] instanceof Date) {\n val += this.buildTextValNode(jObj[key], key, '', level);\n } else if (typeof jObj[key] !== 'object') {\n //premitive type\n const attr = this.isAttribute(key);\n if (attr && !this.ignoreAttributesFn(attr, jPath)) {\n attrStr += this.buildAttrPairStr(attr, '' + jObj[key]);\n } else if (!attr) {\n //tag value\n if (key === this.options.textNodeName) {\n let newval = this.options.tagValueProcessor(key, '' + jObj[key]);\n val += this.replaceEntitiesValue(newval);\n } else {\n val += this.buildTextValNode(jObj[key], key, '', level);\n }\n }\n } else if (Array.isArray(jObj[key])) {\n //repeated nodes\n const arrLen = jObj[key].length;\n let listTagVal = \"\";\n let listTagAttr = \"\";\n for (let j = 0; j < arrLen; j++) {\n const item = jObj[key][j];\n if (typeof item === 'undefined') {\n // supress undefined node\n } else if (item === null) {\n if(key[0] === \"?\") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (typeof item === 'object') {\n if(this.options.oneListGroup){\n const result = this.j2x(item, level + 1, ajPath.concat(key));\n listTagVal += result.val;\n if (this.options.attributesGroupName && item.hasOwnProperty(this.options.attributesGroupName)) {\n listTagAttr += result.attrStr\n }\n }else{\n listTagVal += this.processTextOrObjNode(item, key, level, ajPath)\n }\n } else {\n if (this.options.oneListGroup) {\n let textValue = this.options.tagValueProcessor(key, item);\n textValue = this.replaceEntitiesValue(textValue);\n listTagVal += textValue;\n } else {\n listTagVal += this.buildTextValNode(item, key, '', level);\n }\n }\n }\n if(this.options.oneListGroup){\n listTagVal = this.buildObjectNode(listTagVal, key, listTagAttr, level);\n }\n val += listTagVal;\n } else {\n //nested node\n if (this.options.attributesGroupName && key === this.options.attributesGroupName) {\n const Ks = Object.keys(jObj[key]);\n const L = Ks.length;\n for (let j = 0; j < L; j++) {\n attrStr += this.buildAttrPairStr(Ks[j], '' + jObj[key][Ks[j]]);\n }\n } else {\n val += this.processTextOrObjNode(jObj[key], key, level, ajPath)\n }\n }\n }\n return {attrStr: attrStr, val: val};\n};\n\nBuilder.prototype.buildAttrPairStr = function(attrName, val){\n val = this.options.attributeValueProcessor(attrName, '' + val);\n val = this.replaceEntitiesValue(val);\n if (this.options.suppressBooleanAttributes && val === \"true\") {\n return ' ' + attrName;\n } else return ' ' + attrName + '=\"' + val + '\"';\n}\n\nfunction processTextOrObjNode (object, key, level, ajPath) {\n const result = this.j2x(object, level + 1, ajPath.concat(key));\n if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) {\n return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);\n } else {\n return this.buildObjectNode(result.val, key, result.attrStr, level);\n }\n}\n\nBuilder.prototype.buildObjectNode = function(val, key, attrStr, level) {\n if(val === \"\"){\n if(key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }\n }else{\n\n let tagEndExp = '</' + key + this.tagEndChar;\n let piClosingChar = \"\";\n \n if(key[0] === \"?\") {\n piClosingChar = \"?\";\n tagEndExp = \"\";\n }\n \n // attrStr is an empty string in case the attribute came as undefined or null\n if ((attrStr || attrStr === '') && val.indexOf('<') === -1) {\n return ( this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp );\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n }else {\n return (\n this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +\n val +\n this.indentate(level) + tagEndExp );\n }\n }\n}\n\nBuilder.prototype.closeTag = function(key){\n let closeTag = \"\";\n if(this.options.unpairedTags.indexOf(key) !== -1){ //unpaired\n if(!this.options.suppressUnpairedNode) closeTag = \"/\"\n }else if(this.options.suppressEmptyNode){ //empty\n closeTag = \"/\";\n }else{\n closeTag = `></${key}`\n }\n return closeTag;\n}\n\nfunction buildEmptyObjNode(val, key, attrStr, level) {\n if (val !== '') {\n return this.buildObjectNode(val, key, attrStr, level);\n } else {\n if(key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;\n // return this.buildTagStr(level,key, attrStr);\n }\n }\n}\n\nBuilder.prototype.buildTextValNode = function(val, key, attrStr, level) {\n if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {\n return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;\n }else if (this.options.commentPropName !== false && key === this.options.commentPropName) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n }else if(key[0] === \"?\") {//PI tag\n return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; \n }else{\n let textValue = this.options.tagValueProcessor(key, val);\n textValue = this.replaceEntitiesValue(textValue);\n \n if( textValue === ''){\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }else{\n return this.indentate(level) + '<' + key + attrStr + '>' +\n textValue +\n '</' + key + this.tagEndChar;\n }\n }\n}\n\nBuilder.prototype.replaceEntitiesValue = function(textValue){\n if(textValue && textValue.length > 0 && this.options.processEntities){\n for (let i=0; i<this.options.entities.length; i++) {\n const entity = this.options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n\nfunction indentate(level) {\n return this.options.indentBy.repeat(level);\n}\n\nfunction isAttribute(name /*, options*/) {\n if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {\n return name.substr(this.attrPrefixLen);\n } else {\n return false;\n }\n}\n\n","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","toXml","jArray","options","indentation","format","indentBy","length","arrToStr","arr","jPath","xmlStr","isPreviousElementTag","i","tagObj","tagName","propName","undefined","newJPath","textNodeName","cdataPropName","commentPropName","newIdentation","tagStart","attr_to_str","tagValue","unpairedTags","indexOf","suppressUnpairedNode","suppressEmptyNode","endsWith","includes","attStr","tempInd","piTextNodeName","tagText","isStopNode","replaceEntitiesValue","tagValueProcessor","keys","attrMap","attrStr","ignoreAttributes","attr","attrVal","attributeValueProcessor","suppressBooleanAttributes","substr","attributeNamePrefix","lastIndexOf","index","stopNodes","textValue","processEntities","entities","entity","replace","regex","val","defaultOptions","attributesGroupName","a","attrName","preserveOrder","RegExp","oneListGroup","Builder","assign","isAttribute","ignoreAttributesFn","Array","isArray","_step","_iterator","_createForOfIteratorHelperLoose","done","pattern","test","attrPrefixLen","processTextOrObjNode","indentate","tagEndChar","newLine","object","level","ajPath","result","j2x","concat","buildTextValNode","buildObjectNode","repeat","name","startsWith","build","jObj","buildFromOrderedJs","arrayNodeName","_jObj","join","Date","buildAttrPairStr","newval","arrLen","listTagVal","listTagAttr","j","item","Ks","L","closeTag","tagEndExp","piClosingChar"],"sourceRoot":""}
1
+ {"version":3,"file":"./lib/fxbuilder.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,GACtB,CATD,CASGK,KAAM,I,mBCRT,IAAIC,EAAsB,CCA1BA,EAAwB,CAACL,EAASM,KACjC,IAAI,IAAIC,KAAOD,EACXD,EAAoBG,EAAEF,EAAYC,KAASF,EAAoBG,EAAER,EAASO,IAC5EE,OAAOC,eAAeV,EAASO,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,MCJ3EF,EAAwB,CAACQ,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFT,EAAyBL,IACH,oBAAXkB,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeV,EAASkB,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeV,EAAS,aAAc,CAAEoB,OAAO,M,KCGxC,SAASC,EAAMC,EAAQC,GAClC,IAAIC,EAAc,GAIlB,OAHID,EAAQE,QAAUF,EAAQG,SAASC,OAAS,IAC5CH,EAXI,MAaDI,EAASN,EAAQC,EAAS,GAAIC,EACzC,CAEA,SAASI,EAASC,EAAKN,EAASO,EAAON,GACnC,IAAIO,EAAS,GACTC,GAAuB,EAG3B,IAAKC,MAAMC,QAAQL,GAAM,CAErB,GAAIA,QAAmC,CACnC,IAAIM,EAAON,EAAIO,WAEf,OADAD,EAAOE,EAAqBF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AAKmB,QAAQsD,gBACpD,IAAK,IAAIvC,EAAI,EAAGA,EAAIlC,KAAKmB,QAAQuD,SAASnD,OAAQW,IAAK,CACrD,MAAMyC,EAAS3E,KAAKmB,QAAQuD,SAASxC,GACrCsC,EAAYA,EAAUI,QAAQD,EAAOE,MAAOF,EAAOG,IACrD,CAEF,OAAON,CACT,EE7QA,U","sources":["webpack://XMLBuilder/webpack/universalModuleDefinition","webpack://XMLBuilder/webpack/bootstrap","webpack://XMLBuilder/webpack/runtime/define property getters","webpack://XMLBuilder/webpack/runtime/hasOwnProperty shorthand","webpack://XMLBuilder/webpack/runtime/make namespace object","webpack://XMLBuilder/./node_modules/fast-xml-builder/src/orderedJs2Xml.js","webpack://XMLBuilder/./node_modules/fast-xml-builder/src/fxb.js","webpack://XMLBuilder/./node_modules/fast-xml-builder/src/ignoreAttributes.js","webpack://XMLBuilder/./src/xmlbuilder/json2xml.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"XMLBuilder\"] = factory();\n\telse\n\t\troot[\"XMLBuilder\"] = factory();\n})(this, () => {\nreturn ","// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const EOL = \"\\n\";\n\n/**\n * \n * @param {array} jArray \n * @param {any} options \n * @returns \n */\nexport default function toXml(jArray, options) {\n let indentation = \"\";\n if (options.format && options.indentBy.length > 0) {\n indentation = EOL;\n }\n return arrToStr(jArray, options, \"\", indentation);\n}\n\nfunction arrToStr(arr, options, jPath, indentation) {\n let xmlStr = \"\";\n let isPreviousElementTag = false;\n\n\n if (!Array.isArray(arr)) {\n // Non-array values (e.g. string tag values) should be treated as text content\n if (arr !== undefined && arr !== null) {\n let text = arr.toString();\n text = replaceEntitiesValue(text, options);\n return text;\n }\n return \"\";\n }\n\n for (let i = 0; i < arr.length; i++) {\n const tagObj = arr[i];\n const tagName = propName(tagObj);\n if (tagName === undefined) continue;\n\n let newJPath = \"\";\n if (jPath.length === 0) newJPath = tagName\n else newJPath = `${jPath}.${tagName}`;\n\n if (tagName === options.textNodeName) {\n let tagText = tagObj[tagName];\n if (!isStopNode(newJPath, options)) {\n tagText = options.tagValueProcessor(tagName, tagText);\n tagText = replaceEntitiesValue(tagText, options);\n }\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += tagText;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.cdataPropName) {\n if (isPreviousElementTag) {\n xmlStr += indentation;\n }\n xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;\n isPreviousElementTag = false;\n continue;\n } else if (tagName === options.commentPropName) {\n xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;\n isPreviousElementTag = true;\n continue;\n } else if (tagName[0] === \"?\") {\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tempInd = tagName === \"?xml\" ? \"\" : indentation;\n let piTextNodeName = tagObj[tagName][0][options.textNodeName];\n piTextNodeName = piTextNodeName.length !== 0 ? \" \" + piTextNodeName : \"\"; //remove extra spacing\n xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;\n isPreviousElementTag = true;\n continue;\n }\n let newIdentation = indentation;\n if (newIdentation !== \"\") {\n newIdentation += options.indentBy;\n }\n const attStr = attr_to_str(tagObj[\":@\"], options);\n const tagStart = indentation + `<${tagName}${attStr}`;\n const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation);\n if (options.unpairedTags.indexOf(tagName) !== -1) {\n if (options.suppressUnpairedNode) xmlStr += tagStart + \">\";\n else xmlStr += tagStart + \"/>\";\n } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {\n xmlStr += tagStart + \"/>\";\n } else if (tagValue && tagValue.endsWith(\">\")) {\n xmlStr += tagStart + `>${tagValue}${indentation}</${tagName}>`;\n } else {\n xmlStr += tagStart + \">\";\n if (tagValue && indentation !== \"\" && (tagValue.includes(\"/>\") || tagValue.includes(\"</\"))) {\n xmlStr += indentation + options.indentBy + tagValue + indentation;\n } else {\n xmlStr += tagValue;\n }\n xmlStr += `</${tagName}>`;\n }\n isPreviousElementTag = true;\n }\n\n return xmlStr;\n}\n\nfunction propName(obj) {\n const keys = Object.keys(obj);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;\n if (key !== \":@\") return key;\n }\n}\n\nfunction attr_to_str(attrMap, options) {\n let attrStr = \"\";\n if (attrMap && !options.ignoreAttributes) {\n for (let attr in attrMap) {\n if (!Object.prototype.hasOwnProperty.call(attrMap, attr)) continue;\n let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);\n attrVal = replaceEntitiesValue(attrVal, options);\n if (attrVal === true && options.suppressBooleanAttributes) {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;\n } else {\n attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}=\"${attrVal}\"`;\n }\n }\n }\n return attrStr;\n}\n\nfunction isStopNode(jPath, options) {\n jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1);\n let tagName = jPath.substr(jPath.lastIndexOf(\".\") + 1);\n for (let index in options.stopNodes) {\n if (options.stopNodes[index] === jPath || options.stopNodes[index] === \"*.\" + tagName) return true;\n }\n return false;\n}\n\nfunction replaceEntitiesValue(textValue, options) {\n if (textValue && textValue.length > 0 && options.processEntities) {\n for (let i = 0; i < options.entities.length; i++) {\n const entity = options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n","'use strict';\n//parse Empty Node as self closing node\nimport buildFromOrderedJs from './orderedJs2Xml.js';\nimport getIgnoreAttributesFn from \"./ignoreAttributes.js\";\n\nconst defaultOptions = {\n attributeNamePrefix: '@_',\n attributesGroupName: false,\n textNodeName: '#text',\n ignoreAttributes: true,\n cdataPropName: false,\n format: false,\n indentBy: ' ',\n suppressEmptyNode: false,\n suppressUnpairedNode: true,\n suppressBooleanAttributes: true,\n tagValueProcessor: function (key, a) {\n return a;\n },\n attributeValueProcessor: function (attrName, a) {\n return a;\n },\n preserveOrder: false,\n commentPropName: false,\n unpairedTags: [],\n entities: [\n { regex: new RegExp(\"&\", \"g\"), val: \"&amp;\" },//it must be on top\n { regex: new RegExp(\">\", \"g\"), val: \"&gt;\" },\n { regex: new RegExp(\"<\", \"g\"), val: \"&lt;\" },\n { regex: new RegExp(\"\\'\", \"g\"), val: \"&apos;\" },\n { regex: new RegExp(\"\\\"\", \"g\"), val: \"&quot;\" }\n ],\n processEntities: true,\n stopNodes: [],\n // transformTagName: false,\n // transformAttributeName: false,\n oneListGroup: false\n};\n\nexport default function Builder(options) {\n this.options = Object.assign({}, defaultOptions, options);\n if (this.options.ignoreAttributes === true || this.options.attributesGroupName) {\n this.isAttribute = function (/*a*/) {\n return false;\n };\n } else {\n this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)\n this.attrPrefixLen = this.options.attributeNamePrefix.length;\n this.isAttribute = isAttribute;\n }\n\n this.processTextOrObjNode = processTextOrObjNode\n\n if (this.options.format) {\n this.indentate = indentate;\n this.tagEndChar = '>\\n';\n this.newLine = '\\n';\n } else {\n this.indentate = function () {\n return '';\n };\n this.tagEndChar = '>';\n this.newLine = '';\n }\n}\n\nBuilder.prototype.build = function (jObj) {\n if (this.options.preserveOrder) {\n return buildFromOrderedJs(jObj, this.options);\n } else {\n if (Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1) {\n jObj = {\n [this.options.arrayNodeName]: jObj\n }\n }\n return this.j2x(jObj, 0, []).val;\n }\n};\n\nBuilder.prototype.j2x = function (jObj, level, ajPath) {\n let attrStr = '';\n let val = '';\n const jPath = ajPath.join('.')\n for (let key in jObj) {\n if (!Object.prototype.hasOwnProperty.call(jObj, key)) continue;\n if (typeof jObj[key] === 'undefined') {\n // supress undefined node only if it is not an attribute\n if (this.isAttribute(key)) {\n val += '';\n }\n } else if (jObj[key] === null) {\n // null attribute should be ignored by the attribute list, but should not cause the tag closing\n if (this.isAttribute(key)) {\n val += '';\n } else if (key === this.options.cdataPropName) {\n val += '';\n } else if (key[0] === '?') {\n val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n } else {\n val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n }\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (jObj[key] instanceof Date) {\n val += this.buildTextValNode(jObj[key], key, '', level);\n } else if (typeof jObj[key] !== 'object') {\n //premitive type\n const attr = this.isAttribute(key);\n if (attr && !this.ignoreAttributesFn(attr, jPath)) {\n attrStr += this.buildAttrPairStr(attr, '' + jObj[key]);\n } else if (!attr) {\n //tag value\n if (key === this.options.textNodeName) {\n let newval = this.options.tagValueProcessor(key, '' + jObj[key]);\n val += this.replaceEntitiesValue(newval);\n } else {\n val += this.buildTextValNode(jObj[key], key, '', level);\n }\n }\n } else if (Array.isArray(jObj[key])) {\n //repeated nodes\n const arrLen = jObj[key].length;\n let listTagVal = \"\";\n let listTagAttr = \"\";\n for (let j = 0; j < arrLen; j++) {\n const item = jObj[key][j];\n if (typeof item === 'undefined') {\n // supress undefined node\n } else if (item === null) {\n if (key[0] === \"?\") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;\n else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;\n } else if (typeof item === 'object') {\n if (this.options.oneListGroup) {\n const result = this.j2x(item, level + 1, ajPath.concat(key));\n listTagVal += result.val;\n if (this.options.attributesGroupName && item.hasOwnProperty(this.options.attributesGroupName)) {\n listTagAttr += result.attrStr\n }\n } else {\n listTagVal += this.processTextOrObjNode(item, key, level, ajPath)\n }\n } else {\n if (this.options.oneListGroup) {\n let textValue = this.options.tagValueProcessor(key, item);\n textValue = this.replaceEntitiesValue(textValue);\n listTagVal += textValue;\n } else {\n listTagVal += this.buildTextValNode(item, key, '', level);\n }\n }\n }\n if (this.options.oneListGroup) {\n listTagVal = this.buildObjectNode(listTagVal, key, listTagAttr, level);\n }\n val += listTagVal;\n } else {\n //nested node\n if (this.options.attributesGroupName && key === this.options.attributesGroupName) {\n const Ks = Object.keys(jObj[key]);\n const L = Ks.length;\n for (let j = 0; j < L; j++) {\n attrStr += this.buildAttrPairStr(Ks[j], '' + jObj[key][Ks[j]]);\n }\n } else {\n val += this.processTextOrObjNode(jObj[key], key, level, ajPath)\n }\n }\n }\n return { attrStr: attrStr, val: val };\n};\n\nBuilder.prototype.buildAttrPairStr = function (attrName, val) {\n val = this.options.attributeValueProcessor(attrName, '' + val);\n val = this.replaceEntitiesValue(val);\n if (this.options.suppressBooleanAttributes && val === \"true\") {\n return ' ' + attrName;\n } else return ' ' + attrName + '=\"' + val + '\"';\n}\n\nfunction processTextOrObjNode(object, key, level, ajPath) {\n const result = this.j2x(object, level + 1, ajPath.concat(key));\n if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) {\n return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);\n } else {\n return this.buildObjectNode(result.val, key, result.attrStr, level);\n }\n}\n\nBuilder.prototype.buildObjectNode = function (val, key, attrStr, level) {\n if (val === \"\") {\n if (key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n }\n } else {\n\n let tagEndExp = '</' + key + this.tagEndChar;\n let piClosingChar = \"\";\n\n if (key[0] === \"?\") {\n piClosingChar = \"?\";\n tagEndExp = \"\";\n }\n\n // attrStr is an empty string in case the attribute came as undefined or null\n if ((attrStr || attrStr === '') && val.indexOf('<') === -1) {\n return (this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp);\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n } else {\n return (\n this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +\n val +\n this.indentate(level) + tagEndExp);\n }\n }\n}\n\nBuilder.prototype.closeTag = function (key) {\n let closeTag = \"\";\n if (this.options.unpairedTags.indexOf(key) !== -1) { //unpaired\n if (!this.options.suppressUnpairedNode) closeTag = \"/\"\n } else if (this.options.suppressEmptyNode) { //empty\n closeTag = \"/\";\n } else {\n closeTag = `></${key}`\n }\n return closeTag;\n}\n\nfunction buildEmptyObjNode(val, key, attrStr, level) {\n if (val !== '') {\n return this.buildObjectNode(val, key, attrStr, level);\n } else {\n if (key[0] === \"?\") return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n else {\n return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;\n // return this.buildTagStr(level,key, attrStr);\n }\n }\n}\n\nBuilder.prototype.buildTextValNode = function (val, key, attrStr, level) {\n if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {\n return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;\n } else if (this.options.commentPropName !== false && key === this.options.commentPropName) {\n return this.indentate(level) + `<!--${val}-->` + this.newLine;\n } else if (key[0] === \"?\") {//PI tag\n return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;\n } else {\n let textValue = this.options.tagValueProcessor(key, val);\n textValue = this.replaceEntitiesValue(textValue);\n\n if (textValue === '') {\n return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;\n } else {\n return this.indentate(level) + '<' + key + attrStr + '>' +\n textValue +\n '</' + key + this.tagEndChar;\n }\n }\n}\n\nBuilder.prototype.replaceEntitiesValue = function (textValue) {\n if (textValue && textValue.length > 0 && this.options.processEntities) {\n for (let i = 0; i < this.options.entities.length; i++) {\n const entity = this.options.entities[i];\n textValue = textValue.replace(entity.regex, entity.val);\n }\n }\n return textValue;\n}\n\nfunction indentate(level) {\n return this.options.indentBy.repeat(level);\n}\n\nfunction isAttribute(name /*, options*/) {\n if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {\n return name.substr(this.attrPrefixLen);\n } else {\n return false;\n }\n}\n\n","export default function getIgnoreAttributesFn(ignoreAttributes) {\n if (typeof ignoreAttributes === 'function') {\n return ignoreAttributes\n }\n if (Array.isArray(ignoreAttributes)) {\n return (attrName) => {\n for (const pattern of ignoreAttributes) {\n if (typeof pattern === 'string' && attrName === pattern) {\n return true\n }\n if (pattern instanceof RegExp && pattern.test(attrName)) {\n return true\n }\n }\n }\n }\n return () => false\n}","// Re-export from fast-xml-builder for backward compatibility\nimport XMLBuilder from 'fast-xml-builder';\nexport default XMLBuilder;\n\n// If there are any named exports you also want to re-export:\nexport * from 'fast-xml-builder';"],"names":["root","factory","exports","module","define","amd","this","__webpack_require__","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","toXml","jArray","options","indentation","format","indentBy","length","arrToStr","arr","jPath","xmlStr","isPreviousElementTag","Array","isArray","text","toString","replaceEntitiesValue","i","tagObj","tagName","propName","undefined","newJPath","textNodeName","tagText","isStopNode","tagValueProcessor","cdataPropName","commentPropName","attStr","attr_to_str","tempInd","piTextNodeName","newIdentation","tagStart","tagValue","unpairedTags","indexOf","suppressUnpairedNode","suppressEmptyNode","endsWith","includes","keys","attrMap","attrStr","ignoreAttributes","attr","attrVal","attributeValueProcessor","suppressBooleanAttributes","substr","attributeNamePrefix","lastIndexOf","index","stopNodes","textValue","processEntities","entities","entity","replace","regex","val","defaultOptions","attributesGroupName","a","attrName","preserveOrder","RegExp","oneListGroup","Builder","assign","isAttribute","ignoreAttributesFn","pattern","test","attrPrefixLen","processTextOrObjNode","indentate","tagEndChar","newLine","object","level","ajPath","result","j2x","concat","buildTextValNode","buildObjectNode","repeat","name","startsWith","build","jObj","buildFromOrderedJs","arrayNodeName","join","Date","buildAttrPairStr","newval","arrLen","listTagVal","listTagAttr","j","item","Ks","L","closeTag","tagEndExp","piClosingChar"],"sourceRoot":""}