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,4 +1,4 @@
1
- /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors */
2
2
  'use strict';
3
3
 
4
4
  /**
@@ -16,30 +16,30 @@ function bind(fn, thisArg) {
16
16
 
17
17
  // utils is a library of generic helper functions non-specific to axios
18
18
 
19
- const {toString} = Object.prototype;
20
- const {getPrototypeOf} = Object;
21
- const {iterator, toStringTag} = Symbol;
19
+ const { toString } = Object.prototype;
20
+ const { getPrototypeOf } = Object;
21
+ const { iterator, toStringTag } = Symbol;
22
22
 
23
- const kindOf = (cache => thing => {
24
- const str = toString.call(thing);
25
- return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
23
+ const kindOf = ((cache) => (thing) => {
24
+ const str = toString.call(thing);
25
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
26
26
  })(Object.create(null));
27
27
 
28
28
  const kindOfTest = (type) => {
29
29
  type = type.toLowerCase();
30
- return (thing) => kindOf(thing) === type
30
+ return (thing) => kindOf(thing) === type;
31
31
  };
32
32
 
33
- const typeOfTest = type => thing => typeof thing === type;
33
+ const typeOfTest = (type) => (thing) => typeof thing === type;
34
34
 
35
35
  /**
36
- * Determine if a value is an Array
36
+ * Determine if a value is a non-null object
37
37
  *
38
38
  * @param {Object} val The value to test
39
39
  *
40
40
  * @returns {boolean} True if value is an Array, otherwise false
41
41
  */
42
- const {isArray} = Array;
42
+ const { isArray } = Array;
43
43
 
44
44
  /**
45
45
  * Determine if a value is undefined
@@ -58,8 +58,14 @@ const isUndefined = typeOfTest('undefined');
58
58
  * @returns {boolean} True if value is a Buffer, otherwise false
59
59
  */
60
60
  function isBuffer(val) {
61
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
62
- && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
61
+ return (
62
+ val !== null &&
63
+ !isUndefined(val) &&
64
+ val.constructor !== null &&
65
+ !isUndefined(val.constructor) &&
66
+ isFunction$1(val.constructor.isBuffer) &&
67
+ val.constructor.isBuffer(val)
68
+ );
63
69
  }
64
70
 
65
71
  /**
@@ -71,7 +77,6 @@ function isBuffer(val) {
71
77
  */
72
78
  const isArrayBuffer = kindOfTest('ArrayBuffer');
73
79
 
74
-
75
80
  /**
76
81
  * Determine if a value is a view on an ArrayBuffer
77
82
  *
@@ -81,10 +86,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
81
86
  */
82
87
  function isArrayBufferView(val) {
83
88
  let result;
84
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
89
+ if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
85
90
  result = ArrayBuffer.isView(val);
86
91
  } else {
87
- result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
92
+ result = val && val.buffer && isArrayBuffer(val.buffer);
88
93
  }
89
94
  return result;
90
95
  }
@@ -130,7 +135,7 @@ const isObject = (thing) => thing !== null && typeof thing === 'object';
130
135
  * @param {*} thing The value to test
131
136
  * @returns {boolean} True if value is a Boolean, otherwise false
132
137
  */
133
- const isBoolean = thing => thing === true || thing === false;
138
+ const isBoolean = (thing) => thing === true || thing === false;
134
139
 
135
140
  /**
136
141
  * Determine if a value is a plain Object
@@ -145,7 +150,13 @@ const isPlainObject = (val) => {
145
150
  }
146
151
 
147
152
  const prototype = getPrototypeOf(val);
148
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
153
+ return (
154
+ (prototype === null ||
155
+ prototype === Object.prototype ||
156
+ Object.getPrototypeOf(prototype) === null) &&
157
+ !(toStringTag in val) &&
158
+ !(iterator in val)
159
+ );
149
160
  };
150
161
 
151
162
  /**
@@ -187,6 +198,31 @@ const isDate = kindOfTest('Date');
187
198
  */
188
199
  const isFile = kindOfTest('File');
189
200
 
201
+ /**
202
+ * Determine if a value is a React Native Blob
203
+ * React Native "blob": an object with a `uri` attribute. Optionally, it can
204
+ * also have a `name` and `type` attribute to specify filename and content type
205
+ *
206
+ * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
207
+ *
208
+ * @param {*} value The value to test
209
+ *
210
+ * @returns {boolean} True if value is a React Native Blob, otherwise false
211
+ */
212
+ const isReactNativeBlob = (value) => {
213
+ return !!(value && typeof value.uri !== 'undefined');
214
+ };
215
+
216
+ /**
217
+ * Determine if environment is React Native
218
+ * ReactNative `FormData` has a non-standard `getParts()` method
219
+ *
220
+ * @param {*} formData The formData to test
221
+ *
222
+ * @returns {boolean} True if environment is React Native, otherwise false
223
+ */
224
+ const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
225
+
190
226
  /**
191
227
  * Determine if a value is a Blob
192
228
  *
@@ -221,17 +257,28 @@ const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
221
257
  *
222
258
  * @returns {boolean} True if value is an FormData, otherwise false
223
259
  */
260
+ function getGlobal() {
261
+ if (typeof globalThis !== 'undefined') return globalThis;
262
+ if (typeof self !== 'undefined') return self;
263
+ if (typeof window !== 'undefined') return window;
264
+ if (typeof global !== 'undefined') return global;
265
+ return {};
266
+ }
267
+
268
+ const G = getGlobal();
269
+ const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
270
+
224
271
  const isFormData = (thing) => {
225
272
  let kind;
226
273
  return thing && (
227
- (typeof FormData === 'function' && thing instanceof FormData) || (
274
+ (FormDataCtor && thing instanceof FormDataCtor) || (
228
275
  isFunction$1(thing.append) && (
229
276
  (kind = kindOf(thing)) === 'formdata' ||
230
277
  // detect form-data instance
231
278
  (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]')
232
279
  )
233
280
  )
234
- )
281
+ );
235
282
  };
236
283
 
237
284
  /**
@@ -243,7 +290,12 @@ const isFormData = (thing) => {
243
290
  */
244
291
  const isURLSearchParams = kindOfTest('URLSearchParams');
245
292
 
246
- const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
293
+ const [isReadableStream, isRequest, isResponse, isHeaders] = [
294
+ 'ReadableStream',
295
+ 'Request',
296
+ 'Response',
297
+ 'Headers',
298
+ ].map(kindOfTest);
247
299
 
248
300
  /**
249
301
  * Trim excess whitespace off the beginning and end of a string
@@ -252,9 +304,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
252
304
  *
253
305
  * @returns {String} The String freed of excess whitespace
254
306
  */
255
- const trim = (str) => str.trim ?
256
- str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
257
-
307
+ const trim = (str) => {
308
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
309
+ };
258
310
  /**
259
311
  * Iterate over an Array or an Object invoking a function for each item.
260
312
  *
@@ -264,13 +316,14 @@ const trim = (str) => str.trim ?
264
316
  * If 'obj' is an Object callback will be called passing
265
317
  * the value, key, and complete object for each property.
266
318
  *
267
- * @param {Object|Array} obj The object to iterate
319
+ * @param {Object|Array<unknown>} obj The object to iterate
268
320
  * @param {Function} fn The callback to invoke for each item
269
321
  *
270
- * @param {Boolean} [allOwnKeys = false]
322
+ * @param {Object} [options]
323
+ * @param {Boolean} [options.allOwnKeys = false]
271
324
  * @returns {any}
272
325
  */
273
- function forEach(obj, fn, {allOwnKeys = false} = {}) {
326
+ function forEach(obj, fn, { allOwnKeys = false } = {}) {
274
327
  // Don't bother if no value provided
275
328
  if (obj === null || typeof obj === 'undefined') {
276
329
  return;
@@ -308,8 +361,16 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
308
361
  }
309
362
  }
310
363
 
364
+ /**
365
+ * Finds a key in an object, case-insensitive, returning the actual key name.
366
+ * Returns null if the object is a Buffer or if no match is found.
367
+ *
368
+ * @param {Object} obj - The object to search.
369
+ * @param {string} key - The key to find (case-insensitive).
370
+ * @returns {?string} The actual key name if found, otherwise null.
371
+ */
311
372
  function findKey(obj, key) {
312
- if (isBuffer(obj)){
373
+ if (isBuffer(obj)) {
313
374
  return null;
314
375
  }
315
376
 
@@ -328,8 +389,8 @@ function findKey(obj, key) {
328
389
 
329
390
  const _global = (() => {
330
391
  /*eslint no-undef:0*/
331
- if (typeof globalThis !== "undefined") return globalThis;
332
- return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : global)
392
+ if (typeof globalThis !== 'undefined') return globalThis;
393
+ return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
333
394
  })();
334
395
 
335
396
  const isContextDefined = (context) => !isUndefined(context) && context !== _global;
@@ -344,7 +405,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
344
405
  * Example:
345
406
  *
346
407
  * ```js
347
- * var result = merge({foo: 123}, {foo: 456});
408
+ * const result = merge({foo: 123}, {foo: 456});
348
409
  * console.log(result.foo); // outputs 456
349
410
  * ```
350
411
  *
@@ -353,10 +414,15 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
353
414
  * @returns {Object} Result of all merge properties
354
415
  */
355
416
  function merge(/* obj1, obj2, obj3, ... */) {
356
- const {caseless, skipUndefined} = isContextDefined(this) && this || {};
417
+ const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
357
418
  const result = {};
358
419
  const assignValue = (val, key) => {
359
- const targetKey = caseless && findKey(result, key) || key;
420
+ // Skip dangerous property names to prevent prototype pollution
421
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
422
+ return;
423
+ }
424
+
425
+ const targetKey = (caseless && findKey(result, key)) || key;
360
426
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
361
427
  result[targetKey] = merge(result[targetKey], val);
362
428
  } else if (isPlainObject(val)) {
@@ -381,17 +447,32 @@ function merge(/* obj1, obj2, obj3, ... */) {
381
447
  * @param {Object} b The object to copy properties from
382
448
  * @param {Object} thisArg The object to bind function to
383
449
  *
384
- * @param {Boolean} [allOwnKeys]
450
+ * @param {Object} [options]
451
+ * @param {Boolean} [options.allOwnKeys]
385
452
  * @returns {Object} The resulting value of object a
386
453
  */
387
- const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
388
- forEach(b, (val, key) => {
389
- if (thisArg && isFunction$1(val)) {
390
- a[key] = bind(val, thisArg);
391
- } else {
392
- a[key] = val;
393
- }
394
- }, {allOwnKeys});
454
+ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
455
+ forEach(
456
+ b,
457
+ (val, key) => {
458
+ if (thisArg && isFunction$1(val)) {
459
+ Object.defineProperty(a, key, {
460
+ value: bind(val, thisArg),
461
+ writable: true,
462
+ enumerable: true,
463
+ configurable: true,
464
+ });
465
+ } else {
466
+ Object.defineProperty(a, key, {
467
+ value: val,
468
+ writable: true,
469
+ enumerable: true,
470
+ configurable: true,
471
+ });
472
+ }
473
+ },
474
+ { allOwnKeys }
475
+ );
395
476
  return a;
396
477
  };
397
478
 
@@ -403,7 +484,7 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
403
484
  * @returns {string} content value without BOM
404
485
  */
405
486
  const stripBOM = (content) => {
406
- if (content.charCodeAt(0) === 0xFEFF) {
487
+ if (content.charCodeAt(0) === 0xfeff) {
407
488
  content = content.slice(1);
408
489
  }
409
490
  return content;
@@ -420,9 +501,14 @@ const stripBOM = (content) => {
420
501
  */
421
502
  const inherits = (constructor, superConstructor, props, descriptors) => {
422
503
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
423
- constructor.prototype.constructor = constructor;
504
+ Object.defineProperty(constructor.prototype, 'constructor', {
505
+ value: constructor,
506
+ writable: true,
507
+ enumerable: false,
508
+ configurable: true,
509
+ });
424
510
  Object.defineProperty(constructor, 'super', {
425
- value: superConstructor.prototype
511
+ value: superConstructor.prototype,
426
512
  });
427
513
  props && Object.assign(constructor.prototype, props);
428
514
  };
@@ -481,7 +567,6 @@ const endsWith = (str, searchString, position) => {
481
567
  return lastIndex !== -1 && lastIndex === position;
482
568
  };
483
569
 
484
-
485
570
  /**
486
571
  * Returns new array from array like object or null if failed
487
572
  *
@@ -510,9 +595,9 @@ const toArray = (thing) => {
510
595
  * @returns {Array}
511
596
  */
512
597
  // eslint-disable-next-line func-names
513
- const isTypedArray = (TypedArray => {
598
+ const isTypedArray = ((TypedArray) => {
514
599
  // eslint-disable-next-line func-names
515
- return thing => {
600
+ return (thing) => {
516
601
  return TypedArray && thing instanceof TypedArray;
517
602
  };
518
603
  })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
@@ -560,16 +645,18 @@ const matchAll = (regExp, str) => {
560
645
  /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
561
646
  const isHTMLForm = kindOfTest('HTMLFormElement');
562
647
 
563
- const toCamelCase = str => {
564
- return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
565
- function replacer(m, p1, p2) {
566
- return p1.toUpperCase() + p2;
567
- }
568
- );
648
+ const toCamelCase = (str) => {
649
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
650
+ return p1.toUpperCase() + p2;
651
+ });
569
652
  };
570
653
 
571
654
  /* Creating a function that will check if an object has a property. */
572
- const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
655
+ const hasOwnProperty = (
656
+ ({ hasOwnProperty }) =>
657
+ (obj, prop) =>
658
+ hasOwnProperty.call(obj, prop)
659
+ )(Object.prototype);
573
660
 
574
661
  /**
575
662
  * Determine if a value is a RegExp object
@@ -619,17 +706,25 @@ const freezeMethods = (obj) => {
619
706
 
620
707
  if (!descriptor.set) {
621
708
  descriptor.set = () => {
622
- throw Error('Can not rewrite read-only method \'' + name + '\'');
709
+ throw Error("Can not rewrite read-only method '" + name + "'");
623
710
  };
624
711
  }
625
712
  });
626
713
  };
627
714
 
715
+ /**
716
+ * Converts an array or a delimited string into an object set with values as keys and true as values.
717
+ * Useful for fast membership checks.
718
+ *
719
+ * @param {Array|string} arrayOrString - The array or string to convert.
720
+ * @param {string} delimiter - The delimiter to use if input is a string.
721
+ * @returns {Object} An object with keys from the array or string, values set to true.
722
+ */
628
723
  const toObjectSet = (arrayOrString, delimiter) => {
629
724
  const obj = {};
630
725
 
631
726
  const define = (arr) => {
632
- arr.forEach(value => {
727
+ arr.forEach((value) => {
633
728
  obj[value] = true;
634
729
  });
635
730
  };
@@ -642,11 +737,9 @@ const toObjectSet = (arrayOrString, delimiter) => {
642
737
  const noop = () => {};
643
738
 
644
739
  const toFiniteNumber = (value, defaultValue) => {
645
- return value != null && Number.isFinite(value = +value) ? value : defaultValue;
740
+ return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
646
741
  };
647
742
 
648
-
649
-
650
743
  /**
651
744
  * If the thing is a FormData object, return true, otherwise return false.
652
745
  *
@@ -655,14 +748,24 @@ const toFiniteNumber = (value, defaultValue) => {
655
748
  * @returns {boolean}
656
749
  */
657
750
  function isSpecCompliantForm(thing) {
658
- return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
751
+ return !!(
752
+ thing &&
753
+ isFunction$1(thing.append) &&
754
+ thing[toStringTag] === 'FormData' &&
755
+ thing[iterator]
756
+ );
659
757
  }
660
758
 
759
+ /**
760
+ * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
761
+ *
762
+ * @param {Object} obj - The object to convert.
763
+ * @returns {Object} The JSON-compatible object.
764
+ */
661
765
  const toJSONObject = (obj) => {
662
766
  const stack = new Array(10);
663
767
 
664
768
  const visit = (source, i) => {
665
-
666
769
  if (isObject(source)) {
667
770
  if (stack.indexOf(source) >= 0) {
668
771
  return;
@@ -673,7 +776,7 @@ const toJSONObject = (obj) => {
673
776
  return source;
674
777
  }
675
778
 
676
- if(!('toJSON' in source)) {
779
+ if (!('toJSON' in source)) {
677
780
  stack[i] = source;
678
781
  const target = isArray(source) ? [] : {};
679
782
 
@@ -694,45 +797,77 @@ const toJSONObject = (obj) => {
694
797
  return visit(obj, 0);
695
798
  };
696
799
 
800
+ /**
801
+ * Determines if a value is an async function.
802
+ *
803
+ * @param {*} thing - The value to test.
804
+ * @returns {boolean} True if value is an async function, otherwise false.
805
+ */
697
806
  const isAsyncFn = kindOfTest('AsyncFunction');
698
807
 
808
+ /**
809
+ * Determines if a value is thenable (has then and catch methods).
810
+ *
811
+ * @param {*} thing - The value to test.
812
+ * @returns {boolean} True if value is thenable, otherwise false.
813
+ */
699
814
  const isThenable = (thing) =>
700
- thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
815
+ thing &&
816
+ (isObject(thing) || isFunction$1(thing)) &&
817
+ isFunction$1(thing.then) &&
818
+ isFunction$1(thing.catch);
701
819
 
702
820
  // original code
703
821
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
704
822
 
823
+ /**
824
+ * Provides a cross-platform setImmediate implementation.
825
+ * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
826
+ *
827
+ * @param {boolean} setImmediateSupported - Whether setImmediate is supported.
828
+ * @param {boolean} postMessageSupported - Whether postMessage is supported.
829
+ * @returns {Function} A function to schedule a callback asynchronously.
830
+ */
705
831
  const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
706
832
  if (setImmediateSupported) {
707
833
  return setImmediate;
708
834
  }
709
835
 
710
- return postMessageSupported ? ((token, callbacks) => {
711
- _global.addEventListener("message", ({source, data}) => {
712
- if (source === _global && data === token) {
713
- callbacks.length && callbacks.shift()();
714
- }
715
- }, false);
836
+ return postMessageSupported
837
+ ? ((token, callbacks) => {
838
+ _global.addEventListener(
839
+ 'message',
840
+ ({ source, data }) => {
841
+ if (source === _global && data === token) {
842
+ callbacks.length && callbacks.shift()();
843
+ }
844
+ },
845
+ false
846
+ );
716
847
 
717
- return (cb) => {
718
- callbacks.push(cb);
719
- _global.postMessage(token, "*");
720
- }
721
- })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
722
- })(
723
- typeof setImmediate === 'function',
724
- isFunction$1(_global.postMessage)
725
- );
848
+ return (cb) => {
849
+ callbacks.push(cb);
850
+ _global.postMessage(token, '*');
851
+ };
852
+ })(`axios@${Math.random()}`, [])
853
+ : (cb) => setTimeout(cb);
854
+ })(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
726
855
 
727
- const asap = typeof queueMicrotask !== 'undefined' ?
728
- queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);
856
+ /**
857
+ * Schedules a microtask or asynchronous callback as soon as possible.
858
+ * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
859
+ *
860
+ * @type {Function}
861
+ */
862
+ const asap =
863
+ typeof queueMicrotask !== 'undefined'
864
+ ? queueMicrotask.bind(_global)
865
+ : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
729
866
 
730
867
  // *********************
731
868
 
732
-
733
869
  const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
734
870
 
735
-
736
871
  var utils$1 = {
737
872
  isArray,
738
873
  isArrayBuffer,
@@ -752,6 +887,8 @@ var utils$1 = {
752
887
  isUndefined,
753
888
  isDate,
754
889
  isFile,
890
+ isReactNativeBlob,
891
+ isReactNative,
755
892
  isBlob,
756
893
  isRegExp,
757
894
  isFunction: isFunction$1,
@@ -790,42 +927,60 @@ var utils$1 = {
790
927
  isThenable,
791
928
  setImmediate: _setImmediate,
792
929
  asap,
793
- isIterable
930
+ isIterable,
794
931
  };
795
932
 
796
- /**
797
- * Create an Error with the specified message, config, error code, request and response.
798
- *
799
- * @param {string} message The error message.
800
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
801
- * @param {Object} [config] The config.
802
- * @param {Object} [request] The request.
803
- * @param {Object} [response] The response.
804
- *
805
- * @returns {Error} The created error.
806
- */
807
- function AxiosError(message, code, config, request, response) {
808
- Error.call(this);
933
+ class AxiosError extends Error {
934
+ static from(error, code, config, request, response, customProps) {
935
+ const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
936
+ axiosError.cause = error;
937
+ axiosError.name = error.name;
809
938
 
810
- if (Error.captureStackTrace) {
811
- Error.captureStackTrace(this, this.constructor);
812
- } else {
813
- this.stack = (new Error()).stack;
814
- }
939
+ // Preserve status from the original error if not already set from response
940
+ if (error.status != null && axiosError.status == null) {
941
+ axiosError.status = error.status;
942
+ }
815
943
 
816
- this.message = message;
817
- this.name = 'AxiosError';
818
- code && (this.code = code);
819
- config && (this.config = config);
820
- request && (this.request = request);
821
- if (response) {
822
- this.response = response;
823
- this.status = response.status ? response.status : null;
944
+ customProps && Object.assign(axiosError, customProps);
945
+ return axiosError;
824
946
  }
825
- }
826
947
 
827
- utils$1.inherits(AxiosError, Error, {
828
- toJSON: function toJSON() {
948
+ /**
949
+ * Create an Error with the specified message, config, error code, request and response.
950
+ *
951
+ * @param {string} message The error message.
952
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
953
+ * @param {Object} [config] The config.
954
+ * @param {Object} [request] The request.
955
+ * @param {Object} [response] The response.
956
+ *
957
+ * @returns {Error} The created error.
958
+ */
959
+ constructor(message, code, config, request, response) {
960
+ super(message);
961
+
962
+ // Make message enumerable to maintain backward compatibility
963
+ // The native Error constructor sets message as non-enumerable,
964
+ // but axios < v1.13.3 had it as enumerable
965
+ Object.defineProperty(this, 'message', {
966
+ value: message,
967
+ enumerable: true,
968
+ writable: true,
969
+ configurable: true
970
+ });
971
+
972
+ this.name = 'AxiosError';
973
+ this.isAxiosError = true;
974
+ code && (this.code = code);
975
+ config && (this.config = config);
976
+ request && (this.request = request);
977
+ if (response) {
978
+ this.response = response;
979
+ this.status = response.status;
980
+ }
981
+ }
982
+
983
+ toJSON() {
829
984
  return {
830
985
  // Standard
831
986
  message: this.message,
@@ -841,62 +996,26 @@ utils$1.inherits(AxiosError, Error, {
841
996
  // Axios
842
997
  config: utils$1.toJSONObject(this.config),
843
998
  code: this.code,
844
- status: this.status
999
+ status: this.status,
845
1000
  };
846
1001
  }
847
- });
848
-
849
- const prototype$1 = AxiosError.prototype;
850
- const descriptors = {};
851
-
852
- [
853
- 'ERR_BAD_OPTION_VALUE',
854
- 'ERR_BAD_OPTION',
855
- 'ECONNABORTED',
856
- 'ETIMEDOUT',
857
- 'ERR_NETWORK',
858
- 'ERR_FR_TOO_MANY_REDIRECTS',
859
- 'ERR_DEPRECATED',
860
- 'ERR_BAD_RESPONSE',
861
- 'ERR_BAD_REQUEST',
862
- 'ERR_CANCELED',
863
- 'ERR_NOT_SUPPORT',
864
- 'ERR_INVALID_URL'
865
- // eslint-disable-next-line func-names
866
- ].forEach(code => {
867
- descriptors[code] = {value: code};
868
- });
869
-
870
- Object.defineProperties(AxiosError, descriptors);
871
- Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
872
-
873
- // eslint-disable-next-line func-names
874
- AxiosError.from = (error, code, config, request, response, customProps) => {
875
- const axiosError = Object.create(prototype$1);
876
-
877
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
878
- return obj !== Error.prototype;
879
- }, prop => {
880
- return prop !== 'isAxiosError';
881
- });
882
-
883
- const msg = error && error.message ? error.message : 'Error';
884
-
885
- // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
886
- const errCode = code == null && error ? error.code : code;
887
- AxiosError.call(axiosError, msg, errCode, config, request, response);
888
-
889
- // Chain the original error on the standard field; non-enumerable to avoid JSON noise
890
- if (error && axiosError.cause == null) {
891
- Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
892
- }
893
-
894
- axiosError.name = (error && error.name) || 'Error';
895
-
896
- customProps && Object.assign(axiosError, customProps);
1002
+ }
897
1003
 
898
- return axiosError;
899
- };
1004
+ // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
1005
+ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
1006
+ AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
1007
+ AxiosError.ECONNABORTED = 'ECONNABORTED';
1008
+ AxiosError.ETIMEDOUT = 'ETIMEDOUT';
1009
+ AxiosError.ERR_NETWORK = 'ERR_NETWORK';
1010
+ AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
1011
+ AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
1012
+ AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
1013
+ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
1014
+ AxiosError.ERR_CANCELED = 'ERR_CANCELED';
1015
+ AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
1016
+ AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
1017
+
1018
+ var AxiosError$1 = AxiosError;
900
1019
 
901
1020
  // eslint-disable-next-line strict
902
1021
  var httpAdapter = null;
@@ -934,11 +1053,14 @@ function removeBrackets(key) {
934
1053
  */
935
1054
  function renderKey(path, key, dots) {
936
1055
  if (!path) return key;
937
- return path.concat(key).map(function each(token, i) {
938
- // eslint-disable-next-line no-param-reassign
939
- token = removeBrackets(token);
940
- return !dots && i ? '[' + token + ']' : token;
941
- }).join(dots ? '.' : '');
1056
+ return path
1057
+ .concat(key)
1058
+ .map(function each(token, i) {
1059
+ // eslint-disable-next-line no-param-reassign
1060
+ token = removeBrackets(token);
1061
+ return !dots && i ? '[' + token + ']' : token;
1062
+ })
1063
+ .join(dots ? '.' : '');
942
1064
  }
943
1065
 
944
1066
  /**
@@ -988,21 +1110,26 @@ function toFormData(obj, formData, options) {
988
1110
  formData = formData || new (FormData)();
989
1111
 
990
1112
  // eslint-disable-next-line no-param-reassign
991
- options = utils$1.toFlatObject(options, {
992
- metaTokens: true,
993
- dots: false,
994
- indexes: false
995
- }, false, function defined(option, source) {
996
- // eslint-disable-next-line no-eq-null,eqeqeq
997
- return !utils$1.isUndefined(source[option]);
998
- });
1113
+ options = utils$1.toFlatObject(
1114
+ options,
1115
+ {
1116
+ metaTokens: true,
1117
+ dots: false,
1118
+ indexes: false,
1119
+ },
1120
+ false,
1121
+ function defined(option, source) {
1122
+ // eslint-disable-next-line no-eq-null,eqeqeq
1123
+ return !utils$1.isUndefined(source[option]);
1124
+ }
1125
+ );
999
1126
 
1000
1127
  const metaTokens = options.metaTokens;
1001
1128
  // eslint-disable-next-line no-use-before-define
1002
1129
  const visitor = options.visitor || defaultVisitor;
1003
1130
  const dots = options.dots;
1004
1131
  const indexes = options.indexes;
1005
- const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
1132
+ const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
1006
1133
  const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
1007
1134
 
1008
1135
  if (!utils$1.isFunction(visitor)) {
@@ -1021,7 +1148,7 @@ function toFormData(obj, formData, options) {
1021
1148
  }
1022
1149
 
1023
1150
  if (!useBlob && utils$1.isBlob(value)) {
1024
- throw new AxiosError('Blob is not supported. Use a Buffer instead.');
1151
+ throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
1025
1152
  }
1026
1153
 
1027
1154
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
@@ -1044,6 +1171,11 @@ function toFormData(obj, formData, options) {
1044
1171
  function defaultVisitor(value, key, path) {
1045
1172
  let arr = value;
1046
1173
 
1174
+ if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
1175
+ formData.append(renderKey(path, key, dots), convertValue(value));
1176
+ return false;
1177
+ }
1178
+
1047
1179
  if (value && !path && typeof value === 'object') {
1048
1180
  if (utils$1.endsWith(key, '{}')) {
1049
1181
  // eslint-disable-next-line no-param-reassign
@@ -1052,17 +1184,22 @@ function toFormData(obj, formData, options) {
1052
1184
  value = JSON.stringify(value);
1053
1185
  } else if (
1054
1186
  (utils$1.isArray(value) && isFlatArray(value)) ||
1055
- ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
1056
- )) {
1187
+ ((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value)))
1188
+ ) {
1057
1189
  // eslint-disable-next-line no-param-reassign
1058
1190
  key = removeBrackets(key);
1059
1191
 
1060
1192
  arr.forEach(function each(el, index) {
1061
- !(utils$1.isUndefined(el) || el === null) && formData.append(
1062
- // eslint-disable-next-line no-nested-ternary
1063
- indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
1064
- convertValue(el)
1065
- );
1193
+ !(utils$1.isUndefined(el) || el === null) &&
1194
+ formData.append(
1195
+ // eslint-disable-next-line no-nested-ternary
1196
+ indexes === true
1197
+ ? renderKey([key], index, dots)
1198
+ : indexes === null
1199
+ ? key
1200
+ : key + '[]',
1201
+ convertValue(el)
1202
+ );
1066
1203
  });
1067
1204
  return false;
1068
1205
  }
@@ -1082,7 +1219,7 @@ function toFormData(obj, formData, options) {
1082
1219
  const exposedHelpers = Object.assign(predicates, {
1083
1220
  defaultVisitor,
1084
1221
  convertValue,
1085
- isVisitable
1222
+ isVisitable,
1086
1223
  });
1087
1224
 
1088
1225
  function build(value, path) {
@@ -1095,9 +1232,9 @@ function toFormData(obj, formData, options) {
1095
1232
  stack.push(value);
1096
1233
 
1097
1234
  utils$1.forEach(value, function each(el, key) {
1098
- const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
1099
- formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers
1100
- );
1235
+ const result =
1236
+ !(utils$1.isUndefined(el) || el === null) &&
1237
+ visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
1101
1238
 
1102
1239
  if (result === true) {
1103
1240
  build(el, path ? path.concat(key) : [key]);
@@ -1132,7 +1269,7 @@ function encode$1(str) {
1132
1269
  ')': '%29',
1133
1270
  '~': '%7E',
1134
1271
  '%20': '+',
1135
- '%00': '\x00'
1272
+ '%00': '\x00',
1136
1273
  };
1137
1274
  return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
1138
1275
  return charMap[match];
@@ -1160,13 +1297,17 @@ prototype.append = function append(name, value) {
1160
1297
  };
1161
1298
 
1162
1299
  prototype.toString = function toString(encoder) {
1163
- const _encode = encoder ? function(value) {
1164
- return encoder.call(this, value, encode$1);
1165
- } : encode$1;
1300
+ const _encode = encoder
1301
+ ? function (value) {
1302
+ return encoder.call(this, value, encode$1);
1303
+ }
1304
+ : encode$1;
1166
1305
 
1167
- return this._pairs.map(function each(pair) {
1168
- return _encode(pair[0]) + '=' + _encode(pair[1]);
1169
- }, '').join('&');
1306
+ return this._pairs
1307
+ .map(function each(pair) {
1308
+ return _encode(pair[0]) + '=' + _encode(pair[1]);
1309
+ }, '')
1310
+ .join('&');
1170
1311
  };
1171
1312
 
1172
1313
  /**
@@ -1178,11 +1319,11 @@ prototype.toString = function toString(encoder) {
1178
1319
  * @returns {string} The encoded value.
1179
1320
  */
1180
1321
  function encode(val) {
1181
- return encodeURIComponent(val).
1182
- replace(/%3A/gi, ':').
1183
- replace(/%24/g, '$').
1184
- replace(/%2C/gi, ',').
1185
- replace(/%20/g, '+');
1322
+ return encodeURIComponent(val)
1323
+ .replace(/%3A/gi, ':')
1324
+ .replace(/%24/g, '$')
1325
+ .replace(/%2C/gi, ',')
1326
+ .replace(/%20/g, '+');
1186
1327
  }
1187
1328
 
1188
1329
  /**
@@ -1195,33 +1336,32 @@ function encode(val) {
1195
1336
  * @returns {string} The formatted url
1196
1337
  */
1197
1338
  function buildURL(url, params, options) {
1198
- /*eslint no-param-reassign:0*/
1199
1339
  if (!params) {
1200
1340
  return url;
1201
1341
  }
1202
-
1203
- const _encode = options && options.encode || encode;
1204
1342
 
1205
- if (utils$1.isFunction(options)) {
1206
- options = {
1207
- serialize: options
1208
- };
1209
- }
1343
+ const _encode = (options && options.encode) || encode;
1344
+
1345
+ const _options = utils$1.isFunction(options)
1346
+ ? {
1347
+ serialize: options,
1348
+ }
1349
+ : options;
1210
1350
 
1211
- const serializeFn = options && options.serialize;
1351
+ const serializeFn = _options && _options.serialize;
1212
1352
 
1213
1353
  let serializedParams;
1214
1354
 
1215
1355
  if (serializeFn) {
1216
- serializedParams = serializeFn(params, options);
1356
+ serializedParams = serializeFn(params, _options);
1217
1357
  } else {
1218
- serializedParams = utils$1.isURLSearchParams(params) ?
1219
- params.toString() :
1220
- new AxiosURLSearchParams(params, options).toString(_encode);
1358
+ serializedParams = utils$1.isURLSearchParams(params)
1359
+ ? params.toString()
1360
+ : new AxiosURLSearchParams(params, _options).toString(_encode);
1221
1361
  }
1222
1362
 
1223
1363
  if (serializedParams) {
1224
- const hashmarkIndex = url.indexOf("#");
1364
+ const hashmarkIndex = url.indexOf('#');
1225
1365
 
1226
1366
  if (hashmarkIndex !== -1) {
1227
1367
  url = url.slice(0, hashmarkIndex);
@@ -1242,6 +1382,7 @@ class InterceptorManager {
1242
1382
  *
1243
1383
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
1244
1384
  * @param {Function} rejected The function to handle `reject` for a `Promise`
1385
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
1245
1386
  *
1246
1387
  * @return {Number} An ID used to remove interceptor later
1247
1388
  */
@@ -1250,7 +1391,7 @@ class InterceptorManager {
1250
1391
  fulfilled,
1251
1392
  rejected,
1252
1393
  synchronous: options ? options.synchronous : false,
1253
- runWhen: options ? options.runWhen : null
1394
+ runWhen: options ? options.runWhen : null,
1254
1395
  });
1255
1396
  return this.handlers.length - 1;
1256
1397
  }
@@ -1303,7 +1444,8 @@ var InterceptorManager$1 = InterceptorManager;
1303
1444
  var transitionalDefaults = {
1304
1445
  silentJSONParsing: true,
1305
1446
  forcedJSONParsing: true,
1306
- clarifyTimeoutError: false
1447
+ clarifyTimeoutError: false,
1448
+ legacyInterceptorReqResOrdering: true,
1307
1449
  };
1308
1450
 
1309
1451
  var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
@@ -1317,14 +1459,14 @@ var platform$1 = {
1317
1459
  classes: {
1318
1460
  URLSearchParams: URLSearchParams$1,
1319
1461
  FormData: FormData$1,
1320
- Blob: Blob$1
1462
+ Blob: Blob$1,
1321
1463
  },
1322
- protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
1464
+ protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
1323
1465
  };
1324
1466
 
1325
1467
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
1326
1468
 
1327
- const _navigator = typeof navigator === 'object' && navigator || undefined;
1469
+ const _navigator = (typeof navigator === 'object' && navigator) || undefined;
1328
1470
 
1329
1471
  /**
1330
1472
  * Determine if we're running in a standard browser environment
@@ -1343,7 +1485,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
1343
1485
  *
1344
1486
  * @returns {boolean}
1345
1487
  */
1346
- const hasStandardBrowserEnv = hasBrowserEnv &&
1488
+ const hasStandardBrowserEnv =
1489
+ hasBrowserEnv &&
1347
1490
  (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
1348
1491
 
1349
1492
  /**
@@ -1364,7 +1507,7 @@ const hasStandardBrowserWebWorkerEnv = (() => {
1364
1507
  );
1365
1508
  })();
1366
1509
 
1367
- const origin = hasBrowserEnv && window.location.href || 'http://localhost';
1510
+ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
1368
1511
 
1369
1512
  var utils = /*#__PURE__*/Object.freeze({
1370
1513
  __proto__: null,
@@ -1377,12 +1520,12 @@ var utils = /*#__PURE__*/Object.freeze({
1377
1520
 
1378
1521
  var platform = {
1379
1522
  ...utils,
1380
- ...platform$1
1523
+ ...platform$1,
1381
1524
  };
1382
1525
 
1383
1526
  function toURLEncodedForm(data, options) {
1384
1527
  return toFormData(data, new platform.classes.URLSearchParams(), {
1385
- visitor: function(value, key, path, helpers) {
1528
+ visitor: function (value, key, path, helpers) {
1386
1529
  if (platform.isNode && utils$1.isBuffer(value)) {
1387
1530
  this.append(key, value.toString('base64'));
1388
1531
  return false;
@@ -1390,7 +1533,7 @@ function toURLEncodedForm(data, options) {
1390
1533
 
1391
1534
  return helpers.defaultVisitor.apply(this, arguments);
1392
1535
  },
1393
- ...options
1536
+ ...options,
1394
1537
  });
1395
1538
  }
1396
1539
 
@@ -1406,7 +1549,7 @@ function parsePropPath(name) {
1406
1549
  // foo.x.y.z
1407
1550
  // foo-x-y-z
1408
1551
  // foo x y z
1409
- return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
1552
+ return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
1410
1553
  return match[0] === '[]' ? '' : match[1] || match[0];
1411
1554
  });
1412
1555
  }
@@ -1510,96 +1653,107 @@ function stringifySafely(rawValue, parser, encoder) {
1510
1653
  }
1511
1654
 
1512
1655
  const defaults = {
1513
-
1514
1656
  transitional: transitionalDefaults,
1515
1657
 
1516
1658
  adapter: ['xhr', 'http', 'fetch'],
1517
1659
 
1518
- transformRequest: [function transformRequest(data, headers) {
1519
- const contentType = headers.getContentType() || '';
1520
- const hasJSONContentType = contentType.indexOf('application/json') > -1;
1521
- const isObjectPayload = utils$1.isObject(data);
1660
+ transformRequest: [
1661
+ function transformRequest(data, headers) {
1662
+ const contentType = headers.getContentType() || '';
1663
+ const hasJSONContentType = contentType.indexOf('application/json') > -1;
1664
+ const isObjectPayload = utils$1.isObject(data);
1522
1665
 
1523
- if (isObjectPayload && utils$1.isHTMLForm(data)) {
1524
- data = new FormData(data);
1525
- }
1666
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
1667
+ data = new FormData(data);
1668
+ }
1526
1669
 
1527
- const isFormData = utils$1.isFormData(data);
1670
+ const isFormData = utils$1.isFormData(data);
1528
1671
 
1529
- if (isFormData) {
1530
- return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
1531
- }
1672
+ if (isFormData) {
1673
+ return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
1674
+ }
1532
1675
 
1533
- if (utils$1.isArrayBuffer(data) ||
1534
- utils$1.isBuffer(data) ||
1535
- utils$1.isStream(data) ||
1536
- utils$1.isFile(data) ||
1537
- utils$1.isBlob(data) ||
1538
- utils$1.isReadableStream(data)
1539
- ) {
1540
- return data;
1541
- }
1542
- if (utils$1.isArrayBufferView(data)) {
1543
- return data.buffer;
1544
- }
1545
- if (utils$1.isURLSearchParams(data)) {
1546
- headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
1547
- return data.toString();
1548
- }
1676
+ if (
1677
+ utils$1.isArrayBuffer(data) ||
1678
+ utils$1.isBuffer(data) ||
1679
+ utils$1.isStream(data) ||
1680
+ utils$1.isFile(data) ||
1681
+ utils$1.isBlob(data) ||
1682
+ utils$1.isReadableStream(data)
1683
+ ) {
1684
+ return data;
1685
+ }
1686
+ if (utils$1.isArrayBufferView(data)) {
1687
+ return data.buffer;
1688
+ }
1689
+ if (utils$1.isURLSearchParams(data)) {
1690
+ headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
1691
+ return data.toString();
1692
+ }
1549
1693
 
1550
- let isFileList;
1694
+ let isFileList;
1551
1695
 
1552
- if (isObjectPayload) {
1553
- if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
1554
- return toURLEncodedForm(data, this.formSerializer).toString();
1555
- }
1696
+ if (isObjectPayload) {
1697
+ if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
1698
+ return toURLEncodedForm(data, this.formSerializer).toString();
1699
+ }
1556
1700
 
1557
- if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
1558
- const _FormData = this.env && this.env.FormData;
1701
+ if (
1702
+ (isFileList = utils$1.isFileList(data)) ||
1703
+ contentType.indexOf('multipart/form-data') > -1
1704
+ ) {
1705
+ const _FormData = this.env && this.env.FormData;
1559
1706
 
1560
- return toFormData(
1561
- isFileList ? {'files[]': data} : data,
1562
- _FormData && new _FormData(),
1563
- this.formSerializer
1564
- );
1707
+ return toFormData(
1708
+ isFileList ? { 'files[]': data } : data,
1709
+ _FormData && new _FormData(),
1710
+ this.formSerializer
1711
+ );
1712
+ }
1565
1713
  }
1566
- }
1567
1714
 
1568
- if (isObjectPayload || hasJSONContentType ) {
1569
- headers.setContentType('application/json', false);
1570
- return stringifySafely(data);
1571
- }
1715
+ if (isObjectPayload || hasJSONContentType) {
1716
+ headers.setContentType('application/json', false);
1717
+ return stringifySafely(data);
1718
+ }
1572
1719
 
1573
- return data;
1574
- }],
1720
+ return data;
1721
+ },
1722
+ ],
1575
1723
 
1576
- transformResponse: [function transformResponse(data) {
1577
- const transitional = this.transitional || defaults.transitional;
1578
- const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1579
- const JSONRequested = this.responseType === 'json';
1724
+ transformResponse: [
1725
+ function transformResponse(data) {
1726
+ const transitional = this.transitional || defaults.transitional;
1727
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1728
+ const JSONRequested = this.responseType === 'json';
1580
1729
 
1581
- if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
1582
- return data;
1583
- }
1730
+ if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
1731
+ return data;
1732
+ }
1584
1733
 
1585
- if (data && utils$1.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
1586
- const silentJSONParsing = transitional && transitional.silentJSONParsing;
1587
- const strictJSONParsing = !silentJSONParsing && JSONRequested;
1734
+ if (
1735
+ data &&
1736
+ utils$1.isString(data) &&
1737
+ ((forcedJSONParsing && !this.responseType) || JSONRequested)
1738
+ ) {
1739
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
1740
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
1588
1741
 
1589
- try {
1590
- return JSON.parse(data, this.parseReviver);
1591
- } catch (e) {
1592
- if (strictJSONParsing) {
1593
- if (e.name === 'SyntaxError') {
1594
- throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
1742
+ try {
1743
+ return JSON.parse(data, this.parseReviver);
1744
+ } catch (e) {
1745
+ if (strictJSONParsing) {
1746
+ if (e.name === 'SyntaxError') {
1747
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
1748
+ }
1749
+ throw e;
1595
1750
  }
1596
- throw e;
1597
1751
  }
1598
1752
  }
1599
- }
1600
1753
 
1601
- return data;
1602
- }],
1754
+ return data;
1755
+ },
1756
+ ],
1603
1757
 
1604
1758
  /**
1605
1759
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
@@ -1615,7 +1769,7 @@ const defaults = {
1615
1769
 
1616
1770
  env: {
1617
1771
  FormData: platform.classes.FormData,
1618
- Blob: platform.classes.Blob
1772
+ Blob: platform.classes.Blob,
1619
1773
  },
1620
1774
 
1621
1775
  validateStatus: function validateStatus(status) {
@@ -1624,10 +1778,10 @@ const defaults = {
1624
1778
 
1625
1779
  headers: {
1626
1780
  common: {
1627
- 'Accept': 'application/json, text/plain, */*',
1628
- 'Content-Type': undefined
1629
- }
1630
- }
1781
+ Accept: 'application/json, text/plain, */*',
1782
+ 'Content-Type': undefined,
1783
+ },
1784
+ },
1631
1785
  };
1632
1786
 
1633
1787
  utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
@@ -1639,10 +1793,23 @@ var defaults$1 = defaults;
1639
1793
  // RawAxiosHeaders whose duplicates are ignored by node
1640
1794
  // c.f. https://nodejs.org/api/http.html#http_message_headers
1641
1795
  const ignoreDuplicateOf = utils$1.toObjectSet([
1642
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
1643
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
1644
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
1645
- 'referer', 'retry-after', 'user-agent'
1796
+ 'age',
1797
+ 'authorization',
1798
+ 'content-length',
1799
+ 'content-type',
1800
+ 'etag',
1801
+ 'expires',
1802
+ 'from',
1803
+ 'host',
1804
+ 'if-modified-since',
1805
+ 'if-unmodified-since',
1806
+ 'last-modified',
1807
+ 'location',
1808
+ 'max-forwards',
1809
+ 'proxy-authorization',
1810
+ 'referer',
1811
+ 'retry-after',
1812
+ 'user-agent',
1646
1813
  ]);
1647
1814
 
1648
1815
  /**
@@ -1659,31 +1826,32 @@ const ignoreDuplicateOf = utils$1.toObjectSet([
1659
1826
  *
1660
1827
  * @returns {Object} Headers parsed into an object
1661
1828
  */
1662
- var parseHeaders = rawHeaders => {
1829
+ var parseHeaders = (rawHeaders) => {
1663
1830
  const parsed = {};
1664
1831
  let key;
1665
1832
  let val;
1666
1833
  let i;
1667
1834
 
1668
- rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
1669
- i = line.indexOf(':');
1670
- key = line.substring(0, i).trim().toLowerCase();
1671
- val = line.substring(i + 1).trim();
1835
+ rawHeaders &&
1836
+ rawHeaders.split('\n').forEach(function parser(line) {
1837
+ i = line.indexOf(':');
1838
+ key = line.substring(0, i).trim().toLowerCase();
1839
+ val = line.substring(i + 1).trim();
1672
1840
 
1673
- if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
1674
- return;
1675
- }
1841
+ if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
1842
+ return;
1843
+ }
1676
1844
 
1677
- if (key === 'set-cookie') {
1678
- if (parsed[key]) {
1679
- parsed[key].push(val);
1845
+ if (key === 'set-cookie') {
1846
+ if (parsed[key]) {
1847
+ parsed[key].push(val);
1848
+ } else {
1849
+ parsed[key] = [val];
1850
+ }
1680
1851
  } else {
1681
- parsed[key] = [val];
1852
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1682
1853
  }
1683
- } else {
1684
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
1685
- }
1686
- });
1854
+ });
1687
1855
 
1688
1856
  return parsed;
1689
1857
  };
@@ -1737,8 +1905,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
1737
1905
  }
1738
1906
 
1739
1907
  function formatHeader(header) {
1740
- return header.trim()
1741
- .toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
1908
+ return header
1909
+ .trim()
1910
+ .toLowerCase()
1911
+ .replace(/([a-z\d])(\w*)/g, (w, char, str) => {
1742
1912
  return char.toUpperCase() + str;
1743
1913
  });
1744
1914
  }
@@ -1746,12 +1916,12 @@ function formatHeader(header) {
1746
1916
  function buildAccessors(obj, header) {
1747
1917
  const accessorName = utils$1.toCamelCase(' ' + header);
1748
1918
 
1749
- ['get', 'set', 'has'].forEach(methodName => {
1919
+ ['get', 'set', 'has'].forEach((methodName) => {
1750
1920
  Object.defineProperty(obj, methodName + accessorName, {
1751
- value: function(arg1, arg2, arg3) {
1921
+ value: function (arg1, arg2, arg3) {
1752
1922
  return this[methodName].call(this, header, arg1, arg2, arg3);
1753
1923
  },
1754
- configurable: true
1924
+ configurable: true,
1755
1925
  });
1756
1926
  });
1757
1927
  }
@@ -1773,7 +1943,12 @@ class AxiosHeaders {
1773
1943
 
1774
1944
  const key = utils$1.findKey(self, lHeader);
1775
1945
 
1776
- if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
1946
+ if (
1947
+ !key ||
1948
+ self[key] === undefined ||
1949
+ _rewrite === true ||
1950
+ (_rewrite === undefined && self[key] !== false)
1951
+ ) {
1777
1952
  self[key || _header] = normalizeValue(_value);
1778
1953
  }
1779
1954
  }
@@ -1783,17 +1958,22 @@ class AxiosHeaders {
1783
1958
 
1784
1959
  if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
1785
1960
  setHeaders(header, valueOrRewrite);
1786
- } else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
1961
+ } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
1787
1962
  setHeaders(parseHeaders(header), valueOrRewrite);
1788
1963
  } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
1789
- let obj = {}, dest, key;
1964
+ let obj = {},
1965
+ dest,
1966
+ key;
1790
1967
  for (const entry of header) {
1791
1968
  if (!utils$1.isArray(entry)) {
1792
1969
  throw TypeError('Object iterator must return a key-value pair');
1793
1970
  }
1794
1971
 
1795
- obj[key = entry[0]] = (dest = obj[key]) ?
1796
- (utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
1972
+ obj[(key = entry[0])] = (dest = obj[key])
1973
+ ? utils$1.isArray(dest)
1974
+ ? [...dest, entry[1]]
1975
+ : [dest, entry[1]]
1976
+ : entry[1];
1797
1977
  }
1798
1978
 
1799
1979
  setHeaders(obj, valueOrRewrite);
@@ -1840,7 +2020,11 @@ class AxiosHeaders {
1840
2020
  if (header) {
1841
2021
  const key = utils$1.findKey(this, header);
1842
2022
 
1843
- return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
2023
+ return !!(
2024
+ key &&
2025
+ this[key] !== undefined &&
2026
+ (!matcher || matchHeaderValue(this, this[key], key, matcher))
2027
+ );
1844
2028
  }
1845
2029
 
1846
2030
  return false;
@@ -1880,7 +2064,7 @@ class AxiosHeaders {
1880
2064
 
1881
2065
  while (i--) {
1882
2066
  const key = keys[i];
1883
- if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
2067
+ if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
1884
2068
  delete this[key];
1885
2069
  deleted = true;
1886
2070
  }
@@ -1924,7 +2108,9 @@ class AxiosHeaders {
1924
2108
  const obj = Object.create(null);
1925
2109
 
1926
2110
  utils$1.forEach(this, (value, header) => {
1927
- value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
2111
+ value != null &&
2112
+ value !== false &&
2113
+ (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
1928
2114
  });
1929
2115
 
1930
2116
  return obj;
@@ -1935,11 +2121,13 @@ class AxiosHeaders {
1935
2121
  }
1936
2122
 
1937
2123
  toString() {
1938
- return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
2124
+ return Object.entries(this.toJSON())
2125
+ .map(([header, value]) => header + ': ' + value)
2126
+ .join('\n');
1939
2127
  }
1940
2128
 
1941
2129
  getSetCookie() {
1942
- return this.get("set-cookie") || [];
2130
+ return this.get('set-cookie') || [];
1943
2131
  }
1944
2132
 
1945
2133
  get [Symbol.toStringTag]() {
@@ -1959,9 +2147,12 @@ class AxiosHeaders {
1959
2147
  }
1960
2148
 
1961
2149
  static accessor(header) {
1962
- const internals = this[$internals] = (this[$internals] = {
1963
- accessors: {}
1964
- });
2150
+ const internals =
2151
+ (this[$internals] =
2152
+ this[$internals] =
2153
+ {
2154
+ accessors: {},
2155
+ });
1965
2156
 
1966
2157
  const accessors = internals.accessors;
1967
2158
  const prototype = this.prototype;
@@ -1981,17 +2172,24 @@ class AxiosHeaders {
1981
2172
  }
1982
2173
  }
1983
2174
 
1984
- AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
2175
+ AxiosHeaders.accessor([
2176
+ 'Content-Type',
2177
+ 'Content-Length',
2178
+ 'Accept',
2179
+ 'Accept-Encoding',
2180
+ 'User-Agent',
2181
+ 'Authorization',
2182
+ ]);
1985
2183
 
1986
2184
  // reserved names hotfix
1987
- utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
2185
+ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
1988
2186
  let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
1989
2187
  return {
1990
2188
  get: () => value,
1991
2189
  set(headerValue) {
1992
2190
  this[mapped] = headerValue;
1993
- }
1994
- }
2191
+ },
2192
+ };
1995
2193
  });
1996
2194
 
1997
2195
  utils$1.freezeMethods(AxiosHeaders);
@@ -2025,24 +2223,24 @@ function isCancel(value) {
2025
2223
  return !!(value && value.__CANCEL__);
2026
2224
  }
2027
2225
 
2028
- /**
2029
- * A `CanceledError` is an object that is thrown when an operation is canceled.
2030
- *
2031
- * @param {string=} message The message.
2032
- * @param {Object=} config The config.
2033
- * @param {Object=} request The request.
2034
- *
2035
- * @returns {CanceledError} The created error.
2036
- */
2037
- function CanceledError(message, config, request) {
2038
- // eslint-disable-next-line no-eq-null,eqeqeq
2039
- AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
2040
- this.name = 'CanceledError';
2226
+ class CanceledError extends AxiosError$1 {
2227
+ /**
2228
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
2229
+ *
2230
+ * @param {string=} message The message.
2231
+ * @param {Object=} config The config.
2232
+ * @param {Object=} request The request.
2233
+ *
2234
+ * @returns {CanceledError} The created error.
2235
+ */
2236
+ constructor(message, config, request) {
2237
+ super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
2238
+ this.name = 'CanceledError';
2239
+ this.__CANCEL__ = true;
2240
+ }
2041
2241
  }
2042
2242
 
2043
- utils$1.inherits(CanceledError, AxiosError, {
2044
- __CANCEL__: true
2045
- });
2243
+ var CanceledError$1 = CanceledError;
2046
2244
 
2047
2245
  /**
2048
2246
  * Resolve or reject a Promise based on response status.
@@ -2058,19 +2256,23 @@ function settle(resolve, reject, response) {
2058
2256
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2059
2257
  resolve(response);
2060
2258
  } else {
2061
- reject(new AxiosError(
2062
- 'Request failed with status code ' + response.status,
2063
- [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2064
- response.config,
2065
- response.request,
2066
- response
2067
- ));
2259
+ reject(
2260
+ new AxiosError$1(
2261
+ 'Request failed with status code ' + response.status,
2262
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][
2263
+ Math.floor(response.status / 100) - 4
2264
+ ],
2265
+ response.config,
2266
+ response.request,
2267
+ response
2268
+ )
2269
+ );
2068
2270
  }
2069
2271
  }
2070
2272
 
2071
2273
  function parseProtocol(url) {
2072
2274
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
2073
- return match && match[1] || '';
2275
+ return (match && match[1]) || '';
2074
2276
  }
2075
2277
 
2076
2278
  /**
@@ -2121,7 +2323,7 @@ function speedometer(samplesCount, min) {
2121
2323
 
2122
2324
  const passed = startedAt && now - startedAt;
2123
2325
 
2124
- return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
2326
+ return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
2125
2327
  };
2126
2328
  }
2127
2329
 
@@ -2150,7 +2352,7 @@ function throttle(fn, freq) {
2150
2352
  const throttled = (...args) => {
2151
2353
  const now = Date.now();
2152
2354
  const passed = now - timestamp;
2153
- if ( passed >= threshold) {
2355
+ if (passed >= threshold) {
2154
2356
  invoke(args, now);
2155
2357
  } else {
2156
2358
  lastArgs = args;
@@ -2172,7 +2374,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
2172
2374
  let bytesNotified = 0;
2173
2375
  const _speedometer = speedometer(50, 250);
2174
2376
 
2175
- return throttle(e => {
2377
+ return throttle((e) => {
2176
2378
  const loaded = e.loaded;
2177
2379
  const total = e.lengthComputable ? e.total : undefined;
2178
2380
  const progressBytes = loaded - bytesNotified;
@@ -2184,13 +2386,13 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
2184
2386
  const data = {
2185
2387
  loaded,
2186
2388
  total,
2187
- progress: total ? (loaded / total) : undefined,
2389
+ progress: total ? loaded / total : undefined,
2188
2390
  bytes: progressBytes,
2189
2391
  rate: rate ? rate : undefined,
2190
2392
  estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
2191
2393
  event: e,
2192
2394
  lengthComputable: total != null,
2193
- [isDownloadStream ? 'download' : 'upload']: true
2395
+ [isDownloadStream ? 'download' : 'upload']: true,
2194
2396
  };
2195
2397
 
2196
2398
  listener(data);
@@ -2200,77 +2402,82 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
2200
2402
  const progressEventDecorator = (total, throttled) => {
2201
2403
  const lengthComputable = total != null;
2202
2404
 
2203
- return [(loaded) => throttled[0]({
2204
- lengthComputable,
2205
- total,
2206
- loaded
2207
- }), throttled[1]];
2405
+ return [
2406
+ (loaded) =>
2407
+ throttled[0]({
2408
+ lengthComputable,
2409
+ total,
2410
+ loaded,
2411
+ }),
2412
+ throttled[1],
2413
+ ];
2208
2414
  };
2209
2415
 
2210
- const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
2211
-
2212
- var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
2213
- url = new URL(url, platform.origin);
2416
+ const asyncDecorator =
2417
+ (fn) =>
2418
+ (...args) =>
2419
+ utils$1.asap(() => fn(...args));
2214
2420
 
2215
- return (
2216
- origin.protocol === url.protocol &&
2217
- origin.host === url.host &&
2218
- (isMSIE || origin.port === url.port)
2219
- );
2220
- })(
2221
- new URL(platform.origin),
2222
- platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
2223
- ) : () => true;
2421
+ var isURLSameOrigin = platform.hasStandardBrowserEnv
2422
+ ? ((origin, isMSIE) => (url) => {
2423
+ url = new URL(url, platform.origin);
2224
2424
 
2225
- var cookies = platform.hasStandardBrowserEnv ?
2425
+ return (
2426
+ origin.protocol === url.protocol &&
2427
+ origin.host === url.host &&
2428
+ (isMSIE || origin.port === url.port)
2429
+ );
2430
+ })(
2431
+ new URL(platform.origin),
2432
+ platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
2433
+ )
2434
+ : () => true;
2226
2435
 
2227
- // Standard browser envs support document.cookie
2228
- {
2229
- write(name, value, expires, path, domain, secure, sameSite) {
2230
- if (typeof document === 'undefined') return;
2436
+ var cookies = platform.hasStandardBrowserEnv
2437
+ ? // Standard browser envs support document.cookie
2438
+ {
2439
+ write(name, value, expires, path, domain, secure, sameSite) {
2440
+ if (typeof document === 'undefined') return;
2231
2441
 
2232
- const cookie = [`${name}=${encodeURIComponent(value)}`];
2442
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
2233
2443
 
2234
- if (utils$1.isNumber(expires)) {
2235
- cookie.push(`expires=${new Date(expires).toUTCString()}`);
2236
- }
2237
- if (utils$1.isString(path)) {
2238
- cookie.push(`path=${path}`);
2239
- }
2240
- if (utils$1.isString(domain)) {
2241
- cookie.push(`domain=${domain}`);
2242
- }
2243
- if (secure === true) {
2244
- cookie.push('secure');
2245
- }
2246
- if (utils$1.isString(sameSite)) {
2247
- cookie.push(`SameSite=${sameSite}`);
2248
- }
2444
+ if (utils$1.isNumber(expires)) {
2445
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
2446
+ }
2447
+ if (utils$1.isString(path)) {
2448
+ cookie.push(`path=${path}`);
2449
+ }
2450
+ if (utils$1.isString(domain)) {
2451
+ cookie.push(`domain=${domain}`);
2452
+ }
2453
+ if (secure === true) {
2454
+ cookie.push('secure');
2455
+ }
2456
+ if (utils$1.isString(sameSite)) {
2457
+ cookie.push(`SameSite=${sameSite}`);
2458
+ }
2249
2459
 
2250
- document.cookie = cookie.join('; ');
2251
- },
2460
+ document.cookie = cookie.join('; ');
2461
+ },
2252
2462
 
2253
- read(name) {
2254
- if (typeof document === 'undefined') return null;
2255
- const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
2256
- return match ? decodeURIComponent(match[1]) : null;
2257
- },
2463
+ read(name) {
2464
+ if (typeof document === 'undefined') return null;
2465
+ const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
2466
+ return match ? decodeURIComponent(match[1]) : null;
2467
+ },
2258
2468
 
2259
- remove(name) {
2260
- this.write(name, '', Date.now() - 86400000, '/');
2469
+ remove(name) {
2470
+ this.write(name, '', Date.now() - 86400000, '/');
2471
+ },
2261
2472
  }
2262
- }
2263
-
2264
- :
2265
-
2266
- // Non-standard browser env (web workers, react-native) lack needed support.
2267
- {
2268
- write() {},
2269
- read() {
2270
- return null;
2271
- },
2272
- remove() {}
2273
- };
2473
+ : // Non-standard browser env (web workers, react-native) lack needed support.
2474
+ {
2475
+ write() {},
2476
+ read() {
2477
+ return null;
2478
+ },
2479
+ remove() {},
2480
+ };
2274
2481
 
2275
2482
  /**
2276
2483
  * Determines whether the specified URL is absolute
@@ -2283,6 +2490,10 @@ function isAbsoluteURL(url) {
2283
2490
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
2284
2491
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
2285
2492
  // by any combination of letters, digits, plus, period, or hyphen.
2493
+ if (typeof url !== 'string') {
2494
+ return false;
2495
+ }
2496
+
2286
2497
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2287
2498
  }
2288
2499
 
@@ -2318,7 +2529,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2318
2529
  return requestedURL;
2319
2530
  }
2320
2531
 
2321
- const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
2532
+ const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing);
2322
2533
 
2323
2534
  /**
2324
2535
  * Config-specific merge-function which creates a new config-object
@@ -2336,7 +2547,7 @@ function mergeConfig(config1, config2) {
2336
2547
 
2337
2548
  function getMergedValue(target, source, prop, caseless) {
2338
2549
  if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
2339
- return utils$1.merge.call({caseless}, target, source);
2550
+ return utils$1.merge.call({ caseless }, target, source);
2340
2551
  } else if (utils$1.isPlainObject(source)) {
2341
2552
  return utils$1.merge({}, source);
2342
2553
  } else if (utils$1.isArray(source)) {
@@ -2345,7 +2556,6 @@ function mergeConfig(config1, config2) {
2345
2556
  return source;
2346
2557
  }
2347
2558
 
2348
- // eslint-disable-next-line consistent-return
2349
2559
  function mergeDeepProperties(a, b, prop, caseless) {
2350
2560
  if (!utils$1.isUndefined(b)) {
2351
2561
  return getMergedValue(a, b, prop, caseless);
@@ -2408,11 +2618,13 @@ function mergeConfig(config1, config2) {
2408
2618
  socketPath: defaultToConfig2,
2409
2619
  responseEncoding: defaultToConfig2,
2410
2620
  validateStatus: mergeDirectKeys,
2411
- headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
2621
+ headers: (a, b, prop) =>
2622
+ mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
2412
2623
  };
2413
2624
 
2414
- utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
2415
- const merge = mergeMap[prop] || mergeDeepProperties;
2625
+ utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
2626
+ if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
2627
+ const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
2416
2628
  const configValue = merge(config1[prop], config2[prop], prop);
2417
2629
  (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
2418
2630
  });
@@ -2427,12 +2639,22 @@ var resolveConfig = (config) => {
2427
2639
 
2428
2640
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
2429
2641
 
2430
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
2642
+ newConfig.url = buildURL(
2643
+ buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
2644
+ config.params,
2645
+ config.paramsSerializer
2646
+ );
2431
2647
 
2432
2648
  // HTTP basic authentication
2433
2649
  if (auth) {
2434
- headers.set('Authorization', 'Basic ' +
2435
- btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))
2650
+ headers.set(
2651
+ 'Authorization',
2652
+ 'Basic ' +
2653
+ btoa(
2654
+ (auth.username || '') +
2655
+ ':' +
2656
+ (auth.password ? unescape(encodeURIComponent(auth.password)) : '')
2657
+ )
2436
2658
  );
2437
2659
  }
2438
2660
 
@@ -2450,7 +2672,7 @@ var resolveConfig = (config) => {
2450
2672
  }
2451
2673
  });
2452
2674
  }
2453
- }
2675
+ }
2454
2676
 
2455
2677
  // Add xsrf header
2456
2678
  // This is only done if running in a standard browser environment.
@@ -2474,196 +2696,218 @@ var resolveConfig = (config) => {
2474
2696
 
2475
2697
  const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
2476
2698
 
2477
- var xhrAdapter = isXHRAdapterSupported && function (config) {
2478
- return new Promise(function dispatchXhrRequest(resolve, reject) {
2479
- const _config = resolveConfig(config);
2480
- let requestData = _config.data;
2481
- const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
2482
- let {responseType, onUploadProgress, onDownloadProgress} = _config;
2483
- let onCanceled;
2484
- let uploadThrottled, downloadThrottled;
2485
- let flushUpload, flushDownload;
2699
+ var xhrAdapter = isXHRAdapterSupported &&
2700
+ function (config) {
2701
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
2702
+ const _config = resolveConfig(config);
2703
+ let requestData = _config.data;
2704
+ const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
2705
+ let { responseType, onUploadProgress, onDownloadProgress } = _config;
2706
+ let onCanceled;
2707
+ let uploadThrottled, downloadThrottled;
2708
+ let flushUpload, flushDownload;
2486
2709
 
2487
- function done() {
2488
- flushUpload && flushUpload(); // flush events
2489
- flushDownload && flushDownload(); // flush events
2710
+ function done() {
2711
+ flushUpload && flushUpload(); // flush events
2712
+ flushDownload && flushDownload(); // flush events
2490
2713
 
2491
- _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
2714
+ _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
2492
2715
 
2493
- _config.signal && _config.signal.removeEventListener('abort', onCanceled);
2494
- }
2716
+ _config.signal && _config.signal.removeEventListener('abort', onCanceled);
2717
+ }
2495
2718
 
2496
- let request = new XMLHttpRequest();
2719
+ let request = new XMLHttpRequest();
2497
2720
 
2498
- request.open(_config.method.toUpperCase(), _config.url, true);
2721
+ request.open(_config.method.toUpperCase(), _config.url, true);
2499
2722
 
2500
- // Set the request timeout in MS
2501
- request.timeout = _config.timeout;
2723
+ // Set the request timeout in MS
2724
+ request.timeout = _config.timeout;
2502
2725
 
2503
- function onloadend() {
2504
- if (!request) {
2505
- return;
2726
+ function onloadend() {
2727
+ if (!request) {
2728
+ return;
2729
+ }
2730
+ // Prepare the response
2731
+ const responseHeaders = AxiosHeaders$1.from(
2732
+ 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
2733
+ );
2734
+ const responseData =
2735
+ !responseType || responseType === 'text' || responseType === 'json'
2736
+ ? request.responseText
2737
+ : request.response;
2738
+ const response = {
2739
+ data: responseData,
2740
+ status: request.status,
2741
+ statusText: request.statusText,
2742
+ headers: responseHeaders,
2743
+ config,
2744
+ request,
2745
+ };
2746
+
2747
+ settle(
2748
+ function _resolve(value) {
2749
+ resolve(value);
2750
+ done();
2751
+ },
2752
+ function _reject(err) {
2753
+ reject(err);
2754
+ done();
2755
+ },
2756
+ response
2757
+ );
2758
+
2759
+ // Clean up request
2760
+ request = null;
2506
2761
  }
2507
- // Prepare the response
2508
- const responseHeaders = AxiosHeaders$1.from(
2509
- 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
2510
- );
2511
- const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
2512
- request.responseText : request.response;
2513
- const response = {
2514
- data: responseData,
2515
- status: request.status,
2516
- statusText: request.statusText,
2517
- headers: responseHeaders,
2518
- config,
2519
- request
2520
- };
2521
2762
 
2522
- settle(function _resolve(value) {
2523
- resolve(value);
2524
- done();
2525
- }, function _reject(err) {
2526
- reject(err);
2527
- done();
2528
- }, response);
2763
+ if ('onloadend' in request) {
2764
+ // Use onloadend if available
2765
+ request.onloadend = onloadend;
2766
+ } else {
2767
+ // Listen for ready state to emulate onloadend
2768
+ request.onreadystatechange = function handleLoad() {
2769
+ if (!request || request.readyState !== 4) {
2770
+ return;
2771
+ }
2529
2772
 
2530
- // Clean up request
2531
- request = null;
2532
- }
2773
+ // The request errored out and we didn't get a response, this will be
2774
+ // handled by onerror instead
2775
+ // With one exception: request that using file: protocol, most browsers
2776
+ // will return status as 0 even though it's a successful request
2777
+ if (
2778
+ request.status === 0 &&
2779
+ !(request.responseURL && request.responseURL.indexOf('file:') === 0)
2780
+ ) {
2781
+ return;
2782
+ }
2783
+ // readystate handler is calling before onerror or ontimeout handlers,
2784
+ // so we should call onloadend on the next 'tick'
2785
+ setTimeout(onloadend);
2786
+ };
2787
+ }
2533
2788
 
2534
- if ('onloadend' in request) {
2535
- // Use onloadend if available
2536
- request.onloadend = onloadend;
2537
- } else {
2538
- // Listen for ready state to emulate onloadend
2539
- request.onreadystatechange = function handleLoad() {
2540
- if (!request || request.readyState !== 4) {
2789
+ // Handle browser request cancellation (as opposed to a manual cancellation)
2790
+ request.onabort = function handleAbort() {
2791
+ if (!request) {
2541
2792
  return;
2542
2793
  }
2543
2794
 
2544
- // The request errored out and we didn't get a response, this will be
2545
- // handled by onerror instead
2546
- // With one exception: request that using file: protocol, most browsers
2547
- // will return status as 0 even though it's a successful request
2548
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
2549
- return;
2550
- }
2551
- // readystate handler is calling before onerror or ontimeout handlers,
2552
- // so we should call onloadend on the next 'tick'
2553
- setTimeout(onloadend);
2795
+ reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
2796
+
2797
+ // Clean up request
2798
+ request = null;
2554
2799
  };
2555
- }
2556
2800
 
2557
- // Handle browser request cancellation (as opposed to a manual cancellation)
2558
- request.onabort = function handleAbort() {
2559
- if (!request) {
2560
- return;
2561
- }
2801
+ // Handle low level network errors
2802
+ request.onerror = function handleError(event) {
2803
+ // Browsers deliver a ProgressEvent in XHR onerror
2804
+ // (message may be empty; when present, surface it)
2805
+ // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
2806
+ const msg = event && event.message ? event.message : 'Network Error';
2807
+ const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
2808
+ // attach the underlying event for consumers who want details
2809
+ err.event = event || null;
2810
+ reject(err);
2811
+ request = null;
2812
+ };
2562
2813
 
2563
- reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
2814
+ // Handle timeout
2815
+ request.ontimeout = function handleTimeout() {
2816
+ let timeoutErrorMessage = _config.timeout
2817
+ ? 'timeout of ' + _config.timeout + 'ms exceeded'
2818
+ : 'timeout exceeded';
2819
+ const transitional = _config.transitional || transitionalDefaults;
2820
+ if (_config.timeoutErrorMessage) {
2821
+ timeoutErrorMessage = _config.timeoutErrorMessage;
2822
+ }
2823
+ reject(
2824
+ new AxiosError$1(
2825
+ timeoutErrorMessage,
2826
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
2827
+ config,
2828
+ request
2829
+ )
2830
+ );
2564
2831
 
2565
- // Clean up request
2566
- request = null;
2567
- };
2832
+ // Clean up request
2833
+ request = null;
2834
+ };
2568
2835
 
2569
- // Handle low level network errors
2570
- request.onerror = function handleError(event) {
2571
- // Browsers deliver a ProgressEvent in XHR onerror
2572
- // (message may be empty; when present, surface it)
2573
- // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
2574
- const msg = event && event.message ? event.message : 'Network Error';
2575
- const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
2576
- // attach the underlying event for consumers who want details
2577
- err.event = event || null;
2578
- reject(err);
2579
- request = null;
2580
- };
2581
-
2582
- // Handle timeout
2583
- request.ontimeout = function handleTimeout() {
2584
- let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
2585
- const transitional = _config.transitional || transitionalDefaults;
2586
- if (_config.timeoutErrorMessage) {
2587
- timeoutErrorMessage = _config.timeoutErrorMessage;
2588
- }
2589
- reject(new AxiosError(
2590
- timeoutErrorMessage,
2591
- transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
2592
- config,
2593
- request));
2594
-
2595
- // Clean up request
2596
- request = null;
2597
- };
2836
+ // Remove Content-Type if data is undefined
2837
+ requestData === undefined && requestHeaders.setContentType(null);
2598
2838
 
2599
- // Remove Content-Type if data is undefined
2600
- requestData === undefined && requestHeaders.setContentType(null);
2839
+ // Add headers to the request
2840
+ if ('setRequestHeader' in request) {
2841
+ utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
2842
+ request.setRequestHeader(key, val);
2843
+ });
2844
+ }
2601
2845
 
2602
- // Add headers to the request
2603
- if ('setRequestHeader' in request) {
2604
- utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
2605
- request.setRequestHeader(key, val);
2606
- });
2607
- }
2846
+ // Add withCredentials to request if needed
2847
+ if (!utils$1.isUndefined(_config.withCredentials)) {
2848
+ request.withCredentials = !!_config.withCredentials;
2849
+ }
2608
2850
 
2609
- // Add withCredentials to request if needed
2610
- if (!utils$1.isUndefined(_config.withCredentials)) {
2611
- request.withCredentials = !!_config.withCredentials;
2612
- }
2851
+ // Add responseType to request if needed
2852
+ if (responseType && responseType !== 'json') {
2853
+ request.responseType = _config.responseType;
2854
+ }
2613
2855
 
2614
- // Add responseType to request if needed
2615
- if (responseType && responseType !== 'json') {
2616
- request.responseType = _config.responseType;
2617
- }
2856
+ // Handle progress if needed
2857
+ if (onDownloadProgress) {
2858
+ [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
2859
+ request.addEventListener('progress', downloadThrottled);
2860
+ }
2618
2861
 
2619
- // Handle progress if needed
2620
- if (onDownloadProgress) {
2621
- ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true));
2622
- request.addEventListener('progress', downloadThrottled);
2623
- }
2862
+ // Not all browsers support upload events
2863
+ if (onUploadProgress && request.upload) {
2864
+ [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
2624
2865
 
2625
- // Not all browsers support upload events
2626
- if (onUploadProgress && request.upload) {
2627
- ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));
2866
+ request.upload.addEventListener('progress', uploadThrottled);
2628
2867
 
2629
- request.upload.addEventListener('progress', uploadThrottled);
2868
+ request.upload.addEventListener('loadend', flushUpload);
2869
+ }
2630
2870
 
2631
- request.upload.addEventListener('loadend', flushUpload);
2632
- }
2871
+ if (_config.cancelToken || _config.signal) {
2872
+ // Handle cancellation
2873
+ // eslint-disable-next-line func-names
2874
+ onCanceled = (cancel) => {
2875
+ if (!request) {
2876
+ return;
2877
+ }
2878
+ reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
2879
+ request.abort();
2880
+ request = null;
2881
+ };
2633
2882
 
2634
- if (_config.cancelToken || _config.signal) {
2635
- // Handle cancellation
2636
- // eslint-disable-next-line func-names
2637
- onCanceled = cancel => {
2638
- if (!request) {
2639
- return;
2883
+ _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
2884
+ if (_config.signal) {
2885
+ _config.signal.aborted
2886
+ ? onCanceled()
2887
+ : _config.signal.addEventListener('abort', onCanceled);
2640
2888
  }
2641
- reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
2642
- request.abort();
2643
- request = null;
2644
- };
2645
-
2646
- _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
2647
- if (_config.signal) {
2648
- _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
2649
2889
  }
2650
- }
2651
-
2652
- const protocol = parseProtocol(_config.url);
2653
2890
 
2654
- if (protocol && platform.protocols.indexOf(protocol) === -1) {
2655
- reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
2656
- return;
2657
- }
2891
+ const protocol = parseProtocol(_config.url);
2658
2892
 
2893
+ if (protocol && platform.protocols.indexOf(protocol) === -1) {
2894
+ reject(
2895
+ new AxiosError$1(
2896
+ 'Unsupported protocol ' + protocol + ':',
2897
+ AxiosError$1.ERR_BAD_REQUEST,
2898
+ config
2899
+ )
2900
+ );
2901
+ return;
2902
+ }
2659
2903
 
2660
- // Send the request
2661
- request.send(requestData || null);
2662
- });
2663
- };
2904
+ // Send the request
2905
+ request.send(requestData || null);
2906
+ });
2907
+ };
2664
2908
 
2665
2909
  const composeSignals = (signals, timeout) => {
2666
- const {length} = (signals = signals ? signals.filter(Boolean) : []);
2910
+ const { length } = (signals = signals ? signals.filter(Boolean) : []);
2667
2911
 
2668
2912
  if (timeout || length) {
2669
2913
  let controller = new AbortController();
@@ -2675,21 +2919,29 @@ const composeSignals = (signals, timeout) => {
2675
2919
  aborted = true;
2676
2920
  unsubscribe();
2677
2921
  const err = reason instanceof Error ? reason : this.reason;
2678
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
2922
+ controller.abort(
2923
+ err instanceof AxiosError$1
2924
+ ? err
2925
+ : new CanceledError$1(err instanceof Error ? err.message : err)
2926
+ );
2679
2927
  }
2680
2928
  };
2681
2929
 
2682
- let timer = timeout && setTimeout(() => {
2683
- timer = null;
2684
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
2685
- }, timeout);
2930
+ let timer =
2931
+ timeout &&
2932
+ setTimeout(() => {
2933
+ timer = null;
2934
+ onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
2935
+ }, timeout);
2686
2936
 
2687
2937
  const unsubscribe = () => {
2688
2938
  if (signals) {
2689
2939
  timer && clearTimeout(timer);
2690
2940
  timer = null;
2691
- signals.forEach(signal => {
2692
- signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
2941
+ signals.forEach((signal) => {
2942
+ signal.unsubscribe
2943
+ ? signal.unsubscribe(onabort)
2944
+ : signal.removeEventListener('abort', onabort);
2693
2945
  });
2694
2946
  signals = null;
2695
2947
  }
@@ -2697,7 +2949,7 @@ const composeSignals = (signals, timeout) => {
2697
2949
 
2698
2950
  signals.forEach((signal) => signal.addEventListener('abort', onabort));
2699
2951
 
2700
- const {signal} = controller;
2952
+ const { signal } = controller;
2701
2953
 
2702
2954
  signal.unsubscribe = () => utils$1.asap(unsubscribe);
2703
2955
 
@@ -2740,7 +2992,7 @@ const readStream = async function* (stream) {
2740
2992
  const reader = stream.getReader();
2741
2993
  try {
2742
2994
  for (;;) {
2743
- const {done, value} = await reader.read();
2995
+ const { done, value } = await reader.read();
2744
2996
  if (done) {
2745
2997
  break;
2746
2998
  }
@@ -2763,64 +3015,69 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
2763
3015
  }
2764
3016
  };
2765
3017
 
2766
- return new ReadableStream({
2767
- async pull(controller) {
2768
- try {
2769
- const {done, value} = await iterator.next();
3018
+ return new ReadableStream(
3019
+ {
3020
+ async pull(controller) {
3021
+ try {
3022
+ const { done, value } = await iterator.next();
2770
3023
 
2771
- if (done) {
2772
- _onFinish();
2773
- controller.close();
2774
- return;
2775
- }
3024
+ if (done) {
3025
+ _onFinish();
3026
+ controller.close();
3027
+ return;
3028
+ }
2776
3029
 
2777
- let len = value.byteLength;
2778
- if (onProgress) {
2779
- let loadedBytes = bytes += len;
2780
- onProgress(loadedBytes);
3030
+ let len = value.byteLength;
3031
+ if (onProgress) {
3032
+ let loadedBytes = (bytes += len);
3033
+ onProgress(loadedBytes);
3034
+ }
3035
+ controller.enqueue(new Uint8Array(value));
3036
+ } catch (err) {
3037
+ _onFinish(err);
3038
+ throw err;
2781
3039
  }
2782
- controller.enqueue(new Uint8Array(value));
2783
- } catch (err) {
2784
- _onFinish(err);
2785
- throw err;
2786
- }
3040
+ },
3041
+ cancel(reason) {
3042
+ _onFinish(reason);
3043
+ return iterator.return();
3044
+ },
2787
3045
  },
2788
- cancel(reason) {
2789
- _onFinish(reason);
2790
- return iterator.return();
3046
+ {
3047
+ highWaterMark: 2,
2791
3048
  }
2792
- }, {
2793
- highWaterMark: 2
2794
- })
3049
+ );
2795
3050
  };
2796
3051
 
2797
3052
  const DEFAULT_CHUNK_SIZE = 64 * 1024;
2798
3053
 
2799
- const {isFunction} = utils$1;
3054
+ const { isFunction } = utils$1;
2800
3055
 
2801
- const globalFetchAPI = (({Request, Response}) => ({
2802
- Request, Response
3056
+ const globalFetchAPI = (({ Request, Response }) => ({
3057
+ Request,
3058
+ Response,
2803
3059
  }))(utils$1.global);
2804
3060
 
2805
- const {
2806
- ReadableStream: ReadableStream$1, TextEncoder
2807
- } = utils$1.global;
2808
-
3061
+ const { ReadableStream: ReadableStream$1, TextEncoder } = utils$1.global;
2809
3062
 
2810
3063
  const test = (fn, ...args) => {
2811
3064
  try {
2812
3065
  return !!fn(...args);
2813
3066
  } catch (e) {
2814
- return false
3067
+ return false;
2815
3068
  }
2816
3069
  };
2817
3070
 
2818
3071
  const factory = (env) => {
2819
- env = utils$1.merge.call({
2820
- skipUndefined: true
2821
- }, globalFetchAPI, env);
3072
+ env = utils$1.merge.call(
3073
+ {
3074
+ skipUndefined: true,
3075
+ },
3076
+ globalFetchAPI,
3077
+ env
3078
+ );
2822
3079
 
2823
- const {fetch: envFetch, Request, Response} = env;
3080
+ const { fetch: envFetch, Request, Response } = env;
2824
3081
  const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
2825
3082
  const isRequestSupported = isFunction(Request);
2826
3083
  const isResponseSupported = isFunction(Response);
@@ -2831,46 +3088,61 @@ const factory = (env) => {
2831
3088
 
2832
3089
  const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
2833
3090
 
2834
- const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
2835
- ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
2836
- async (str) => new Uint8Array(await new Request(str).arrayBuffer())
2837
- );
2838
-
2839
- const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
2840
- let duplexAccessed = false;
2841
-
2842
- const hasContentType = new Request(platform.origin, {
2843
- body: new ReadableStream$1(),
2844
- method: 'POST',
2845
- get duplex() {
2846
- duplexAccessed = true;
2847
- return 'half';
2848
- },
2849
- }).headers.has('Content-Type');
3091
+ const encodeText =
3092
+ isFetchSupported &&
3093
+ (typeof TextEncoder === 'function'
3094
+ ? (
3095
+ (encoder) => (str) =>
3096
+ encoder.encode(str)
3097
+ )(new TextEncoder())
3098
+ : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
3099
+
3100
+ const supportsRequestStream =
3101
+ isRequestSupported &&
3102
+ isReadableStreamSupported &&
3103
+ test(() => {
3104
+ let duplexAccessed = false;
3105
+
3106
+ const hasContentType = new Request(platform.origin, {
3107
+ body: new ReadableStream$1(),
3108
+ method: 'POST',
3109
+ get duplex() {
3110
+ duplexAccessed = true;
3111
+ return 'half';
3112
+ },
3113
+ }).headers.has('Content-Type');
2850
3114
 
2851
- return duplexAccessed && !hasContentType;
2852
- });
3115
+ return duplexAccessed && !hasContentType;
3116
+ });
2853
3117
 
2854
- const supportsResponseStream = isResponseSupported && isReadableStreamSupported &&
3118
+ const supportsResponseStream =
3119
+ isResponseSupported &&
3120
+ isReadableStreamSupported &&
2855
3121
  test(() => utils$1.isReadableStream(new Response('').body));
2856
3122
 
2857
3123
  const resolvers = {
2858
- stream: supportsResponseStream && ((res) => res.body)
3124
+ stream: supportsResponseStream && ((res) => res.body),
2859
3125
  };
2860
3126
 
2861
- isFetchSupported && ((() => {
2862
- ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
2863
- !resolvers[type] && (resolvers[type] = (res, config) => {
2864
- let method = res && res[type];
2865
-
2866
- if (method) {
2867
- return method.call(res);
2868
- }
2869
-
2870
- throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
3127
+ isFetchSupported &&
3128
+ (() => {
3129
+ ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
3130
+ !resolvers[type] &&
3131
+ (resolvers[type] = (res, config) => {
3132
+ let method = res && res[type];
3133
+
3134
+ if (method) {
3135
+ return method.call(res);
3136
+ }
3137
+
3138
+ throw new AxiosError$1(
3139
+ `Response type '${type}' is not supported`,
3140
+ AxiosError$1.ERR_NOT_SUPPORT,
3141
+ config
3142
+ );
3143
+ });
2871
3144
  });
2872
- });
2873
- })());
3145
+ })();
2874
3146
 
2875
3147
  const getBodyLength = async (body) => {
2876
3148
  if (body == null) {
@@ -2921,32 +3193,41 @@ const factory = (env) => {
2921
3193
  responseType,
2922
3194
  headers,
2923
3195
  withCredentials = 'same-origin',
2924
- fetchOptions
3196
+ fetchOptions,
2925
3197
  } = resolveConfig(config);
2926
3198
 
2927
3199
  let _fetch = envFetch || fetch;
2928
3200
 
2929
3201
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
2930
3202
 
2931
- let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
3203
+ let composedSignal = composeSignals$1(
3204
+ [signal, cancelToken && cancelToken.toAbortSignal()],
3205
+ timeout
3206
+ );
2932
3207
 
2933
3208
  let request = null;
2934
3209
 
2935
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
2936
- composedSignal.unsubscribe();
2937
- });
3210
+ const unsubscribe =
3211
+ composedSignal &&
3212
+ composedSignal.unsubscribe &&
3213
+ (() => {
3214
+ composedSignal.unsubscribe();
3215
+ });
2938
3216
 
2939
3217
  let requestContentLength;
2940
3218
 
2941
3219
  try {
2942
3220
  if (
2943
- onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
3221
+ onUploadProgress &&
3222
+ supportsRequestStream &&
3223
+ method !== 'get' &&
3224
+ method !== 'head' &&
2944
3225
  (requestContentLength = await resolveBodyLength(headers, data)) !== 0
2945
3226
  ) {
2946
3227
  let _request = new Request(url, {
2947
3228
  method: 'POST',
2948
3229
  body: data,
2949
- duplex: "half"
3230
+ duplex: 'half',
2950
3231
  });
2951
3232
 
2952
3233
  let contentTypeHeader;
@@ -2971,7 +3252,7 @@ const factory = (env) => {
2971
3252
 
2972
3253
  // Cloudflare Workers throws when credentials are defined
2973
3254
  // see https://github.com/cloudflare/workerd/issues/902
2974
- const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
3255
+ const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
2975
3256
 
2976
3257
  const resolvedOptions = {
2977
3258
  ...fetchOptions,
@@ -2979,29 +3260,35 @@ const factory = (env) => {
2979
3260
  method: method.toUpperCase(),
2980
3261
  headers: headers.normalize().toJSON(),
2981
3262
  body: data,
2982
- duplex: "half",
2983
- credentials: isCredentialsSupported ? withCredentials : undefined
3263
+ duplex: 'half',
3264
+ credentials: isCredentialsSupported ? withCredentials : undefined,
2984
3265
  };
2985
3266
 
2986
3267
  request = isRequestSupported && new Request(url, resolvedOptions);
2987
3268
 
2988
- let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
3269
+ let response = await (isRequestSupported
3270
+ ? _fetch(request, fetchOptions)
3271
+ : _fetch(url, resolvedOptions));
2989
3272
 
2990
- const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
3273
+ const isStreamResponse =
3274
+ supportsResponseStream && (responseType === 'stream' || responseType === 'response');
2991
3275
 
2992
3276
  if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
2993
3277
  const options = {};
2994
3278
 
2995
- ['status', 'statusText', 'headers'].forEach(prop => {
3279
+ ['status', 'statusText', 'headers'].forEach((prop) => {
2996
3280
  options[prop] = response[prop];
2997
3281
  });
2998
3282
 
2999
3283
  const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
3000
3284
 
3001
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
3002
- responseContentLength,
3003
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
3004
- ) || [];
3285
+ const [onProgress, flush] =
3286
+ (onDownloadProgress &&
3287
+ progressEventDecorator(
3288
+ responseContentLength,
3289
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
3290
+ )) ||
3291
+ [];
3005
3292
 
3006
3293
  response = new Response(
3007
3294
  trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
@@ -3014,7 +3301,10 @@ const factory = (env) => {
3014
3301
 
3015
3302
  responseType = responseType || 'text';
3016
3303
 
3017
- let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
3304
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](
3305
+ response,
3306
+ config
3307
+ );
3018
3308
 
3019
3309
  !isStreamResponse && unsubscribe && unsubscribe();
3020
3310
 
@@ -3025,43 +3315,50 @@ const factory = (env) => {
3025
3315
  status: response.status,
3026
3316
  statusText: response.statusText,
3027
3317
  config,
3028
- request
3318
+ request,
3029
3319
  });
3030
- })
3320
+ });
3031
3321
  } catch (err) {
3032
3322
  unsubscribe && unsubscribe();
3033
3323
 
3034
3324
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3035
3325
  throw Object.assign(
3036
- new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
3326
+ new AxiosError$1(
3327
+ 'Network Error',
3328
+ AxiosError$1.ERR_NETWORK,
3329
+ config,
3330
+ request,
3331
+ err && err.response
3332
+ ),
3037
3333
  {
3038
- cause: err.cause || err
3334
+ cause: err.cause || err,
3039
3335
  }
3040
- )
3336
+ );
3041
3337
  }
3042
3338
 
3043
- throw AxiosError.from(err, err && err.code, config, request);
3339
+ throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
3044
3340
  }
3045
- }
3341
+ };
3046
3342
  };
3047
3343
 
3048
3344
  const seedCache = new Map();
3049
3345
 
3050
3346
  const getFetch = (config) => {
3051
3347
  let env = (config && config.env) || {};
3052
- const {fetch, Request, Response} = env;
3053
- const seeds = [
3054
- Request, Response, fetch
3055
- ];
3348
+ const { fetch, Request, Response } = env;
3349
+ const seeds = [Request, Response, fetch];
3056
3350
 
3057
- let len = seeds.length, i = len,
3058
- seed, target, map = seedCache;
3351
+ let len = seeds.length,
3352
+ i = len,
3353
+ seed,
3354
+ target,
3355
+ map = seedCache;
3059
3356
 
3060
3357
  while (i--) {
3061
3358
  seed = seeds[i];
3062
3359
  target = map.get(seed);
3063
3360
 
3064
- target === undefined && map.set(seed, target = (i ? new Map() : factory(env)));
3361
+ target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
3065
3362
 
3066
3363
  map = target;
3067
3364
  }
@@ -3077,7 +3374,7 @@ getFetch();
3077
3374
  * - `http` for Node.js
3078
3375
  * - `xhr` for browsers
3079
3376
  * - `fetch` for fetch API-based requests
3080
- *
3377
+ *
3081
3378
  * @type {Object<string, Function|Object>}
3082
3379
  */
3083
3380
  const knownAdapters = {
@@ -3085,7 +3382,7 @@ const knownAdapters = {
3085
3382
  xhr: xhrAdapter,
3086
3383
  fetch: {
3087
3384
  get: getFetch,
3088
- }
3385
+ },
3089
3386
  };
3090
3387
 
3091
3388
  // Assign adapter names for easier debugging and identification
@@ -3102,7 +3399,7 @@ utils$1.forEach(knownAdapters, (fn, value) => {
3102
3399
 
3103
3400
  /**
3104
3401
  * Render a rejection reason string for unknown or unsupported adapters
3105
- *
3402
+ *
3106
3403
  * @param {string} reason
3107
3404
  * @returns {string}
3108
3405
  */
@@ -3110,17 +3407,18 @@ const renderReason = (reason) => `- ${reason}`;
3110
3407
 
3111
3408
  /**
3112
3409
  * Check if the adapter is resolved (function, null, or false)
3113
- *
3410
+ *
3114
3411
  * @param {Function|null|false} adapter
3115
3412
  * @returns {boolean}
3116
3413
  */
3117
- const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
3414
+ const isResolvedHandle = (adapter) =>
3415
+ utils$1.isFunction(adapter) || adapter === null || adapter === false;
3118
3416
 
3119
3417
  /**
3120
3418
  * Get the first suitable adapter from the provided list.
3121
3419
  * Tries each adapter in order until a supported one is found.
3122
3420
  * Throws an AxiosError if no adapter is suitable.
3123
- *
3421
+ *
3124
3422
  * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
3125
3423
  * @param {Object} config - Axios request configuration
3126
3424
  * @throws {AxiosError} If no suitable adapter is available
@@ -3145,7 +3443,7 @@ function getAdapter(adapters, config) {
3145
3443
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3146
3444
 
3147
3445
  if (adapter === undefined) {
3148
- throw new AxiosError(`Unknown adapter '${id}'`);
3446
+ throw new AxiosError$1(`Unknown adapter '${id}'`);
3149
3447
  }
3150
3448
  }
3151
3449
 
@@ -3157,16 +3455,19 @@ function getAdapter(adapters, config) {
3157
3455
  }
3158
3456
 
3159
3457
  if (!adapter) {
3160
- const reasons = Object.entries(rejectedReasons)
3161
- .map(([id, state]) => `adapter ${id} ` +
3458
+ const reasons = Object.entries(rejectedReasons).map(
3459
+ ([id, state]) =>
3460
+ `adapter ${id} ` +
3162
3461
  (state === false ? 'is not supported by the environment' : 'is not available in the build')
3163
- );
3462
+ );
3164
3463
 
3165
- let s = length ?
3166
- (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
3167
- 'as no adapter specified';
3464
+ let s = length
3465
+ ? reasons.length > 1
3466
+ ? 'since :\n' + reasons.map(renderReason).join('\n')
3467
+ : ' ' + renderReason(reasons[0])
3468
+ : 'as no adapter specified';
3168
3469
 
3169
- throw new AxiosError(
3470
+ throw new AxiosError$1(
3170
3471
  `There is no suitable adapter to dispatch the request ` + s,
3171
3472
  'ERR_NOT_SUPPORT'
3172
3473
  );
@@ -3189,7 +3490,7 @@ var adapters = {
3189
3490
  * Exposes all known adapters
3190
3491
  * @type {Object<string, Function|Object>}
3191
3492
  */
3192
- adapters: knownAdapters
3493
+ adapters: knownAdapters,
3193
3494
  };
3194
3495
 
3195
3496
  /**
@@ -3205,7 +3506,7 @@ function throwIfCancellationRequested(config) {
3205
3506
  }
3206
3507
 
3207
3508
  if (config.signal && config.signal.aborted) {
3208
- throw new CanceledError(null, config);
3509
+ throw new CanceledError$1(null, config);
3209
3510
  }
3210
3511
  }
3211
3512
 
@@ -3222,10 +3523,7 @@ function dispatchRequest(config) {
3222
3523
  config.headers = AxiosHeaders$1.from(config.headers);
3223
3524
 
3224
3525
  // Transform request data
3225
- config.data = transformData.call(
3226
- config,
3227
- config.transformRequest
3228
- );
3526
+ config.data = transformData.call(config, config.transformRequest);
3229
3527
 
3230
3528
  if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
3231
3529
  config.headers.setContentType('application/x-www-form-urlencoded', false);
@@ -3233,39 +3531,38 @@ function dispatchRequest(config) {
3233
3531
 
3234
3532
  const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
3235
3533
 
3236
- return adapter(config).then(function onAdapterResolution(response) {
3237
- throwIfCancellationRequested(config);
3238
-
3239
- // Transform response data
3240
- response.data = transformData.call(
3241
- config,
3242
- config.transformResponse,
3243
- response
3244
- );
3245
-
3246
- response.headers = AxiosHeaders$1.from(response.headers);
3247
-
3248
- return response;
3249
- }, function onAdapterRejection(reason) {
3250
- if (!isCancel(reason)) {
3534
+ return adapter(config).then(
3535
+ function onAdapterResolution(response) {
3251
3536
  throwIfCancellationRequested(config);
3252
3537
 
3253
3538
  // Transform response data
3254
- if (reason && reason.response) {
3255
- reason.response.data = transformData.call(
3256
- config,
3257
- config.transformResponse,
3258
- reason.response
3259
- );
3260
- reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
3539
+ response.data = transformData.call(config, config.transformResponse, response);
3540
+
3541
+ response.headers = AxiosHeaders$1.from(response.headers);
3542
+
3543
+ return response;
3544
+ },
3545
+ function onAdapterRejection(reason) {
3546
+ if (!isCancel(reason)) {
3547
+ throwIfCancellationRequested(config);
3548
+
3549
+ // Transform response data
3550
+ if (reason && reason.response) {
3551
+ reason.response.data = transformData.call(
3552
+ config,
3553
+ config.transformResponse,
3554
+ reason.response
3555
+ );
3556
+ reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
3557
+ }
3261
3558
  }
3262
- }
3263
3559
 
3264
- return Promise.reject(reason);
3265
- });
3560
+ return Promise.reject(reason);
3561
+ }
3562
+ );
3266
3563
  }
3267
3564
 
3268
- const VERSION = "1.13.2";
3565
+ const VERSION = "1.13.6";
3269
3566
 
3270
3567
  const validators$1 = {};
3271
3568
 
@@ -3289,15 +3586,23 @@ const deprecatedWarnings = {};
3289
3586
  */
3290
3587
  validators$1.transitional = function transitional(validator, version, message) {
3291
3588
  function formatMessage(opt, desc) {
3292
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
3589
+ return (
3590
+ '[Axios v' +
3591
+ VERSION +
3592
+ "] Transitional option '" +
3593
+ opt +
3594
+ "'" +
3595
+ desc +
3596
+ (message ? '. ' + message : '')
3597
+ );
3293
3598
  }
3294
3599
 
3295
3600
  // eslint-disable-next-line func-names
3296
3601
  return (value, opt, opts) => {
3297
3602
  if (validator === false) {
3298
- throw new AxiosError(
3603
+ throw new AxiosError$1(
3299
3604
  formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
3300
- AxiosError.ERR_DEPRECATED
3605
+ AxiosError$1.ERR_DEPRECATED
3301
3606
  );
3302
3607
  }
3303
3608
 
@@ -3321,7 +3626,7 @@ validators$1.spelling = function spelling(correctSpelling) {
3321
3626
  // eslint-disable-next-line no-console
3322
3627
  console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
3323
3628
  return true;
3324
- }
3629
+ };
3325
3630
  };
3326
3631
 
3327
3632
  /**
@@ -3336,7 +3641,7 @@ validators$1.spelling = function spelling(correctSpelling) {
3336
3641
 
3337
3642
  function assertOptions(options, schema, allowUnknown) {
3338
3643
  if (typeof options !== 'object') {
3339
- throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
3644
+ throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
3340
3645
  }
3341
3646
  const keys = Object.keys(options);
3342
3647
  let i = keys.length;
@@ -3347,19 +3652,22 @@ function assertOptions(options, schema, allowUnknown) {
3347
3652
  const value = options[opt];
3348
3653
  const result = value === undefined || validator(value, opt, options);
3349
3654
  if (result !== true) {
3350
- throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
3655
+ throw new AxiosError$1(
3656
+ 'option ' + opt + ' must be ' + result,
3657
+ AxiosError$1.ERR_BAD_OPTION_VALUE
3658
+ );
3351
3659
  }
3352
3660
  continue;
3353
3661
  }
3354
3662
  if (allowUnknown !== true) {
3355
- throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
3663
+ throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
3356
3664
  }
3357
3665
  }
3358
3666
  }
3359
3667
 
3360
3668
  var validator = {
3361
3669
  assertOptions,
3362
- validators: validators$1
3670
+ validators: validators$1,
3363
3671
  };
3364
3672
 
3365
3673
  const validators = validator.validators;
@@ -3376,7 +3684,7 @@ class Axios {
3376
3684
  this.defaults = instanceConfig || {};
3377
3685
  this.interceptors = {
3378
3686
  request: new InterceptorManager$1(),
3379
- response: new InterceptorManager$1()
3687
+ response: new InterceptorManager$1(),
3380
3688
  };
3381
3689
  }
3382
3690
 
@@ -3427,26 +3735,35 @@ class Axios {
3427
3735
 
3428
3736
  config = mergeConfig(this.defaults, config);
3429
3737
 
3430
- const {transitional, paramsSerializer, headers} = config;
3738
+ const { transitional, paramsSerializer, headers } = config;
3431
3739
 
3432
3740
  if (transitional !== undefined) {
3433
- validator.assertOptions(transitional, {
3434
- silentJSONParsing: validators.transitional(validators.boolean),
3435
- forcedJSONParsing: validators.transitional(validators.boolean),
3436
- clarifyTimeoutError: validators.transitional(validators.boolean)
3437
- }, false);
3741
+ validator.assertOptions(
3742
+ transitional,
3743
+ {
3744
+ silentJSONParsing: validators.transitional(validators.boolean),
3745
+ forcedJSONParsing: validators.transitional(validators.boolean),
3746
+ clarifyTimeoutError: validators.transitional(validators.boolean),
3747
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
3748
+ },
3749
+ false
3750
+ );
3438
3751
  }
3439
3752
 
3440
3753
  if (paramsSerializer != null) {
3441
3754
  if (utils$1.isFunction(paramsSerializer)) {
3442
3755
  config.paramsSerializer = {
3443
- serialize: paramsSerializer
3756
+ serialize: paramsSerializer,
3444
3757
  };
3445
3758
  } else {
3446
- validator.assertOptions(paramsSerializer, {
3447
- encode: validators.function,
3448
- serialize: validators.function
3449
- }, true);
3759
+ validator.assertOptions(
3760
+ paramsSerializer,
3761
+ {
3762
+ encode: validators.function,
3763
+ serialize: validators.function,
3764
+ },
3765
+ true
3766
+ );
3450
3767
  }
3451
3768
  }
3452
3769
 
@@ -3457,26 +3774,25 @@ class Axios {
3457
3774
  config.allowAbsoluteUrls = true;
3458
3775
  }
3459
3776
 
3460
- validator.assertOptions(config, {
3461
- baseUrl: validators.spelling('baseURL'),
3462
- withXsrfToken: validators.spelling('withXSRFToken')
3463
- }, true);
3777
+ validator.assertOptions(
3778
+ config,
3779
+ {
3780
+ baseUrl: validators.spelling('baseURL'),
3781
+ withXsrfToken: validators.spelling('withXSRFToken'),
3782
+ },
3783
+ true
3784
+ );
3464
3785
 
3465
3786
  // Set config.method
3466
3787
  config.method = (config.method || this.defaults.method || 'get').toLowerCase();
3467
3788
 
3468
3789
  // Flatten headers
3469
- let contextHeaders = headers && utils$1.merge(
3470
- headers.common,
3471
- headers[config.method]
3472
- );
3790
+ let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
3473
3791
 
3474
- headers && utils$1.forEach(
3475
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
3476
- (method) => {
3792
+ headers &&
3793
+ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
3477
3794
  delete headers[method];
3478
- }
3479
- );
3795
+ });
3480
3796
 
3481
3797
  config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
3482
3798
 
@@ -3490,7 +3806,15 @@ class Axios {
3490
3806
 
3491
3807
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
3492
3808
 
3493
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3809
+ const transitional = config.transitional || transitionalDefaults;
3810
+ const legacyInterceptorReqResOrdering =
3811
+ transitional && transitional.legacyInterceptorReqResOrdering;
3812
+
3813
+ if (legacyInterceptorReqResOrdering) {
3814
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3815
+ } else {
3816
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
3817
+ }
3494
3818
  });
3495
3819
 
3496
3820
  const responseInterceptorChain = [];
@@ -3558,12 +3882,14 @@ class Axios {
3558
3882
  // Provide aliases for supported request methods
3559
3883
  utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
3560
3884
  /*eslint func-names:0*/
3561
- Axios.prototype[method] = function(url, config) {
3562
- return this.request(mergeConfig(config || {}, {
3563
- method,
3564
- url,
3565
- data: (config || {}).data
3566
- }));
3885
+ Axios.prototype[method] = function (url, config) {
3886
+ return this.request(
3887
+ mergeConfig(config || {}, {
3888
+ method,
3889
+ url,
3890
+ data: (config || {}).data,
3891
+ })
3892
+ );
3567
3893
  };
3568
3894
  });
3569
3895
 
@@ -3572,14 +3898,18 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
3572
3898
 
3573
3899
  function generateHTTPMethod(isForm) {
3574
3900
  return function httpMethod(url, data, config) {
3575
- return this.request(mergeConfig(config || {}, {
3576
- method,
3577
- headers: isForm ? {
3578
- 'Content-Type': 'multipart/form-data'
3579
- } : {},
3580
- url,
3581
- data
3582
- }));
3901
+ return this.request(
3902
+ mergeConfig(config || {}, {
3903
+ method,
3904
+ headers: isForm
3905
+ ? {
3906
+ 'Content-Type': 'multipart/form-data',
3907
+ }
3908
+ : {},
3909
+ url,
3910
+ data,
3911
+ })
3912
+ );
3583
3913
  };
3584
3914
  }
3585
3915
 
@@ -3612,7 +3942,7 @@ class CancelToken {
3612
3942
  const token = this;
3613
3943
 
3614
3944
  // eslint-disable-next-line func-names
3615
- this.promise.then(cancel => {
3945
+ this.promise.then((cancel) => {
3616
3946
  if (!token._listeners) return;
3617
3947
 
3618
3948
  let i = token._listeners.length;
@@ -3624,10 +3954,10 @@ class CancelToken {
3624
3954
  });
3625
3955
 
3626
3956
  // eslint-disable-next-line func-names
3627
- this.promise.then = onfulfilled => {
3957
+ this.promise.then = (onfulfilled) => {
3628
3958
  let _resolve;
3629
3959
  // eslint-disable-next-line func-names
3630
- const promise = new Promise(resolve => {
3960
+ const promise = new Promise((resolve) => {
3631
3961
  token.subscribe(resolve);
3632
3962
  _resolve = resolve;
3633
3963
  }).then(onfulfilled);
@@ -3645,7 +3975,7 @@ class CancelToken {
3645
3975
  return;
3646
3976
  }
3647
3977
 
3648
- token.reason = new CanceledError(message, config, request);
3978
+ token.reason = new CanceledError$1(message, config, request);
3649
3979
  resolvePromise(token.reason);
3650
3980
  });
3651
3981
  }
@@ -3715,7 +4045,7 @@ class CancelToken {
3715
4045
  });
3716
4046
  return {
3717
4047
  token,
3718
- cancel
4048
+ cancel,
3719
4049
  };
3720
4050
  }
3721
4051
  }
@@ -3729,7 +4059,7 @@ var CancelToken$1 = CancelToken;
3729
4059
  *
3730
4060
  * ```js
3731
4061
  * function f(x, y, z) {}
3732
- * var args = [1, 2, 3];
4062
+ * const args = [1, 2, 3];
3733
4063
  * f.apply(null, args);
3734
4064
  * ```
3735
4065
  *
@@ -3757,7 +4087,7 @@ function spread(callback) {
3757
4087
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
3758
4088
  */
3759
4089
  function isAxiosError(payload) {
3760
- return utils$1.isObject(payload) && (payload.isAxiosError === true);
4090
+ return utils$1.isObject(payload) && payload.isAxiosError === true;
3761
4091
  }
3762
4092
 
3763
4093
  const HttpStatusCode = {
@@ -3850,10 +4180,10 @@ function createInstance(defaultConfig) {
3850
4180
  const instance = bind(Axios$1.prototype.request, context);
3851
4181
 
3852
4182
  // Copy axios.prototype to instance
3853
- utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
4183
+ utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
3854
4184
 
3855
4185
  // Copy context to instance
3856
- utils$1.extend(instance, context, null, {allOwnKeys: true});
4186
+ utils$1.extend(instance, context, null, { allOwnKeys: true });
3857
4187
 
3858
4188
  // Factory for creating new instances
3859
4189
  instance.create = function create(instanceConfig) {
@@ -3870,14 +4200,14 @@ const axios = createInstance(defaults$1);
3870
4200
  axios.Axios = Axios$1;
3871
4201
 
3872
4202
  // Expose Cancel & CancelToken
3873
- axios.CanceledError = CanceledError;
4203
+ axios.CanceledError = CanceledError$1;
3874
4204
  axios.CancelToken = CancelToken$1;
3875
4205
  axios.isCancel = isCancel;
3876
4206
  axios.VERSION = VERSION;
3877
4207
  axios.toFormData = toFormData;
3878
4208
 
3879
4209
  // Expose AxiosError class
3880
- axios.AxiosError = AxiosError;
4210
+ axios.AxiosError = AxiosError$1;
3881
4211
 
3882
4212
  // alias for CanceledError for backward compatibility
3883
4213
  axios.Cancel = axios.CanceledError;
@@ -3897,7 +4227,7 @@ axios.mergeConfig = mergeConfig;
3897
4227
 
3898
4228
  axios.AxiosHeaders = AxiosHeaders$1;
3899
4229
 
3900
- axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
4230
+ axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
3901
4231
 
3902
4232
  axios.getAdapter = adapters.getAdapter;
3903
4233