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