cloudstructs 0.12.9 → 0.12.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1224) hide show
  1. package/.jsii +6 -6
  2. package/API.md +308 -0
  3. package/assets/slack-textract/detect.lambda/index.js +831 -823
  4. package/assets/ssl-server-test/analyze.lambda/index.js +52 -37
  5. package/assets/toolkit-cleaner/clean.lambda/index.js +52 -37
  6. package/lib/codecommit-mirror/index.js +2 -2
  7. package/lib/dmarc/index.js +1 -1
  8. package/lib/ecs-service-roller/index.js +2 -2
  9. package/lib/email-receiver/receiver.js +1 -1
  10. package/lib/mjml-template/index.js +1 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-textract/index.js +1 -1
  16. package/lib/ssl-server-test/index.js +1 -1
  17. package/lib/state-machine-cr-provider/index.js +1 -1
  18. package/lib/static-website/index.js +1 -1
  19. package/lib/toolkit-cleaner/index.js +1 -1
  20. package/lib/url-shortener/index.js +1 -1
  21. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +91 -37
  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 +91 -37
  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/context/durable-context/durable-context.d.ts +5 -2
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
  33. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
  34. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
  35. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
  36. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +0 -1
  37. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  38. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
  39. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
  40. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
  41. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
  42. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
  43. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  44. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -1
  45. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  46. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  47. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  48. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  49. package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
  50. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +17 -18
  51. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +2 -1
  53. package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
  54. package/node_modules/@aws-sdk/core/dist-cjs/index.js +15 -19
  55. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -19
  56. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  57. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
  58. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
  59. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  60. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
  61. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
  62. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  63. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  64. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  65. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
  66. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  67. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  68. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  69. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  70. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  71. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  72. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  73. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  74. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +3 -0
  75. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  76. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  77. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
  78. package/node_modules/@aws-sdk/core/package.json +14 -14
  79. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
  80. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  81. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  82. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  83. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
  84. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  85. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  86. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  87. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
  88. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
  89. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  90. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
  91. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
  92. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  93. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
  94. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
  95. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  96. package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
  97. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  98. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  99. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
  100. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  101. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  102. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
  103. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  104. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  105. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  106. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  107. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  108. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
  109. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  110. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
  111. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  112. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
  113. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
  114. package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
  115. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
  116. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
  117. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
  118. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
  119. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  120. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
  121. package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  122. package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  123. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  124. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
  125. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
  126. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
  127. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
  128. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
  129. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  130. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  131. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  132. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  133. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
  134. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  135. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  136. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
  137. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  138. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  139. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  140. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  141. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  142. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  143. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  144. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  145. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  146. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  147. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  148. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  149. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -18
  150. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  151. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  152. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  153. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +18 -71
  154. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  155. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  156. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  157. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  158. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  159. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
  160. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  161. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +23 -17
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  163. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  164. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  165. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  166. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  167. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  168. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  169. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  170. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  171. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  172. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  173. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  174. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  175. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  176. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  180. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  182. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  186. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  187. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  188. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  189. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  195. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  206. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
  219. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  220. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  221. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  222. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  227. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  229. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  257. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  258. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  259. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  263. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  265. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  268. package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
  269. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  270. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  271. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  272. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  273. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  274. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  275. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  276. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
  277. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
  278. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
  279. package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
  280. package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
  281. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  282. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  283. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  284. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
  285. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
  286. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
  287. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
  288. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
  289. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
  290. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  291. package/node_modules/@aws-sdk/types/package.json +3 -3
  292. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
  293. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  294. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  295. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  296. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  297. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  298. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
  299. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
  300. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  301. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
  302. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
  303. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  304. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
  305. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  306. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  307. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
  308. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
  309. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
  310. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
  311. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  312. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  313. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
  314. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
  315. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  316. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  317. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
  318. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  319. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  320. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
  321. package/node_modules/@aws-sdk/util-user-agent-node/package.json +10 -7
  322. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  323. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  324. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  325. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
  326. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
  327. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +36 -0
  328. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  329. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  330. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  331. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
  332. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  333. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  334. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  335. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  336. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  337. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  338. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +6 -5
  339. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +90 -12
  340. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  341. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
  342. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
  343. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  344. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  345. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  346. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  347. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
  348. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  349. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  350. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  351. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  352. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +66 -54
  353. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
  354. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +279 -189
  355. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
  356. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
  357. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  358. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  359. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
  360. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
  361. package/node_modules/@babel/runtime/package.json +1 -1
  362. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
  363. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
  364. package/node_modules/@slack/logger/LICENSE +23 -0
  365. package/node_modules/@slack/logger/README.md +36 -3
  366. package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
  367. package/node_modules/@slack/logger/dist/index.js +5 -6
  368. package/node_modules/@slack/logger/dist/index.js.map +1 -1
  369. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  370. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
  371. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +5 -0
  372. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
  373. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
  374. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +22 -1
  375. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
  376. package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
  377. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
  378. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +4 -4
  379. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  380. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +21 -7
  381. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
  382. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +128 -18
  383. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
  384. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +54 -19
  385. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
  386. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
  387. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +27 -2
  388. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +9 -4
  389. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
  390. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
  391. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
  392. package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
  393. package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
  394. package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  395. package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
  396. package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
  397. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  398. package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
  399. package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
  400. package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
  401. package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
  402. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
  403. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
  404. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  405. package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +1 -1
  406. package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
  407. package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  408. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
  409. package/node_modules/@slack/logger/package.json +13 -33
  410. package/node_modules/@slack/types/package.json +2 -6
  411. package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
  412. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  413. package/node_modules/@slack/web-api/dist/chat-stream.js +75 -90
  414. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  415. package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
  416. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  417. package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
  418. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  419. package/node_modules/@slack/web-api/dist/methods.js +9 -0
  420. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  421. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
  422. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
  423. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
  424. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  425. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
  426. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
  427. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
  428. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
  429. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
  430. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  431. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  432. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
  433. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +5 -0
  434. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
  435. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
  436. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +22 -1
  437. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
  438. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
  439. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
  440. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +4 -4
  441. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  442. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +21 -7
  443. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
  444. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +128 -18
  445. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
  446. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +54 -19
  447. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
  448. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
  449. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +27 -2
  450. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +9 -4
  451. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
  452. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
  453. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
  454. package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
  455. package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
  456. package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  457. package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
  458. package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
  459. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  460. package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
  461. package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
  462. package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
  463. package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
  464. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
  465. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
  466. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  467. package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +1 -1
  468. package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
  469. package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  470. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
  471. package/node_modules/@slack/web-api/package.json +9 -23
  472. package/node_modules/@smithy/abort-controller/package.json +7 -7
  473. package/node_modules/@smithy/config-resolver/package.json +11 -11
  474. package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
  475. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -9
  476. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  477. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +4 -1
  478. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +37 -5
  479. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
  480. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
  481. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  482. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  483. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  484. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  485. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  486. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -1
  487. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
  488. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
  489. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  490. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  491. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  492. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
  493. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  494. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  495. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  496. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  497. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  498. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  499. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  500. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  501. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  502. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  503. package/node_modules/@smithy/core/endpoints.js +6 -0
  504. package/node_modules/@smithy/core/package.json +21 -12
  505. package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
  506. package/node_modules/@smithy/eventstream-codec/package.json +9 -9
  507. package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
  508. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
  509. package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
  510. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
  511. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
  512. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
  513. package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
  514. package/node_modules/@smithy/hash-node/package.json +9 -9
  515. package/node_modules/@smithy/invalid-dependency/package.json +7 -7
  516. package/node_modules/@smithy/is-array-buffer/package.json +6 -6
  517. package/node_modules/@smithy/middleware-content-length/package.json +8 -8
  518. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  519. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  520. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  521. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  522. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  523. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  524. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  525. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  526. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  527. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  528. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  529. package/node_modules/@smithy/middleware-serde/package.json +9 -8
  530. package/node_modules/@smithy/middleware-stack/package.json +7 -7
  531. package/node_modules/@smithy/node-config-provider/package.json +9 -9
  532. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +68 -45
  533. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  534. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
  535. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  536. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
  537. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  538. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  539. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  540. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  541. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
  542. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  543. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  544. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  545. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  546. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  547. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  548. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  549. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  550. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  551. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  552. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  553. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  554. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  555. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  556. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  557. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  558. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  559. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  560. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  561. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  562. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  563. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  564. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  565. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  566. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  567. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  568. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  569. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  570. package/node_modules/@smithy/node-http-handler/package.json +6 -6
  571. package/node_modules/@smithy/property-provider/package.json +7 -7
  572. package/node_modules/@smithy/protocol-http/package.json +7 -7
  573. package/node_modules/@smithy/querystring-builder/package.json +8 -8
  574. package/node_modules/@smithy/querystring-parser/package.json +7 -7
  575. package/node_modules/@smithy/service-error-classification/package.json +7 -7
  576. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
  577. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
  578. package/node_modules/@smithy/signature-v4/package.json +13 -13
  579. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +30 -16
  580. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  581. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  582. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  583. package/node_modules/@smithy/smithy-client/package.json +11 -9
  584. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  585. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  586. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  587. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  588. package/node_modules/@smithy/types/package.json +5 -5
  589. package/node_modules/@smithy/url-parser/package.json +8 -8
  590. package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
  591. package/node_modules/@smithy/util-base64/package.json +8 -8
  592. package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
  593. package/node_modules/@smithy/util-body-length-node/package.json +6 -6
  594. package/node_modules/@smithy/util-buffer-from/package.json +7 -7
  595. package/node_modules/@smithy/util-config-provider/package.json +6 -6
  596. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
  597. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  598. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  599. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  600. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  601. package/node_modules/@smithy/util-endpoints/package.json +8 -8
  602. package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
  603. package/node_modules/@smithy/util-middleware/package.json +7 -7
  604. package/node_modules/@smithy/util-retry/package.json +8 -8
  605. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
  606. package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
  607. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
  608. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  609. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
  610. package/node_modules/@smithy/util-stream/package.json +9 -9
  611. package/node_modules/@smithy/util-uri-escape/package.json +6 -6
  612. package/node_modules/@smithy/util-utf8/package.json +7 -7
  613. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  614. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  615. package/node_modules/@smithy/util-waiter/package.json +8 -8
  616. package/node_modules/@smithy/uuid/package.json +6 -6
  617. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  618. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
  619. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +5 -0
  620. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
  621. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
  622. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +22 -1
  623. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
  624. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
  625. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
  626. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +4 -4
  627. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  628. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +21 -7
  629. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  630. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +128 -18
  631. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
  632. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +54 -19
  633. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
  634. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
  635. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +27 -2
  636. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +9 -4
  637. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
  638. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
  639. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
  640. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
  641. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
  642. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  643. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
  644. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
  645. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  646. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
  647. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
  648. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
  649. package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
  650. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
  651. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
  652. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  653. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +1 -1
  654. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
  655. package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  656. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
  657. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  658. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
  659. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +5 -0
  660. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
  661. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
  662. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +22 -1
  663. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
  664. package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
  665. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
  666. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +4 -4
  667. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  668. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +21 -7
  669. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  670. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +128 -18
  671. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
  672. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +54 -19
  673. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
  674. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
  675. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +27 -2
  676. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +9 -4
  677. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
  678. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
  679. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
  680. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
  681. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
  682. package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  683. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
  684. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
  685. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  686. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
  687. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
  688. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
  689. package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
  690. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
  691. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
  692. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  693. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +1 -1
  694. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
  695. package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  696. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
  697. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  698. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
  699. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +5 -0
  700. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
  701. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
  702. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +22 -1
  703. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
  704. package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
  705. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
  706. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +4 -4
  707. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  708. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +21 -7
  709. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  710. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +128 -18
  711. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
  712. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +54 -19
  713. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
  714. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
  715. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +27 -2
  716. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +9 -4
  717. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
  718. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
  719. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
  720. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
  721. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
  722. package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  723. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
  724. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
  725. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  726. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
  727. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
  728. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
  729. package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
  730. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
  731. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
  732. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  733. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +1 -1
  734. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
  735. package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  736. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
  737. package/node_modules/axios/CHANGELOG.md +206 -206
  738. package/node_modules/axios/dist/axios.js +161 -51
  739. package/node_modules/axios/dist/axios.js.map +1 -1
  740. package/node_modules/axios/dist/axios.min.js +2 -2
  741. package/node_modules/axios/dist/axios.min.js.map +1 -1
  742. package/node_modules/axios/dist/browser/axios.cjs +1013 -753
  743. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  744. package/node_modules/axios/dist/esm/axios.js +1014 -754
  745. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  746. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  747. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  748. package/node_modules/axios/dist/node/axios.cjs +1675 -1347
  749. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  750. package/node_modules/axios/index.d.cts +234 -109
  751. package/node_modules/axios/index.js +3 -3
  752. package/node_modules/axios/lib/adapters/README.md +4 -5
  753. package/node_modules/axios/lib/adapters/adapters.js +18 -14
  754. package/node_modules/axios/lib/adapters/fetch.js +137 -91
  755. package/node_modules/axios/lib/adapters/http.js +604 -553
  756. package/node_modules/axios/lib/adapters/xhr.js +187 -165
  757. package/node_modules/axios/lib/axios.js +6 -6
  758. package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
  759. package/node_modules/axios/lib/core/Axios.js +57 -43
  760. package/node_modules/axios/lib/core/AxiosError.js +52 -35
  761. package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
  762. package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
  763. package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
  764. package/node_modules/axios/lib/core/mergeConfig.js +10 -22
  765. package/node_modules/axios/lib/core/settle.js +11 -7
  766. package/node_modules/axios/lib/defaults/index.js +85 -74
  767. package/node_modules/axios/lib/defaults/transitional.js +1 -1
  768. package/node_modules/axios/lib/env/data.js +1 -1
  769. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
  770. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
  771. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
  772. package/node_modules/axios/lib/helpers/buildURL.js +15 -13
  773. package/node_modules/axios/lib/helpers/callbackify.js +13 -11
  774. package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
  775. package/node_modules/axios/lib/helpers/cookies.js +44 -49
  776. package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
  777. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  778. package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
  779. package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
  780. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
  781. package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
  782. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
  783. package/node_modules/axios/lib/helpers/parseHeaders.js +34 -20
  784. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  785. package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
  786. package/node_modules/axios/lib/helpers/readBlob.js +4 -4
  787. package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
  788. package/node_modules/axios/lib/helpers/speedometer.js +1 -1
  789. package/node_modules/axios/lib/helpers/throttle.js +4 -4
  790. package/node_modules/axios/lib/helpers/toFormData.js +43 -25
  791. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
  792. package/node_modules/axios/lib/helpers/trackStream.js +33 -31
  793. package/node_modules/axios/lib/helpers/validator.js +16 -5
  794. package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
  795. package/node_modules/axios/lib/platform/browser/index.js +5 -5
  796. package/node_modules/axios/lib/platform/common/utils.js +6 -5
  797. package/node_modules/axios/lib/platform/index.js +2 -2
  798. package/node_modules/axios/lib/platform/node/index.js +9 -10
  799. package/node_modules/axios/lib/utils.js +149 -93
  800. package/node_modules/axios/package.json +10 -4
  801. package/node_modules/editorconfig/lib/cli.js +18 -8
  802. package/node_modules/editorconfig/lib/index.d.ts +0 -1
  803. package/node_modules/editorconfig/lib/index.js +24 -15
  804. package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
  805. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  806. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
  807. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
  808. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
  809. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  810. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
  811. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  812. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
  813. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  814. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
  815. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  816. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
  817. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  818. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
  819. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
  820. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  821. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
  822. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
  823. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
  824. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  825. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
  826. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  827. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
  828. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  829. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
  830. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  831. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
  832. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
  833. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
  834. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
  835. package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
  836. package/node_modules/editorconfig/package.json +4 -30
  837. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  838. package/node_modules/fast-xml-builder/LICENSE +21 -0
  839. package/node_modules/fast-xml-builder/README.md +23 -0
  840. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  841. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  842. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  843. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  844. package/node_modules/fast-xml-builder/package.json +80 -0
  845. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  846. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  847. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  848. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  849. package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  850. package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
  851. package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
  852. package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
  853. package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
  854. package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
  855. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  856. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  857. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  858. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  859. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  860. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  861. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  862. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  863. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  864. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  865. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
  866. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  867. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  868. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  869. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  870. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  871. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
  872. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  873. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  874. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  875. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  876. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  877. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  878. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  879. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
  880. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
  881. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  882. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  883. package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
  884. package/node_modules/minipass/LICENSE.md +55 -0
  885. package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
  886. package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
  887. package/node_modules/minipass/dist/commonjs/index.js +13 -3
  888. package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
  889. package/node_modules/minipass/dist/esm/index.d.ts +12 -16
  890. package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
  891. package/node_modules/minipass/dist/esm/index.js +3 -1
  892. package/node_modules/minipass/dist/esm/index.js.map +1 -1
  893. package/node_modules/minipass/package.json +9 -14
  894. package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  895. package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
  896. package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
  897. package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
  898. package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
  899. package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
  900. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  901. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  902. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  903. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  904. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  905. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  906. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  907. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  908. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  909. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  910. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
  911. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  912. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  913. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  914. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  915. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  916. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
  917. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  918. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  919. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  920. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  921. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  922. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  923. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  924. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
  925. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
  926. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  927. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  928. package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
  929. package/node_modules/path-expression-matcher/LICENSE +21 -0
  930. package/node_modules/path-expression-matcher/README.md +635 -0
  931. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  932. package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
  933. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  934. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  935. package/node_modules/path-expression-matcher/package.json +78 -0
  936. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  937. package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
  938. package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
  939. package/node_modules/path-expression-matcher/src/index.js +28 -0
  940. package/node_modules/pump/empty.js +1 -0
  941. package/node_modules/pump/package.json +7 -1
  942. package/node_modules/strnum/README.md +1 -0
  943. package/node_modules/strnum/package.json +3 -3
  944. package/node_modules/strnum/strnum.js +85 -59
  945. package/node_modules/strnum/tests/infinity_test.js +18 -0
  946. package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
  947. package/package.json +22 -22
  948. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  949. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  950. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  951. package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
  952. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
  953. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  954. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  955. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  956. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  957. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  958. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  959. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
  960. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
  961. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  962. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  963. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  964. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  965. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  966. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  967. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  968. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  969. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  970. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
  971. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  972. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  973. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  974. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  975. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  976. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  977. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  978. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  979. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  980. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
  981. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
  982. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
  983. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  984. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
  985. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  986. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  987. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
  988. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
  989. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
  990. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  991. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  992. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
  993. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  994. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  995. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
  996. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
  997. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
  998. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  999. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
  1000. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
  1001. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
  1002. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
  1003. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
  1004. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
  1005. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
  1006. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
  1007. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
  1008. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
  1009. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
  1010. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  1011. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
  1012. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
  1013. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
  1014. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
  1015. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
  1016. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
  1017. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
  1018. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
  1019. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
  1020. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
  1021. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
  1022. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
  1023. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
  1024. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
  1025. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
  1026. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
  1027. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
  1028. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
  1029. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
  1030. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
  1031. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
  1032. package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  1033. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  1034. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
  1035. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
  1036. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
  1037. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
  1038. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  1039. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
  1040. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  1041. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  1042. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
  1043. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
  1044. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
  1045. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  1046. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  1047. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
  1048. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  1049. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  1050. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
  1051. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
  1052. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
  1053. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
  1054. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  1055. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
  1056. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
  1057. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
  1058. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
  1059. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
  1060. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
  1061. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
  1062. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
  1063. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
  1064. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
  1065. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
  1066. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  1067. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
  1068. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
  1069. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
  1070. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
  1071. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
  1072. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
  1073. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
  1074. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
  1075. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
  1076. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
  1077. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
  1078. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
  1079. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
  1080. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
  1081. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
  1082. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
  1083. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
  1084. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
  1085. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
  1086. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
  1087. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
  1088. package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  1089. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
  1090. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
  1091. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
  1092. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  1093. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
  1094. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  1095. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  1096. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
  1097. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
  1098. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
  1099. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  1100. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  1101. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
  1102. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  1103. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  1104. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
  1105. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
  1106. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
  1107. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
  1108. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  1109. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
  1110. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
  1111. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
  1112. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
  1113. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
  1114. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
  1115. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
  1116. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
  1117. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
  1118. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
  1119. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
  1120. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  1121. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
  1122. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
  1123. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
  1124. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
  1125. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
  1126. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
  1127. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
  1128. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
  1129. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
  1130. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
  1131. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
  1132. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
  1133. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
  1134. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
  1135. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
  1136. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
  1137. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
  1138. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
  1139. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
  1140. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
  1141. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
  1142. package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  1143. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
  1144. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  1145. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  1146. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  1147. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  1148. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  1149. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  1150. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  1151. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  1152. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  1153. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  1154. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  1155. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  1156. package/node_modules/minipass/LICENSE +0 -15
  1157. package/node_modules/strnum/test.js +0 -9
  1158. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1159. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1160. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
  1161. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
  1162. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
  1163. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  1164. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1165. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  1166. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  1167. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1168. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  1169. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  1170. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  1171. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  1172. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  1173. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  1174. /package/node_modules/@aws-sdk/{client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js → nested-clients/dist-es/submodules/sso/models/models_0.js} +0 -0
  1175. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
  1176. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1177. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1178. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1179. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1180. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  1181. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1182. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  1183. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1184. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1185. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1186. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1187. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1188. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  1189. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  1190. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  1191. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1192. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1193. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  1194. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1195. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  1196. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1197. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1198. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1199. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
  1200. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
  1201. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
  1202. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
  1203. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
  1204. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
  1205. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
  1206. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
  1207. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
  1208. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
  1209. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
  1210. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
  1211. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
  1212. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
  1213. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
  1214. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
  1215. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
  1216. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
  1217. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
  1218. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
  1219. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
  1220. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
  1221. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
  1222. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
  1223. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
  1224. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
@@ -94,7 +94,7 @@ var require_package = __commonJS({
94
94
  "node_modules/@slack/web-api/package.json"(exports2, module2) {
95
95
  module2.exports = {
96
96
  name: "@slack/web-api",
97
- version: "7.14.1",
97
+ version: "7.15.0",
98
98
  description: "Official library for using the Slack Platform's Web API",
99
99
  author: "Slack Technologies, LLC",
100
100
  license: "MIT",
@@ -131,21 +131,21 @@ var require_package = __commonJS({
131
131
  },
132
132
  scripts: {
133
133
  build: "npm run build:clean && tsc",
134
- "build:clean": "shx rm -rf ./dist ./coverage",
134
+ "build:clean": "shx rm -rf ./dist",
135
135
  docs: "npx typedoc --plugin typedoc-plugin-markdown",
136
- mocha: 'mocha --config ./test/.mocharc.json "./src/**/*.spec.ts"',
137
136
  prepack: "npm run build",
138
- test: "npm run test:types && npm run test:integration && npm run test:unit",
137
+ test: "npm run test:unit",
138
+ "test:node18": "npm run build && bash -c 'node --test --test-reporter=spec --import tsx src/*.test.ts'",
139
139
  "test:integration": "npm run build && node test/integration/commonjs-project/index.js && node test/integration/esm-project/index.mjs && npm run test:integration:ts",
140
140
  "test:integration:ts": "cd test/integration/ts-4.7-project && npm i && npm run build",
141
141
  "test:types": "tsd",
142
- "test:unit": "npm run build && c8 --config ./test/.c8rc.json npm run mocha",
142
+ "test:unit": "npm run build && node --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=test-results.xml --import tsx --test src/*.test.ts",
143
143
  watch: "npx nodemon --watch 'src' --ext 'ts' --exec npm run build"
144
144
  },
145
145
  dependencies: {
146
- "@slack/logger": "^4.0.0",
147
- "@slack/types": "^2.20.0",
148
- "@types/node": ">=18.0.0",
146
+ "@slack/logger": "^4.0.1",
147
+ "@slack/types": "^2.20.1",
148
+ "@types/node": ">=18",
149
149
  "@types/retry": "0.12.0",
150
150
  axios: "^1.13.5",
151
151
  eventemitter3: "^5.0.1",
@@ -157,26 +157,12 @@ var require_package = __commonJS({
157
157
  retry: "^0.13.1"
158
158
  },
159
159
  devDependencies: {
160
- "@tsconfig/recommended": "^1",
161
160
  "@types/busboy": "^1.5.4",
162
- "@types/chai": "^4",
163
- "@types/mocha": "^10",
164
161
  "@types/sinon": "^21",
165
162
  busboy: "^1",
166
- c8: "^10.1.2",
167
- chai: "^4",
168
- mocha: "^11",
169
- "mocha-junit-reporter": "^2.2.1",
170
- "mocha-multi-reporters": "^1.5.1",
171
163
  nock: "^14",
172
- shx: "^0.4.0",
173
164
  sinon: "^21",
174
- "source-map-support": "^0.5.21",
175
- "ts-node": "^10",
176
- tsd: "^0.33.0",
177
- typedoc: "^0.28.7",
178
- "typedoc-plugin-markdown": "^4.7.1",
179
- typescript: "5.9.3"
165
+ tsd: "^0.33.0"
180
166
  },
181
167
  tsd: {
182
168
  directory: "test/types"
@@ -259,7 +245,7 @@ var require_dist = __commonJS({
259
245
  LogLevel2["WARN"] = "warn";
260
246
  LogLevel2["INFO"] = "info";
261
247
  LogLevel2["DEBUG"] = "debug";
262
- })(LogLevel = exports2.LogLevel || (exports2.LogLevel = {}));
248
+ })(LogLevel || (exports2.LogLevel = LogLevel = {}));
263
249
  var ConsoleLogger = class _ConsoleLogger {
264
250
  constructor() {
265
251
  this.level = LogLevel.INFO;
@@ -283,7 +269,7 @@ var require_dist = __commonJS({
283
269
  /**
284
270
  * Log a debug message
285
271
  */
286
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
272
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
287
273
  debug(...msg) {
288
274
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.DEBUG, this.level)) {
289
275
  console.debug(_ConsoleLogger.labels.get(LogLevel.DEBUG), this.name, ...msg);
@@ -292,7 +278,7 @@ var require_dist = __commonJS({
292
278
  /**
293
279
  * Log an info message
294
280
  */
295
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
281
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
296
282
  info(...msg) {
297
283
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.INFO, this.level)) {
298
284
  console.info(_ConsoleLogger.labels.get(LogLevel.INFO), this.name, ...msg);
@@ -301,7 +287,7 @@ var require_dist = __commonJS({
301
287
  /**
302
288
  * Log a warning message
303
289
  */
304
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
290
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
305
291
  warn(...msg) {
306
292
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.WARN, this.level)) {
307
293
  console.warn(_ConsoleLogger.labels.get(LogLevel.WARN), this.name, ...msg);
@@ -310,7 +296,7 @@ var require_dist = __commonJS({
310
296
  /**
311
297
  * Log an error message
312
298
  */
313
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
299
+ // biome-ignore lint/suspicious/noExplicitAny: can log anything
314
300
  error(...msg) {
315
301
  if (_ConsoleLogger.isMoreOrEqualSevere(LogLevel.ERROR, this.level)) {
316
302
  console.error(_ConsoleLogger.labels.get(LogLevel.ERROR), this.name, ...msg);
@@ -417,33 +403,6 @@ var require_response = __commonJS({
417
403
  var require_chat_stream = __commonJS({
418
404
  "node_modules/@slack/web-api/dist/chat-stream.js"(exports2) {
419
405
  "use strict";
420
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
421
- function adopt(value) {
422
- return value instanceof P ? value : new P(function(resolve) {
423
- resolve(value);
424
- });
425
- }
426
- return new (P || (P = Promise))(function(resolve, reject) {
427
- function fulfilled(value) {
428
- try {
429
- step(generator.next(value));
430
- } catch (e) {
431
- reject(e);
432
- }
433
- }
434
- function rejected(value) {
435
- try {
436
- step(generator["throw"](value));
437
- } catch (e) {
438
- reject(e);
439
- }
440
- }
441
- function step(result) {
442
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
443
- }
444
- step((generator = generator.apply(thisArg, _arguments || [])).next());
445
- });
446
- };
447
406
  var __rest = exports2 && exports2.__rest || function(s, e) {
448
407
  var t = {};
449
408
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
@@ -511,32 +470,30 @@ var require_chat_stream = __commonJS({
511
470
  * await streamer.stop();
512
471
  * @see {@link https://docs.slack.dev/reference/methods/chat.appendStream}
513
472
  */
514
- append(args) {
515
- return __awaiter(this, void 0, void 0, function* () {
516
- if (this.state === "completed") {
517
- throw new Error(`failed to append stream: stream state is ${this.state}`);
518
- }
519
- const { markdown_text, chunks } = args, opts = __rest(args, ["markdown_text", "chunks"]);
520
- if (opts.token) {
521
- this.token = opts.token;
522
- }
523
- if (markdown_text) {
524
- this.buffer += markdown_text;
525
- }
526
- if (this.buffer.length >= this.options.buffer_size || chunks) {
527
- return yield this.flushBuffer(Object.assign({ chunks }, opts));
528
- }
529
- const details = {
530
- bufferLength: this.buffer.length,
531
- bufferSize: this.options.buffer_size,
532
- channel: this.streamArgs.channel,
533
- recipientTeamId: this.streamArgs.recipient_team_id,
534
- recipientUserId: this.streamArgs.recipient_user_id,
535
- threadTs: this.streamArgs.thread_ts
536
- };
537
- this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
538
- return null;
539
- });
473
+ async append(args) {
474
+ if (this.state === "completed") {
475
+ throw new Error(`failed to append stream: stream state is ${this.state}`);
476
+ }
477
+ const { markdown_text, chunks } = args, opts = __rest(args, ["markdown_text", "chunks"]);
478
+ if (opts.token) {
479
+ this.token = opts.token;
480
+ }
481
+ if (markdown_text) {
482
+ this.buffer += markdown_text;
483
+ }
484
+ if (this.buffer.length >= this.options.buffer_size || chunks) {
485
+ return await this.flushBuffer(Object.assign({ chunks }, opts));
486
+ }
487
+ const details = {
488
+ bufferLength: this.buffer.length,
489
+ bufferSize: this.options.buffer_size,
490
+ channel: this.streamArgs.channel,
491
+ recipientTeamId: this.streamArgs.recipient_team_id,
492
+ recipientUserId: this.streamArgs.recipient_user_id,
493
+ threadTs: this.streamArgs.thread_ts
494
+ };
495
+ this.logger.debug(`ChatStreamer appended to buffer: ${JSON.stringify(details)}`);
496
+ return null;
540
497
  }
541
498
  /**
542
499
  * Stop the stream and finalize the message.
@@ -556,65 +513,61 @@ var require_chat_stream = __commonJS({
556
513
  * await streamer.stop();
557
514
  * @see {@link https://docs.slack.dev/reference/methods/chat.stopStream}
558
515
  */
559
- stop(args) {
560
- return __awaiter(this, void 0, void 0, function* () {
561
- if (this.state === "completed") {
562
- throw new Error(`failed to stop stream: stream state is ${this.state}`);
563
- }
564
- const _a = args !== null && args !== void 0 ? args : {}, { markdown_text, chunks } = _a, opts = __rest(_a, ["markdown_text", "chunks"]);
565
- if (opts.token) {
566
- this.token = opts.token;
567
- }
568
- if (markdown_text) {
569
- this.buffer += markdown_text;
570
- }
571
- if (!this.streamTs) {
572
- const response2 = yield this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
573
- if (!response2.ts) {
574
- throw new Error("failed to stop stream: stream not started");
575
- }
576
- this.streamTs = response2.ts;
577
- this.state = "in_progress";
578
- }
579
- const chunksToFlush = [];
580
- if (this.buffer.length > 0) {
581
- chunksToFlush.push({
582
- type: "markdown_text",
583
- text: this.buffer
584
- });
585
- }
586
- if (chunks) {
587
- chunksToFlush.push(...chunks);
588
- }
589
- const response = yield this.client.chat.stopStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
590
- this.state = "completed";
591
- return response;
592
- });
516
+ async stop(args) {
517
+ if (this.state === "completed") {
518
+ throw new Error(`failed to stop stream: stream state is ${this.state}`);
519
+ }
520
+ const _a = args !== null && args !== void 0 ? args : {}, { markdown_text, chunks } = _a, opts = __rest(_a, ["markdown_text", "chunks"]);
521
+ if (opts.token) {
522
+ this.token = opts.token;
523
+ }
524
+ if (markdown_text) {
525
+ this.buffer += markdown_text;
526
+ }
527
+ if (!this.streamTs) {
528
+ const response2 = await this.client.chat.startStream(Object.assign(Object.assign({}, this.streamArgs), { token: this.token }));
529
+ if (!response2.ts) {
530
+ throw new Error("failed to stop stream: stream not started");
531
+ }
532
+ this.streamTs = response2.ts;
533
+ this.state = "in_progress";
534
+ }
535
+ const chunksToFlush = [];
536
+ if (this.buffer.length > 0) {
537
+ chunksToFlush.push({
538
+ type: "markdown_text",
539
+ text: this.buffer
540
+ });
541
+ }
542
+ if (chunks) {
543
+ chunksToFlush.push(...chunks);
544
+ }
545
+ const response = await this.client.chat.stopStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
546
+ this.state = "completed";
547
+ return response;
593
548
  }
594
- flushBuffer(args) {
595
- return __awaiter(this, void 0, void 0, function* () {
596
- const _a = args !== null && args !== void 0 ? args : {}, { chunks } = _a, opts = __rest(_a, ["chunks"]);
597
- const chunksToFlush = [];
598
- if (this.buffer.length > 0) {
599
- chunksToFlush.push({
600
- type: "markdown_text",
601
- text: this.buffer
602
- });
603
- }
604
- if (chunks) {
605
- chunksToFlush.push(...chunks);
606
- }
607
- if (!this.streamTs) {
608
- const response2 = yield this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
609
- this.buffer = "";
610
- this.streamTs = response2.ts;
611
- this.state = "in_progress";
612
- return response2;
613
- }
614
- const response = yield this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
549
+ async flushBuffer(args) {
550
+ const _a = args !== null && args !== void 0 ? args : {}, { chunks } = _a, opts = __rest(_a, ["chunks"]);
551
+ const chunksToFlush = [];
552
+ if (this.buffer.length > 0) {
553
+ chunksToFlush.push({
554
+ type: "markdown_text",
555
+ text: this.buffer
556
+ });
557
+ }
558
+ if (chunks) {
559
+ chunksToFlush.push(...chunks);
560
+ }
561
+ if (!this.streamTs) {
562
+ const response2 = await this.client.chat.startStream(Object.assign(Object.assign(Object.assign({}, this.streamArgs), { token: this.token, chunks: chunksToFlush }), opts));
615
563
  this.buffer = "";
616
- return response;
617
- });
564
+ this.streamTs = response2.ts;
565
+ this.state = "in_progress";
566
+ return response2;
567
+ }
568
+ const response = await this.client.chat.appendStream(Object.assign({ token: this.token, channel: this.streamArgs.channel, ts: this.streamTs, chunks: chunksToFlush }, opts));
569
+ this.buffer = "";
570
+ return response;
618
571
  }
619
572
  };
620
573
  exports2.ChatStreamer = ChatStreamer;
@@ -12345,12 +12298,25 @@ var require_axios = __commonJS({
12345
12298
  };
12346
12299
  var isDate = kindOfTest("Date");
12347
12300
  var isFile = kindOfTest("File");
12301
+ var isReactNativeBlob = (value) => {
12302
+ return !!(value && typeof value.uri !== "undefined");
12303
+ };
12304
+ var isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
12348
12305
  var isBlob = kindOfTest("Blob");
12349
12306
  var isFileList = kindOfTest("FileList");
12350
12307
  var isStream = (val) => isObject(val) && isFunction$1(val.pipe);
12308
+ function getGlobal() {
12309
+ if (typeof globalThis !== "undefined") return globalThis;
12310
+ if (typeof self !== "undefined") return self;
12311
+ if (typeof window !== "undefined") return window;
12312
+ if (typeof global !== "undefined") return global;
12313
+ return {};
12314
+ }
12315
+ var G = getGlobal();
12316
+ var FormDataCtor = typeof G.FormData !== "undefined" ? G.FormData : void 0;
12351
12317
  var isFormData = (thing) => {
12352
12318
  let kind;
12353
- return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
12319
+ return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
12354
12320
  kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
12355
12321
  };
12356
12322
  var isURLSearchParams = kindOfTest("URLSearchParams");
@@ -12360,7 +12326,9 @@ var require_axios = __commonJS({
12360
12326
  "Response",
12361
12327
  "Headers"
12362
12328
  ].map(kindOfTest);
12363
- var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
12329
+ var trim = (str) => {
12330
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
12331
+ };
12364
12332
  function forEach(obj, fn, { allOwnKeys = false } = {}) {
12365
12333
  if (obj === null || typeof obj === "undefined") {
12366
12334
  return;
@@ -12462,10 +12430,7 @@ var require_axios = __commonJS({
12462
12430
  return content;
12463
12431
  };
12464
12432
  var inherits = (constructor, superConstructor, props, descriptors) => {
12465
- constructor.prototype = Object.create(
12466
- superConstructor.prototype,
12467
- descriptors
12468
- );
12433
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
12469
12434
  Object.defineProperty(constructor.prototype, "constructor", {
12470
12435
  value: constructor,
12471
12436
  writable: true,
@@ -12664,6 +12629,8 @@ var require_axios = __commonJS({
12664
12629
  isUndefined,
12665
12630
  isDate,
12666
12631
  isFile,
12632
+ isReactNativeBlob,
12633
+ isReactNative,
12667
12634
  isBlob,
12668
12635
  isRegExp,
12669
12636
  isFunction: isFunction$1,
@@ -12710,6 +12677,9 @@ var require_axios = __commonJS({
12710
12677
  const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
12711
12678
  axiosError.cause = error;
12712
12679
  axiosError.name = error.name;
12680
+ if (error.status != null && axiosError.status == null) {
12681
+ axiosError.status = error.status;
12682
+ }
12713
12683
  customProps && Object.assign(axiosError, customProps);
12714
12684
  return axiosError;
12715
12685
  }
@@ -12726,6 +12696,12 @@ var require_axios = __commonJS({
12726
12696
  */
12727
12697
  constructor(message, code, config, request, response) {
12728
12698
  super(message);
12699
+ Object.defineProperty(this, "message", {
12700
+ value: message,
12701
+ enumerable: true,
12702
+ writable: true,
12703
+ configurable: true
12704
+ });
12729
12705
  this.name = "AxiosError";
12730
12706
  this.isAxiosError = true;
12731
12707
  code && (this.code = code);
@@ -12793,13 +12769,18 @@ var require_axios = __commonJS({
12793
12769
  throw new TypeError("target must be an object");
12794
12770
  }
12795
12771
  formData = formData || new (FormData__default["default"] || FormData)();
12796
- options = utils$1.toFlatObject(options, {
12797
- metaTokens: true,
12798
- dots: false,
12799
- indexes: false
12800
- }, false, function defined(option, source) {
12801
- return !utils$1.isUndefined(source[option]);
12802
- });
12772
+ options = utils$1.toFlatObject(
12773
+ options,
12774
+ {
12775
+ metaTokens: true,
12776
+ dots: false,
12777
+ indexes: false
12778
+ },
12779
+ false,
12780
+ function defined(option, source) {
12781
+ return !utils$1.isUndefined(source[option]);
12782
+ }
12783
+ );
12803
12784
  const metaTokens = options.metaTokens;
12804
12785
  const visitor = options.visitor || defaultVisitor;
12805
12786
  const dots = options.dots;
@@ -12827,6 +12808,10 @@ var require_axios = __commonJS({
12827
12808
  }
12828
12809
  function defaultVisitor(value, key, path) {
12829
12810
  let arr = value;
12811
+ if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
12812
+ formData.append(renderKey(path, key, dots), convertValue(value));
12813
+ return false;
12814
+ }
12830
12815
  if (value && !path && typeof value === "object") {
12831
12816
  if (utils$1.endsWith(key, "{}")) {
12832
12817
  key = metaTokens ? key : key.slice(0, -2);
@@ -12862,13 +12847,7 @@ var require_axios = __commonJS({
12862
12847
  }
12863
12848
  stack.push(value);
12864
12849
  utils$1.forEach(value, function each(el, key) {
12865
- const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
12866
- formData,
12867
- el,
12868
- utils$1.isString(key) ? key.trim() : key,
12869
- path,
12870
- exposedHelpers
12871
- );
12850
+ const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
12872
12851
  if (result === true) {
12873
12852
  build(el, path ? path.concat(key) : [key]);
12874
12853
  }
@@ -13134,70 +13113,74 @@ var require_axios = __commonJS({
13134
13113
  var defaults = {
13135
13114
  transitional: transitionalDefaults,
13136
13115
  adapter: ["xhr", "http", "fetch"],
13137
- transformRequest: [function transformRequest(data, headers) {
13138
- const contentType = headers.getContentType() || "";
13139
- const hasJSONContentType = contentType.indexOf("application/json") > -1;
13140
- const isObjectPayload = utils$1.isObject(data);
13141
- if (isObjectPayload && utils$1.isHTMLForm(data)) {
13142
- data = new FormData(data);
13143
- }
13144
- const isFormData2 = utils$1.isFormData(data);
13145
- if (isFormData2) {
13146
- return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
13147
- }
13148
- if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
13149
- return data;
13150
- }
13151
- if (utils$1.isArrayBufferView(data)) {
13152
- return data.buffer;
13153
- }
13154
- if (utils$1.isURLSearchParams(data)) {
13155
- headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
13156
- return data.toString();
13157
- }
13158
- let isFileList2;
13159
- if (isObjectPayload) {
13160
- if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
13161
- return toURLEncodedForm(data, this.formSerializer).toString();
13116
+ transformRequest: [
13117
+ function transformRequest(data, headers) {
13118
+ const contentType = headers.getContentType() || "";
13119
+ const hasJSONContentType = contentType.indexOf("application/json") > -1;
13120
+ const isObjectPayload = utils$1.isObject(data);
13121
+ if (isObjectPayload && utils$1.isHTMLForm(data)) {
13122
+ data = new FormData(data);
13123
+ }
13124
+ const isFormData2 = utils$1.isFormData(data);
13125
+ if (isFormData2) {
13126
+ return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
13127
+ }
13128
+ if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
13129
+ return data;
13162
13130
  }
13163
- if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
13164
- const _FormData = this.env && this.env.FormData;
13165
- return toFormData(
13166
- isFileList2 ? { "files[]": data } : data,
13167
- _FormData && new _FormData(),
13168
- this.formSerializer
13169
- );
13131
+ if (utils$1.isArrayBufferView(data)) {
13132
+ return data.buffer;
13133
+ }
13134
+ if (utils$1.isURLSearchParams(data)) {
13135
+ headers.setContentType("application/x-www-form-urlencoded;charset=utf-8", false);
13136
+ return data.toString();
13137
+ }
13138
+ let isFileList2;
13139
+ if (isObjectPayload) {
13140
+ if (contentType.indexOf("application/x-www-form-urlencoded") > -1) {
13141
+ return toURLEncodedForm(data, this.formSerializer).toString();
13142
+ }
13143
+ if ((isFileList2 = utils$1.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
13144
+ const _FormData = this.env && this.env.FormData;
13145
+ return toFormData(
13146
+ isFileList2 ? { "files[]": data } : data,
13147
+ _FormData && new _FormData(),
13148
+ this.formSerializer
13149
+ );
13150
+ }
13151
+ }
13152
+ if (isObjectPayload || hasJSONContentType) {
13153
+ headers.setContentType("application/json", false);
13154
+ return stringifySafely(data);
13170
13155
  }
13171
- }
13172
- if (isObjectPayload || hasJSONContentType) {
13173
- headers.setContentType("application/json", false);
13174
- return stringifySafely(data);
13175
- }
13176
- return data;
13177
- }],
13178
- transformResponse: [function transformResponse(data) {
13179
- const transitional = this.transitional || defaults.transitional;
13180
- const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
13181
- const JSONRequested = this.responseType === "json";
13182
- if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
13183
13156
  return data;
13184
13157
  }
13185
- if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
13186
- const silentJSONParsing = transitional && transitional.silentJSONParsing;
13187
- const strictJSONParsing = !silentJSONParsing && JSONRequested;
13188
- try {
13189
- return JSON.parse(data, this.parseReviver);
13190
- } catch (e) {
13191
- if (strictJSONParsing) {
13192
- if (e.name === "SyntaxError") {
13193
- throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
13158
+ ],
13159
+ transformResponse: [
13160
+ function transformResponse(data) {
13161
+ const transitional = this.transitional || defaults.transitional;
13162
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
13163
+ const JSONRequested = this.responseType === "json";
13164
+ if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
13165
+ return data;
13166
+ }
13167
+ if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
13168
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
13169
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
13170
+ try {
13171
+ return JSON.parse(data, this.parseReviver);
13172
+ } catch (e) {
13173
+ if (strictJSONParsing) {
13174
+ if (e.name === "SyntaxError") {
13175
+ throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
13176
+ }
13177
+ throw e;
13194
13178
  }
13195
- throw e;
13196
13179
  }
13197
13180
  }
13181
+ return data;
13198
13182
  }
13199
- return data;
13200
- }],
13183
+ ],
13201
13184
  /**
13202
13185
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
13203
13186
  * timeout is not created.
@@ -13216,7 +13199,7 @@ var require_axios = __commonJS({
13216
13199
  },
13217
13200
  headers: {
13218
13201
  common: {
13219
- "Accept": "application/json, text/plain, */*",
13202
+ Accept: "application/json, text/plain, */*",
13220
13203
  "Content-Type": void 0
13221
13204
  }
13222
13205
  }
@@ -13483,7 +13466,14 @@ var require_axios = __commonJS({
13483
13466
  return this;
13484
13467
  }
13485
13468
  };
13486
- AxiosHeaders.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
13469
+ AxiosHeaders.accessor([
13470
+ "Content-Type",
13471
+ "Content-Length",
13472
+ "Accept",
13473
+ "Accept-Encoding",
13474
+ "User-Agent",
13475
+ "Authorization"
13476
+ ]);
13487
13477
  utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
13488
13478
  let mapped = key[0].toUpperCase() + key.slice(1);
13489
13479
  return {
@@ -13531,13 +13521,15 @@ var require_axios = __commonJS({
13531
13521
  if (!response.status || !validateStatus || validateStatus(response.status)) {
13532
13522
  resolve(response);
13533
13523
  } else {
13534
- reject(new AxiosError$1(
13535
- "Request failed with status code " + response.status,
13536
- [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13537
- response.config,
13538
- response.request,
13539
- response
13540
- ));
13524
+ reject(
13525
+ new AxiosError$1(
13526
+ "Request failed with status code " + response.status,
13527
+ [AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
13528
+ response.config,
13529
+ response.request,
13530
+ response
13531
+ )
13532
+ );
13541
13533
  }
13542
13534
  }
13543
13535
  function isAbsoluteURL(url2) {
@@ -13556,7 +13548,7 @@ var require_axios = __commonJS({
13556
13548
  }
13557
13549
  return requestedURL;
13558
13550
  }
13559
- var VERSION = "1.13.5";
13551
+ var VERSION = "1.13.6";
13560
13552
  function parseProtocol(url2) {
13561
13553
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
13562
13554
  return match && match[1] || "";
@@ -13591,16 +13583,21 @@ var require_axios = __commonJS({
13591
13583
  var kInternals = /* @__PURE__ */ Symbol("internals");
13592
13584
  var AxiosTransformStream = class extends stream__default["default"].Transform {
13593
13585
  constructor(options) {
13594
- options = utils$1.toFlatObject(options, {
13595
- maxRate: 0,
13596
- chunkSize: 64 * 1024,
13597
- minChunkSize: 100,
13598
- timeWindow: 500,
13599
- ticksRate: 2,
13600
- samplesCount: 15
13601
- }, null, (prop, source) => {
13602
- return !utils$1.isUndefined(source[prop]);
13603
- });
13586
+ options = utils$1.toFlatObject(
13587
+ options,
13588
+ {
13589
+ maxRate: 0,
13590
+ chunkSize: 64 * 1024,
13591
+ minChunkSize: 100,
13592
+ timeWindow: 500,
13593
+ ticksRate: 2,
13594
+ samplesCount: 15
13595
+ },
13596
+ null,
13597
+ (prop, source) => {
13598
+ return !utils$1.isUndefined(source[prop]);
13599
+ }
13600
+ );
13604
13601
  super({
13605
13602
  readableHighWaterMark: options.chunkSize
13606
13603
  });
@@ -13683,9 +13680,12 @@ var require_axios = __commonJS({
13683
13680
  chunkRemainder = _chunk.subarray(maxChunkSize);
13684
13681
  _chunk = _chunk.subarray(0, maxChunkSize);
13685
13682
  }
13686
- pushChunk(_chunk, chunkRemainder ? () => {
13687
- process.nextTick(_callback, null, chunkRemainder);
13688
- } : _callback);
13683
+ pushChunk(
13684
+ _chunk,
13685
+ chunkRemainder ? () => {
13686
+ process.nextTick(_callback, null, chunkRemainder);
13687
+ } : _callback
13688
+ );
13689
13689
  };
13690
13690
  transformChunk(chunk, function transformNextChunk(err, _chunk) {
13691
13691
  if (err) {
@@ -13745,11 +13745,14 @@ var require_axios = __commonJS({
13745
13745
  yield CRLF_BYTES;
13746
13746
  }
13747
13747
  static escapeName(name) {
13748
- return String(name).replace(/[\r\n"]/g, (match) => ({
13749
- "\r": "%0D",
13750
- "\n": "%0A",
13751
- '"': "%22"
13752
- })[match]);
13748
+ return String(name).replace(
13749
+ /[\r\n"]/g,
13750
+ (match) => ({
13751
+ "\r": "%0D",
13752
+ "\n": "%0A",
13753
+ '"': "%22"
13754
+ })[match]
13755
+ );
13753
13756
  }
13754
13757
  };
13755
13758
  var formDataToStream = (form, headersHandler, options) => {
@@ -13781,13 +13784,15 @@ var require_axios = __commonJS({
13781
13784
  computedHeaders["Content-Length"] = contentLength;
13782
13785
  }
13783
13786
  headersHandler && headersHandler(computedHeaders);
13784
- return stream.Readable.from((async function* () {
13785
- for (const part of parts) {
13786
- yield boundaryBytes;
13787
- yield* part.encode();
13788
- }
13789
- yield footerBytes;
13790
- })());
13787
+ return stream.Readable.from(
13788
+ (async function* () {
13789
+ for (const part of parts) {
13790
+ yield boundaryBytes;
13791
+ yield* part.encode();
13792
+ }
13793
+ yield footerBytes;
13794
+ })()
13795
+ );
13791
13796
  };
13792
13797
  var formDataToStream$1 = formDataToStream;
13793
13798
  var ZlibHeaderTransformStream = class extends stream__default["default"].Transform {
@@ -13913,11 +13918,14 @@ var require_axios = __commonJS({
13913
13918
  };
13914
13919
  var progressEventDecorator = (total, throttled) => {
13915
13920
  const lengthComputable = total != null;
13916
- return [(loaded) => throttled[0]({
13917
- lengthComputable,
13918
- total,
13919
- loaded
13920
- }), throttled[1]];
13921
+ return [
13922
+ (loaded) => throttled[0]({
13923
+ lengthComputable,
13924
+ total,
13925
+ loaded
13926
+ }),
13927
+ throttled[1]
13928
+ ];
13921
13929
  };
13922
13930
  var asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
13923
13931
  function estimateDataURLDecodedBytes(url2) {
@@ -13992,9 +14000,12 @@ var require_axios = __commonJS({
13992
14000
  this.sessions = /* @__PURE__ */ Object.create(null);
13993
14001
  }
13994
14002
  getSession(authority, options) {
13995
- options = Object.assign({
13996
- sessionTimeout: 1e3
13997
- }, options);
14003
+ options = Object.assign(
14004
+ {
14005
+ sessionTimeout: 1e3
14006
+ },
14007
+ options
14008
+ );
13998
14009
  let authoritySessions = this.sessions[authority];
13999
14010
  if (authoritySessions) {
14000
14011
  let len = authoritySessions.length;
@@ -14048,10 +14059,7 @@ var require_axios = __commonJS({
14048
14059
  };
14049
14060
  }
14050
14061
  session.once("close", removeSession);
14051
- let entry = [
14052
- session,
14053
- options
14054
- ];
14062
+ let entry = [session, options];
14055
14063
  authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
14056
14064
  return session;
14057
14065
  }
@@ -14137,12 +14145,7 @@ var require_axios = __commonJS({
14137
14145
  const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
14138
14146
  const { http2Options, headers } = options;
14139
14147
  const session = http2Sessions.getSession(authority, http2Options);
14140
- const {
14141
- HTTP2_HEADER_SCHEME,
14142
- HTTP2_HEADER_METHOD,
14143
- HTTP2_HEADER_PATH,
14144
- HTTP2_HEADER_STATUS
14145
- } = http2__default["default"].constants;
14148
+ const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http2__default["default"].constants;
14146
14149
  const http2Headers = {
14147
14150
  [HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
14148
14151
  [HTTP2_HEADER_METHOD]: options.method,
@@ -14195,7 +14198,10 @@ var require_axios = __commonJS({
14195
14198
  const abortEmitter = new events.EventEmitter();
14196
14199
  function abort(reason) {
14197
14200
  try {
14198
- abortEmitter.emit("abort", !reason || reason.type ? new CanceledError$1(null, config, req) : reason);
14201
+ abortEmitter.emit(
14202
+ "abort",
14203
+ !reason || reason.type ? new CanceledError$1(null, config, req) : reason
14204
+ );
14199
14205
  } catch (err) {
14200
14206
  console.warn("emit error", err);
14201
14207
  }
@@ -14241,11 +14247,13 @@ var require_axios = __commonJS({
14241
14247
  const dataUrl = String(config.url || fullPath || "");
14242
14248
  const estimated = estimateDataURLDecodedBytes(dataUrl);
14243
14249
  if (estimated > config.maxContentLength) {
14244
- return reject(new AxiosError$1(
14245
- "maxContentLength size of " + config.maxContentLength + " exceeded",
14246
- AxiosError$1.ERR_BAD_RESPONSE,
14247
- config
14248
- ));
14250
+ return reject(
14251
+ new AxiosError$1(
14252
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
14253
+ AxiosError$1.ERR_BAD_RESPONSE,
14254
+ config
14255
+ )
14256
+ );
14249
14257
  }
14250
14258
  }
14251
14259
  let convertedData;
@@ -14281,11 +14289,9 @@ var require_axios = __commonJS({
14281
14289
  });
14282
14290
  }
14283
14291
  if (supportedProtocols.indexOf(protocol) === -1) {
14284
- return reject(new AxiosError$1(
14285
- "Unsupported protocol " + protocol,
14286
- AxiosError$1.ERR_BAD_REQUEST,
14287
- config
14288
- ));
14292
+ return reject(
14293
+ new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_BAD_REQUEST, config)
14294
+ );
14289
14295
  }
14290
14296
  const headers = AxiosHeaders$1.from(config.headers).normalize();
14291
14297
  headers.set("User-Agent", "axios/" + VERSION, false);
@@ -14295,12 +14301,16 @@ var require_axios = __commonJS({
14295
14301
  let maxDownloadRate = void 0;
14296
14302
  if (utils$1.isSpecCompliantForm(data)) {
14297
14303
  const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
14298
- data = formDataToStream$1(data, (formHeaders) => {
14299
- headers.set(formHeaders);
14300
- }, {
14301
- tag: `axios-${VERSION}-boundary`,
14302
- boundary: userBoundary && userBoundary[1] || void 0
14303
- });
14304
+ data = formDataToStream$1(
14305
+ data,
14306
+ (formHeaders) => {
14307
+ headers.set(formHeaders);
14308
+ },
14309
+ {
14310
+ tag: `axios-${VERSION}-boundary`,
14311
+ boundary: userBoundary && userBoundary[1] || void 0
14312
+ }
14313
+ );
14304
14314
  } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
14305
14315
  headers.set(data.getHeaders());
14306
14316
  if (!headers.hasContentLength()) {
@@ -14321,19 +14331,23 @@ var require_axios = __commonJS({
14321
14331
  } else if (utils$1.isString(data)) {
14322
14332
  data = Buffer.from(data, "utf-8");
14323
14333
  } else {
14324
- return reject(new AxiosError$1(
14325
- "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
14326
- AxiosError$1.ERR_BAD_REQUEST,
14327
- config
14328
- ));
14334
+ return reject(
14335
+ new AxiosError$1(
14336
+ "Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
14337
+ AxiosError$1.ERR_BAD_REQUEST,
14338
+ config
14339
+ )
14340
+ );
14329
14341
  }
14330
14342
  headers.setContentLength(data.length, false);
14331
14343
  if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
14332
- return reject(new AxiosError$1(
14333
- "Request body larger than maxBodyLength limit",
14334
- AxiosError$1.ERR_BAD_REQUEST,
14335
- config
14336
- ));
14344
+ return reject(
14345
+ new AxiosError$1(
14346
+ "Request body larger than maxBodyLength limit",
14347
+ AxiosError$1.ERR_BAD_REQUEST,
14348
+ config
14349
+ )
14350
+ );
14337
14351
  }
14338
14352
  }
14339
14353
  const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
@@ -14347,16 +14361,25 @@ var require_axios = __commonJS({
14347
14361
  if (!utils$1.isStream(data)) {
14348
14362
  data = stream__default["default"].Readable.from(data, { objectMode: false });
14349
14363
  }
14350
- data = stream__default["default"].pipeline([data, new AxiosTransformStream$1({
14351
- maxRate: utils$1.toFiniteNumber(maxUploadRate)
14352
- })], utils$1.noop);
14353
- onUploadProgress && data.on("progress", flushOnFinish(
14354
- data,
14355
- progressEventDecorator(
14356
- contentLength,
14357
- progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
14364
+ data = stream__default["default"].pipeline(
14365
+ [
14366
+ data,
14367
+ new AxiosTransformStream$1({
14368
+ maxRate: utils$1.toFiniteNumber(maxUploadRate)
14369
+ })
14370
+ ],
14371
+ utils$1.noop
14372
+ );
14373
+ onUploadProgress && data.on(
14374
+ "progress",
14375
+ flushOnFinish(
14376
+ data,
14377
+ progressEventDecorator(
14378
+ contentLength,
14379
+ progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
14380
+ )
14358
14381
  )
14359
- ));
14382
+ );
14360
14383
  }
14361
14384
  let auth = void 0;
14362
14385
  if (config.auth) {
@@ -14407,7 +14430,11 @@ var require_axios = __commonJS({
14407
14430
  } else {
14408
14431
  options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
14409
14432
  options.port = parsed.port;
14410
- setProxy(options, config.proxy, protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path);
14433
+ setProxy(
14434
+ options,
14435
+ config.proxy,
14436
+ protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path
14437
+ );
14411
14438
  }
14412
14439
  let transport;
14413
14440
  const isHttpsRequest = isHttps.test(options.protocol);
@@ -14445,13 +14472,16 @@ var require_axios = __commonJS({
14445
14472
  const transformStream = new AxiosTransformStream$1({
14446
14473
  maxRate: utils$1.toFiniteNumber(maxDownloadRate)
14447
14474
  });
14448
- onDownloadProgress && transformStream.on("progress", flushOnFinish(
14449
- transformStream,
14450
- progressEventDecorator(
14451
- responseLength,
14452
- progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
14475
+ onDownloadProgress && transformStream.on(
14476
+ "progress",
14477
+ flushOnFinish(
14478
+ transformStream,
14479
+ progressEventDecorator(
14480
+ responseLength,
14481
+ progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
14482
+ )
14453
14483
  )
14454
- ));
14484
+ );
14455
14485
  streams.push(transformStream);
14456
14486
  }
14457
14487
  let responseStream = res;
@@ -14501,12 +14531,14 @@ var require_axios = __commonJS({
14501
14531
  if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
14502
14532
  rejected = true;
14503
14533
  responseStream.destroy();
14504
- abort(new AxiosError$1(
14505
- "maxContentLength size of " + config.maxContentLength + " exceeded",
14506
- AxiosError$1.ERR_BAD_RESPONSE,
14507
- config,
14508
- lastRequest
14509
- ));
14534
+ abort(
14535
+ new AxiosError$1(
14536
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
14537
+ AxiosError$1.ERR_BAD_RESPONSE,
14538
+ config,
14539
+ lastRequest
14540
+ )
14541
+ );
14510
14542
  }
14511
14543
  });
14512
14544
  responseStream.on("aborted", function handlerStreamAborted() {
@@ -14565,12 +14597,14 @@ var require_axios = __commonJS({
14565
14597
  if (config.timeout) {
14566
14598
  const timeout = parseInt(config.timeout, 10);
14567
14599
  if (Number.isNaN(timeout)) {
14568
- abort(new AxiosError$1(
14569
- "error trying to parse `config.timeout` to int",
14570
- AxiosError$1.ERR_BAD_OPTION_VALUE,
14571
- config,
14572
- req
14573
- ));
14600
+ abort(
14601
+ new AxiosError$1(
14602
+ "error trying to parse `config.timeout` to int",
14603
+ AxiosError$1.ERR_BAD_OPTION_VALUE,
14604
+ config,
14605
+ req
14606
+ )
14607
+ );
14574
14608
  return;
14575
14609
  }
14576
14610
  req.setTimeout(timeout, function handleRequestTimeout() {
@@ -14580,12 +14614,14 @@ var require_axios = __commonJS({
14580
14614
  if (config.timeoutErrorMessage) {
14581
14615
  timeoutErrorMessage = config.timeoutErrorMessage;
14582
14616
  }
14583
- abort(new AxiosError$1(
14584
- timeoutErrorMessage,
14585
- transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14586
- config,
14587
- req
14588
- ));
14617
+ abort(
14618
+ new AxiosError$1(
14619
+ timeoutErrorMessage,
14620
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14621
+ config,
14622
+ req
14623
+ )
14624
+ );
14589
14625
  });
14590
14626
  } else {
14591
14627
  req.setTimeout(0);
@@ -14734,27 +14770,29 @@ var require_axios = __commonJS({
14734
14770
  validateStatus: mergeDirectKeys,
14735
14771
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
14736
14772
  };
14737
- utils$1.forEach(
14738
- Object.keys({ ...config1, ...config2 }),
14739
- function computeConfigValue(prop) {
14740
- if (prop === "__proto__" || prop === "constructor" || prop === "prototype")
14741
- return;
14742
- const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
14743
- const configValue = merge2(config1[prop], config2[prop], prop);
14744
- utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
14745
- }
14746
- );
14773
+ utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
14774
+ if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
14775
+ const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
14776
+ const configValue = merge2(config1[prop], config2[prop], prop);
14777
+ utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
14778
+ });
14747
14779
  return config;
14748
14780
  }
14749
14781
  var resolveConfig = (config) => {
14750
14782
  const newConfig = mergeConfig({}, config);
14751
14783
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
14752
14784
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
14753
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
14785
+ newConfig.url = buildURL(
14786
+ buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
14787
+ config.params,
14788
+ config.paramsSerializer
14789
+ );
14754
14790
  if (auth) {
14755
14791
  headers.set(
14756
14792
  "Authorization",
14757
- "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
14793
+ "Basic " + btoa(
14794
+ (auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : "")
14795
+ )
14758
14796
  );
14759
14797
  }
14760
14798
  if (utils$1.isFormData(data)) {
@@ -14816,13 +14854,17 @@ var require_axios = __commonJS({
14816
14854
  config,
14817
14855
  request
14818
14856
  };
14819
- settle(function _resolve(value) {
14820
- resolve(value);
14821
- done();
14822
- }, function _reject(err) {
14823
- reject(err);
14824
- done();
14825
- }, response);
14857
+ settle(
14858
+ function _resolve(value) {
14859
+ resolve(value);
14860
+ done();
14861
+ },
14862
+ function _reject(err) {
14863
+ reject(err);
14864
+ done();
14865
+ },
14866
+ response
14867
+ );
14826
14868
  request = null;
14827
14869
  }
14828
14870
  if ("onloadend" in request) {
@@ -14858,12 +14900,14 @@ var require_axios = __commonJS({
14858
14900
  if (_config.timeoutErrorMessage) {
14859
14901
  timeoutErrorMessage = _config.timeoutErrorMessage;
14860
14902
  }
14861
- reject(new AxiosError$1(
14862
- timeoutErrorMessage,
14863
- transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14864
- config,
14865
- request
14866
- ));
14903
+ reject(
14904
+ new AxiosError$1(
14905
+ timeoutErrorMessage,
14906
+ transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
14907
+ config,
14908
+ request
14909
+ )
14910
+ );
14867
14911
  request = null;
14868
14912
  };
14869
14913
  requestData === void 0 && requestHeaders.setContentType(null);
@@ -14903,7 +14947,13 @@ var require_axios = __commonJS({
14903
14947
  }
14904
14948
  const protocol = parseProtocol(_config.url);
14905
14949
  if (protocol && platform.protocols.indexOf(protocol) === -1) {
14906
- reject(new AxiosError$1("Unsupported protocol " + protocol + ":", AxiosError$1.ERR_BAD_REQUEST, config));
14950
+ reject(
14951
+ new AxiosError$1(
14952
+ "Unsupported protocol " + protocol + ":",
14953
+ AxiosError$1.ERR_BAD_REQUEST,
14954
+ config
14955
+ )
14956
+ );
14907
14957
  return;
14908
14958
  }
14909
14959
  request.send(requestData || null);
@@ -14919,7 +14969,9 @@ var require_axios = __commonJS({
14919
14969
  aborted = true;
14920
14970
  unsubscribe();
14921
14971
  const err = reason instanceof Error ? reason : this.reason;
14922
- controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
14972
+ controller.abort(
14973
+ err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err)
14974
+ );
14923
14975
  }
14924
14976
  };
14925
14977
  let timer = timeout && setTimeout(() => {
@@ -14990,33 +15042,36 @@ var require_axios = __commonJS({
14990
15042
  onFinish && onFinish(e);
14991
15043
  }
14992
15044
  };
14993
- return new ReadableStream({
14994
- async pull(controller) {
14995
- try {
14996
- const { done: done2, value } = await iterator2.next();
14997
- if (done2) {
14998
- _onFinish();
14999
- controller.close();
15000
- return;
15001
- }
15002
- let len = value.byteLength;
15003
- if (onProgress) {
15004
- let loadedBytes = bytes += len;
15005
- onProgress(loadedBytes);
15045
+ return new ReadableStream(
15046
+ {
15047
+ async pull(controller) {
15048
+ try {
15049
+ const { done: done2, value } = await iterator2.next();
15050
+ if (done2) {
15051
+ _onFinish();
15052
+ controller.close();
15053
+ return;
15054
+ }
15055
+ let len = value.byteLength;
15056
+ if (onProgress) {
15057
+ let loadedBytes = bytes += len;
15058
+ onProgress(loadedBytes);
15059
+ }
15060
+ controller.enqueue(new Uint8Array(value));
15061
+ } catch (err) {
15062
+ _onFinish(err);
15063
+ throw err;
15006
15064
  }
15007
- controller.enqueue(new Uint8Array(value));
15008
- } catch (err) {
15009
- _onFinish(err);
15010
- throw err;
15065
+ },
15066
+ cancel(reason) {
15067
+ _onFinish(reason);
15068
+ return iterator2.return();
15011
15069
  }
15012
15070
  },
15013
- cancel(reason) {
15014
- _onFinish(reason);
15015
- return iterator2.return();
15071
+ {
15072
+ highWaterMark: 2
15016
15073
  }
15017
- }, {
15018
- highWaterMark: 2
15019
- });
15074
+ );
15020
15075
  };
15021
15076
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
15022
15077
  var { isFunction } = utils$1;
@@ -15024,10 +15079,7 @@ var require_axios = __commonJS({
15024
15079
  Request,
15025
15080
  Response
15026
15081
  }))(utils$1.global);
15027
- var {
15028
- ReadableStream: ReadableStream$1,
15029
- TextEncoder: TextEncoder$1
15030
- } = utils$1.global;
15082
+ var { ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1 } = utils$1.global;
15031
15083
  var test = (fn, ...args) => {
15032
15084
  try {
15033
15085
  return !!fn(...args);
@@ -15036,9 +15088,13 @@ var require_axios = __commonJS({
15036
15088
  }
15037
15089
  };
15038
15090
  var factory = (env) => {
15039
- env = utils$1.merge.call({
15040
- skipUndefined: true
15041
- }, globalFetchAPI, env);
15091
+ env = utils$1.merge.call(
15092
+ {
15093
+ skipUndefined: true
15094
+ },
15095
+ globalFetchAPI,
15096
+ env
15097
+ );
15042
15098
  const { fetch: envFetch, Request, Response } = env;
15043
15099
  const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === "function";
15044
15100
  const isRequestSupported = isFunction(Request);
@@ -15071,7 +15127,11 @@ var require_axios = __commonJS({
15071
15127
  if (method) {
15072
15128
  return method.call(res);
15073
15129
  }
15074
- throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
15130
+ throw new AxiosError$1(
15131
+ `Response type '${type}' is not supported`,
15132
+ AxiosError$1.ERR_NOT_SUPPORT,
15133
+ config
15134
+ );
15075
15135
  });
15076
15136
  });
15077
15137
  })();
@@ -15120,7 +15180,10 @@ var require_axios = __commonJS({
15120
15180
  } = resolveConfig(config);
15121
15181
  let _fetch = envFetch || fetch;
15122
15182
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
15123
- let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
15183
+ let composedSignal = composeSignals$1(
15184
+ [signal, cancelToken && cancelToken.toAbortSignal()],
15185
+ timeout
15186
+ );
15124
15187
  let request = null;
15125
15188
  const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
15126
15189
  composedSignal.unsubscribe();
@@ -15180,7 +15243,10 @@ var require_axios = __commonJS({
15180
15243
  );
15181
15244
  }
15182
15245
  responseType = responseType || "text";
15183
- let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
15246
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](
15247
+ response,
15248
+ config
15249
+ );
15184
15250
  !isStreamResponse && unsubscribe && unsubscribe();
15185
15251
  return await new Promise((resolve, reject) => {
15186
15252
  settle(resolve, reject, {
@@ -15196,7 +15262,13 @@ var require_axios = __commonJS({
15196
15262
  unsubscribe && unsubscribe();
15197
15263
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
15198
15264
  throw Object.assign(
15199
- new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request, err && err.response),
15265
+ new AxiosError$1(
15266
+ "Network Error",
15267
+ AxiosError$1.ERR_NETWORK,
15268
+ config,
15269
+ request,
15270
+ err && err.response
15271
+ ),
15200
15272
  {
15201
15273
  cause: err.cause || err
15202
15274
  }
@@ -15210,11 +15282,7 @@ var require_axios = __commonJS({
15210
15282
  var getFetch = (config) => {
15211
15283
  let env = config && config.env || {};
15212
15284
  const { fetch: fetch2, Request, Response } = env;
15213
- const seeds = [
15214
- Request,
15215
- Response,
15216
- fetch2
15217
- ];
15285
+ const seeds = [Request, Response, fetch2];
15218
15286
  let len = seeds.length, i = len, seed, target, map = seedCache;
15219
15287
  while (i--) {
15220
15288
  seed = seeds[i];
@@ -15299,37 +15367,33 @@ var require_axios = __commonJS({
15299
15367
  function dispatchRequest(config) {
15300
15368
  throwIfCancellationRequested(config);
15301
15369
  config.headers = AxiosHeaders$1.from(config.headers);
15302
- config.data = transformData.call(
15303
- config,
15304
- config.transformRequest
15305
- );
15370
+ config.data = transformData.call(config, config.transformRequest);
15306
15371
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
15307
15372
  config.headers.setContentType("application/x-www-form-urlencoded", false);
15308
15373
  }
15309
15374
  const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
15310
- return adapter(config).then(function onAdapterResolution(response) {
15311
- throwIfCancellationRequested(config);
15312
- response.data = transformData.call(
15313
- config,
15314
- config.transformResponse,
15315
- response
15316
- );
15317
- response.headers = AxiosHeaders$1.from(response.headers);
15318
- return response;
15319
- }, function onAdapterRejection(reason) {
15320
- if (!isCancel(reason)) {
15375
+ return adapter(config).then(
15376
+ function onAdapterResolution(response) {
15321
15377
  throwIfCancellationRequested(config);
15322
- if (reason && reason.response) {
15323
- reason.response.data = transformData.call(
15324
- config,
15325
- config.transformResponse,
15326
- reason.response
15327
- );
15328
- reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
15378
+ response.data = transformData.call(config, config.transformResponse, response);
15379
+ response.headers = AxiosHeaders$1.from(response.headers);
15380
+ return response;
15381
+ },
15382
+ function onAdapterRejection(reason) {
15383
+ if (!isCancel(reason)) {
15384
+ throwIfCancellationRequested(config);
15385
+ if (reason && reason.response) {
15386
+ reason.response.data = transformData.call(
15387
+ config,
15388
+ config.transformResponse,
15389
+ reason.response
15390
+ );
15391
+ reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
15392
+ }
15329
15393
  }
15394
+ return Promise.reject(reason);
15330
15395
  }
15331
- return Promise.reject(reason);
15332
- });
15396
+ );
15333
15397
  }
15334
15398
  var validators$1 = {};
15335
15399
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
@@ -15380,7 +15444,10 @@ var require_axios = __commonJS({
15380
15444
  const value = options[opt];
15381
15445
  const result = value === void 0 || validator2(value, opt, options);
15382
15446
  if (result !== true) {
15383
- throw new AxiosError$1("option " + opt + " must be " + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
15447
+ throw new AxiosError$1(
15448
+ "option " + opt + " must be " + result,
15449
+ AxiosError$1.ERR_BAD_OPTION_VALUE
15450
+ );
15384
15451
  }
15385
15452
  continue;
15386
15453
  }
@@ -15440,12 +15507,16 @@ var require_axios = __commonJS({
15440
15507
  config = mergeConfig(this.defaults, config);
15441
15508
  const { transitional, paramsSerializer, headers } = config;
15442
15509
  if (transitional !== void 0) {
15443
- validator.assertOptions(transitional, {
15444
- silentJSONParsing: validators.transitional(validators.boolean),
15445
- forcedJSONParsing: validators.transitional(validators.boolean),
15446
- clarifyTimeoutError: validators.transitional(validators.boolean),
15447
- legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
15448
- }, false);
15510
+ validator.assertOptions(
15511
+ transitional,
15512
+ {
15513
+ silentJSONParsing: validators.transitional(validators.boolean),
15514
+ forcedJSONParsing: validators.transitional(validators.boolean),
15515
+ clarifyTimeoutError: validators.transitional(validators.boolean),
15516
+ legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
15517
+ },
15518
+ false
15519
+ );
15449
15520
  }
15450
15521
  if (paramsSerializer != null) {
15451
15522
  if (utils$1.isFunction(paramsSerializer)) {
@@ -15453,10 +15524,14 @@ var require_axios = __commonJS({
15453
15524
  serialize: paramsSerializer
15454
15525
  };
15455
15526
  } else {
15456
- validator.assertOptions(paramsSerializer, {
15457
- encode: validators.function,
15458
- serialize: validators.function
15459
- }, true);
15527
+ validator.assertOptions(
15528
+ paramsSerializer,
15529
+ {
15530
+ encode: validators.function,
15531
+ serialize: validators.function
15532
+ },
15533
+ true
15534
+ );
15460
15535
  }
15461
15536
  }
15462
15537
  if (config.allowAbsoluteUrls !== void 0) ;
@@ -15465,21 +15540,19 @@ var require_axios = __commonJS({
15465
15540
  } else {
15466
15541
  config.allowAbsoluteUrls = true;
15467
15542
  }
15468
- validator.assertOptions(config, {
15469
- baseUrl: validators.spelling("baseURL"),
15470
- withXsrfToken: validators.spelling("withXSRFToken")
15471
- }, true);
15472
- config.method = (config.method || this.defaults.method || "get").toLowerCase();
15473
- let contextHeaders = headers && utils$1.merge(
15474
- headers.common,
15475
- headers[config.method]
15476
- );
15477
- headers && utils$1.forEach(
15478
- ["delete", "get", "head", "post", "put", "patch", "common"],
15479
- (method) => {
15480
- delete headers[method];
15481
- }
15543
+ validator.assertOptions(
15544
+ config,
15545
+ {
15546
+ baseUrl: validators.spelling("baseURL"),
15547
+ withXsrfToken: validators.spelling("withXSRFToken")
15548
+ },
15549
+ true
15482
15550
  );
15551
+ config.method = (config.method || this.defaults.method || "get").toLowerCase();
15552
+ let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
15553
+ headers && utils$1.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (method) => {
15554
+ delete headers[method];
15555
+ });
15483
15556
  config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
15484
15557
  const requestInterceptorChain = [];
15485
15558
  let synchronousRequestInterceptors = true;
@@ -15546,24 +15619,28 @@ var require_axios = __commonJS({
15546
15619
  };
15547
15620
  utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoData(method) {
15548
15621
  Axios.prototype[method] = function(url2, config) {
15549
- return this.request(mergeConfig(config || {}, {
15550
- method,
15551
- url: url2,
15552
- data: (config || {}).data
15553
- }));
15622
+ return this.request(
15623
+ mergeConfig(config || {}, {
15624
+ method,
15625
+ url: url2,
15626
+ data: (config || {}).data
15627
+ })
15628
+ );
15554
15629
  };
15555
15630
  });
15556
15631
  utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData(method) {
15557
15632
  function generateHTTPMethod(isForm) {
15558
15633
  return function httpMethod(url2, data, config) {
15559
- return this.request(mergeConfig(config || {}, {
15560
- method,
15561
- headers: isForm ? {
15562
- "Content-Type": "multipart/form-data"
15563
- } : {},
15564
- url: url2,
15565
- data
15566
- }));
15634
+ return this.request(
15635
+ mergeConfig(config || {}, {
15636
+ method,
15637
+ headers: isForm ? {
15638
+ "Content-Type": "multipart/form-data"
15639
+ } : {},
15640
+ url: url2,
15641
+ data
15642
+ })
15643
+ );
15567
15644
  };
15568
15645
  }
15569
15646
  Axios.prototype[method] = generateHTTPMethod();
@@ -16695,33 +16772,6 @@ var require_p_retry = __commonJS({
16695
16772
  var require_file_upload = __commonJS({
16696
16773
  "node_modules/@slack/web-api/dist/file-upload.js"(exports2) {
16697
16774
  "use strict";
16698
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
16699
- function adopt(value) {
16700
- return value instanceof P ? value : new P(function(resolve) {
16701
- resolve(value);
16702
- });
16703
- }
16704
- return new (P || (P = Promise))(function(resolve, reject) {
16705
- function fulfilled(value) {
16706
- try {
16707
- step(generator.next(value));
16708
- } catch (e) {
16709
- reject(e);
16710
- }
16711
- }
16712
- function rejected(value) {
16713
- try {
16714
- step(generator["throw"](value));
16715
- } catch (e) {
16716
- reject(e);
16717
- }
16718
- }
16719
- function step(result) {
16720
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
16721
- }
16722
- step((generator = generator.apply(thisArg, _arguments || [])).next());
16723
- });
16724
- };
16725
16775
  Object.defineProperty(exports2, "__esModule", { value: true });
16726
16776
  exports2.getFileUploadJob = getFileUploadJob;
16727
16777
  exports2.getMultipleFileUploadJobs = getMultipleFileUploadJobs;
@@ -16749,94 +16799,88 @@ var require_file_upload = __commonJS({
16749
16799
  var node_fs_1 = require("node:fs");
16750
16800
  var node_stream_1 = require("node:stream");
16751
16801
  var errors_1 = require_errors();
16752
- function getFileUploadJob(options, logger) {
16753
- return __awaiter(this, void 0, void 0, function* () {
16754
- var _a, _b, _c, _d;
16755
- warnIfLegacyFileType(options, logger);
16756
- warnIfChannels(options, logger);
16757
- errorIfChannelsCsv(options);
16758
- const fileName = warnIfMissingOrInvalidFileNameAndDefault(options, logger);
16759
- const fileData = yield getFileData(options);
16760
- const fileDataBytesLength = getFileDataLength(fileData);
16761
- const fileUploadJob = {
16762
- // supplied by user
16763
- alt_text: options.alt_text,
16764
- blocks: options.blocks,
16765
- channel_id: (_a = options.channels) !== null && _a !== void 0 ? _a : options.channel_id,
16766
- filename: (_b = options.filename) !== null && _b !== void 0 ? _b : fileName,
16767
- initial_comment: options.initial_comment,
16768
- snippet_type: options.snippet_type,
16769
- title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName,
16770
- // default title to filename unless otherwise specified
16771
- // calculated
16772
- data: fileData,
16773
- length: fileDataBytesLength
16774
- };
16775
- if ("thread_ts" in options) {
16776
- fileUploadJob.thread_ts = options.thread_ts;
16777
- }
16778
- if ("token" in options) {
16779
- fileUploadJob.token = options.token;
16780
- }
16781
- if ("content" in options) {
16782
- return Object.assign({ content: options.content }, fileUploadJob);
16783
- }
16784
- if ("file" in options) {
16785
- return Object.assign({ file: options.file }, fileUploadJob);
16786
- }
16787
- throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16788
- });
16802
+ async function getFileUploadJob(options, logger) {
16803
+ var _a, _b, _c, _d;
16804
+ warnIfLegacyFileType(options, logger);
16805
+ warnIfChannels(options, logger);
16806
+ errorIfChannelsCsv(options);
16807
+ const fileName = warnIfMissingOrInvalidFileNameAndDefault(options, logger);
16808
+ const fileData = await getFileData(options);
16809
+ const fileDataBytesLength = getFileDataLength(fileData);
16810
+ const fileUploadJob = {
16811
+ // supplied by user
16812
+ alt_text: options.alt_text,
16813
+ blocks: options.blocks,
16814
+ channel_id: (_a = options.channels) !== null && _a !== void 0 ? _a : options.channel_id,
16815
+ filename: (_b = options.filename) !== null && _b !== void 0 ? _b : fileName,
16816
+ initial_comment: options.initial_comment,
16817
+ snippet_type: options.snippet_type,
16818
+ title: (_d = (_c = options.title) !== null && _c !== void 0 ? _c : options.filename) !== null && _d !== void 0 ? _d : fileName,
16819
+ // default title to filename unless otherwise specified
16820
+ // calculated
16821
+ data: fileData,
16822
+ length: fileDataBytesLength
16823
+ };
16824
+ if ("thread_ts" in options) {
16825
+ fileUploadJob.thread_ts = options.thread_ts;
16826
+ }
16827
+ if ("token" in options) {
16828
+ fileUploadJob.token = options.token;
16829
+ }
16830
+ if ("content" in options) {
16831
+ return Object.assign({ content: options.content }, fileUploadJob);
16832
+ }
16833
+ if ("file" in options) {
16834
+ return Object.assign({ file: options.file }, fileUploadJob);
16835
+ }
16836
+ throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16789
16837
  }
16790
- function getMultipleFileUploadJobs(options, logger) {
16791
- return __awaiter(this, void 0, void 0, function* () {
16792
- if ("file_uploads" in options) {
16793
- return Promise.all(options.file_uploads.map((upload) => {
16794
- const { blocks, channel_id, channels, initial_comment, thread_ts } = upload;
16795
- if (blocks || channel_id || channels || initial_comment || thread_ts) {
16796
- throw (0, errors_1.errorWithCode)(new Error(buildInvalidFilesUploadParamError()), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16797
- }
16798
- const uploadJobArgs = Object.assign(Object.assign({}, upload), { blocks: options.blocks, channels: options.channels, channel_id: options.channel_id, initial_comment: options.initial_comment });
16799
- if ("thread_ts" in options) {
16800
- uploadJobArgs.thread_ts = options.thread_ts;
16801
- }
16802
- if ("token" in options) {
16803
- uploadJobArgs.token = options.token;
16804
- }
16805
- if ("content" in upload) {
16806
- return getFileUploadJob(Object.assign({ content: upload.content }, uploadJobArgs), logger);
16807
- }
16808
- if ("file" in upload) {
16809
- return getFileUploadJob(Object.assign({ file: upload.file }, uploadJobArgs), logger);
16810
- }
16811
- throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16812
- }));
16813
- }
16814
- throw new Error(buildFilesUploadMissingMessage());
16815
- });
16838
+ async function getMultipleFileUploadJobs(options, logger) {
16839
+ if ("file_uploads" in options) {
16840
+ return Promise.all(options.file_uploads.map((upload) => {
16841
+ const { blocks, channel_id, channels, initial_comment, thread_ts } = upload;
16842
+ if (blocks || channel_id || channels || initial_comment || thread_ts) {
16843
+ throw (0, errors_1.errorWithCode)(new Error(buildInvalidFilesUploadParamError()), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16844
+ }
16845
+ const uploadJobArgs = Object.assign(Object.assign({}, upload), { blocks: options.blocks, channels: options.channels, channel_id: options.channel_id, initial_comment: options.initial_comment });
16846
+ if ("thread_ts" in options) {
16847
+ uploadJobArgs.thread_ts = options.thread_ts;
16848
+ }
16849
+ if ("token" in options) {
16850
+ uploadJobArgs.token = options.token;
16851
+ }
16852
+ if ("content" in upload) {
16853
+ return getFileUploadJob(Object.assign({ content: upload.content }, uploadJobArgs), logger);
16854
+ }
16855
+ if ("file" in upload) {
16856
+ return getFileUploadJob(Object.assign({ file: upload.file }, uploadJobArgs), logger);
16857
+ }
16858
+ throw (0, errors_1.errorWithCode)(new Error("Either a file or content field is required for valid file upload. You must supply one"), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16859
+ }));
16860
+ }
16861
+ throw new Error(buildFilesUploadMissingMessage());
16816
16862
  }
16817
- function getFileData(options) {
16818
- return __awaiter(this, void 0, void 0, function* () {
16819
- errorIfInvalidOrMissingFileData(options);
16820
- if ("file" in options) {
16821
- const { file } = options;
16822
- if (Buffer.isBuffer(file))
16823
- return file;
16824
- if (typeof file === "string") {
16825
- try {
16826
- const dataBuffer = (0, node_fs_1.readFileSync)(file);
16827
- return dataBuffer;
16828
- } catch (_err) {
16829
- throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16830
- }
16863
+ async function getFileData(options) {
16864
+ errorIfInvalidOrMissingFileData(options);
16865
+ if ("file" in options) {
16866
+ const { file } = options;
16867
+ if (Buffer.isBuffer(file))
16868
+ return file;
16869
+ if (typeof file === "string") {
16870
+ try {
16871
+ const dataBuffer = (0, node_fs_1.readFileSync)(file);
16872
+ return dataBuffer;
16873
+ } catch (_err) {
16874
+ throw (0, errors_1.errorWithCode)(new Error(`Unable to resolve file data for ${file}. Please supply a filepath string, or binary data Buffer or String directly.`), errors_1.ErrorCode.FileUploadInvalidArgumentsError);
16831
16875
  }
16832
- const data = yield getFileDataAsStream(file);
16833
- if (data)
16834
- return data;
16835
16876
  }
16836
- if ("content" in options)
16837
- return Buffer.from(options.content);
16838
- throw (0, errors_1.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"), errors_1.ErrorCode.FileUploadReadFileDataError);
16839
- });
16877
+ const data = await getFileDataAsStream(file);
16878
+ if (data)
16879
+ return data;
16880
+ }
16881
+ if ("content" in options)
16882
+ return Buffer.from(options.content);
16883
+ throw (0, errors_1.errorWithCode)(new Error("There was an issue getting the file data for the file or content supplied"), errors_1.ErrorCode.FileUploadReadFileDataError);
16840
16884
  }
16841
16885
  function getFileDataLength(data) {
16842
16886
  if (data) {
@@ -16844,25 +16888,23 @@ var require_file_upload = __commonJS({
16844
16888
  }
16845
16889
  throw (0, errors_1.errorWithCode)(new Error(buildFileSizeErrorMsg()), errors_1.ErrorCode.FileUploadReadFileDataError);
16846
16890
  }
16847
- function getFileDataAsStream(readable) {
16848
- return __awaiter(this, void 0, void 0, function* () {
16849
- const chunks = [];
16850
- return new Promise((resolve, reject) => {
16851
- readable.on("readable", () => {
16852
- let chunk = readable.read();
16853
- while (chunk !== null) {
16854
- chunks.push(chunk);
16855
- chunk = readable.read();
16856
- }
16857
- });
16858
- readable.on("end", () => {
16859
- if (chunks.length > 0) {
16860
- const content = Buffer.concat(chunks);
16861
- resolve(content);
16862
- } else {
16863
- reject(Error("No data in supplied file"));
16864
- }
16865
- });
16891
+ async function getFileDataAsStream(readable) {
16892
+ const chunks = [];
16893
+ return new Promise((resolve, reject) => {
16894
+ readable.on("readable", () => {
16895
+ let chunk = readable.read();
16896
+ while (chunk !== null) {
16897
+ chunks.push(chunk);
16898
+ chunk = readable.read();
16899
+ }
16900
+ });
16901
+ readable.on("end", () => {
16902
+ if (chunks.length > 0) {
16903
+ const content = Buffer.concat(chunks);
16904
+ resolve(content);
16905
+ } else {
16906
+ reject(Error("No data in supplied file"));
16907
+ }
16866
16908
  });
16867
16909
  });
16868
16910
  }
@@ -18225,7 +18267,16 @@ var require_methods = __commonJS({
18225
18267
  * @description Uninstalls your app from a workspace.
18226
18268
  * @see {@link https://docs.slack.dev/reference/methods/apps.uninstall `apps.uninstall` API reference}.
18227
18269
  */
18228
- uninstall: bindApiCall(this, "apps.uninstall")
18270
+ uninstall: bindApiCall(this, "apps.uninstall"),
18271
+ user: {
18272
+ connection: {
18273
+ /**
18274
+ * @description Updates the connection status between a user and an app.
18275
+ * @see {@link https://docs.slack.dev/reference/methods/apps.user.connection.update `apps.user.connection.update` API reference}.
18276
+ */
18277
+ update: bindApiCall(this, "apps.user.connection.update")
18278
+ }
18279
+ }
18229
18280
  };
18230
18281
  this.auth = {
18231
18282
  /**
@@ -19230,33 +19281,6 @@ var require_WebClient = __commonJS({
19230
19281
  return result;
19231
19282
  };
19232
19283
  })();
19233
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
19234
- function adopt(value) {
19235
- return value instanceof P ? value : new P(function(resolve) {
19236
- resolve(value);
19237
- });
19238
- }
19239
- return new (P || (P = Promise))(function(resolve, reject) {
19240
- function fulfilled(value) {
19241
- try {
19242
- step(generator.next(value));
19243
- } catch (e) {
19244
- reject(e);
19245
- }
19246
- }
19247
- function rejected(value) {
19248
- try {
19249
- step(generator["throw"](value));
19250
- } catch (e) {
19251
- reject(e);
19252
- }
19253
- }
19254
- function step(result) {
19255
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
19256
- }
19257
- step((generator = generator.apply(thisArg, _arguments || [])).next());
19258
- });
19259
- };
19260
19284
  var __await = exports2 && exports2.__await || function(v) {
19261
19285
  return this instanceof __await ? (this.v = v, this) : new __await(v);
19262
19286
  };
@@ -19434,54 +19458,52 @@ var require_WebClient = __commonJS({
19434
19458
  * @param method - the Web API method to call {@link https://docs.slack.dev/reference/methods}
19435
19459
  * @param options - options
19436
19460
  */
19437
- apiCall(method_1) {
19438
- return __awaiter(this, arguments, void 0, function* (method, options = {}) {
19439
- this.logger.debug(`apiCall('${method}') start`);
19440
- warnDeprecations(method, this.logger);
19441
- warnIfFallbackIsMissing(method, this.logger, options);
19442
- warnIfThreadTsIsNotString(method, this.logger, options);
19443
- if (typeof options === "string" || typeof options === "number" || typeof options === "boolean") {
19444
- throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);
19445
- }
19446
- (0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger);
19447
- if (method === "files.uploadV2")
19448
- return this.filesUploadV2(options);
19449
- const headers = {};
19450
- if (options.token)
19451
- headers.Authorization = `Bearer ${options.token}`;
19452
- const url = this.deriveRequestUrl(method);
19453
- const response = yield this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
19454
- const result = yield this.buildResult(response);
19455
- this.logger.debug(`http request result: ${JSON.stringify(result)}`);
19456
- if (result.response_metadata !== void 0 && result.response_metadata.warnings !== void 0) {
19457
- result.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger));
19458
- }
19459
- if (result.response_metadata !== void 0 && result.response_metadata.messages !== void 0) {
19460
- for (const msg of result.response_metadata.messages) {
19461
- const errReg = /\[ERROR\](.*)/;
19462
- const warnReg = /\[WARN\](.*)/;
19463
- if (errReg.test(msg)) {
19464
- const errMatch = msg.match(errReg);
19465
- if (errMatch != null) {
19466
- this.logger.error(errMatch[1].trim());
19467
- }
19468
- } else if (warnReg.test(msg)) {
19469
- const warnMatch = msg.match(warnReg);
19470
- if (warnMatch != null) {
19471
- this.logger.warn(warnMatch[1].trim());
19472
- }
19461
+ async apiCall(method, options = {}) {
19462
+ this.logger.debug(`apiCall('${method}') start`);
19463
+ warnDeprecations(method, this.logger);
19464
+ warnIfFallbackIsMissing(method, this.logger, options);
19465
+ warnIfThreadTsIsNotString(method, this.logger, options);
19466
+ if (typeof options === "string" || typeof options === "number" || typeof options === "boolean") {
19467
+ throw new TypeError(`Expected an options argument but instead received a ${typeof options}`);
19468
+ }
19469
+ (0, file_upload_1.warnIfNotUsingFilesUploadV2)(method, this.logger);
19470
+ if (method === "files.uploadV2")
19471
+ return this.filesUploadV2(options);
19472
+ const headers = {};
19473
+ if (options.token)
19474
+ headers.Authorization = `Bearer ${options.token}`;
19475
+ const url = this.deriveRequestUrl(method);
19476
+ const response = await this.makeRequest(url, Object.assign({ team_id: this.teamId }, options), headers);
19477
+ const result = await this.buildResult(response);
19478
+ this.logger.debug(`http request result: ${JSON.stringify(result)}`);
19479
+ if (result.response_metadata !== void 0 && result.response_metadata.warnings !== void 0) {
19480
+ result.response_metadata.warnings.forEach(this.logger.warn.bind(this.logger));
19481
+ }
19482
+ if (result.response_metadata !== void 0 && result.response_metadata.messages !== void 0) {
19483
+ for (const msg of result.response_metadata.messages) {
19484
+ const errReg = /\[ERROR\](.*)/;
19485
+ const warnReg = /\[WARN\](.*)/;
19486
+ if (errReg.test(msg)) {
19487
+ const errMatch = msg.match(errReg);
19488
+ if (errMatch != null) {
19489
+ this.logger.error(errMatch[1].trim());
19490
+ }
19491
+ } else if (warnReg.test(msg)) {
19492
+ const warnMatch = msg.match(warnReg);
19493
+ if (warnMatch != null) {
19494
+ this.logger.warn(warnMatch[1].trim());
19473
19495
  }
19474
19496
  }
19475
19497
  }
19476
- if (!result.ok && response.headers["content-type"] !== "application/gzip") {
19477
- throw (0, errors_1.platformErrorFromResult)(result);
19478
- }
19479
- if ("ok" in result && result.ok === false) {
19480
- throw (0, errors_1.platformErrorFromResult)(result);
19481
- }
19482
- this.logger.debug(`apiCall('${method}') end`);
19483
- return result;
19484
- });
19498
+ }
19499
+ if (!result.ok && response.headers["content-type"] !== "application/gzip") {
19500
+ throw (0, errors_1.platformErrorFromResult)(result);
19501
+ }
19502
+ if ("ok" in result && result.ok === false) {
19503
+ throw (0, errors_1.platformErrorFromResult)(result);
19504
+ }
19505
+ this.logger.debug(`apiCall('${method}') end`);
19506
+ return result;
19485
19507
  }
19486
19508
  paginate(method, options, shouldStop, reduce) {
19487
19509
  const pageSize = (() => {
@@ -19513,10 +19535,10 @@ var require_WebClient = __commonJS({
19513
19535
  }
19514
19536
  const pageReducer = reduce !== void 0 ? reduce : noopPageReducer;
19515
19537
  let index = 0;
19516
- return (() => __awaiter(this, void 0, void 0, function* () {
19538
+ return (async () => {
19517
19539
  var _a, e_1, _b, _c;
19518
19540
  const pageIterator = generatePages.call(this);
19519
- const firstIteratorResult = yield pageIterator.next(void 0);
19541
+ const firstIteratorResult = await pageIterator.next(void 0);
19520
19542
  const firstPage = firstIteratorResult.value;
19521
19543
  let accumulator = pageReducer(void 0, firstPage, index);
19522
19544
  index += 1;
@@ -19524,7 +19546,7 @@ var require_WebClient = __commonJS({
19524
19546
  return accumulator;
19525
19547
  }
19526
19548
  try {
19527
- for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = yield pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) {
19549
+ for (var _d = true, pageIterator_1 = __asyncValues(pageIterator), pageIterator_1_1; pageIterator_1_1 = await pageIterator_1.next(), _a = pageIterator_1_1.done, !_a; _d = true) {
19528
19550
  _c = pageIterator_1_1.value;
19529
19551
  _d = false;
19530
19552
  const page = _c;
@@ -19538,13 +19560,13 @@ var require_WebClient = __commonJS({
19538
19560
  e_1 = { error: e_1_1 };
19539
19561
  } finally {
19540
19562
  try {
19541
- if (!_d && !_a && (_b = pageIterator_1.return)) yield _b.call(pageIterator_1);
19563
+ if (!_d && !_a && (_b = pageIterator_1.return)) await _b.call(pageIterator_1);
19542
19564
  } finally {
19543
19565
  if (e_1) throw e_1.error;
19544
19566
  }
19545
19567
  }
19546
19568
  return accumulator;
19547
- }))();
19569
+ })();
19548
19570
  }
19549
19571
  /**
19550
19572
  * Stream markdown text into a conversation.
@@ -19592,19 +19614,17 @@ var require_WebClient = __commonJS({
19592
19614
  * **#3**: Complete uploads {@link https://docs.slack.dev/reference/methods/files.completeuploadexternal files.completeUploadExternal}
19593
19615
  * @param options
19594
19616
  */
19595
- filesUploadV2(options) {
19596
- return __awaiter(this, void 0, void 0, function* () {
19597
- this.logger.debug("files.uploadV2() start");
19598
- const fileUploads = yield this.getAllFileUploads(options);
19599
- const fileUploadsURLRes = yield this.fetchAllUploadURLExternal(fileUploads);
19600
- fileUploadsURLRes.forEach((res, idx) => {
19601
- fileUploads[idx].upload_url = res.upload_url;
19602
- fileUploads[idx].file_id = res.file_id;
19603
- });
19604
- yield this.postFileUploadsToExternalURL(fileUploads, options);
19605
- const completion = yield this.completeFileUploads(fileUploads);
19606
- return { ok: true, files: completion };
19617
+ async filesUploadV2(options) {
19618
+ this.logger.debug("files.uploadV2() start");
19619
+ const fileUploads = await this.getAllFileUploads(options);
19620
+ const fileUploadsURLRes = await this.fetchAllUploadURLExternal(fileUploads);
19621
+ fileUploadsURLRes.forEach((res, idx) => {
19622
+ fileUploads[idx].upload_url = res.upload_url;
19623
+ fileUploads[idx].file_id = res.file_id;
19607
19624
  });
19625
+ await this.postFileUploadsToExternalURL(fileUploads, options);
19626
+ const completion = await this.completeFileUploads(fileUploads);
19627
+ return { ok: true, files: completion };
19608
19628
  }
19609
19629
  /**
19610
19630
  * For each file submitted with this method, submits filenames
@@ -19612,132 +19632,122 @@ var require_WebClient = __commonJS({
19612
19632
  * which to send the file data to and an id for the file
19613
19633
  * @param fileUploads
19614
19634
  */
19615
- fetchAllUploadURLExternal(fileUploads) {
19616
- return __awaiter(this, void 0, void 0, function* () {
19617
- return Promise.all(fileUploads.map((upload) => {
19618
- const options = {
19619
- filename: upload.filename,
19620
- length: upload.length,
19621
- alt_text: upload.alt_text,
19622
- snippet_type: upload.snippet_type
19623
- };
19624
- if ("token" in upload) {
19625
- options.token = upload.token;
19626
- }
19627
- return this.files.getUploadURLExternal(options);
19628
- }));
19629
- });
19635
+ async fetchAllUploadURLExternal(fileUploads) {
19636
+ return Promise.all(fileUploads.map((upload) => {
19637
+ const options = {
19638
+ filename: upload.filename,
19639
+ length: upload.length,
19640
+ alt_text: upload.alt_text,
19641
+ snippet_type: upload.snippet_type
19642
+ };
19643
+ if ("token" in upload) {
19644
+ options.token = upload.token;
19645
+ }
19646
+ return this.files.getUploadURLExternal(options);
19647
+ }));
19630
19648
  }
19631
19649
  /**
19632
19650
  * Complete uploads.
19633
19651
  * @param fileUploads
19634
19652
  * @returns
19635
19653
  */
19636
- completeFileUploads(fileUploads) {
19637
- return __awaiter(this, void 0, void 0, function* () {
19638
- const toComplete = Object.values((0, file_upload_1.getAllFileUploadsToComplete)(fileUploads));
19639
- return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
19640
- });
19654
+ async completeFileUploads(fileUploads) {
19655
+ const toComplete = Object.values((0, file_upload_1.getAllFileUploadsToComplete)(fileUploads));
19656
+ return Promise.all(toComplete.map((job) => this.files.completeUploadExternal(job)));
19641
19657
  }
19642
19658
  /**
19643
19659
  * for each returned file upload URL, upload corresponding file
19644
19660
  * @param fileUploads
19645
19661
  * @returns
19646
19662
  */
19647
- postFileUploadsToExternalURL(fileUploads, options) {
19648
- return __awaiter(this, void 0, void 0, function* () {
19649
- return Promise.all(fileUploads.map((upload) => __awaiter(this, void 0, void 0, function* () {
19650
- const { upload_url, file_id, filename, data } = upload;
19651
- const body = data;
19652
- if (upload_url) {
19653
- const headers = {};
19654
- if (options.token)
19655
- headers.Authorization = `Bearer ${options.token}`;
19656
- const uploadRes = yield this.makeRequest(upload_url, {
19657
- body
19658
- }, headers);
19659
- if (uploadRes.status !== 200) {
19660
- return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
19661
- }
19662
- const returnData = { ok: true, body: uploadRes.data };
19663
- return Promise.resolve(returnData);
19663
+ async postFileUploadsToExternalURL(fileUploads, options) {
19664
+ return Promise.all(fileUploads.map(async (upload) => {
19665
+ const { upload_url, file_id, filename, data } = upload;
19666
+ const body = data;
19667
+ if (upload_url) {
19668
+ const headers = {};
19669
+ if (options.token)
19670
+ headers.Authorization = `Bearer ${options.token}`;
19671
+ const uploadRes = await this.makeRequest(upload_url, {
19672
+ body
19673
+ }, headers);
19674
+ if (uploadRes.status !== 200) {
19675
+ return Promise.reject(Error(`Failed to upload file (id:${file_id}, filename: ${filename})`));
19664
19676
  }
19665
- return Promise.reject(Error(`No upload url found for file (id: ${file_id}, filename: ${filename}`));
19666
- })));
19667
- });
19677
+ const returnData = { ok: true, body: uploadRes.data };
19678
+ return Promise.resolve(returnData);
19679
+ }
19680
+ return Promise.reject(Error(`No upload url found for file (id: ${file_id}, filename: ${filename}`));
19681
+ }));
19668
19682
  }
19669
19683
  /**
19670
19684
  * @param options All file uploads arguments
19671
19685
  * @returns An array of file upload entries
19672
19686
  */
19673
- getAllFileUploads(options) {
19674
- return __awaiter(this, void 0, void 0, function* () {
19675
- let fileUploads = [];
19676
- if ("file" in options || "content" in options) {
19677
- fileUploads.push(yield (0, file_upload_1.getFileUploadJob)(options, this.logger));
19678
- }
19679
- if ("file_uploads" in options) {
19680
- fileUploads = fileUploads.concat(yield (0, file_upload_1.getMultipleFileUploadJobs)(options, this.logger));
19681
- }
19682
- return fileUploads;
19683
- });
19687
+ async getAllFileUploads(options) {
19688
+ let fileUploads = [];
19689
+ if ("file" in options || "content" in options) {
19690
+ fileUploads.push(await (0, file_upload_1.getFileUploadJob)(options, this.logger));
19691
+ }
19692
+ if ("file_uploads" in options) {
19693
+ fileUploads = fileUploads.concat(await (0, file_upload_1.getMultipleFileUploadJobs)(options, this.logger));
19694
+ }
19695
+ return fileUploads;
19684
19696
  }
19685
19697
  /**
19686
19698
  * Low-level function to make a single API request. handles queuing, retries, and http-level errors
19687
19699
  */
19688
- makeRequest(url_1, body_1) {
19689
- return __awaiter(this, arguments, void 0, function* (url, body, headers = {}) {
19690
- const task = () => this.requestQueue.add(() => __awaiter(this, void 0, void 0, function* () {
19691
- try {
19692
- const config = Object.assign({ headers }, this.tlsConfig);
19693
- if (url.endsWith("admin.analytics.getFile")) {
19694
- config.responseType = "arraybuffer";
19695
- }
19696
- if (url.endsWith("apps.event.authorizations.list")) {
19697
- body.token = void 0;
19700
+ async makeRequest(url, body, headers = {}) {
19701
+ const task = () => this.requestQueue.add(async () => {
19702
+ try {
19703
+ const config = Object.assign({ headers }, this.tlsConfig);
19704
+ if (url.endsWith("admin.analytics.getFile")) {
19705
+ config.responseType = "arraybuffer";
19706
+ }
19707
+ if (url.endsWith("apps.event.authorizations.list")) {
19708
+ body.token = void 0;
19709
+ }
19710
+ this.logger.debug(`http request url: ${url}`);
19711
+ this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
19712
+ let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
19713
+ if (!axiosHeaderPropsToIgnore.includes(cur)) {
19714
+ acc[cur] = this.axios.defaults.headers[cur];
19698
19715
  }
19699
- this.logger.debug(`http request url: ${url}`);
19700
- this.logger.debug(`http request body: ${JSON.stringify(redact(body))}`);
19701
- let allHeaders = Object.keys(this.axios.defaults.headers).reduce((acc, cur) => {
19702
- if (!axiosHeaderPropsToIgnore.includes(cur)) {
19703
- acc[cur] = this.axios.defaults.headers[cur];
19704
- }
19705
- return acc;
19706
- }, {});
19707
- allHeaders = Object.assign(Object.assign(Object.assign({}, this.axios.defaults.headers.common), allHeaders), headers);
19708
- this.logger.debug(`http request headers: ${JSON.stringify(redact(allHeaders))}`);
19709
- const response = yield this.axios.post(url, body, config);
19710
- this.logger.debug("http response received");
19711
- if (response.status === 429) {
19712
- const retrySec = parseRetryHeaders(response);
19713
- if (retrySec !== void 0) {
19714
- this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
19715
- if (this.rejectRateLimitedCalls) {
19716
- throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
19717
- }
19718
- this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
19719
- this.requestQueue.pause();
19720
- yield (0, helpers_1.default)(retrySec * 1e3);
19721
- this.requestQueue.start();
19722
- throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
19716
+ return acc;
19717
+ }, {});
19718
+ allHeaders = Object.assign(Object.assign(Object.assign({}, this.axios.defaults.headers.common), allHeaders), headers);
19719
+ this.logger.debug(`http request headers: ${JSON.stringify(redact(allHeaders))}`);
19720
+ const response = await this.axios.post(url, body, config);
19721
+ this.logger.debug("http response received");
19722
+ if (response.status === 429) {
19723
+ const retrySec = parseRetryHeaders(response);
19724
+ if (retrySec !== void 0) {
19725
+ this.emit(WebClientEvent.RATE_LIMITED, retrySec, { url, body });
19726
+ if (this.rejectRateLimitedCalls) {
19727
+ throw new p_retry_1.AbortError((0, errors_1.rateLimitedErrorWithDelay)(retrySec));
19723
19728
  }
19724
- throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers["retry-after"]})`));
19725
- }
19726
- if (response.status !== 200) {
19727
- throw (0, errors_1.httpErrorFromResponse)(response);
19728
- }
19729
- return response;
19730
- } catch (error) {
19731
- const e = error;
19732
- this.logger.warn("http request failed", e.message);
19733
- if (e.request) {
19734
- throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
19729
+ this.logger.info(`API Call failed due to rate limiting. Will retry in ${retrySec} seconds.`);
19730
+ this.requestQueue.pause();
19731
+ await (0, helpers_1.default)(retrySec * 1e3);
19732
+ this.requestQueue.start();
19733
+ throw new Error(`A rate limit was exceeded (url: ${url}, retry-after: ${retrySec})`);
19735
19734
  }
19736
- throw error;
19735
+ throw new p_retry_1.AbortError(new Error(`Retry header did not contain a valid timeout (url: ${url}, retry-after header: ${response.headers["retry-after"]})`));
19737
19736
  }
19738
- }));
19739
- return (0, p_retry_1.default)(task, this.retryConfig);
19737
+ if (response.status !== 200) {
19738
+ throw (0, errors_1.httpErrorFromResponse)(response);
19739
+ }
19740
+ return response;
19741
+ } catch (error) {
19742
+ const e = error;
19743
+ this.logger.warn("http request failed", e.message);
19744
+ if (e.request) {
19745
+ throw (0, errors_1.requestErrorWithOriginal)(e, this.attachOriginalToWebAPIRequestError);
19746
+ }
19747
+ throw error;
19748
+ }
19740
19749
  });
19750
+ return (0, p_retry_1.default)(task, this.retryConfig);
19741
19751
  }
19742
19752
  /**
19743
19753
  * Get the complete request URL for the provided URL.
@@ -19819,59 +19829,57 @@ var require_WebClient = __commonJS({
19819
19829
  * HTTP headers into the object.
19820
19830
  * @param response - an http response
19821
19831
  */
19822
- buildResult(response) {
19823
- return __awaiter(this, void 0, void 0, function* () {
19824
- let { data } = response;
19825
- const isGzipResponse = response.headers["content-type"] === "application/gzip";
19826
- if (isGzipResponse) {
19827
- try {
19828
- const unzippedData = yield new Promise((resolve, reject) => {
19829
- node_zlib_1.default.unzip(data, (err, buf) => {
19830
- if (err) {
19831
- return reject(err);
19832
- }
19833
- return resolve(buf.toString().split("\n"));
19834
- });
19835
- }).then((res) => res).catch((err) => {
19836
- throw err;
19832
+ async buildResult(response) {
19833
+ let { data } = response;
19834
+ const isGzipResponse = response.headers["content-type"] === "application/gzip";
19835
+ if (isGzipResponse) {
19836
+ try {
19837
+ const unzippedData = await new Promise((resolve, reject) => {
19838
+ node_zlib_1.default.unzip(data, (err, buf) => {
19839
+ if (err) {
19840
+ return reject(err);
19841
+ }
19842
+ return resolve(buf.toString().split("\n"));
19837
19843
  });
19838
- const fileData = [];
19839
- if (Array.isArray(unzippedData)) {
19840
- for (const dataset of unzippedData) {
19841
- if (dataset && dataset.length > 0) {
19842
- fileData.push(JSON.parse(dataset));
19843
- }
19844
+ }).then((res) => res).catch((err) => {
19845
+ throw err;
19846
+ });
19847
+ const fileData = [];
19848
+ if (Array.isArray(unzippedData)) {
19849
+ for (const dataset of unzippedData) {
19850
+ if (dataset && dataset.length > 0) {
19851
+ fileData.push(JSON.parse(dataset));
19844
19852
  }
19845
19853
  }
19846
- data = { file_data: fileData };
19847
- } catch (err) {
19848
- data = { ok: false, error: err };
19849
19854
  }
19850
- } else if (!isGzipResponse && response.request.path === "/api/admin.analytics.getFile") {
19851
- data = JSON.parse(new node_util_1.TextDecoder().decode(data));
19852
- }
19853
- if (typeof data === "string") {
19854
- try {
19855
- data = JSON.parse(data);
19856
- } catch (_) {
19857
- data = { ok: false, error: data };
19858
- }
19859
- }
19860
- if (data.response_metadata === void 0) {
19861
- data.response_metadata = {};
19862
- }
19863
- if (response.headers["x-oauth-scopes"] !== void 0) {
19864
- data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
19865
- }
19866
- if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
19867
- data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
19855
+ data = { file_data: fileData };
19856
+ } catch (err) {
19857
+ data = { ok: false, error: err };
19868
19858
  }
19869
- const retrySec = parseRetryHeaders(response);
19870
- if (retrySec !== void 0) {
19871
- data.response_metadata.retryAfter = retrySec;
19859
+ } else if (!isGzipResponse && response.request.path === "/api/admin.analytics.getFile") {
19860
+ data = JSON.parse(new node_util_1.TextDecoder().decode(data));
19861
+ }
19862
+ if (typeof data === "string") {
19863
+ try {
19864
+ data = JSON.parse(data);
19865
+ } catch (_) {
19866
+ data = { ok: false, error: data };
19872
19867
  }
19873
- return data;
19874
- });
19868
+ }
19869
+ if (data.response_metadata === void 0) {
19870
+ data.response_metadata = {};
19871
+ }
19872
+ if (response.headers["x-oauth-scopes"] !== void 0) {
19873
+ data.response_metadata.scopes = response.headers["x-oauth-scopes"].trim().split(/\s*,\s*/);
19874
+ }
19875
+ if (response.headers["x-accepted-oauth-scopes"] !== void 0) {
19876
+ data.response_metadata.acceptedScopes = response.headers["x-accepted-oauth-scopes"].trim().split(/\s*,\s*/);
19877
+ }
19878
+ const retrySec = parseRetryHeaders(response);
19879
+ if (retrySec !== void 0) {
19880
+ data.response_metadata.retryAfter = retrySec;
19881
+ }
19882
+ return data;
19875
19883
  }
19876
19884
  };
19877
19885
  exports2.WebClient = WebClient2;
@@ -26694,5 +26702,5 @@ mime-types/index.js:
26694
26702
  *)
26695
26703
 
26696
26704
  axios/dist/node/axios.cjs:
26697
- (*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors *)
26705
+ (*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors *)
26698
26706
  */