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
@@ -1,7 +1,7 @@
1
- import utils from './../utils.js';
2
- import settle from './../core/settle.js';
1
+ import utils from '../utils.js';
2
+ import settle from '../core/settle.js';
3
3
  import buildFullPath from '../core/buildFullPath.js';
4
- import buildURL from './../helpers/buildURL.js';
4
+ import buildURL from '../helpers/buildURL.js';
5
5
  import proxyFromEnv from 'proxy-from-env';
6
6
  import http from 'http';
7
7
  import https from 'https';
@@ -9,7 +9,7 @@ import http2 from 'http2';
9
9
  import util from 'util';
10
10
  import followRedirects from 'follow-redirects';
11
11
  import zlib from 'zlib';
12
- import {VERSION} from '../env/data.js';
12
+ import { VERSION } from '../env/data.js';
13
13
  import transitionalDefaults from '../defaults/transitional.js';
14
14
  import AxiosError from '../core/AxiosError.js';
15
15
  import CanceledError from '../cancel/CanceledError.js';
@@ -18,42 +18,43 @@ import fromDataURI from '../helpers/fromDataURI.js';
18
18
  import stream from 'stream';
19
19
  import AxiosHeaders from '../core/AxiosHeaders.js';
20
20
  import AxiosTransformStream from '../helpers/AxiosTransformStream.js';
21
- import {EventEmitter} from 'events';
22
- import formDataToStream from "../helpers/formDataToStream.js";
23
- import readBlob from "../helpers/readBlob.js";
21
+ import { EventEmitter } from 'events';
22
+ import formDataToStream from '../helpers/formDataToStream.js';
23
+ import readBlob from '../helpers/readBlob.js';
24
24
  import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js';
25
- import callbackify from "../helpers/callbackify.js";
26
- import {progressEventReducer, progressEventDecorator, asyncDecorator} from "../helpers/progressEventReducer.js";
25
+ import callbackify from '../helpers/callbackify.js';
26
+ import {
27
+ progressEventReducer,
28
+ progressEventDecorator,
29
+ asyncDecorator,
30
+ } from '../helpers/progressEventReducer.js';
27
31
  import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';
28
32
 
29
33
  const zlibOptions = {
30
34
  flush: zlib.constants.Z_SYNC_FLUSH,
31
- finishFlush: zlib.constants.Z_SYNC_FLUSH
35
+ finishFlush: zlib.constants.Z_SYNC_FLUSH,
32
36
  };
33
37
 
34
38
  const brotliOptions = {
35
39
  flush: zlib.constants.BROTLI_OPERATION_FLUSH,
36
- finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
37
- }
40
+ finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,
41
+ };
38
42
 
39
43
  const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress);
40
44
 
41
- const {http: httpFollow, https: httpsFollow} = followRedirects;
45
+ const { http: httpFollow, https: httpsFollow } = followRedirects;
42
46
 
43
47
  const isHttps = /https:?/;
44
48
 
45
- const supportedProtocols = platform.protocols.map(protocol => {
49
+ const supportedProtocols = platform.protocols.map((protocol) => {
46
50
  return protocol + ':';
47
51
  });
48
52
 
49
-
50
53
  const flushOnFinish = (stream, [throttled, flush]) => {
51
- stream
52
- .on('end', flush)
53
- .on('error', flush);
54
+ stream.on('end', flush).on('error', flush);
54
55
 
55
56
  return throttled;
56
- }
57
+ };
57
58
 
58
59
  class Http2Sessions {
59
60
  constructor() {
@@ -61,9 +62,12 @@ class Http2Sessions {
61
62
  }
62
63
 
63
64
  getSession(authority, options) {
64
- options = Object.assign({
65
- sessionTimeout: 1000
66
- }, options);
65
+ options = Object.assign(
66
+ {
67
+ sessionTimeout: 1000,
68
+ },
69
+ options
70
+ );
67
71
 
68
72
  let authoritySessions = this.sessions[authority];
69
73
 
@@ -72,7 +76,11 @@ class Http2Sessions {
72
76
 
73
77
  for (let i = 0; i < len; i++) {
74
78
  const [sessionHandle, sessionOptions] = authoritySessions[i];
75
- if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) {
79
+ if (
80
+ !sessionHandle.destroyed &&
81
+ !sessionHandle.closed &&
82
+ util.isDeepStrictEqual(sessionOptions, options)
83
+ ) {
76
84
  return sessionHandle;
77
85
  }
78
86
  }
@@ -89,7 +97,9 @@ class Http2Sessions {
89
97
 
90
98
  removed = true;
91
99
 
92
- let entries = authoritySessions, len = entries.length, i = len;
100
+ let entries = authoritySessions,
101
+ len = entries.length,
102
+ i = len;
93
103
 
94
104
  while (i--) {
95
105
  if (entries[i][0] === session) {
@@ -105,10 +115,9 @@ class Http2Sessions {
105
115
 
106
116
  const originalRequestFn = session.request;
107
117
 
108
- const {sessionTimeout} = options;
109
-
110
- if(sessionTimeout != null) {
118
+ const { sessionTimeout } = options;
111
119
 
120
+ if (sessionTimeout != null) {
112
121
  let timer;
113
122
  let streamsCount = 0;
114
123
 
@@ -132,17 +141,16 @@ class Http2Sessions {
132
141
  });
133
142
 
134
143
  return stream;
135
- }
144
+ };
136
145
  }
137
146
 
138
147
  session.once('close', removeSession);
139
148
 
140
- let entry = [
141
- session,
142
- options
143
- ];
149
+ let entry = [session, options];
144
150
 
145
- authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
151
+ authoritySessions
152
+ ? authoritySessions.push(entry)
153
+ : (authoritySessions = this.sessions[authority] = [entry]);
146
154
 
147
155
  return session;
148
156
  }
@@ -150,7 +158,6 @@ class Http2Sessions {
150
158
 
151
159
  const http2Sessions = new Http2Sessions();
152
160
 
153
-
154
161
  /**
155
162
  * If the proxy or config beforeRedirects functions are defined, call them with the options
156
163
  * object.
@@ -193,12 +200,16 @@ function setProxy(options, configProxy, location) {
193
200
 
194
201
  if (proxy.auth) {
195
202
  // Support proxy auth object form
196
- if (proxy.auth.username || proxy.auth.password) {
203
+ const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
204
+
205
+ if (validProxyAuth) {
197
206
  proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
207
+ } else if (typeof proxy.auth === 'object') {
208
+ throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy });
198
209
  }
199
- const base64 = Buffer
200
- .from(proxy.auth, 'utf8')
201
- .toString('base64');
210
+
211
+ const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
212
+
202
213
  options.headers['Proxy-Authorization'] = 'Basic ' + base64;
203
214
  }
204
215
 
@@ -221,7 +232,8 @@ function setProxy(options, configProxy, location) {
221
232
  };
222
233
  }
223
234
 
224
- const isHttpAdapterSupported = typeof process !== 'undefined' && utils.kindOf(process) === 'process';
235
+ const isHttpAdapterSupported =
236
+ typeof process !== 'undefined' && utils.kindOf(process) === 'process';
225
237
 
226
238
  // temporary hotfix
227
239
 
@@ -234,7 +246,7 @@ const wrapAsync = (asyncExecutor) => {
234
246
  if (isDone) return;
235
247
  isDone = true;
236
248
  onDone && onDone(value, isRejected);
237
- }
249
+ };
238
250
 
239
251
  const _resolve = (value) => {
240
252
  done(value);
@@ -244,652 +256,694 @@ const wrapAsync = (asyncExecutor) => {
244
256
  const _reject = (reason) => {
245
257
  done(reason, true);
246
258
  reject(reason);
247
- }
259
+ };
248
260
 
249
261
  asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
250
- })
262
+ });
251
263
  };
252
264
 
253
- const resolveFamily = ({address, family}) => {
265
+ const resolveFamily = ({ address, family }) => {
254
266
  if (!utils.isString(address)) {
255
267
  throw TypeError('address must be a string');
256
268
  }
257
- return ({
269
+ return {
258
270
  address,
259
- family: family || (address.indexOf('.') < 0 ? 6 : 4)
260
- });
261
- }
271
+ family: family || (address.indexOf('.') < 0 ? 6 : 4),
272
+ };
273
+ };
262
274
 
263
- const buildAddressEntry = (address, family) => resolveFamily(utils.isObject(address) ? address : {address, family});
275
+ const buildAddressEntry = (address, family) =>
276
+ resolveFamily(utils.isObject(address) ? address : { address, family });
264
277
 
265
278
  const http2Transport = {
266
279
  request(options, cb) {
267
- const authority = options.protocol + '//' + options.hostname + ':' + (options.port || 80);
280
+ const authority =
281
+ options.protocol +
282
+ '//' +
283
+ options.hostname +
284
+ ':' +
285
+ (options.port || (options.protocol === 'https:' ? 443 : 80));
268
286
 
269
- const {http2Options, headers} = options;
287
+ const { http2Options, headers } = options;
270
288
 
271
- const session = http2Sessions.getSession(authority, http2Options);
289
+ const session = http2Sessions.getSession(authority, http2Options);
272
290
 
273
- const {
274
- HTTP2_HEADER_SCHEME,
275
- HTTP2_HEADER_METHOD,
276
- HTTP2_HEADER_PATH,
277
- HTTP2_HEADER_STATUS
278
- } = http2.constants;
291
+ const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } =
292
+ http2.constants;
279
293
 
280
- const http2Headers = {
281
- [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
282
- [HTTP2_HEADER_METHOD]: options.method,
283
- [HTTP2_HEADER_PATH]: options.path,
284
- }
294
+ const http2Headers = {
295
+ [HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
296
+ [HTTP2_HEADER_METHOD]: options.method,
297
+ [HTTP2_HEADER_PATH]: options.path,
298
+ };
285
299
 
286
- utils.forEach(headers, (header, name) => {
287
- name.charAt(0) !== ':' && (http2Headers[name] = header);
288
- });
300
+ utils.forEach(headers, (header, name) => {
301
+ name.charAt(0) !== ':' && (http2Headers[name] = header);
302
+ });
289
303
 
290
- const req = session.request(http2Headers);
304
+ const req = session.request(http2Headers);
291
305
 
292
- req.once('response', (responseHeaders) => {
293
- const response = req; //duplex
306
+ req.once('response', (responseHeaders) => {
307
+ const response = req; //duplex
294
308
 
295
- responseHeaders = Object.assign({}, responseHeaders);
309
+ responseHeaders = Object.assign({}, responseHeaders);
296
310
 
297
- const status = responseHeaders[HTTP2_HEADER_STATUS];
311
+ const status = responseHeaders[HTTP2_HEADER_STATUS];
298
312
 
299
- delete responseHeaders[HTTP2_HEADER_STATUS];
313
+ delete responseHeaders[HTTP2_HEADER_STATUS];
300
314
 
301
- response.headers = responseHeaders;
315
+ response.headers = responseHeaders;
302
316
 
303
- response.statusCode = +status;
317
+ response.statusCode = +status;
304
318
 
305
- cb(response);
306
- })
319
+ cb(response);
320
+ });
307
321
 
308
- return req;
309
- }
310
- }
322
+ return req;
323
+ },
324
+ };
311
325
 
312
326
  /*eslint consistent-return:0*/
313
- export default isHttpAdapterSupported && function httpAdapter(config) {
314
- return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
315
- let {data, lookup, family, httpVersion = 1, http2Options} = config;
316
- const {responseType, responseEncoding} = config;
317
- const method = config.method.toUpperCase();
318
- let isDone;
319
- let rejected = false;
320
- let req;
321
-
322
- httpVersion = +httpVersion;
323
-
324
- if (Number.isNaN(httpVersion)) {
325
- throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
326
- }
327
+ export default isHttpAdapterSupported &&
328
+ function httpAdapter(config) {
329
+ return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
330
+ let { data, lookup, family, httpVersion = 1, http2Options } = config;
331
+ const { responseType, responseEncoding } = config;
332
+ const method = config.method.toUpperCase();
333
+ let isDone;
334
+ let rejected = false;
335
+ let req;
336
+
337
+ httpVersion = +httpVersion;
338
+
339
+ if (Number.isNaN(httpVersion)) {
340
+ throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
341
+ }
327
342
 
328
- if (httpVersion !== 1 && httpVersion !== 2) {
329
- throw TypeError(`Unsupported protocol version '${httpVersion}'`);
330
- }
343
+ if (httpVersion !== 1 && httpVersion !== 2) {
344
+ throw TypeError(`Unsupported protocol version '${httpVersion}'`);
345
+ }
331
346
 
332
- const isHttp2 = httpVersion === 2;
347
+ const isHttp2 = httpVersion === 2;
333
348
 
334
- if (lookup) {
335
- const _lookup = callbackify(lookup, (value) => utils.isArray(value) ? value : [value]);
336
- // hotfix to support opt.all option which is required for node 20.x
337
- lookup = (hostname, opt, cb) => {
338
- _lookup(hostname, opt, (err, arg0, arg1) => {
339
- if (err) {
340
- return cb(err);
341
- }
349
+ if (lookup) {
350
+ const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value]));
351
+ // hotfix to support opt.all option which is required for node 20.x
352
+ lookup = (hostname, opt, cb) => {
353
+ _lookup(hostname, opt, (err, arg0, arg1) => {
354
+ if (err) {
355
+ return cb(err);
356
+ }
342
357
 
343
- const addresses = utils.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
358
+ const addresses = utils.isArray(arg0)
359
+ ? arg0.map((addr) => buildAddressEntry(addr))
360
+ : [buildAddressEntry(arg0, arg1)];
344
361
 
345
- opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
346
- });
362
+ opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
363
+ });
364
+ };
347
365
  }
348
- }
349
366
 
350
- const abortEmitter = new EventEmitter();
367
+ const abortEmitter = new EventEmitter();
351
368
 
352
- function abort(reason) {
353
- try {
354
- abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
355
- } catch(err) {
356
- console.warn('emit error', err);
369
+ function abort(reason) {
370
+ try {
371
+ abortEmitter.emit(
372
+ 'abort',
373
+ !reason || reason.type ? new CanceledError(null, config, req) : reason
374
+ );
375
+ } catch (err) {
376
+ console.warn('emit error', err);
377
+ }
357
378
  }
358
- }
359
379
 
360
- abortEmitter.once('abort', reject);
380
+ abortEmitter.once('abort', reject);
361
381
 
362
- const onFinished = () => {
363
- if (config.cancelToken) {
364
- config.cancelToken.unsubscribe(abort);
365
- }
382
+ const onFinished = () => {
383
+ if (config.cancelToken) {
384
+ config.cancelToken.unsubscribe(abort);
385
+ }
366
386
 
367
- if (config.signal) {
368
- config.signal.removeEventListener('abort', abort);
369
- }
387
+ if (config.signal) {
388
+ config.signal.removeEventListener('abort', abort);
389
+ }
370
390
 
371
- abortEmitter.removeAllListeners();
372
- }
391
+ abortEmitter.removeAllListeners();
392
+ };
373
393
 
374
- if (config.cancelToken || config.signal) {
375
- config.cancelToken && config.cancelToken.subscribe(abort);
376
- if (config.signal) {
377
- config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
394
+ if (config.cancelToken || config.signal) {
395
+ config.cancelToken && config.cancelToken.subscribe(abort);
396
+ if (config.signal) {
397
+ config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
398
+ }
378
399
  }
379
- }
380
400
 
381
- onDone((response, isRejected) => {
382
- isDone = true;
401
+ onDone((response, isRejected) => {
402
+ isDone = true;
383
403
 
384
- if (isRejected) {
385
- rejected = true;
386
- onFinished();
387
- return;
388
- }
404
+ if (isRejected) {
405
+ rejected = true;
406
+ onFinished();
407
+ return;
408
+ }
389
409
 
390
- const {data} = response;
410
+ const { data } = response;
391
411
 
392
- if (data instanceof stream.Readable || data instanceof stream.Duplex) {
393
- const offListeners = stream.finished(data, () => {
394
- offListeners();
412
+ if (data instanceof stream.Readable || data instanceof stream.Duplex) {
413
+ const offListeners = stream.finished(data, () => {
414
+ offListeners();
415
+ onFinished();
416
+ });
417
+ } else {
395
418
  onFinished();
396
- });
397
- } else {
398
- onFinished();
399
- }
400
- });
401
-
419
+ }
420
+ });
402
421
 
422
+ // Parse url
423
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
424
+ const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
425
+ const protocol = parsed.protocol || supportedProtocols[0];
426
+
427
+ if (protocol === 'data:') {
428
+ // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
429
+ if (config.maxContentLength > -1) {
430
+ // Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
431
+ const dataUrl = String(config.url || fullPath || '');
432
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
433
+
434
+ if (estimated > config.maxContentLength) {
435
+ return reject(
436
+ new AxiosError(
437
+ 'maxContentLength size of ' + config.maxContentLength + ' exceeded',
438
+ AxiosError.ERR_BAD_RESPONSE,
439
+ config
440
+ )
441
+ );
442
+ }
443
+ }
403
444
 
445
+ let convertedData;
404
446
 
447
+ if (method !== 'GET') {
448
+ return settle(resolve, reject, {
449
+ status: 405,
450
+ statusText: 'method not allowed',
451
+ headers: {},
452
+ config,
453
+ });
454
+ }
405
455
 
406
- // Parse url
407
- const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
408
- const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
409
- const protocol = parsed.protocol || supportedProtocols[0];
456
+ try {
457
+ convertedData = fromDataURI(config.url, responseType === 'blob', {
458
+ Blob: config.env && config.env.Blob,
459
+ });
460
+ } catch (err) {
461
+ throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
462
+ }
410
463
 
411
- if (protocol === 'data:') {
412
- // Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
413
- if (config.maxContentLength > -1) {
414
- // Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
415
- const dataUrl = String(config.url || fullPath || '');
416
- const estimated = estimateDataURLDecodedBytes(dataUrl);
464
+ if (responseType === 'text') {
465
+ convertedData = convertedData.toString(responseEncoding);
417
466
 
418
- if (estimated > config.maxContentLength) {
419
- return reject(new AxiosError(
420
- 'maxContentLength size of ' + config.maxContentLength + ' exceeded',
421
- AxiosError.ERR_BAD_RESPONSE,
422
- config
423
- ));
467
+ if (!responseEncoding || responseEncoding === 'utf8') {
468
+ convertedData = utils.stripBOM(convertedData);
469
+ }
470
+ } else if (responseType === 'stream') {
471
+ convertedData = stream.Readable.from(convertedData);
424
472
  }
425
- }
426
-
427
- let convertedData;
428
473
 
429
- if (method !== 'GET') {
430
474
  return settle(resolve, reject, {
431
- status: 405,
432
- statusText: 'method not allowed',
433
- headers: {},
434
- config
475
+ data: convertedData,
476
+ status: 200,
477
+ statusText: 'OK',
478
+ headers: new AxiosHeaders(),
479
+ config,
435
480
  });
436
481
  }
437
482
 
438
- try {
439
- convertedData = fromDataURI(config.url, responseType === 'blob', {
440
- Blob: config.env && config.env.Blob
441
- });
442
- } catch (err) {
443
- throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
483
+ if (supportedProtocols.indexOf(protocol) === -1) {
484
+ return reject(
485
+ new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)
486
+ );
444
487
  }
445
488
 
446
- if (responseType === 'text') {
447
- convertedData = convertedData.toString(responseEncoding);
489
+ const headers = AxiosHeaders.from(config.headers).normalize();
490
+
491
+ // Set User-Agent (required by some servers)
492
+ // See https://github.com/axios/axios/issues/69
493
+ // User-Agent is specified; handle case where no UA header is desired
494
+ // Only set header if it hasn't been set in config
495
+ headers.set('User-Agent', 'axios/' + VERSION, false);
496
+
497
+ const { onUploadProgress, onDownloadProgress } = config;
498
+ const maxRate = config.maxRate;
499
+ let maxUploadRate = undefined;
500
+ let maxDownloadRate = undefined;
501
+
502
+ // support for spec compliant FormData objects
503
+ if (utils.isSpecCompliantForm(data)) {
504
+ const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
505
+
506
+ data = formDataToStream(
507
+ data,
508
+ (formHeaders) => {
509
+ headers.set(formHeaders);
510
+ },
511
+ {
512
+ tag: `axios-${VERSION}-boundary`,
513
+ boundary: (userBoundary && userBoundary[1]) || undefined,
514
+ }
515
+ );
516
+ // support for https://www.npmjs.com/package/form-data api
517
+ } else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
518
+ headers.set(data.getHeaders());
448
519
 
449
- if (!responseEncoding || responseEncoding === 'utf8') {
450
- convertedData = utils.stripBOM(convertedData);
520
+ if (!headers.hasContentLength()) {
521
+ try {
522
+ const knownLength = await util.promisify(data.getLength).call(data);
523
+ Number.isFinite(knownLength) &&
524
+ knownLength >= 0 &&
525
+ headers.setContentLength(knownLength);
526
+ /*eslint no-empty:0*/
527
+ } catch (e) {}
528
+ }
529
+ } else if (utils.isBlob(data) || utils.isFile(data)) {
530
+ data.size && headers.setContentType(data.type || 'application/octet-stream');
531
+ headers.setContentLength(data.size || 0);
532
+ data = stream.Readable.from(readBlob(data));
533
+ } else if (data && !utils.isStream(data)) {
534
+ if (Buffer.isBuffer(data)) {
535
+ // Nothing to do...
536
+ } else if (utils.isArrayBuffer(data)) {
537
+ data = Buffer.from(new Uint8Array(data));
538
+ } else if (utils.isString(data)) {
539
+ data = Buffer.from(data, 'utf-8');
540
+ } else {
541
+ return reject(
542
+ new AxiosError(
543
+ 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
544
+ AxiosError.ERR_BAD_REQUEST,
545
+ config
546
+ )
547
+ );
451
548
  }
452
- } else if (responseType === 'stream') {
453
- convertedData = stream.Readable.from(convertedData);
454
- }
455
-
456
- return settle(resolve, reject, {
457
- data: convertedData,
458
- status: 200,
459
- statusText: 'OK',
460
- headers: new AxiosHeaders(),
461
- config
462
- });
463
- }
464
-
465
- if (supportedProtocols.indexOf(protocol) === -1) {
466
- return reject(new AxiosError(
467
- 'Unsupported protocol ' + protocol,
468
- AxiosError.ERR_BAD_REQUEST,
469
- config
470
- ));
471
- }
472
-
473
- const headers = AxiosHeaders.from(config.headers).normalize();
474
-
475
- // Set User-Agent (required by some servers)
476
- // See https://github.com/axios/axios/issues/69
477
- // User-Agent is specified; handle case where no UA header is desired
478
- // Only set header if it hasn't been set in config
479
- headers.set('User-Agent', 'axios/' + VERSION, false);
480
-
481
- const {onUploadProgress, onDownloadProgress} = config;
482
- const maxRate = config.maxRate;
483
- let maxUploadRate = undefined;
484
- let maxDownloadRate = undefined;
485
-
486
- // support for spec compliant FormData objects
487
- if (utils.isSpecCompliantForm(data)) {
488
- const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
489
549
 
490
- data = formDataToStream(data, (formHeaders) => {
491
- headers.set(formHeaders);
492
- }, {
493
- tag: `axios-${VERSION}-boundary`,
494
- boundary: userBoundary && userBoundary[1] || undefined
495
- });
496
- // support for https://www.npmjs.com/package/form-data api
497
- } else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
498
- headers.set(data.getHeaders());
550
+ // Add Content-Length header if data exists
551
+ headers.setContentLength(data.length, false);
499
552
 
500
- if (!headers.hasContentLength()) {
501
- try {
502
- const knownLength = await util.promisify(data.getLength).call(data);
503
- Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
504
- /*eslint no-empty:0*/
505
- } catch (e) {
553
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
554
+ return reject(
555
+ new AxiosError(
556
+ 'Request body larger than maxBodyLength limit',
557
+ AxiosError.ERR_BAD_REQUEST,
558
+ config
559
+ )
560
+ );
506
561
  }
507
562
  }
508
- } else if (utils.isBlob(data) || utils.isFile(data)) {
509
- data.size && headers.setContentType(data.type || 'application/octet-stream');
510
- headers.setContentLength(data.size || 0);
511
- data = stream.Readable.from(readBlob(data));
512
- } else if (data && !utils.isStream(data)) {
513
- if (Buffer.isBuffer(data)) {
514
- // Nothing to do...
515
- } else if (utils.isArrayBuffer(data)) {
516
- data = Buffer.from(new Uint8Array(data));
517
- } else if (utils.isString(data)) {
518
- data = Buffer.from(data, 'utf-8');
519
- } else {
520
- return reject(new AxiosError(
521
- 'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
522
- AxiosError.ERR_BAD_REQUEST,
523
- config
524
- ));
525
- }
526
563
 
527
- // Add Content-Length header if data exists
528
- headers.setContentLength(data.length, false);
564
+ const contentLength = utils.toFiniteNumber(headers.getContentLength());
529
565
 
530
- if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
531
- return reject(new AxiosError(
532
- 'Request body larger than maxBodyLength limit',
533
- AxiosError.ERR_BAD_REQUEST,
534
- config
535
- ));
566
+ if (utils.isArray(maxRate)) {
567
+ maxUploadRate = maxRate[0];
568
+ maxDownloadRate = maxRate[1];
569
+ } else {
570
+ maxUploadRate = maxDownloadRate = maxRate;
536
571
  }
537
- }
538
572
 
539
- const contentLength = utils.toFiniteNumber(headers.getContentLength());
573
+ if (data && (onUploadProgress || maxUploadRate)) {
574
+ if (!utils.isStream(data)) {
575
+ data = stream.Readable.from(data, { objectMode: false });
576
+ }
540
577
 
541
- if (utils.isArray(maxRate)) {
542
- maxUploadRate = maxRate[0];
543
- maxDownloadRate = maxRate[1];
544
- } else {
545
- maxUploadRate = maxDownloadRate = maxRate;
546
- }
578
+ data = stream.pipeline(
579
+ [
580
+ data,
581
+ new AxiosTransformStream({
582
+ maxRate: utils.toFiniteNumber(maxUploadRate),
583
+ }),
584
+ ],
585
+ utils.noop
586
+ );
587
+
588
+ onUploadProgress &&
589
+ data.on(
590
+ 'progress',
591
+ flushOnFinish(
592
+ data,
593
+ progressEventDecorator(
594
+ contentLength,
595
+ progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
596
+ )
597
+ )
598
+ );
599
+ }
547
600
 
548
- if (data && (onUploadProgress || maxUploadRate)) {
549
- if (!utils.isStream(data)) {
550
- data = stream.Readable.from(data, {objectMode: false});
601
+ // HTTP basic authentication
602
+ let auth = undefined;
603
+ if (config.auth) {
604
+ const username = config.auth.username || '';
605
+ const password = config.auth.password || '';
606
+ auth = username + ':' + password;
551
607
  }
552
608
 
553
- data = stream.pipeline([data, new AxiosTransformStream({
554
- maxRate: utils.toFiniteNumber(maxUploadRate)
555
- })], utils.noop);
556
-
557
- onUploadProgress && data.on('progress', flushOnFinish(
558
- data,
559
- progressEventDecorator(
560
- contentLength,
561
- progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
562
- )
563
- ));
564
- }
609
+ if (!auth && parsed.username) {
610
+ const urlUsername = parsed.username;
611
+ const urlPassword = parsed.password;
612
+ auth = urlUsername + ':' + urlPassword;
613
+ }
565
614
 
566
- // HTTP basic authentication
567
- let auth = undefined;
568
- if (config.auth) {
569
- const username = config.auth.username || '';
570
- const password = config.auth.password || '';
571
- auth = username + ':' + password;
572
- }
615
+ auth && headers.delete('authorization');
573
616
 
574
- if (!auth && parsed.username) {
575
- const urlUsername = parsed.username;
576
- const urlPassword = parsed.password;
577
- auth = urlUsername + ':' + urlPassword;
578
- }
617
+ let path;
579
618
 
580
- auth && headers.delete('authorization');
581
-
582
- let path;
583
-
584
- try {
585
- path = buildURL(
586
- parsed.pathname + parsed.search,
587
- config.params,
588
- config.paramsSerializer
589
- ).replace(/^\?/, '');
590
- } catch (err) {
591
- const customErr = new Error(err.message);
592
- customErr.config = config;
593
- customErr.url = config.url;
594
- customErr.exists = true;
595
- return reject(customErr);
596
- }
619
+ try {
620
+ path = buildURL(
621
+ parsed.pathname + parsed.search,
622
+ config.params,
623
+ config.paramsSerializer
624
+ ).replace(/^\?/, '');
625
+ } catch (err) {
626
+ const customErr = new Error(err.message);
627
+ customErr.config = config;
628
+ customErr.url = config.url;
629
+ customErr.exists = true;
630
+ return reject(customErr);
631
+ }
597
632
 
598
- headers.set(
599
- 'Accept-Encoding',
600
- 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false
633
+ headers.set(
634
+ 'Accept-Encoding',
635
+ 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''),
636
+ false
601
637
  );
602
638
 
603
- const options = {
604
- path,
605
- method: method,
606
- headers: headers.toJSON(),
607
- agents: { http: config.httpAgent, https: config.httpsAgent },
608
- auth,
609
- protocol,
610
- family,
611
- beforeRedirect: dispatchBeforeRedirect,
612
- beforeRedirects: {},
613
- http2Options
614
- };
639
+ const options = {
640
+ path,
641
+ method: method,
642
+ headers: headers.toJSON(),
643
+ agents: { http: config.httpAgent, https: config.httpsAgent },
644
+ auth,
645
+ protocol,
646
+ family,
647
+ beforeRedirect: dispatchBeforeRedirect,
648
+ beforeRedirects: {},
649
+ http2Options,
650
+ };
615
651
 
616
- // cacheable-lookup integration hotfix
617
- !utils.isUndefined(lookup) && (options.lookup = lookup);
652
+ // cacheable-lookup integration hotfix
653
+ !utils.isUndefined(lookup) && (options.lookup = lookup);
618
654
 
619
- if (config.socketPath) {
620
- options.socketPath = config.socketPath;
621
- } else {
622
- options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
623
- options.port = parsed.port;
624
- setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
625
- }
655
+ if (config.socketPath) {
656
+ options.socketPath = config.socketPath;
657
+ } else {
658
+ options.hostname = parsed.hostname.startsWith('[')
659
+ ? parsed.hostname.slice(1, -1)
660
+ : parsed.hostname;
661
+ options.port = parsed.port;
662
+ setProxy(
663
+ options,
664
+ config.proxy,
665
+ protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path
666
+ );
667
+ }
668
+
669
+ let transport;
670
+ const isHttpsRequest = isHttps.test(options.protocol);
671
+ options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
626
672
 
627
- let transport;
628
- const isHttpsRequest = isHttps.test(options.protocol);
629
- options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
630
-
631
- if (isHttp2) {
632
- transport = http2Transport;
633
- } else {
634
- if (config.transport) {
635
- transport = config.transport;
636
- } else if (config.maxRedirects === 0) {
637
- transport = isHttpsRequest ? https : http;
673
+ if (isHttp2) {
674
+ transport = http2Transport;
638
675
  } else {
639
- if (config.maxRedirects) {
640
- options.maxRedirects = config.maxRedirects;
641
- }
642
- if (config.beforeRedirect) {
643
- options.beforeRedirects.config = config.beforeRedirect;
676
+ if (config.transport) {
677
+ transport = config.transport;
678
+ } else if (config.maxRedirects === 0) {
679
+ transport = isHttpsRequest ? https : http;
680
+ } else {
681
+ if (config.maxRedirects) {
682
+ options.maxRedirects = config.maxRedirects;
683
+ }
684
+ if (config.beforeRedirect) {
685
+ options.beforeRedirects.config = config.beforeRedirect;
686
+ }
687
+ transport = isHttpsRequest ? httpsFollow : httpFollow;
644
688
  }
645
- transport = isHttpsRequest ? httpsFollow : httpFollow;
646
689
  }
647
- }
648
690
 
649
- if (config.maxBodyLength > -1) {
650
- options.maxBodyLength = config.maxBodyLength;
651
- } else {
652
- // follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
653
- options.maxBodyLength = Infinity;
654
- }
655
-
656
- if (config.insecureHTTPParser) {
657
- options.insecureHTTPParser = config.insecureHTTPParser;
658
- }
691
+ if (config.maxBodyLength > -1) {
692
+ options.maxBodyLength = config.maxBodyLength;
693
+ } else {
694
+ // follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
695
+ options.maxBodyLength = Infinity;
696
+ }
659
697
 
660
- // Create the request
661
- req = transport.request(options, function handleResponse(res) {
662
- if (req.destroyed) return;
698
+ if (config.insecureHTTPParser) {
699
+ options.insecureHTTPParser = config.insecureHTTPParser;
700
+ }
663
701
 
664
- const streams = [res];
702
+ // Create the request
703
+ req = transport.request(options, function handleResponse(res) {
704
+ if (req.destroyed) return;
665
705
 
666
- const responseLength = utils.toFiniteNumber(res.headers['content-length']);
706
+ const streams = [res];
667
707
 
668
- if (onDownloadProgress || maxDownloadRate) {
669
- const transformStream = new AxiosTransformStream({
670
- maxRate: utils.toFiniteNumber(maxDownloadRate)
671
- });
708
+ const responseLength = utils.toFiniteNumber(res.headers['content-length']);
672
709
 
673
- onDownloadProgress && transformStream.on('progress', flushOnFinish(
674
- transformStream,
675
- progressEventDecorator(
676
- responseLength,
677
- progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
678
- )
679
- ));
710
+ if (onDownloadProgress || maxDownloadRate) {
711
+ const transformStream = new AxiosTransformStream({
712
+ maxRate: utils.toFiniteNumber(maxDownloadRate),
713
+ });
680
714
 
681
- streams.push(transformStream);
682
- }
715
+ onDownloadProgress &&
716
+ transformStream.on(
717
+ 'progress',
718
+ flushOnFinish(
719
+ transformStream,
720
+ progressEventDecorator(
721
+ responseLength,
722
+ progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
723
+ )
724
+ )
725
+ );
683
726
 
684
- // decompress the response body transparently if required
685
- let responseStream = res;
727
+ streams.push(transformStream);
728
+ }
686
729
 
687
- // return the last request in case of redirects
688
- const lastRequest = res.req || req;
730
+ // decompress the response body transparently if required
731
+ let responseStream = res;
689
732
 
690
- // if decompress disabled we should not decompress
691
- if (config.decompress !== false && res.headers['content-encoding']) {
692
- // if no content, but headers still say that it is encoded,
693
- // remove the header not confuse downstream operations
694
- if (method === 'HEAD' || res.statusCode === 204) {
695
- delete res.headers['content-encoding'];
696
- }
733
+ // return the last request in case of redirects
734
+ const lastRequest = res.req || req;
697
735
 
698
- switch ((res.headers['content-encoding'] || '').toLowerCase()) {
699
- /*eslint default-case:0*/
700
- case 'gzip':
701
- case 'x-gzip':
702
- case 'compress':
703
- case 'x-compress':
704
- // add the unzipper to the body stream processing pipeline
705
- streams.push(zlib.createUnzip(zlibOptions));
706
-
707
- // remove the content-encoding in order to not confuse downstream operations
708
- delete res.headers['content-encoding'];
709
- break;
710
- case 'deflate':
711
- streams.push(new ZlibHeaderTransformStream());
712
-
713
- // add the unzipper to the body stream processing pipeline
714
- streams.push(zlib.createUnzip(zlibOptions));
715
-
716
- // remove the content-encoding in order to not confuse downstream operations
717
- delete res.headers['content-encoding'];
718
- break;
719
- case 'br':
720
- if (isBrotliSupported) {
721
- streams.push(zlib.createBrotliDecompress(brotliOptions));
736
+ // if decompress disabled we should not decompress
737
+ if (config.decompress !== false && res.headers['content-encoding']) {
738
+ // if no content, but headers still say that it is encoded,
739
+ // remove the header not confuse downstream operations
740
+ if (method === 'HEAD' || res.statusCode === 204) {
722
741
  delete res.headers['content-encoding'];
723
742
  }
724
- }
725
- }
726
743
 
727
- responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];
744
+ switch ((res.headers['content-encoding'] || '').toLowerCase()) {
745
+ /*eslint default-case:0*/
746
+ case 'gzip':
747
+ case 'x-gzip':
748
+ case 'compress':
749
+ case 'x-compress':
750
+ // add the unzipper to the body stream processing pipeline
751
+ streams.push(zlib.createUnzip(zlibOptions));
752
+
753
+ // remove the content-encoding in order to not confuse downstream operations
754
+ delete res.headers['content-encoding'];
755
+ break;
756
+ case 'deflate':
757
+ streams.push(new ZlibHeaderTransformStream());
758
+
759
+ // add the unzipper to the body stream processing pipeline
760
+ streams.push(zlib.createUnzip(zlibOptions));
761
+
762
+ // remove the content-encoding in order to not confuse downstream operations
763
+ delete res.headers['content-encoding'];
764
+ break;
765
+ case 'br':
766
+ if (isBrotliSupported) {
767
+ streams.push(zlib.createBrotliDecompress(brotliOptions));
768
+ delete res.headers['content-encoding'];
769
+ }
770
+ }
771
+ }
728
772
 
773
+ responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];
729
774
 
775
+ const response = {
776
+ status: res.statusCode,
777
+ statusText: res.statusMessage,
778
+ headers: new AxiosHeaders(res.headers),
779
+ config,
780
+ request: lastRequest,
781
+ };
730
782
 
731
- const response = {
732
- status: res.statusCode,
733
- statusText: res.statusMessage,
734
- headers: new AxiosHeaders(res.headers),
735
- config,
736
- request: lastRequest
737
- };
783
+ if (responseType === 'stream') {
784
+ response.data = responseStream;
785
+ settle(resolve, reject, response);
786
+ } else {
787
+ const responseBuffer = [];
788
+ let totalResponseBytes = 0;
789
+
790
+ responseStream.on('data', function handleStreamData(chunk) {
791
+ responseBuffer.push(chunk);
792
+ totalResponseBytes += chunk.length;
793
+
794
+ // make sure the content length is not over the maxContentLength if specified
795
+ if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
796
+ // stream.destroy() emit aborted event before calling reject() on Node.js v16
797
+ rejected = true;
798
+ responseStream.destroy();
799
+ abort(
800
+ new AxiosError(
801
+ 'maxContentLength size of ' + config.maxContentLength + ' exceeded',
802
+ AxiosError.ERR_BAD_RESPONSE,
803
+ config,
804
+ lastRequest
805
+ )
806
+ );
807
+ }
808
+ });
738
809
 
739
- if (responseType === 'stream') {
740
- response.data = responseStream;
741
- settle(resolve, reject, response);
742
- } else {
743
- const responseBuffer = [];
744
- let totalResponseBytes = 0;
810
+ responseStream.on('aborted', function handlerStreamAborted() {
811
+ if (rejected) {
812
+ return;
813
+ }
745
814
 
746
- responseStream.on('data', function handleStreamData(chunk) {
747
- responseBuffer.push(chunk);
748
- totalResponseBytes += chunk.length;
815
+ const err = new AxiosError(
816
+ 'stream has been aborted',
817
+ AxiosError.ERR_BAD_RESPONSE,
818
+ config,
819
+ lastRequest
820
+ );
821
+ responseStream.destroy(err);
822
+ reject(err);
823
+ });
824
+
825
+ responseStream.on('error', function handleStreamError(err) {
826
+ if (req.destroyed) return;
827
+ reject(AxiosError.from(err, null, config, lastRequest));
828
+ });
829
+
830
+ responseStream.on('end', function handleStreamEnd() {
831
+ try {
832
+ let responseData =
833
+ responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
834
+ if (responseType !== 'arraybuffer') {
835
+ responseData = responseData.toString(responseEncoding);
836
+ if (!responseEncoding || responseEncoding === 'utf8') {
837
+ responseData = utils.stripBOM(responseData);
838
+ }
839
+ }
840
+ response.data = responseData;
841
+ } catch (err) {
842
+ return reject(AxiosError.from(err, null, config, response.request, response));
843
+ }
844
+ settle(resolve, reject, response);
845
+ });
846
+ }
749
847
 
750
- // make sure the content length is not over the maxContentLength if specified
751
- if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
752
- // stream.destroy() emit aborted event before calling reject() on Node.js v16
753
- rejected = true;
848
+ abortEmitter.once('abort', (err) => {
849
+ if (!responseStream.destroyed) {
850
+ responseStream.emit('error', err);
754
851
  responseStream.destroy();
755
- abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
756
- AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
757
852
  }
758
853
  });
854
+ });
759
855
 
760
- responseStream.on('aborted', function handlerStreamAborted() {
761
- if (rejected) {
762
- return;
763
- }
856
+ abortEmitter.once('abort', (err) => {
857
+ if (req.close) {
858
+ req.close();
859
+ } else {
860
+ req.destroy(err);
861
+ }
862
+ });
764
863
 
765
- const err = new AxiosError(
766
- 'stream has been aborted',
767
- AxiosError.ERR_BAD_RESPONSE,
768
- config,
769
- lastRequest
770
- );
771
- responseStream.destroy(err);
772
- reject(err);
773
- });
864
+ // Handle errors
865
+ req.on('error', function handleRequestError(err) {
866
+ reject(AxiosError.from(err, null, config, req));
867
+ });
774
868
 
775
- responseStream.on('error', function handleStreamError(err) {
776
- if (req.destroyed) return;
777
- reject(AxiosError.from(err, null, config, lastRequest));
778
- });
869
+ // set tcp keep alive to prevent drop connection by peer
870
+ req.on('socket', function handleRequestSocket(socket) {
871
+ // default interval of sending ack packet is 1 minute
872
+ socket.setKeepAlive(true, 1000 * 60);
873
+ });
779
874
 
780
- responseStream.on('end', function handleStreamEnd() {
781
- try {
782
- let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
783
- if (responseType !== 'arraybuffer') {
784
- responseData = responseData.toString(responseEncoding);
785
- if (!responseEncoding || responseEncoding === 'utf8') {
786
- responseData = utils.stripBOM(responseData);
787
- }
788
- }
789
- response.data = responseData;
790
- } catch (err) {
791
- return reject(AxiosError.from(err, null, config, response.request, response));
792
- }
793
- settle(resolve, reject, response);
794
- });
795
- }
875
+ // Handle request timeout
876
+ if (config.timeout) {
877
+ // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
878
+ const timeout = parseInt(config.timeout, 10);
879
+
880
+ if (Number.isNaN(timeout)) {
881
+ abort(
882
+ new AxiosError(
883
+ 'error trying to parse `config.timeout` to int',
884
+ AxiosError.ERR_BAD_OPTION_VALUE,
885
+ config,
886
+ req
887
+ )
888
+ );
796
889
 
797
- abortEmitter.once('abort', err => {
798
- if (!responseStream.destroyed) {
799
- responseStream.emit('error', err);
800
- responseStream.destroy();
890
+ return;
801
891
  }
802
- });
803
- });
804
892
 
805
- abortEmitter.once('abort', err => {
806
- if (req.close) {
807
- req.close();
893
+ // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
894
+ // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
895
+ // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
896
+ // And then these socket which be hang up will devouring CPU little by little.
897
+ // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
898
+ req.setTimeout(timeout, function handleRequestTimeout() {
899
+ if (isDone) return;
900
+ let timeoutErrorMessage = config.timeout
901
+ ? 'timeout of ' + config.timeout + 'ms exceeded'
902
+ : 'timeout exceeded';
903
+ const transitional = config.transitional || transitionalDefaults;
904
+ if (config.timeoutErrorMessage) {
905
+ timeoutErrorMessage = config.timeoutErrorMessage;
906
+ }
907
+ abort(
908
+ new AxiosError(
909
+ timeoutErrorMessage,
910
+ transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
911
+ config,
912
+ req
913
+ )
914
+ );
915
+ });
808
916
  } else {
809
- req.destroy(err);
917
+ // explicitly reset the socket timeout value for a possible `keep-alive` request
918
+ req.setTimeout(0);
810
919
  }
811
- });
812
920
 
813
- // Handle errors
814
- req.on('error', function handleRequestError(err) {
815
- // @todo remove
816
- // if (req.aborted && err.code !== AxiosError.ERR_FR_TOO_MANY_REDIRECTS) return;
817
- reject(AxiosError.from(err, null, config, req));
818
- });
921
+ // Send the request
922
+ if (utils.isStream(data)) {
923
+ let ended = false;
924
+ let errored = false;
819
925
 
820
- // set tcp keep alive to prevent drop connection by peer
821
- req.on('socket', function handleRequestSocket(socket) {
822
- // default interval of sending ack packet is 1 minute
823
- socket.setKeepAlive(true, 1000 * 60);
824
- });
926
+ data.on('end', () => {
927
+ ended = true;
928
+ });
825
929
 
826
- // Handle request timeout
827
- if (config.timeout) {
828
- // This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
829
- const timeout = parseInt(config.timeout, 10);
930
+ data.once('error', (err) => {
931
+ errored = true;
932
+ req.destroy(err);
933
+ });
830
934
 
831
- if (Number.isNaN(timeout)) {
832
- abort(new AxiosError(
833
- 'error trying to parse `config.timeout` to int',
834
- AxiosError.ERR_BAD_OPTION_VALUE,
835
- config,
836
- req
837
- ));
935
+ data.on('close', () => {
936
+ if (!ended && !errored) {
937
+ abort(new CanceledError('Request stream has been aborted', config, req));
938
+ }
939
+ });
838
940
 
839
- return;
941
+ data.pipe(req);
942
+ } else {
943
+ data && req.write(data);
944
+ req.end();
840
945
  }
841
-
842
- // Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
843
- // And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
844
- // At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
845
- // And then these socket which be hang up will devouring CPU little by little.
846
- // ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
847
- req.setTimeout(timeout, function handleRequestTimeout() {
848
- if (isDone) return;
849
- let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
850
- const transitional = config.transitional || transitionalDefaults;
851
- if (config.timeoutErrorMessage) {
852
- timeoutErrorMessage = config.timeoutErrorMessage;
853
- }
854
- abort(new AxiosError(
855
- timeoutErrorMessage,
856
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
857
- config,
858
- req
859
- ));
860
- });
861
- } else {
862
- // explicitly reset the socket timeout value for a possible `keep-alive` request
863
- req.setTimeout(0);
864
- }
865
-
866
-
867
- // Send the request
868
- if (utils.isStream(data)) {
869
- let ended = false;
870
- let errored = false;
871
-
872
- data.on('end', () => {
873
- ended = true;
874
- });
875
-
876
- data.once('error', err => {
877
- errored = true;
878
- req.destroy(err);
879
- });
880
-
881
- data.on('close', () => {
882
- if (!ended && !errored) {
883
- abort(new CanceledError('Request stream has been aborted', config, req));
884
- }
885
- });
886
-
887
- data.pipe(req);
888
- } else {
889
- data && req.write(data);
890
- req.end();
891
- }
892
- });
893
- }
946
+ });
947
+ };
894
948
 
895
949
  export const __setProxy = setProxy;