cloudstructs 0.12.7 → 0.12.9

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 (537) hide show
  1. package/.jsii +5 -5
  2. package/assets/slack-textract/detect.lambda/index.js +437 -344
  3. package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
  4. package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
  5. package/lib/codecommit-mirror/index.js +2 -2
  6. package/lib/dmarc/index.js +1 -1
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/mjml-template/index.js +1 -1
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/index.js +1 -1
  14. package/lib/slack-textract/index.js +1 -1
  15. package/lib/ssl-server-test/index.js +1 -1
  16. package/lib/state-machine-cr-provider/index.js +1 -1
  17. package/lib/static-website/index.js +1 -1
  18. package/lib/toolkit-cleaner/index.js +3 -3
  19. package/lib/url-shortener/index.js +1 -1
  20. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  21. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  23. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +101 -33
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  34. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
  35. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  36. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  37. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  38. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  39. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  40. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  41. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  42. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  43. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  44. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  45. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  46. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  47. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  48. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  49. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  50. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  51. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
  52. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  53. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  54. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  55. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  56. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  57. package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
  58. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
  59. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
  60. package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
  61. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
  62. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
  63. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
  64. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
  66. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
  67. package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
  68. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
  69. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
  70. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  71. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  72. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  73. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  74. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  75. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  76. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  77. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  78. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  79. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  80. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  81. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  82. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  83. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  84. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  85. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  86. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  87. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  88. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  89. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  90. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  91. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  92. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  93. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  94. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  95. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  96. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  97. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  98. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  99. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  100. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  101. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  102. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  103. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  104. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  105. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  106. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  107. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  108. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  109. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  110. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  111. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  112. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  113. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  115. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  116. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  119. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  120. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  121. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  122. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  123. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  124. package/node_modules/@aws-sdk/client-sso/package.json +18 -18
  125. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  126. package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
  127. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
  128. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
  129. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  130. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  131. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
  132. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  133. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  134. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  135. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
  136. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  137. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  138. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  139. package/node_modules/@aws-sdk/core/package.json +7 -7
  140. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  141. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  142. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  143. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  144. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  145. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  146. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  147. package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
  148. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  149. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  150. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  151. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  152. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  153. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  154. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  155. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  156. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  157. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  158. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  159. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  160. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  161. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  162. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  163. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  164. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  165. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  166. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  167. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  168. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  169. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  170. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  171. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  172. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  173. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  174. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  175. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  176. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  177. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  178. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  179. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  180. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  181. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  182. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  183. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  184. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  185. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  186. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  187. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  188. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  189. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  190. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  191. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  192. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  193. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  194. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  195. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  196. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  197. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  198. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  199. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  200. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  201. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  202. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  203. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  204. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  205. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  206. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  207. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  208. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
  220. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  228. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  255. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
  256. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
  257. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
  258. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
  259. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
  260. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
  261. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
  262. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
  263. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
  264. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
  265. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
  266. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
  267. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  268. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
  269. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
  270. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
  271. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
  272. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
  273. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
  274. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
  275. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
  276. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
  277. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
  278. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
  279. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
  280. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
  281. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
  282. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
  283. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  284. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
  285. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
  286. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
  287. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
  288. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
  289. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
  290. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
  291. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
  292. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  293. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
  294. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
  295. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
  296. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
  297. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
  298. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
  299. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
  300. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
  301. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
  302. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
  303. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
  304. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
  305. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
  306. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
  307. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
  308. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
  309. package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
  310. package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
  311. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  312. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  313. package/node_modules/@aws-sdk/types/package.json +3 -3
  314. package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
  315. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  316. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  317. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  318. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
  319. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  320. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  321. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
  322. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  323. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  324. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  325. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  326. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -2
  327. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
  328. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  329. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
  330. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
  331. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
  332. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
  333. package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
  334. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  335. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
  336. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  337. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
  338. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  339. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
  340. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  341. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  342. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
  343. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
  344. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
  345. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
  346. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
  347. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  348. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  349. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  350. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  351. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  352. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  353. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  354. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  355. package/node_modules/@slack/types/dist/chunk.js +3 -0
  356. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  357. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  358. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  359. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  360. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  361. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  362. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  363. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  364. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  365. package/node_modules/@slack/types/dist/index.js +1 -0
  366. package/node_modules/@slack/types/dist/index.js.map +1 -1
  367. package/node_modules/@slack/types/package.json +8 -8
  368. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  369. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  370. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  371. package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
  372. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  373. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  374. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  375. package/node_modules/@slack/web-api/dist/index.js +3 -1
  376. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  377. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  378. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  379. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  380. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  381. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  382. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -6
  383. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  384. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
  385. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  386. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
  387. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  388. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  389. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
  390. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
  391. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
  392. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
  393. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
  394. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  395. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  396. package/node_modules/@slack/web-api/package.json +10 -10
  397. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
  398. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
  399. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
  400. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
  401. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  402. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
  403. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
  404. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  405. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
  406. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  407. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  408. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  409. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  410. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  411. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  412. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  413. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  414. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  415. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  416. package/node_modules/@smithy/core/package.json +2 -2
  417. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  418. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  419. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
  420. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
  421. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
  422. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  423. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
  424. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  425. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  426. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  427. package/node_modules/@smithy/smithy-client/package.json +4 -4
  428. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  429. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  430. package/node_modules/@smithy/util-stream/package.json +6 -6
  431. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  432. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -6
  433. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  434. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
  435. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  436. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
  437. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  438. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  439. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
  440. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
  441. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
  442. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
  443. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
  444. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  445. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  446. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  447. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  448. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  449. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  450. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
  451. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  452. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
  453. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  454. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
  455. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  456. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  457. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
  458. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
  459. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
  460. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
  461. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
  462. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  463. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  464. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  465. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
  466. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  467. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
  468. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  469. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
  470. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  471. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  472. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
  473. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
  474. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
  475. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
  476. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
  477. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  478. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  479. package/node_modules/axios/CHANGELOG.md +296 -239
  480. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  481. package/node_modules/axios/README.md +584 -447
  482. package/node_modules/axios/dist/axios.js +779 -897
  483. package/node_modules/axios/dist/axios.js.map +1 -1
  484. package/node_modules/axios/dist/axios.min.js +4 -2
  485. package/node_modules/axios/dist/axios.min.js.map +1 -1
  486. package/node_modules/axios/dist/browser/axios.cjs +353 -283
  487. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  488. package/node_modules/axios/dist/esm/axios.js +353 -283
  489. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  490. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  491. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  492. package/node_modules/axios/dist/node/axios.cjs +388 -315
  493. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  494. package/node_modules/axios/index.d.cts +22 -3
  495. package/node_modules/axios/index.d.ts +341 -116
  496. package/node_modules/axios/lib/adapters/README.md +1 -1
  497. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  498. package/node_modules/axios/lib/adapters/http.js +13 -10
  499. package/node_modules/axios/lib/adapters/xhr.js +2 -2
  500. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  501. package/node_modules/axios/lib/core/Axios.js +12 -3
  502. package/node_modules/axios/lib/core/AxiosError.js +65 -102
  503. package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
  504. package/node_modules/axios/lib/core/mergeConfig.js +24 -11
  505. package/node_modules/axios/lib/core/transformData.js +1 -1
  506. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  507. package/node_modules/axios/lib/env/data.js +1 -1
  508. package/node_modules/axios/lib/helpers/buildURL.js +7 -10
  509. package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
  510. package/node_modules/axios/lib/helpers/cookies.js +1 -1
  511. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
  512. package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
  513. package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
  514. package/node_modules/axios/lib/helpers/spread.js +1 -1
  515. package/node_modules/axios/lib/utils.js +221 -140
  516. package/node_modules/axios/package.json +49 -68
  517. package/node_modules/bowser/README.md +72 -3
  518. package/node_modules/bowser/bundled.js +1 -1
  519. package/node_modules/bowser/es5.js +1 -1
  520. package/node_modules/bowser/index.d.ts +44 -6
  521. package/node_modules/bowser/package.json +10 -5
  522. package/node_modules/bowser/src/bowser.js +24 -8
  523. package/node_modules/bowser/src/constants.js +8 -0
  524. package/node_modules/bowser/src/parser-browsers.js +89 -0
  525. package/node_modules/bowser/src/parser-platforms.js +42 -0
  526. package/node_modules/bowser/src/parser.js +86 -5
  527. package/node_modules/semver/README.md +3 -2
  528. package/node_modules/semver/bin/semver.js +1 -1
  529. package/node_modules/semver/functions/diff.js +1 -1
  530. package/node_modules/semver/internal/re.js +2 -2
  531. package/node_modules/semver/package.json +4 -4
  532. package/node_modules/semver/ranges/subset.js +1 -1
  533. package/package.json +20 -20
  534. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  535. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  536. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  537. package/node_modules/bowser/CHANGELOG.md +0 -218
@@ -1,4 +1,4 @@
1
- /*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors */
2
2
  /**
3
3
  * Create a bound version of a function with a specified `this` context
4
4
  *
@@ -14,30 +14,30 @@ function bind(fn, thisArg) {
14
14
 
15
15
  // utils is a library of generic helper functions non-specific to axios
16
16
 
17
- const {toString} = Object.prototype;
18
- const {getPrototypeOf} = Object;
19
- const {iterator, toStringTag} = Symbol;
17
+ const { toString } = Object.prototype;
18
+ const { getPrototypeOf } = Object;
19
+ const { iterator, toStringTag } = Symbol;
20
20
 
21
- const kindOf = (cache => thing => {
22
- const str = toString.call(thing);
23
- return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
21
+ const kindOf = ((cache) => (thing) => {
22
+ const str = toString.call(thing);
23
+ return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
24
24
  })(Object.create(null));
25
25
 
26
26
  const kindOfTest = (type) => {
27
27
  type = type.toLowerCase();
28
- return (thing) => kindOf(thing) === type
28
+ return (thing) => kindOf(thing) === type;
29
29
  };
30
30
 
31
- const typeOfTest = type => thing => typeof thing === type;
31
+ const typeOfTest = (type) => (thing) => typeof thing === type;
32
32
 
33
33
  /**
34
- * Determine if a value is an Array
34
+ * Determine if a value is a non-null object
35
35
  *
36
36
  * @param {Object} val The value to test
37
37
  *
38
38
  * @returns {boolean} True if value is an Array, otherwise false
39
39
  */
40
- const {isArray} = Array;
40
+ const { isArray } = Array;
41
41
 
42
42
  /**
43
43
  * Determine if a value is undefined
@@ -46,7 +46,7 @@ const {isArray} = Array;
46
46
  *
47
47
  * @returns {boolean} True if the value is undefined, otherwise false
48
48
  */
49
- const isUndefined = typeOfTest('undefined');
49
+ const isUndefined = typeOfTest("undefined");
50
50
 
51
51
  /**
52
52
  * Determine if a value is a Buffer
@@ -56,8 +56,14 @@ const isUndefined = typeOfTest('undefined');
56
56
  * @returns {boolean} True if value is a Buffer, otherwise false
57
57
  */
58
58
  function isBuffer(val) {
59
- return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
60
- && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
59
+ return (
60
+ val !== null &&
61
+ !isUndefined(val) &&
62
+ val.constructor !== null &&
63
+ !isUndefined(val.constructor) &&
64
+ isFunction$1(val.constructor.isBuffer) &&
65
+ val.constructor.isBuffer(val)
66
+ );
61
67
  }
62
68
 
63
69
  /**
@@ -67,8 +73,7 @@ function isBuffer(val) {
67
73
  *
68
74
  * @returns {boolean} True if value is an ArrayBuffer, otherwise false
69
75
  */
70
- const isArrayBuffer = kindOfTest('ArrayBuffer');
71
-
76
+ const isArrayBuffer = kindOfTest("ArrayBuffer");
72
77
 
73
78
  /**
74
79
  * Determine if a value is a view on an ArrayBuffer
@@ -79,10 +84,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
79
84
  */
80
85
  function isArrayBufferView(val) {
81
86
  let result;
82
- if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
87
+ if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
83
88
  result = ArrayBuffer.isView(val);
84
89
  } else {
85
- result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
90
+ result = val && val.buffer && isArrayBuffer(val.buffer);
86
91
  }
87
92
  return result;
88
93
  }
@@ -94,7 +99,7 @@ function isArrayBufferView(val) {
94
99
  *
95
100
  * @returns {boolean} True if value is a String, otherwise false
96
101
  */
97
- const isString = typeOfTest('string');
102
+ const isString = typeOfTest("string");
98
103
 
99
104
  /**
100
105
  * Determine if a value is a Function
@@ -102,7 +107,7 @@ const isString = typeOfTest('string');
102
107
  * @param {*} val The value to test
103
108
  * @returns {boolean} True if value is a Function, otherwise false
104
109
  */
105
- const isFunction$1 = typeOfTest('function');
110
+ const isFunction$1 = typeOfTest("function");
106
111
 
107
112
  /**
108
113
  * Determine if a value is a Number
@@ -111,7 +116,7 @@ const isFunction$1 = typeOfTest('function');
111
116
  *
112
117
  * @returns {boolean} True if value is a Number, otherwise false
113
118
  */
114
- const isNumber = typeOfTest('number');
119
+ const isNumber = typeOfTest("number");
115
120
 
116
121
  /**
117
122
  * Determine if a value is an Object
@@ -120,7 +125,7 @@ const isNumber = typeOfTest('number');
120
125
  *
121
126
  * @returns {boolean} True if value is an Object, otherwise false
122
127
  */
123
- const isObject = (thing) => thing !== null && typeof thing === 'object';
128
+ const isObject = (thing) => thing !== null && typeof thing === "object";
124
129
 
125
130
  /**
126
131
  * Determine if a value is a Boolean
@@ -128,7 +133,7 @@ const isObject = (thing) => thing !== null && typeof thing === 'object';
128
133
  * @param {*} thing The value to test
129
134
  * @returns {boolean} True if value is a Boolean, otherwise false
130
135
  */
131
- const isBoolean = thing => thing === true || thing === false;
136
+ const isBoolean = (thing) => thing === true || thing === false;
132
137
 
133
138
  /**
134
139
  * Determine if a value is a plain Object
@@ -138,12 +143,18 @@ const isBoolean = thing => thing === true || thing === false;
138
143
  * @returns {boolean} True if value is a plain Object, otherwise false
139
144
  */
140
145
  const isPlainObject = (val) => {
141
- if (kindOf(val) !== 'object') {
146
+ if (kindOf(val) !== "object") {
142
147
  return false;
143
148
  }
144
149
 
145
150
  const prototype = getPrototypeOf(val);
146
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
151
+ return (
152
+ (prototype === null ||
153
+ prototype === Object.prototype ||
154
+ Object.getPrototypeOf(prototype) === null) &&
155
+ !(toStringTag in val) &&
156
+ !(iterator in val)
157
+ );
147
158
  };
148
159
 
149
160
  /**
@@ -160,7 +171,10 @@ const isEmptyObject = (val) => {
160
171
  }
161
172
 
162
173
  try {
163
- return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
174
+ return (
175
+ Object.keys(val).length === 0 &&
176
+ Object.getPrototypeOf(val) === Object.prototype
177
+ );
164
178
  } catch (e) {
165
179
  // Fallback for any other objects that might cause RangeError with Object.keys()
166
180
  return false;
@@ -174,7 +188,7 @@ const isEmptyObject = (val) => {
174
188
  *
175
189
  * @returns {boolean} True if value is a Date, otherwise false
176
190
  */
177
- const isDate = kindOfTest('Date');
191
+ const isDate = kindOfTest("Date");
178
192
 
179
193
  /**
180
194
  * Determine if a value is a File
@@ -183,7 +197,7 @@ const isDate = kindOfTest('Date');
183
197
  *
184
198
  * @returns {boolean} True if value is a File, otherwise false
185
199
  */
186
- const isFile = kindOfTest('File');
200
+ const isFile = kindOfTest("File");
187
201
 
188
202
  /**
189
203
  * Determine if a value is a Blob
@@ -192,7 +206,7 @@ const isFile = kindOfTest('File');
192
206
  *
193
207
  * @returns {boolean} True if value is a Blob, otherwise false
194
208
  */
195
- const isBlob = kindOfTest('Blob');
209
+ const isBlob = kindOfTest("Blob");
196
210
 
197
211
  /**
198
212
  * Determine if a value is a FileList
@@ -201,7 +215,7 @@ const isBlob = kindOfTest('Blob');
201
215
  *
202
216
  * @returns {boolean} True if value is a File, otherwise false
203
217
  */
204
- const isFileList = kindOfTest('FileList');
218
+ const isFileList = kindOfTest("FileList");
205
219
 
206
220
  /**
207
221
  * Determine if a value is a Stream
@@ -221,15 +235,16 @@ const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
221
235
  */
222
236
  const isFormData = (thing) => {
223
237
  let kind;
224
- return thing && (
225
- (typeof FormData === 'function' && thing instanceof FormData) || (
226
- isFunction$1(thing.append) && (
227
- (kind = kindOf(thing)) === 'formdata' ||
228
- // detect form-data instance
229
- (kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]')
230
- )
231
- )
232
- )
238
+ return (
239
+ thing &&
240
+ ((typeof FormData === "function" && thing instanceof FormData) ||
241
+ (isFunction$1(thing.append) &&
242
+ ((kind = kindOf(thing)) === "formdata" ||
243
+ // detect form-data instance
244
+ (kind === "object" &&
245
+ isFunction$1(thing.toString) &&
246
+ thing.toString() === "[object FormData]"))))
247
+ );
233
248
  };
234
249
 
235
250
  /**
@@ -239,9 +254,14 @@ const isFormData = (thing) => {
239
254
  *
240
255
  * @returns {boolean} True if value is a URLSearchParams object, otherwise false
241
256
  */
242
- const isURLSearchParams = kindOfTest('URLSearchParams');
257
+ const isURLSearchParams = kindOfTest("URLSearchParams");
243
258
 
244
- const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
259
+ const [isReadableStream, isRequest, isResponse, isHeaders] = [
260
+ "ReadableStream",
261
+ "Request",
262
+ "Response",
263
+ "Headers",
264
+ ].map(kindOfTest);
245
265
 
246
266
  /**
247
267
  * Trim excess whitespace off the beginning and end of a string
@@ -250,8 +270,8 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
250
270
  *
251
271
  * @returns {String} The String freed of excess whitespace
252
272
  */
253
- const trim = (str) => str.trim ?
254
- str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
273
+ const trim = (str) =>
274
+ str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
255
275
 
256
276
  /**
257
277
  * Iterate over an Array or an Object invoking a function for each item.
@@ -262,15 +282,16 @@ const trim = (str) => str.trim ?
262
282
  * If 'obj' is an Object callback will be called passing
263
283
  * the value, key, and complete object for each property.
264
284
  *
265
- * @param {Object|Array} obj The object to iterate
285
+ * @param {Object|Array<unknown>} obj The object to iterate
266
286
  * @param {Function} fn The callback to invoke for each item
267
287
  *
268
- * @param {Boolean} [allOwnKeys = false]
288
+ * @param {Object} [options]
289
+ * @param {Boolean} [options.allOwnKeys = false]
269
290
  * @returns {any}
270
291
  */
271
- function forEach(obj, fn, {allOwnKeys = false} = {}) {
292
+ function forEach(obj, fn, { allOwnKeys = false } = {}) {
272
293
  // Don't bother if no value provided
273
- if (obj === null || typeof obj === 'undefined') {
294
+ if (obj === null || typeof obj === "undefined") {
274
295
  return;
275
296
  }
276
297
 
@@ -278,7 +299,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
278
299
  let l;
279
300
 
280
301
  // Force an array if not already something iterable
281
- if (typeof obj !== 'object') {
302
+ if (typeof obj !== "object") {
282
303
  /*eslint no-param-reassign:0*/
283
304
  obj = [obj];
284
305
  }
@@ -295,7 +316,9 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
295
316
  }
296
317
 
297
318
  // Iterate over object keys
298
- const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
319
+ const keys = allOwnKeys
320
+ ? Object.getOwnPropertyNames(obj)
321
+ : Object.keys(obj);
299
322
  const len = keys.length;
300
323
  let key;
301
324
 
@@ -307,7 +330,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
307
330
  }
308
331
 
309
332
  function findKey(obj, key) {
310
- if (isBuffer(obj)){
333
+ if (isBuffer(obj)) {
311
334
  return null;
312
335
  }
313
336
 
@@ -327,10 +350,15 @@ function findKey(obj, key) {
327
350
  const _global = (() => {
328
351
  /*eslint no-undef:0*/
329
352
  if (typeof globalThis !== "undefined") return globalThis;
330
- return typeof self !== "undefined" ? self : (typeof window !== 'undefined' ? window : global)
353
+ return typeof self !== "undefined"
354
+ ? self
355
+ : typeof window !== "undefined"
356
+ ? window
357
+ : global;
331
358
  })();
332
359
 
333
- const isContextDefined = (context) => !isUndefined(context) && context !== _global;
360
+ const isContextDefined = (context) =>
361
+ !isUndefined(context) && context !== _global;
334
362
 
335
363
  /**
336
364
  * Accepts varargs expecting each argument to be an object, then
@@ -342,7 +370,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
342
370
  * Example:
343
371
  *
344
372
  * ```js
345
- * var result = merge({foo: 123}, {foo: 456});
373
+ * const result = merge({foo: 123}, {foo: 456});
346
374
  * console.log(result.foo); // outputs 456
347
375
  * ```
348
376
  *
@@ -351,10 +379,15 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
351
379
  * @returns {Object} Result of all merge properties
352
380
  */
353
381
  function merge(/* obj1, obj2, obj3, ... */) {
354
- const {caseless, skipUndefined} = isContextDefined(this) && this || {};
382
+ const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
355
383
  const result = {};
356
384
  const assignValue = (val, key) => {
357
- const targetKey = caseless && findKey(result, key) || key;
385
+ // Skip dangerous property names to prevent prototype pollution
386
+ if (key === "__proto__" || key === "constructor" || key === "prototype") {
387
+ return;
388
+ }
389
+
390
+ const targetKey = (caseless && findKey(result, key)) || key;
358
391
  if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
359
392
  result[targetKey] = merge(result[targetKey], val);
360
393
  } else if (isPlainObject(val)) {
@@ -379,17 +412,32 @@ function merge(/* obj1, obj2, obj3, ... */) {
379
412
  * @param {Object} b The object to copy properties from
380
413
  * @param {Object} thisArg The object to bind function to
381
414
  *
382
- * @param {Boolean} [allOwnKeys]
415
+ * @param {Object} [options]
416
+ * @param {Boolean} [options.allOwnKeys]
383
417
  * @returns {Object} The resulting value of object a
384
418
  */
385
- const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
386
- forEach(b, (val, key) => {
387
- if (thisArg && isFunction$1(val)) {
388
- a[key] = bind(val, thisArg);
389
- } else {
390
- a[key] = val;
391
- }
392
- }, {allOwnKeys});
419
+ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
420
+ forEach(
421
+ b,
422
+ (val, key) => {
423
+ if (thisArg && isFunction$1(val)) {
424
+ Object.defineProperty(a, key, {
425
+ value: bind(val, thisArg),
426
+ writable: true,
427
+ enumerable: true,
428
+ configurable: true,
429
+ });
430
+ } else {
431
+ Object.defineProperty(a, key, {
432
+ value: val,
433
+ writable: true,
434
+ enumerable: true,
435
+ configurable: true,
436
+ });
437
+ }
438
+ },
439
+ { allOwnKeys },
440
+ );
393
441
  return a;
394
442
  };
395
443
 
@@ -401,7 +449,7 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
401
449
  * @returns {string} content value without BOM
402
450
  */
403
451
  const stripBOM = (content) => {
404
- if (content.charCodeAt(0) === 0xFEFF) {
452
+ if (content.charCodeAt(0) === 0xfeff) {
405
453
  content = content.slice(1);
406
454
  }
407
455
  return content;
@@ -417,10 +465,18 @@ const stripBOM = (content) => {
417
465
  * @returns {void}
418
466
  */
419
467
  const inherits = (constructor, superConstructor, props, descriptors) => {
420
- constructor.prototype = Object.create(superConstructor.prototype, descriptors);
421
- constructor.prototype.constructor = constructor;
422
- Object.defineProperty(constructor, 'super', {
423
- value: superConstructor.prototype
468
+ constructor.prototype = Object.create(
469
+ superConstructor.prototype,
470
+ descriptors,
471
+ );
472
+ Object.defineProperty(constructor.prototype, "constructor", {
473
+ value: constructor,
474
+ writable: true,
475
+ enumerable: false,
476
+ configurable: true,
477
+ });
478
+ Object.defineProperty(constructor, "super", {
479
+ value: superConstructor.prototype,
424
480
  });
425
481
  props && Object.assign(constructor.prototype, props);
426
482
  };
@@ -449,13 +505,20 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
449
505
  i = props.length;
450
506
  while (i-- > 0) {
451
507
  prop = props[i];
452
- if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
508
+ if (
509
+ (!propFilter || propFilter(prop, sourceObj, destObj)) &&
510
+ !merged[prop]
511
+ ) {
453
512
  destObj[prop] = sourceObj[prop];
454
513
  merged[prop] = true;
455
514
  }
456
515
  }
457
516
  sourceObj = filter !== false && getPrototypeOf(sourceObj);
458
- } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
517
+ } while (
518
+ sourceObj &&
519
+ (!filter || filter(sourceObj, destObj)) &&
520
+ sourceObj !== Object.prototype
521
+ );
459
522
 
460
523
  return destObj;
461
524
  };
@@ -479,7 +542,6 @@ const endsWith = (str, searchString, position) => {
479
542
  return lastIndex !== -1 && lastIndex === position;
480
543
  };
481
544
 
482
-
483
545
  /**
484
546
  * Returns new array from array like object or null if failed
485
547
  *
@@ -508,12 +570,12 @@ const toArray = (thing) => {
508
570
  * @returns {Array}
509
571
  */
510
572
  // eslint-disable-next-line func-names
511
- const isTypedArray = (TypedArray => {
573
+ const isTypedArray = ((TypedArray) => {
512
574
  // eslint-disable-next-line func-names
513
- return thing => {
575
+ return (thing) => {
514
576
  return TypedArray && thing instanceof TypedArray;
515
577
  };
516
- })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
578
+ })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
517
579
 
518
580
  /**
519
581
  * For each entry in the object, call the function with the key and value.
@@ -556,18 +618,22 @@ const matchAll = (regExp, str) => {
556
618
  };
557
619
 
558
620
  /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
559
- const isHTMLForm = kindOfTest('HTMLFormElement');
621
+ const isHTMLForm = kindOfTest("HTMLFormElement");
560
622
 
561
- const toCamelCase = str => {
562
- return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
563
- function replacer(m, p1, p2) {
623
+ const toCamelCase = (str) => {
624
+ return str
625
+ .toLowerCase()
626
+ .replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
564
627
  return p1.toUpperCase() + p2;
565
- }
566
- );
628
+ });
567
629
  };
568
630
 
569
631
  /* Creating a function that will check if an object has a property. */
570
- const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
632
+ const hasOwnProperty = (
633
+ ({ hasOwnProperty }) =>
634
+ (obj, prop) =>
635
+ hasOwnProperty.call(obj, prop)
636
+ )(Object.prototype);
571
637
 
572
638
  /**
573
639
  * Determine if a value is a RegExp object
@@ -576,7 +642,7 @@ const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call
576
642
  *
577
643
  * @returns {boolean} True if value is a RegExp object, otherwise false
578
644
  */
579
- const isRegExp = kindOfTest('RegExp');
645
+ const isRegExp = kindOfTest("RegExp");
580
646
 
581
647
  const reduceDescriptors = (obj, reducer) => {
582
648
  const descriptors = Object.getOwnPropertyDescriptors(obj);
@@ -600,7 +666,10 @@ const reduceDescriptors = (obj, reducer) => {
600
666
  const freezeMethods = (obj) => {
601
667
  reduceDescriptors(obj, (descriptor, name) => {
602
668
  // skip restricted props in strict mode
603
- if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
669
+ if (
670
+ isFunction$1(obj) &&
671
+ ["arguments", "caller", "callee"].indexOf(name) !== -1
672
+ ) {
604
673
  return false;
605
674
  }
606
675
 
@@ -610,14 +679,14 @@ const freezeMethods = (obj) => {
610
679
 
611
680
  descriptor.enumerable = false;
612
681
 
613
- if ('writable' in descriptor) {
682
+ if ("writable" in descriptor) {
614
683
  descriptor.writable = false;
615
684
  return;
616
685
  }
617
686
 
618
687
  if (!descriptor.set) {
619
688
  descriptor.set = () => {
620
- throw Error('Can not rewrite read-only method \'' + name + '\'');
689
+ throw Error("Can not rewrite read-only method '" + name + "'");
621
690
  };
622
691
  }
623
692
  });
@@ -627,12 +696,14 @@ const toObjectSet = (arrayOrString, delimiter) => {
627
696
  const obj = {};
628
697
 
629
698
  const define = (arr) => {
630
- arr.forEach(value => {
699
+ arr.forEach((value) => {
631
700
  obj[value] = true;
632
701
  });
633
702
  };
634
703
 
635
- isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
704
+ isArray(arrayOrString)
705
+ ? define(arrayOrString)
706
+ : define(String(arrayOrString).split(delimiter));
636
707
 
637
708
  return obj;
638
709
  };
@@ -640,11 +711,11 @@ const toObjectSet = (arrayOrString, delimiter) => {
640
711
  const noop = () => {};
641
712
 
642
713
  const toFiniteNumber = (value, defaultValue) => {
643
- return value != null && Number.isFinite(value = +value) ? value : defaultValue;
714
+ return value != null && Number.isFinite((value = +value))
715
+ ? value
716
+ : defaultValue;
644
717
  };
645
718
 
646
-
647
-
648
719
  /**
649
720
  * If the thing is a FormData object, return true, otherwise return false.
650
721
  *
@@ -653,14 +724,18 @@ const toFiniteNumber = (value, defaultValue) => {
653
724
  * @returns {boolean}
654
725
  */
655
726
  function isSpecCompliantForm(thing) {
656
- return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
727
+ return !!(
728
+ thing &&
729
+ isFunction$1(thing.append) &&
730
+ thing[toStringTag] === "FormData" &&
731
+ thing[iterator]
732
+ );
657
733
  }
658
734
 
659
735
  const toJSONObject = (obj) => {
660
736
  const stack = new Array(10);
661
737
 
662
738
  const visit = (source, i) => {
663
-
664
739
  if (isObject(source)) {
665
740
  if (stack.indexOf(source) >= 0) {
666
741
  return;
@@ -671,7 +746,7 @@ const toJSONObject = (obj) => {
671
746
  return source;
672
747
  }
673
748
 
674
- if(!('toJSON' in source)) {
749
+ if (!("toJSON" in source)) {
675
750
  stack[i] = source;
676
751
  const target = isArray(source) ? [] : {};
677
752
 
@@ -692,10 +767,13 @@ const toJSONObject = (obj) => {
692
767
  return visit(obj, 0);
693
768
  };
694
769
 
695
- const isAsyncFn = kindOfTest('AsyncFunction');
770
+ const isAsyncFn = kindOfTest("AsyncFunction");
696
771
 
697
772
  const isThenable = (thing) =>
698
- thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
773
+ thing &&
774
+ (isObject(thing) || isFunction$1(thing)) &&
775
+ isFunction$1(thing.then) &&
776
+ isFunction$1(thing.catch);
699
777
 
700
778
  // original code
701
779
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
@@ -705,32 +783,35 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
705
783
  return setImmediate;
706
784
  }
707
785
 
708
- return postMessageSupported ? ((token, callbacks) => {
709
- _global.addEventListener("message", ({source, data}) => {
710
- if (source === _global && data === token) {
711
- callbacks.length && callbacks.shift()();
712
- }
713
- }, false);
786
+ return postMessageSupported
787
+ ? ((token, callbacks) => {
788
+ _global.addEventListener(
789
+ "message",
790
+ ({ source, data }) => {
791
+ if (source === _global && data === token) {
792
+ callbacks.length && callbacks.shift()();
793
+ }
794
+ },
795
+ false,
796
+ );
714
797
 
715
- return (cb) => {
716
- callbacks.push(cb);
717
- _global.postMessage(token, "*");
718
- }
719
- })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
720
- })(
721
- typeof setImmediate === 'function',
722
- isFunction$1(_global.postMessage)
723
- );
798
+ return (cb) => {
799
+ callbacks.push(cb);
800
+ _global.postMessage(token, "*");
801
+ };
802
+ })(`axios@${Math.random()}`, [])
803
+ : (cb) => setTimeout(cb);
804
+ })(typeof setImmediate === "function", isFunction$1(_global.postMessage));
724
805
 
725
- const asap = typeof queueMicrotask !== 'undefined' ?
726
- queueMicrotask.bind(_global) : ( typeof process !== 'undefined' && process.nextTick || _setImmediate);
806
+ const asap =
807
+ typeof queueMicrotask !== "undefined"
808
+ ? queueMicrotask.bind(_global)
809
+ : (typeof process !== "undefined" && process.nextTick) || _setImmediate;
727
810
 
728
811
  // *********************
729
812
 
730
-
731
813
  const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
732
814
 
733
-
734
815
  const utils$1 = {
735
816
  isArray,
736
817
  isArrayBuffer,
@@ -788,113 +869,78 @@ const utils$1 = {
788
869
  isThenable,
789
870
  setImmediate: _setImmediate,
790
871
  asap,
791
- isIterable
872
+ isIterable,
792
873
  };
793
874
 
794
- /**
795
- * Create an Error with the specified message, config, error code, request and response.
796
- *
797
- * @param {string} message The error message.
798
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
799
- * @param {Object} [config] The config.
800
- * @param {Object} [request] The request.
801
- * @param {Object} [response] The response.
802
- *
803
- * @returns {Error} The created error.
804
- */
805
- function AxiosError$1(message, code, config, request, response) {
806
- Error.call(this);
807
-
808
- if (Error.captureStackTrace) {
809
- Error.captureStackTrace(this, this.constructor);
810
- } else {
811
- this.stack = (new Error()).stack;
812
- }
875
+ class AxiosError$1 extends Error {
876
+ static from(error, code, config, request, response, customProps) {
877
+ const axiosError = new AxiosError$1(error.message, code || error.code, config, request, response);
878
+ axiosError.cause = error;
879
+ axiosError.name = error.name;
880
+ customProps && Object.assign(axiosError, customProps);
881
+ return axiosError;
882
+ }
883
+
884
+ /**
885
+ * Create an Error with the specified message, config, error code, request and response.
886
+ *
887
+ * @param {string} message The error message.
888
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
889
+ * @param {Object} [config] The config.
890
+ * @param {Object} [request] The request.
891
+ * @param {Object} [response] The response.
892
+ *
893
+ * @returns {Error} The created error.
894
+ */
895
+ constructor(message, code, config, request, response) {
896
+ super(message);
897
+ this.name = 'AxiosError';
898
+ this.isAxiosError = true;
899
+ code && (this.code = code);
900
+ config && (this.config = config);
901
+ request && (this.request = request);
902
+ if (response) {
903
+ this.response = response;
904
+ this.status = response.status;
905
+ }
906
+ }
813
907
 
814
- this.message = message;
815
- this.name = 'AxiosError';
816
- code && (this.code = code);
817
- config && (this.config = config);
818
- request && (this.request = request);
819
- if (response) {
820
- this.response = response;
821
- this.status = response.status ? response.status : null;
822
- }
908
+ toJSON() {
909
+ return {
910
+ // Standard
911
+ message: this.message,
912
+ name: this.name,
913
+ // Microsoft
914
+ description: this.description,
915
+ number: this.number,
916
+ // Mozilla
917
+ fileName: this.fileName,
918
+ lineNumber: this.lineNumber,
919
+ columnNumber: this.columnNumber,
920
+ stack: this.stack,
921
+ // Axios
922
+ config: utils$1.toJSONObject(this.config),
923
+ code: this.code,
924
+ status: this.status,
925
+ };
926
+ }
823
927
  }
824
928
 
825
- utils$1.inherits(AxiosError$1, Error, {
826
- toJSON: function toJSON() {
827
- return {
828
- // Standard
829
- message: this.message,
830
- name: this.name,
831
- // Microsoft
832
- description: this.description,
833
- number: this.number,
834
- // Mozilla
835
- fileName: this.fileName,
836
- lineNumber: this.lineNumber,
837
- columnNumber: this.columnNumber,
838
- stack: this.stack,
839
- // Axios
840
- config: utils$1.toJSONObject(this.config),
841
- code: this.code,
842
- status: this.status
843
- };
844
- }
845
- });
846
-
847
- const prototype$1 = AxiosError$1.prototype;
848
- const descriptors = {};
849
-
850
- [
851
- 'ERR_BAD_OPTION_VALUE',
852
- 'ERR_BAD_OPTION',
853
- 'ECONNABORTED',
854
- 'ETIMEDOUT',
855
- 'ERR_NETWORK',
856
- 'ERR_FR_TOO_MANY_REDIRECTS',
857
- 'ERR_DEPRECATED',
858
- 'ERR_BAD_RESPONSE',
859
- 'ERR_BAD_REQUEST',
860
- 'ERR_CANCELED',
861
- 'ERR_NOT_SUPPORT',
862
- 'ERR_INVALID_URL'
863
- // eslint-disable-next-line func-names
864
- ].forEach(code => {
865
- descriptors[code] = {value: code};
866
- });
867
-
868
- Object.defineProperties(AxiosError$1, descriptors);
869
- Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
870
-
871
- // eslint-disable-next-line func-names
872
- AxiosError$1.from = (error, code, config, request, response, customProps) => {
873
- const axiosError = Object.create(prototype$1);
874
-
875
- utils$1.toFlatObject(error, axiosError, function filter(obj) {
876
- return obj !== Error.prototype;
877
- }, prop => {
878
- return prop !== 'isAxiosError';
879
- });
880
-
881
- const msg = error && error.message ? error.message : 'Error';
882
-
883
- // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
884
- const errCode = code == null && error ? error.code : code;
885
- AxiosError$1.call(axiosError, msg, errCode, config, request, response);
886
-
887
- // Chain the original error on the standard field; non-enumerable to avoid JSON noise
888
- if (error && axiosError.cause == null) {
889
- Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
890
- }
891
-
892
- axiosError.name = (error && error.name) || 'Error';
893
-
894
- customProps && Object.assign(axiosError, customProps);
895
-
896
- return axiosError;
897
- };
929
+ // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
930
+ AxiosError$1.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
931
+ AxiosError$1.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
932
+ AxiosError$1.ECONNABORTED = 'ECONNABORTED';
933
+ AxiosError$1.ETIMEDOUT = 'ETIMEDOUT';
934
+ AxiosError$1.ERR_NETWORK = 'ERR_NETWORK';
935
+ AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
936
+ AxiosError$1.ERR_DEPRECATED = 'ERR_DEPRECATED';
937
+ AxiosError$1.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
938
+ AxiosError$1.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
939
+ AxiosError$1.ERR_CANCELED = 'ERR_CANCELED';
940
+ AxiosError$1.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
941
+ AxiosError$1.ERR_INVALID_URL = 'ERR_INVALID_URL';
942
+
943
+ const AxiosError$2 = AxiosError$1;
898
944
 
899
945
  // eslint-disable-next-line strict
900
946
  const httpAdapter = null;
@@ -1019,7 +1065,7 @@ function toFormData$1(obj, formData, options) {
1019
1065
  }
1020
1066
 
1021
1067
  if (!useBlob && utils$1.isBlob(value)) {
1022
- throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
1068
+ throw new AxiosError$2('Blob is not supported. Use a Buffer instead.');
1023
1069
  }
1024
1070
 
1025
1071
  if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
@@ -1193,29 +1239,26 @@ function encode(val) {
1193
1239
  * @returns {string} The formatted url
1194
1240
  */
1195
1241
  function buildURL(url, params, options) {
1196
- /*eslint no-param-reassign:0*/
1197
1242
  if (!params) {
1198
1243
  return url;
1199
1244
  }
1200
-
1245
+
1201
1246
  const _encode = options && options.encode || encode;
1202
1247
 
1203
- if (utils$1.isFunction(options)) {
1204
- options = {
1205
- serialize: options
1206
- };
1207
- }
1248
+ const _options = utils$1.isFunction(options) ? {
1249
+ serialize: options
1250
+ } : options;
1208
1251
 
1209
- const serializeFn = options && options.serialize;
1252
+ const serializeFn = _options && _options.serialize;
1210
1253
 
1211
1254
  let serializedParams;
1212
1255
 
1213
1256
  if (serializeFn) {
1214
- serializedParams = serializeFn(params, options);
1257
+ serializedParams = serializeFn(params, _options);
1215
1258
  } else {
1216
1259
  serializedParams = utils$1.isURLSearchParams(params) ?
1217
1260
  params.toString() :
1218
- new AxiosURLSearchParams(params, options).toString(_encode);
1261
+ new AxiosURLSearchParams(params, _options).toString(_encode);
1219
1262
  }
1220
1263
 
1221
1264
  if (serializedParams) {
@@ -1240,6 +1283,7 @@ class InterceptorManager {
1240
1283
  *
1241
1284
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
1242
1285
  * @param {Function} rejected The function to handle `reject` for a `Promise`
1286
+ * @param {Object} options The options for the interceptor, synchronous and runWhen
1243
1287
  *
1244
1288
  * @return {Number} An ID used to remove interceptor later
1245
1289
  */
@@ -1301,7 +1345,8 @@ const InterceptorManager$1 = InterceptorManager;
1301
1345
  const transitionalDefaults = {
1302
1346
  silentJSONParsing: true,
1303
1347
  forcedJSONParsing: true,
1304
- clarifyTimeoutError: false
1348
+ clarifyTimeoutError: false,
1349
+ legacyInterceptorReqResOrdering: true
1305
1350
  };
1306
1351
 
1307
1352
  const URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
@@ -1589,7 +1634,7 @@ const defaults = {
1589
1634
  } catch (e) {
1590
1635
  if (strictJSONParsing) {
1591
1636
  if (e.name === 'SyntaxError') {
1592
- throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
1637
+ throw AxiosError$2.from(e, AxiosError$2.ERR_BAD_RESPONSE, this, null, this.response);
1593
1638
  }
1594
1639
  throw e;
1595
1640
  }
@@ -2023,24 +2068,24 @@ function isCancel$1(value) {
2023
2068
  return !!(value && value.__CANCEL__);
2024
2069
  }
2025
2070
 
2026
- /**
2027
- * A `CanceledError` is an object that is thrown when an operation is canceled.
2028
- *
2029
- * @param {string=} message The message.
2030
- * @param {Object=} config The config.
2031
- * @param {Object=} request The request.
2032
- *
2033
- * @returns {CanceledError} The created error.
2034
- */
2035
- function CanceledError$1(message, config, request) {
2036
- // eslint-disable-next-line no-eq-null,eqeqeq
2037
- AxiosError$1.call(this, message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
2038
- this.name = 'CanceledError';
2071
+ class CanceledError$1 extends AxiosError$2 {
2072
+ /**
2073
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
2074
+ *
2075
+ * @param {string=} message The message.
2076
+ * @param {Object=} config The config.
2077
+ * @param {Object=} request The request.
2078
+ *
2079
+ * @returns {CanceledError} The created error.
2080
+ */
2081
+ constructor(message, config, request) {
2082
+ super(message == null ? 'canceled' : message, AxiosError$2.ERR_CANCELED, config, request);
2083
+ this.name = 'CanceledError';
2084
+ this.__CANCEL__ = true;
2085
+ }
2039
2086
  }
2040
2087
 
2041
- utils$1.inherits(CanceledError$1, AxiosError$1, {
2042
- __CANCEL__: true
2043
- });
2088
+ const CanceledError$2 = CanceledError$1;
2044
2089
 
2045
2090
  /**
2046
2091
  * Resolve or reject a Promise based on response status.
@@ -2056,9 +2101,9 @@ function settle(resolve, reject, response) {
2056
2101
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2057
2102
  resolve(response);
2058
2103
  } else {
2059
- reject(new AxiosError$1(
2104
+ reject(new AxiosError$2(
2060
2105
  'Request failed with status code ' + response.status,
2061
- [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2106
+ [AxiosError$2.ERR_BAD_REQUEST, AxiosError$2.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
2062
2107
  response.config,
2063
2108
  response.request,
2064
2109
  response
@@ -2281,6 +2326,10 @@ function isAbsoluteURL(url) {
2281
2326
  // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
2282
2327
  // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
2283
2328
  // by any combination of letters, digits, plus, period, or hyphen.
2329
+ if (typeof url !== 'string') {
2330
+ return false;
2331
+ }
2332
+
2284
2333
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
2285
2334
  }
2286
2335
 
@@ -2316,7 +2365,8 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2316
2365
  return requestedURL;
2317
2366
  }
2318
2367
 
2319
- const headersToObject = (thing) => thing instanceof AxiosHeaders$2 ? { ...thing } : thing;
2368
+ const headersToObject = (thing) =>
2369
+ thing instanceof AxiosHeaders$2 ? { ...thing } : thing;
2320
2370
 
2321
2371
  /**
2322
2372
  * Config-specific merge-function which creates a new config-object
@@ -2334,7 +2384,7 @@ function mergeConfig$1(config1, config2) {
2334
2384
 
2335
2385
  function getMergedValue(target, source, prop, caseless) {
2336
2386
  if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
2337
- return utils$1.merge.call({caseless}, target, source);
2387
+ return utils$1.merge.call({ caseless }, target, source);
2338
2388
  } else if (utils$1.isPlainObject(source)) {
2339
2389
  return utils$1.merge({}, source);
2340
2390
  } else if (utils$1.isArray(source)) {
@@ -2343,7 +2393,6 @@ function mergeConfig$1(config1, config2) {
2343
2393
  return source;
2344
2394
  }
2345
2395
 
2346
- // eslint-disable-next-line consistent-return
2347
2396
  function mergeDeepProperties(a, b, prop, caseless) {
2348
2397
  if (!utils$1.isUndefined(b)) {
2349
2398
  return getMergedValue(a, b, prop, caseless);
@@ -2406,14 +2455,27 @@ function mergeConfig$1(config1, config2) {
2406
2455
  socketPath: defaultToConfig2,
2407
2456
  responseEncoding: defaultToConfig2,
2408
2457
  validateStatus: mergeDirectKeys,
2409
- headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
2458
+ headers: (a, b, prop) =>
2459
+ mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
2410
2460
  };
2411
2461
 
2412
- utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
2413
- const merge = mergeMap[prop] || mergeDeepProperties;
2414
- const configValue = merge(config1[prop], config2[prop], prop);
2415
- (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
2416
- });
2462
+ utils$1.forEach(
2463
+ Object.keys({ ...config1, ...config2 }),
2464
+ function computeConfigValue(prop) {
2465
+ if (
2466
+ prop === "__proto__" ||
2467
+ prop === "constructor" ||
2468
+ prop === "prototype"
2469
+ )
2470
+ return;
2471
+ const merge = utils$1.hasOwnProp(mergeMap, prop)
2472
+ ? mergeMap[prop]
2473
+ : mergeDeepProperties;
2474
+ const configValue = merge(config1[prop], config2[prop], prop);
2475
+ (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) ||
2476
+ (config[prop] = configValue);
2477
+ },
2478
+ );
2417
2479
 
2418
2480
  return config;
2419
2481
  }
@@ -2558,7 +2620,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2558
2620
  return;
2559
2621
  }
2560
2622
 
2561
- reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
2623
+ reject(new AxiosError$2('Request aborted', AxiosError$2.ECONNABORTED, config, request));
2562
2624
 
2563
2625
  // Clean up request
2564
2626
  request = null;
@@ -2570,7 +2632,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2570
2632
  // (message may be empty; when present, surface it)
2571
2633
  // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
2572
2634
  const msg = event && event.message ? event.message : 'Network Error';
2573
- const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
2635
+ const err = new AxiosError$2(msg, AxiosError$2.ERR_NETWORK, config, request);
2574
2636
  // attach the underlying event for consumers who want details
2575
2637
  err.event = event || null;
2576
2638
  reject(err);
@@ -2584,9 +2646,9 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2584
2646
  if (_config.timeoutErrorMessage) {
2585
2647
  timeoutErrorMessage = _config.timeoutErrorMessage;
2586
2648
  }
2587
- reject(new AxiosError$1(
2649
+ reject(new AxiosError$2(
2588
2650
  timeoutErrorMessage,
2589
- transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
2651
+ transitional.clarifyTimeoutError ? AxiosError$2.ETIMEDOUT : AxiosError$2.ECONNABORTED,
2590
2652
  config,
2591
2653
  request));
2592
2654
 
@@ -2636,7 +2698,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2636
2698
  if (!request) {
2637
2699
  return;
2638
2700
  }
2639
- reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
2701
+ reject(!cancel || cancel.type ? new CanceledError$2(null, config, request) : cancel);
2640
2702
  request.abort();
2641
2703
  request = null;
2642
2704
  };
@@ -2650,7 +2712,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
2650
2712
  const protocol = parseProtocol(_config.url);
2651
2713
 
2652
2714
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
2653
- reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
2715
+ reject(new AxiosError$2('Unsupported protocol ' + protocol + ':', AxiosError$2.ERR_BAD_REQUEST, config));
2654
2716
  return;
2655
2717
  }
2656
2718
 
@@ -2673,13 +2735,13 @@ const composeSignals = (signals, timeout) => {
2673
2735
  aborted = true;
2674
2736
  unsubscribe();
2675
2737
  const err = reason instanceof Error ? reason : this.reason;
2676
- controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
2738
+ controller.abort(err instanceof AxiosError$2 ? err : new CanceledError$2(err instanceof Error ? err.message : err));
2677
2739
  }
2678
2740
  };
2679
2741
 
2680
2742
  let timer = timeout && setTimeout(() => {
2681
2743
  timer = null;
2682
- onabort(new AxiosError$1(`timeout ${timeout} of ms exceeded`, AxiosError$1.ETIMEDOUT));
2744
+ onabort(new AxiosError$2(`timeout of ${timeout}ms exceeded`, AxiosError$2.ETIMEDOUT));
2683
2745
  }, timeout);
2684
2746
 
2685
2747
  const unsubscribe = () => {
@@ -2865,7 +2927,7 @@ const factory = (env) => {
2865
2927
  return method.call(res);
2866
2928
  }
2867
2929
 
2868
- throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
2930
+ throw new AxiosError$2(`Response type '${type}' is not supported`, AxiosError$2.ERR_NOT_SUPPORT, config);
2869
2931
  });
2870
2932
  });
2871
2933
  })());
@@ -3031,14 +3093,14 @@ const factory = (env) => {
3031
3093
 
3032
3094
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
3033
3095
  throw Object.assign(
3034
- new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
3096
+ new AxiosError$2('Network Error', AxiosError$2.ERR_NETWORK, config, request, err && err.response),
3035
3097
  {
3036
3098
  cause: err.cause || err
3037
3099
  }
3038
3100
  )
3039
3101
  }
3040
3102
 
3041
- throw AxiosError$1.from(err, err && err.code, config, request);
3103
+ throw AxiosError$2.from(err, err && err.code, config, request, err && err.response);
3042
3104
  }
3043
3105
  }
3044
3106
  };
@@ -3143,7 +3205,7 @@ function getAdapter$1(adapters, config) {
3143
3205
  adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
3144
3206
 
3145
3207
  if (adapter === undefined) {
3146
- throw new AxiosError$1(`Unknown adapter '${id}'`);
3208
+ throw new AxiosError$2(`Unknown adapter '${id}'`);
3147
3209
  }
3148
3210
  }
3149
3211
 
@@ -3164,7 +3226,7 @@ function getAdapter$1(adapters, config) {
3164
3226
  (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
3165
3227
  'as no adapter specified';
3166
3228
 
3167
- throw new AxiosError$1(
3229
+ throw new AxiosError$2(
3168
3230
  `There is no suitable adapter to dispatch the request ` + s,
3169
3231
  'ERR_NOT_SUPPORT'
3170
3232
  );
@@ -3203,7 +3265,7 @@ function throwIfCancellationRequested(config) {
3203
3265
  }
3204
3266
 
3205
3267
  if (config.signal && config.signal.aborted) {
3206
- throw new CanceledError$1(null, config);
3268
+ throw new CanceledError$2(null, config);
3207
3269
  }
3208
3270
  }
3209
3271
 
@@ -3263,7 +3325,7 @@ function dispatchRequest(config) {
3263
3325
  });
3264
3326
  }
3265
3327
 
3266
- const VERSION$1 = "1.13.2";
3328
+ const VERSION$1 = "1.13.5";
3267
3329
 
3268
3330
  const validators$1 = {};
3269
3331
 
@@ -3293,9 +3355,9 @@ validators$1.transitional = function transitional(validator, version, message) {
3293
3355
  // eslint-disable-next-line func-names
3294
3356
  return (value, opt, opts) => {
3295
3357
  if (validator === false) {
3296
- throw new AxiosError$1(
3358
+ throw new AxiosError$2(
3297
3359
  formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
3298
- AxiosError$1.ERR_DEPRECATED
3360
+ AxiosError$2.ERR_DEPRECATED
3299
3361
  );
3300
3362
  }
3301
3363
 
@@ -3334,7 +3396,7 @@ validators$1.spelling = function spelling(correctSpelling) {
3334
3396
 
3335
3397
  function assertOptions(options, schema, allowUnknown) {
3336
3398
  if (typeof options !== 'object') {
3337
- throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
3399
+ throw new AxiosError$2('options must be an object', AxiosError$2.ERR_BAD_OPTION_VALUE);
3338
3400
  }
3339
3401
  const keys = Object.keys(options);
3340
3402
  let i = keys.length;
@@ -3345,12 +3407,12 @@ function assertOptions(options, schema, allowUnknown) {
3345
3407
  const value = options[opt];
3346
3408
  const result = value === undefined || validator(value, opt, options);
3347
3409
  if (result !== true) {
3348
- throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
3410
+ throw new AxiosError$2('option ' + opt + ' must be ' + result, AxiosError$2.ERR_BAD_OPTION_VALUE);
3349
3411
  }
3350
3412
  continue;
3351
3413
  }
3352
3414
  if (allowUnknown !== true) {
3353
- throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
3415
+ throw new AxiosError$2('Unknown option ' + opt, AxiosError$2.ERR_BAD_OPTION);
3354
3416
  }
3355
3417
  }
3356
3418
  }
@@ -3431,7 +3493,8 @@ class Axios$1 {
3431
3493
  validator.assertOptions(transitional, {
3432
3494
  silentJSONParsing: validators.transitional(validators.boolean),
3433
3495
  forcedJSONParsing: validators.transitional(validators.boolean),
3434
- clarifyTimeoutError: validators.transitional(validators.boolean)
3496
+ clarifyTimeoutError: validators.transitional(validators.boolean),
3497
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
3435
3498
  }, false);
3436
3499
  }
3437
3500
 
@@ -3488,7 +3551,14 @@ class Axios$1 {
3488
3551
 
3489
3552
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
3490
3553
 
3491
- requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3554
+ const transitional = config.transitional || transitionalDefaults;
3555
+ const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
3556
+
3557
+ if (legacyInterceptorReqResOrdering) {
3558
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
3559
+ } else {
3560
+ requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
3561
+ }
3492
3562
  });
3493
3563
 
3494
3564
  const responseInterceptorChain = [];
@@ -3643,7 +3713,7 @@ class CancelToken$1 {
3643
3713
  return;
3644
3714
  }
3645
3715
 
3646
- token.reason = new CanceledError$1(message, config, request);
3716
+ token.reason = new CanceledError$2(message, config, request);
3647
3717
  resolvePromise(token.reason);
3648
3718
  });
3649
3719
  }
@@ -3727,7 +3797,7 @@ const CancelToken$2 = CancelToken$1;
3727
3797
  *
3728
3798
  * ```js
3729
3799
  * function f(x, y, z) {}
3730
- * var args = [1, 2, 3];
3800
+ * const args = [1, 2, 3];
3731
3801
  * f.apply(null, args);
3732
3802
  * ```
3733
3803
  *
@@ -3868,14 +3938,14 @@ const axios = createInstance(defaults$1);
3868
3938
  axios.Axios = Axios$2;
3869
3939
 
3870
3940
  // Expose Cancel & CancelToken
3871
- axios.CanceledError = CanceledError$1;
3941
+ axios.CanceledError = CanceledError$2;
3872
3942
  axios.CancelToken = CancelToken$2;
3873
3943
  axios.isCancel = isCancel$1;
3874
3944
  axios.VERSION = VERSION$1;
3875
3945
  axios.toFormData = toFormData$1;
3876
3946
 
3877
3947
  // Expose AxiosError class
3878
- axios.AxiosError = AxiosError$1;
3948
+ axios.AxiosError = AxiosError$2;
3879
3949
 
3880
3950
  // alias for CanceledError for backward compatibility
3881
3951
  axios.Cancel = axios.CanceledError;