cloudstructs 0.12.8 → 0.12.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1244) hide show
  1. package/.jsii +6 -6
  2. package/API.md +308 -0
  3. package/assets/slack-textract/detect.lambda/index.js +1107 -1006
  4. package/assets/ssl-server-test/analyze.lambda/index.js +103 -68
  5. package/assets/toolkit-cleaner/clean.lambda/index.js +103 -68
  6. package/lib/codecommit-mirror/index.js +2 -2
  7. package/lib/dmarc/index.js +1 -1
  8. package/lib/ecs-service-roller/index.js +2 -2
  9. package/lib/email-receiver/receiver.js +1 -1
  10. package/lib/mjml-template/index.js +1 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-textract/index.js +1 -1
  16. package/lib/ssl-server-test/index.js +1 -1
  17. package/lib/state-machine-cr-provider/index.js +1 -1
  18. package/lib/static-website/index.js +1 -1
  19. package/lib/toolkit-cleaner/index.js +1 -1
  20. package/lib/url-shortener/index.js +1 -1
  21. package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
  22. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +192 -70
  23. package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
  24. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +192 -70
  25. package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
  26. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts +5 -2
  27. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
  28. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
  29. package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
  30. package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
  31. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
  32. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
  33. package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
  34. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
  35. package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
  36. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
  37. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
  38. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
  39. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
  40. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
  41. package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
  42. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -1
  43. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
  44. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
  45. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
  46. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
  47. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
  48. package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
  49. package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
  50. package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
  51. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
  52. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
  53. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
  54. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  55. package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
  56. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +294 -3996
  57. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
  58. package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
  59. package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
  60. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
  61. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
  62. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
  63. package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
  64. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
  65. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
  66. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
  67. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
  68. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
  69. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  70. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
  72. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
  73. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
  74. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -3
  75. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
  76. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
  77. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
  78. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
  79. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
  80. package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
  81. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  82. package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -69
  83. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +45 -69
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
  87. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
  88. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +3 -10
  89. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  90. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  91. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +4 -0
  92. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  93. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
  94. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
  95. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  96. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  97. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
  98. package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
  99. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
  100. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
  101. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
  102. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
  103. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
  104. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
  105. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
  106. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
  107. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +7 -0
  108. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
  109. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
  110. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
  111. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
  112. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
  113. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
  114. package/node_modules/@aws-sdk/core/package.json +16 -16
  115. package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
  116. package/node_modules/@aws-sdk/credential-provider-env/package.json +8 -8
  117. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
  118. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
  119. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
  120. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
  121. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
  122. package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
  123. package/node_modules/@aws-sdk/credential-provider-http/package.json +13 -13
  124. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
  125. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
  126. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
  127. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
  128. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  129. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
  130. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
  131. package/node_modules/@aws-sdk/credential-provider-ini/package.json +17 -17
  132. package/node_modules/@aws-sdk/credential-provider-login/package.json +11 -11
  133. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  134. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  135. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  136. package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  137. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
  138. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
  139. package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
  140. package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
  141. package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
  142. package/node_modules/@aws-sdk/credential-provider-process/package.json +9 -9
  143. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  144. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
  145. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
  146. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
  147. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
  148. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
  149. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
  150. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
  151. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
  152. package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
  153. package/node_modules/@aws-sdk/credential-provider-sso/package.json +11 -11
  154. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
  155. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
  156. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
  157. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
  158. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -10
  159. package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
  160. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -7
  161. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  162. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
  163. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
  164. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
  165. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
  166. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
  167. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
  168. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -7
  169. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  170. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  171. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  172. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
  173. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  174. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
  175. package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -10
  176. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
  177. package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
  178. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
  179. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
  180. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
  181. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
  182. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
  183. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  184. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
  185. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
  186. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
  187. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
  188. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +27 -206
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
  191. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
  192. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
  193. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
  194. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
  196. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
  197. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
  199. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
  200. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
  201. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
  202. package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +2 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
  204. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  205. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +27 -355
  206. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
  207. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
  208. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
  211. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +33 -314
  212. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
  213. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
  214. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
  215. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
  219. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
  220. package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
  221. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
  222. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
  227. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
  228. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  232. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
  233. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  234. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
  235. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  236. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
  237. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
  238. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
  239. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
  240. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
  241. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
  243. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
  244. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
  245. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
  248. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
  249. package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +2 -0
  250. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
  251. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
  252. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
  253. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  254. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
  255. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
  257. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  258. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
  259. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
  260. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
  261. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
  262. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  263. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
  290. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSO.d.ts +1 -22
  291. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
  292. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  293. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
  294. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
  299. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
  301. package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +11 -14
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  305. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
  306. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
  307. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
  308. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
  309. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
  310. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
  311. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
  312. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
  317. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
  318. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
  319. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  320. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
  321. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
  322. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
  323. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
  324. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
  325. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
  326. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
  327. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
  328. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
  329. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
  330. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
  331. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
  332. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
  333. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
  334. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
  335. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
  336. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  337. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
  338. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
  339. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
  340. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  341. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
  342. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
  343. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
  344. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
  345. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
  346. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
  347. package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +6 -14
  348. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
  349. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  350. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
  351. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
  352. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  353. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
  354. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
  355. package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
  356. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
  357. package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
  358. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
  359. package/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  360. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
  361. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  362. package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
  363. package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
  364. package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
  365. package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
  366. package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
  367. package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
  368. package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
  369. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  370. package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
  371. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  372. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
  373. package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
  374. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
  375. package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
  376. package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
  377. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
  378. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  379. package/node_modules/@aws-sdk/types/package.json +5 -5
  380. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
  381. package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
  382. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
  383. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
  384. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  385. package/node_modules/@aws-sdk/util-locate-window/package.json +4 -4
  386. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
  387. package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
  388. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -6
  389. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
  390. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
  391. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
  392. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
  393. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
  394. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  395. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
  396. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
  397. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
  398. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
  399. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
  400. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  401. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
  402. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
  403. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
  404. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
  405. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
  406. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
  407. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  408. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
  409. package/node_modules/@aws-sdk/util-user-agent-node/package.json +12 -9
  410. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
  411. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  412. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  413. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
  414. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
  415. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +52 -0
  416. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
  417. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  418. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
  419. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  420. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
  421. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  422. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  423. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  424. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  425. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
  426. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
  427. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +9 -6
  428. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +92 -14
  429. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
  430. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
  431. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
  432. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
  433. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  434. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  435. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
  436. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  437. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +21 -21
  438. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
  439. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
  440. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
  441. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
  442. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +315 -293
  443. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
  444. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +309 -186
  445. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +22 -22
  446. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
  447. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
  448. package/node_modules/@aws-sdk/xml-builder/package.json +7 -7
  449. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
  450. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
  451. package/node_modules/@babel/runtime/package.json +1 -1
  452. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
  453. package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
  454. package/node_modules/@slack/logger/LICENSE +23 -0
  455. package/node_modules/@slack/logger/README.md +36 -3
  456. package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
  457. package/node_modules/@slack/logger/dist/index.js +5 -6
  458. package/node_modules/@slack/logger/dist/index.js.map +1 -1
  459. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  460. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
  461. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +11 -6
  462. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
  463. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
  464. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
  465. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +57 -12
  466. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
  467. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
  468. package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
  469. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
  470. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +5 -5
  471. package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
  472. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
  473. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +22 -8
  474. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
  475. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +145 -17
  476. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
  477. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +56 -20
  478. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
  479. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
  480. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +37 -3
  481. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +12 -3
  482. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
  483. package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  484. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
  485. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
  486. package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
  487. package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
  488. package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
  489. package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  490. package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
  491. package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
  492. package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  493. package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
  494. package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
  495. package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
  496. package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
  497. package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
  498. package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
  499. package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
  500. package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +1 -1
  501. package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
  502. package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  503. package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
  504. package/node_modules/@slack/logger/package.json +13 -33
  505. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
  506. package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
  507. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
  508. package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
  509. package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
  510. package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
  511. package/node_modules/@slack/types/dist/chunk.js +3 -0
  512. package/node_modules/@slack/types/dist/chunk.js.map +1 -0
  513. package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
  514. package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
  515. package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
  516. package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
  517. package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
  518. package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
  519. package/node_modules/@slack/types/dist/index.d.ts +1 -0
  520. package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
  521. package/node_modules/@slack/types/dist/index.js +1 -0
  522. package/node_modules/@slack/types/dist/index.js.map +1 -1
  523. package/node_modules/@slack/types/package.json +8 -12
  524. package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
  525. package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
  526. package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
  527. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  528. package/node_modules/@slack/web-api/dist/chat-stream.js +85 -64
  529. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  530. package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
  531. package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
  532. package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
  533. package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
  534. package/node_modules/@slack/web-api/dist/index.js +3 -1
  535. package/node_modules/@slack/web-api/dist/index.js.map +1 -1
  536. package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
  537. package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
  538. package/node_modules/@slack/web-api/dist/methods.js +9 -0
  539. package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
  540. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
  541. package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
  542. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
  543. package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
  544. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
  545. package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
  546. package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
  547. package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
  548. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
  549. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
  550. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
  551. package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
  552. package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
  553. package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
  554. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  555. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
  556. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +11 -6
  557. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
  558. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
  559. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
  560. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +57 -12
  561. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
  562. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
  563. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
  564. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
  565. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +5 -5
  566. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
  567. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
  568. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +22 -8
  569. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
  570. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +145 -17
  571. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
  572. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +56 -20
  573. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
  574. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
  575. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +37 -3
  576. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +12 -3
  577. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
  578. package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  579. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
  580. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
  581. package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
  582. package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
  583. package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
  584. package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  585. package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
  586. package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
  587. package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  588. package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
  589. package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
  590. package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
  591. package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
  592. package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
  593. package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
  594. package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
  595. package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +1 -1
  596. package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
  597. package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  598. package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
  599. package/node_modules/@slack/web-api/package.json +15 -29
  600. package/node_modules/@smithy/abort-controller/package.json +7 -7
  601. package/node_modules/@smithy/config-resolver/package.json +11 -11
  602. package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
  603. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +22 -19
  604. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
  605. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +9 -1
  606. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -5
  607. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +73 -11
  608. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
  609. package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
  610. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  611. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  612. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
  613. package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
  614. package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
  615. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +9 -1
  616. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
  617. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +16 -1
  618. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
  619. package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
  620. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  621. package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
  622. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +38 -3
  623. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
  624. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  625. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
  626. package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
  627. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  628. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  629. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  630. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  631. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  632. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
  633. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  634. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
  635. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
  636. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  637. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  638. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  639. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  640. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
  641. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
  642. package/node_modules/@smithy/core/endpoints.d.ts +7 -0
  643. package/node_modules/@smithy/core/endpoints.js +6 -0
  644. package/node_modules/@smithy/core/package.json +21 -12
  645. package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
  646. package/node_modules/@smithy/eventstream-codec/package.json +9 -9
  647. package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
  648. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
  649. package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
  650. package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
  651. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
  652. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
  653. package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
  654. package/node_modules/@smithy/hash-node/package.json +9 -9
  655. package/node_modules/@smithy/invalid-dependency/package.json +7 -7
  656. package/node_modules/@smithy/is-array-buffer/package.json +6 -6
  657. package/node_modules/@smithy/middleware-content-length/package.json +8 -8
  658. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
  659. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
  660. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
  661. package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
  662. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
  663. package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
  664. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
  665. package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
  666. package/node_modules/@smithy/middleware-retry/package.json +10 -10
  667. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
  668. package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
  669. package/node_modules/@smithy/middleware-serde/package.json +9 -8
  670. package/node_modules/@smithy/middleware-stack/package.json +7 -7
  671. package/node_modules/@smithy/node-config-provider/package.json +9 -9
  672. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +77 -47
  673. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
  674. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
  675. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  676. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
  677. package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
  678. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
  679. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
  680. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
  681. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +10 -3
  682. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
  683. package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
  684. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
  685. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
  686. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
  687. package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
  688. package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
  689. package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
  690. package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
  691. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
  692. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
  693. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
  694. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
  695. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
  696. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
  697. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
  698. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
  699. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
  700. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
  701. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
  702. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
  703. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
  704. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
  705. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
  706. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
  707. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
  708. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
  709. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
  710. package/node_modules/@smithy/node-http-handler/package.json +10 -10
  711. package/node_modules/@smithy/property-provider/package.json +7 -7
  712. package/node_modules/@smithy/protocol-http/package.json +7 -7
  713. package/node_modules/@smithy/querystring-builder/package.json +8 -8
  714. package/node_modules/@smithy/querystring-parser/package.json +7 -7
  715. package/node_modules/@smithy/service-error-classification/package.json +7 -7
  716. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
  717. package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
  718. package/node_modules/@smithy/signature-v4/package.json +13 -13
  719. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +59 -19
  720. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  721. package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
  722. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  723. package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
  724. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  725. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
  726. package/node_modules/@smithy/smithy-client/package.json +11 -9
  727. package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
  728. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  729. package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
  730. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  731. package/node_modules/@smithy/types/package.json +5 -5
  732. package/node_modules/@smithy/url-parser/package.json +8 -8
  733. package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
  734. package/node_modules/@smithy/util-base64/package.json +8 -8
  735. package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
  736. package/node_modules/@smithy/util-body-length-node/package.json +6 -6
  737. package/node_modules/@smithy/util-buffer-from/package.json +7 -7
  738. package/node_modules/@smithy/util-config-provider/package.json +6 -6
  739. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
  740. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  741. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  742. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
  743. package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
  744. package/node_modules/@smithy/util-endpoints/package.json +8 -8
  745. package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
  746. package/node_modules/@smithy/util-middleware/package.json +7 -7
  747. package/node_modules/@smithy/util-retry/package.json +8 -8
  748. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
  749. package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
  750. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
  751. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  752. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
  753. package/node_modules/@smithy/util-stream/package.json +13 -13
  754. package/node_modules/@smithy/util-uri-escape/package.json +6 -6
  755. package/node_modules/@smithy/util-utf8/package.json +7 -7
  756. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
  757. package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
  758. package/node_modules/@smithy/util-waiter/package.json +8 -8
  759. package/node_modules/@smithy/uuid/package.json +6 -6
  760. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  761. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
  762. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +11 -6
  763. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
  764. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
  765. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
  766. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +57 -12
  767. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
  768. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
  769. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
  770. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
  771. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +5 -5
  772. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
  773. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
  774. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +22 -8
  775. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
  776. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +145 -17
  777. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
  778. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +56 -20
  779. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
  780. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
  781. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +37 -3
  782. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +12 -3
  783. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
  784. package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  785. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
  786. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
  787. package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
  788. package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
  789. package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
  790. package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  791. package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
  792. package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
  793. package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  794. package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
  795. package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
  796. package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
  797. package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
  798. package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
  799. package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
  800. package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
  801. package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +1 -1
  802. package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
  803. package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  804. package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
  805. package/node_modules/@types/http-cache-semantics/README.md +1 -1
  806. package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
  807. package/node_modules/@types/http-cache-semantics/package.json +4 -3
  808. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  809. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
  810. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +11 -6
  811. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
  812. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
  813. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
  814. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +57 -12
  815. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
  816. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
  817. package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
  818. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
  819. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +5 -5
  820. package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
  821. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
  822. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +22 -8
  823. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
  824. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +145 -17
  825. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
  826. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +56 -20
  827. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
  828. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
  829. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +37 -3
  830. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +12 -3
  831. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
  832. package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  833. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
  834. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
  835. package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
  836. package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
  837. package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
  838. package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  839. package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
  840. package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
  841. package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  842. package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
  843. package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
  844. package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
  845. package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
  846. package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
  847. package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
  848. package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
  849. package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +1 -1
  850. package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
  851. package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  852. package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
  853. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  854. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
  855. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +11 -6
  856. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
  857. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
  858. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
  859. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +57 -12
  860. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
  861. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
  862. package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
  863. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
  864. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +5 -5
  865. package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
  866. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
  867. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +22 -8
  868. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
  869. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +145 -17
  870. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
  871. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +56 -20
  872. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
  873. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
  874. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +37 -3
  875. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +12 -3
  876. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
  877. package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  878. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
  879. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
  880. package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
  881. package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
  882. package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
  883. package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
  884. package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
  885. package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
  886. package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  887. package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
  888. package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
  889. package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
  890. package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
  891. package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
  892. package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
  893. package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
  894. package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +1 -1
  895. package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
  896. package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  897. package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
  898. package/node_modules/axios/CHANGELOG.md +460 -403
  899. package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
  900. package/node_modules/axios/README.md +584 -447
  901. package/node_modules/axios/dist/axios.js +873 -881
  902. package/node_modules/axios/dist/axios.js.map +1 -1
  903. package/node_modules/axios/dist/axios.min.js +4 -2
  904. package/node_modules/axios/dist/axios.min.js.map +1 -1
  905. package/node_modules/axios/dist/browser/axios.cjs +1142 -812
  906. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  907. package/node_modules/axios/dist/esm/axios.js +1143 -813
  908. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  909. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  910. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  911. package/node_modules/axios/dist/node/axios.cjs +1816 -1415
  912. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  913. package/node_modules/axios/index.d.cts +256 -112
  914. package/node_modules/axios/index.d.ts +341 -116
  915. package/node_modules/axios/index.js +3 -3
  916. package/node_modules/axios/lib/adapters/README.md +5 -6
  917. package/node_modules/axios/lib/adapters/adapters.js +18 -14
  918. package/node_modules/axios/lib/adapters/fetch.js +138 -92
  919. package/node_modules/axios/lib/adapters/http.js +615 -561
  920. package/node_modules/axios/lib/adapters/xhr.js +189 -167
  921. package/node_modules/axios/lib/axios.js +6 -6
  922. package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
  923. package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
  924. package/node_modules/axios/lib/core/Axios.js +66 -43
  925. package/node_modules/axios/lib/core/AxiosError.js +64 -84
  926. package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
  927. package/node_modules/axios/lib/core/InterceptorManager.js +3 -2
  928. package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
  929. package/node_modules/axios/lib/core/mergeConfig.js +8 -7
  930. package/node_modules/axios/lib/core/settle.js +11 -7
  931. package/node_modules/axios/lib/core/transformData.js +1 -1
  932. package/node_modules/axios/lib/defaults/index.js +85 -74
  933. package/node_modules/axios/lib/defaults/transitional.js +2 -1
  934. package/node_modules/axios/lib/env/data.js +1 -1
  935. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
  936. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
  937. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
  938. package/node_modules/axios/lib/helpers/buildURL.js +18 -19
  939. package/node_modules/axios/lib/helpers/callbackify.js +13 -11
  940. package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
  941. package/node_modules/axios/lib/helpers/cookies.js +45 -50
  942. package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
  943. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  944. package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
  945. package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
  946. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +4 -0
  947. package/node_modules/axios/lib/helpers/isAxiosError.js +2 -2
  948. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
  949. package/node_modules/axios/lib/helpers/parseHeaders.js +35 -21
  950. package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
  951. package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
  952. package/node_modules/axios/lib/helpers/readBlob.js +4 -4
  953. package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
  954. package/node_modules/axios/lib/helpers/speedometer.js +1 -1
  955. package/node_modules/axios/lib/helpers/spread.js +1 -1
  956. package/node_modules/axios/lib/helpers/throttle.js +4 -4
  957. package/node_modules/axios/lib/helpers/toFormData.js +43 -25
  958. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
  959. package/node_modules/axios/lib/helpers/trackStream.js +33 -31
  960. package/node_modules/axios/lib/helpers/validator.js +16 -5
  961. package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
  962. package/node_modules/axios/lib/platform/browser/index.js +5 -5
  963. package/node_modules/axios/lib/platform/common/utils.js +6 -5
  964. package/node_modules/axios/lib/platform/index.js +2 -2
  965. package/node_modules/axios/lib/platform/node/index.js +9 -10
  966. package/node_modules/axios/lib/utils.js +243 -106
  967. package/node_modules/axios/package.json +57 -70
  968. package/node_modules/bowser/README.md +72 -3
  969. package/node_modules/bowser/bundled.js +1 -1
  970. package/node_modules/bowser/es5.js +1 -1
  971. package/node_modules/bowser/index.d.ts +44 -6
  972. package/node_modules/bowser/package.json +10 -5
  973. package/node_modules/bowser/src/bowser.js +24 -8
  974. package/node_modules/bowser/src/constants.js +8 -0
  975. package/node_modules/bowser/src/parser-browsers.js +89 -0
  976. package/node_modules/bowser/src/parser-platforms.js +42 -0
  977. package/node_modules/bowser/src/parser.js +86 -5
  978. package/node_modules/editorconfig/lib/cli.js +18 -8
  979. package/node_modules/editorconfig/lib/index.d.ts +0 -1
  980. package/node_modules/editorconfig/lib/index.js +24 -15
  981. package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
  982. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  983. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
  984. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
  985. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
  986. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  987. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
  988. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  989. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
  990. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  991. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
  992. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  993. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
  994. package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  995. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
  996. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
  997. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  998. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
  999. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
  1000. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
  1001. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  1002. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
  1003. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  1004. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
  1005. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  1006. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
  1007. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  1008. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
  1009. package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
  1010. package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
  1011. package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
  1012. package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
  1013. package/node_modules/editorconfig/package.json +4 -30
  1014. package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
  1015. package/node_modules/fast-xml-builder/LICENSE +21 -0
  1016. package/node_modules/fast-xml-builder/README.md +23 -0
  1017. package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
  1018. package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
  1019. package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
  1020. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
  1021. package/node_modules/fast-xml-builder/package.json +80 -0
  1022. package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
  1023. package/node_modules/fast-xml-builder/src/fxb.js +529 -0
  1024. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
  1025. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
  1026. package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1027. package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
  1028. package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
  1029. package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
  1030. package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
  1031. package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
  1032. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1033. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1034. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1035. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1036. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1037. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1038. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1039. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1040. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1041. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1042. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1043. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1044. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1045. package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1046. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1047. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1048. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
  1049. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1050. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1051. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1052. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1053. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1054. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1055. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1056. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
  1057. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1058. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1059. package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1060. package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
  1061. package/node_modules/minipass/LICENSE.md +55 -0
  1062. package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
  1063. package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
  1064. package/node_modules/minipass/dist/commonjs/index.js +13 -3
  1065. package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
  1066. package/node_modules/minipass/dist/esm/index.d.ts +12 -16
  1067. package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
  1068. package/node_modules/minipass/dist/esm/index.js +3 -1
  1069. package/node_modules/minipass/dist/esm/index.js.map +1 -1
  1070. package/node_modules/minipass/package.json +9 -14
  1071. package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
  1072. package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
  1073. package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
  1074. package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
  1075. package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
  1076. package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
  1077. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
  1078. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
  1079. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
  1080. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
  1081. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
  1082. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
  1083. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
  1084. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
  1085. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
  1086. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
  1087. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
  1088. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
  1089. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
  1090. package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
  1091. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
  1092. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
  1093. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
  1094. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
  1095. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
  1096. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
  1097. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
  1098. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
  1099. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
  1100. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
  1101. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
  1102. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
  1103. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
  1104. package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
  1105. package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
  1106. package/node_modules/path-expression-matcher/LICENSE +21 -0
  1107. package/node_modules/path-expression-matcher/README.md +635 -0
  1108. package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
  1109. package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
  1110. package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
  1111. package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
  1112. package/node_modules/path-expression-matcher/package.json +78 -0
  1113. package/node_modules/path-expression-matcher/src/Expression.js +232 -0
  1114. package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
  1115. package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
  1116. package/node_modules/path-expression-matcher/src/index.js +28 -0
  1117. package/node_modules/pump/empty.js +1 -0
  1118. package/node_modules/pump/package.json +7 -1
  1119. package/node_modules/semver/README.md +3 -2
  1120. package/node_modules/semver/bin/semver.js +1 -1
  1121. package/node_modules/semver/functions/diff.js +1 -1
  1122. package/node_modules/semver/internal/re.js +2 -2
  1123. package/node_modules/semver/package.json +4 -4
  1124. package/node_modules/semver/ranges/subset.js +1 -1
  1125. package/node_modules/strnum/README.md +1 -0
  1126. package/node_modules/strnum/package.json +3 -3
  1127. package/node_modules/strnum/strnum.js +85 -59
  1128. package/node_modules/strnum/tests/infinity_test.js +18 -0
  1129. package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
  1130. package/package.json +23 -23
  1131. package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
  1132. package/node_modules/@aws-sdk/client-sso/README.md +0 -244
  1133. package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
  1134. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -420
  1135. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -15
  1136. package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
  1137. package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
  1138. package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
  1139. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
  1140. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
  1141. package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
  1142. package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -152
  1143. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
  1144. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
  1145. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
  1146. package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
  1147. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
  1148. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
  1149. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
  1150. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
  1151. package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
  1152. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -73
  1153. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
  1154. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
  1155. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
  1156. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
  1157. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
  1158. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
  1159. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
  1160. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
  1161. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
  1162. package/node_modules/@aws-sdk/client-sso/package.json +0 -99
  1163. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  1164. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  1165. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
  1166. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
  1167. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
  1168. package/node_modules/bowser/CHANGELOG.md +0 -218
  1169. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
  1170. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
  1171. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
  1172. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
  1173. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
  1174. package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
  1175. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
  1176. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
  1177. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
  1178. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
  1179. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
  1180. package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
  1181. package/node_modules/minipass/LICENSE +0 -15
  1182. package/node_modules/strnum/test.js +0 -9
  1183. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1184. /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1185. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
  1186. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
  1187. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
  1188. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
  1189. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
  1190. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
  1191. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
  1192. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
  1193. /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
  1194. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
  1195. /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
  1196. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1197. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1198. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1199. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1200. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
  1201. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1202. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
  1203. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1204. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1205. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1206. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
  1207. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
  1208. /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
  1209. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
  1210. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
  1211. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
  1212. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
  1213. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
  1214. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
  1215. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
  1216. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
  1217. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
  1218. /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
  1219. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
  1220. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
  1221. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
  1222. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
  1223. /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
  1224. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
  1225. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
  1226. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
  1227. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
  1228. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
  1229. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
  1230. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
  1231. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
  1232. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
  1233. /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
  1234. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
  1235. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
  1236. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
  1237. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
  1238. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
  1239. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
  1240. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
  1241. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
  1242. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
  1243. /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
  1244. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
@@ -1,13 +1,40 @@
1
1
  // parse a single path portion
2
+ var _a;
2
3
  import { parseClass } from './brace-expressions.js';
3
4
  import { unescape } from './unescape.js';
4
5
  const types = new Set(['!', '?', '+', '*', '@']);
5
6
  const isExtglobType = (c) => types.has(c);
7
+ const isExtglobAST = (c) => isExtglobType(c.type);
8
+ const adoptionMap = new Map([
9
+ ['!', ['@']],
10
+ ['?', ['?', '@']],
11
+ ['@', ['@']],
12
+ ['*', ['*', '+', '?', '@']],
13
+ ['+', ['+', '@']],
14
+ ]);
15
+ const adoptionWithSpaceMap = new Map([
16
+ ['!', ['?']],
17
+ ['@', ['?']],
18
+ ['+', ['?', '*']],
19
+ ]);
20
+ const adoptionAnyMap = new Map([
21
+ ['!', ['?', '@']],
22
+ ['?', ['?', '@']],
23
+ ['@', ['?', '@']],
24
+ ['*', ['*', '+', '?', '@']],
25
+ ['+', ['+', '@', '?', '*']],
26
+ ]);
27
+ const usurpMap = new Map([
28
+ ['!', new Map([['!', '@']])],
29
+ ['?', new Map([['*', '*'], ['+', '*']])],
30
+ ['@', new Map([['!', '!'], ['?', '?'], ['@', '@'], ['*', '*'], ['+', '+']])],
31
+ ['+', new Map([['?', '*'], ['*', '*']])],
32
+ ]);
6
33
  // Patterns that get prepended to bind to the start of either the
7
34
  // entire string, or just a single path portion, to prevent dots
8
35
  // and/or traversal patterns, when needed.
9
36
  // Exts don't need the ^ or / bit, because the root binds that already.
10
- const startNoTraversal = '(?!\\.\\.?(?:$|/))';
37
+ const startNoTraversal = '(?!(?:^|/)\\.\\.?(?:$|/))';
11
38
  const startNoDot = '(?!\\.)';
12
39
  // characters that indicate a start of pattern needs the "no dots" bit,
13
40
  // because a dot *might* be matched. ( is not in the list, because in
@@ -119,7 +146,7 @@ export class AST {
119
146
  if (p === '')
120
147
  continue;
121
148
  /* c8 ignore start */
122
- if (typeof p !== 'string' && !(p instanceof AST && p.#parent === this)) {
149
+ if (typeof p !== 'string' && !(p instanceof _a && p.#parent === this)) {
123
150
  throw new Error('invalid part: ' + p);
124
151
  }
125
152
  /* c8 ignore stop */
@@ -151,7 +178,7 @@ export class AST {
151
178
  const p = this.#parent;
152
179
  for (let i = 0; i < this.#parentIndex; i++) {
153
180
  const pp = p.#parts[i];
154
- if (!(pp instanceof AST && pp.type === '!')) {
181
+ if (!(pp instanceof _a && pp.type === '!')) {
155
182
  return false;
156
183
  }
157
184
  }
@@ -179,13 +206,14 @@ export class AST {
179
206
  this.push(part.clone(this));
180
207
  }
181
208
  clone(parent) {
182
- const c = new AST(this.type, parent);
209
+ const c = new _a(this.type, parent);
183
210
  for (const p of this.#parts) {
184
211
  c.copyIn(p);
185
212
  }
186
213
  return c;
187
214
  }
188
- static #parseAST(str, ast, pos, opt) {
215
+ static #parseAST(str, ast, pos, opt, extDepth) {
216
+ const maxDepth = opt.maxExtglobRecursion ?? 2;
189
217
  let escaping = false;
190
218
  let inBrace = false;
191
219
  let braceStart = -1;
@@ -222,11 +250,15 @@ export class AST {
222
250
  acc += c;
223
251
  continue;
224
252
  }
225
- if (!opt.noext && isExtglobType(c) && str.charAt(i) === '(') {
253
+ const doRecurse = !opt.noext &&
254
+ isExtglobType(c) &&
255
+ str.charAt(i) === '(' &&
256
+ extDepth <= maxDepth;
257
+ if (doRecurse) {
226
258
  ast.push(acc);
227
259
  acc = '';
228
- const ext = new AST(c, ast);
229
- i = AST.#parseAST(str, ext, i, opt);
260
+ const ext = new _a(c, ast);
261
+ i = _a.#parseAST(str, ext, i, opt, extDepth + 1);
230
262
  ast.push(ext);
231
263
  continue;
232
264
  }
@@ -238,7 +270,7 @@ export class AST {
238
270
  // some kind of extglob, pos is at the (
239
271
  // find the next | or )
240
272
  let i = pos + 1;
241
- let part = new AST(null, ast);
273
+ let part = new _a(null, ast);
242
274
  const parts = [];
243
275
  let acc = '';
244
276
  while (i < str.length) {
@@ -269,19 +301,25 @@ export class AST {
269
301
  acc += c;
270
302
  continue;
271
303
  }
272
- if (isExtglobType(c) && str.charAt(i) === '(') {
304
+ const doRecurse = isExtglobType(c) &&
305
+ str.charAt(i) === '(' &&
306
+ /* c8 ignore start - the maxDepth is sufficient here */
307
+ (extDepth <= maxDepth || (ast && ast.#canAdoptType(c)));
308
+ /* c8 ignore stop */
309
+ if (doRecurse) {
310
+ const depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1;
273
311
  part.push(acc);
274
312
  acc = '';
275
- const ext = new AST(c, part);
313
+ const ext = new _a(c, part);
276
314
  part.push(ext);
277
- i = AST.#parseAST(str, ext, i, opt);
315
+ i = _a.#parseAST(str, ext, i, opt, extDepth + depthAdd);
278
316
  continue;
279
317
  }
280
318
  if (c === '|') {
281
319
  part.push(acc);
282
320
  acc = '';
283
321
  parts.push(part);
284
- part = new AST(null, ast);
322
+ part = new _a(null, ast);
285
323
  continue;
286
324
  }
287
325
  if (c === ')') {
@@ -303,9 +341,115 @@ export class AST {
303
341
  ast.#parts = [str.substring(pos - 1)];
304
342
  return i;
305
343
  }
344
+ #canAdoptWithSpace(child) {
345
+ return this.#canAdopt(child, adoptionWithSpaceMap);
346
+ }
347
+ #canAdopt(child, map = adoptionMap) {
348
+ if (!child ||
349
+ typeof child !== 'object' ||
350
+ child.type !== null ||
351
+ child.#parts.length !== 1 ||
352
+ this.type === null) {
353
+ return false;
354
+ }
355
+ const gc = child.#parts[0];
356
+ if (!gc || typeof gc !== 'object' || gc.type === null) {
357
+ return false;
358
+ }
359
+ return this.#canAdoptType(gc.type, map);
360
+ }
361
+ #canAdoptType(c, map = adoptionAnyMap) {
362
+ return !!map.get(this.type)?.includes(c);
363
+ }
364
+ #adoptWithSpace(child, index) {
365
+ const gc = child.#parts[0];
366
+ const blank = new _a(null, gc, this.options);
367
+ blank.#parts.push('');
368
+ gc.push(blank);
369
+ this.#adopt(child, index);
370
+ }
371
+ #adopt(child, index) {
372
+ const gc = child.#parts[0];
373
+ this.#parts.splice(index, 1, ...gc.#parts);
374
+ for (const p of gc.#parts) {
375
+ if (typeof p === 'object')
376
+ p.#parent = this;
377
+ }
378
+ this.#toString = undefined;
379
+ }
380
+ #canUsurpType(c) {
381
+ const m = usurpMap.get(this.type);
382
+ return !!(m?.has(c));
383
+ }
384
+ #canUsurp(child) {
385
+ if (!child ||
386
+ typeof child !== 'object' ||
387
+ child.type !== null ||
388
+ child.#parts.length !== 1 ||
389
+ this.type === null ||
390
+ this.#parts.length !== 1) {
391
+ return false;
392
+ }
393
+ const gc = child.#parts[0];
394
+ if (!gc || typeof gc !== 'object' || gc.type === null) {
395
+ return false;
396
+ }
397
+ return this.#canUsurpType(gc.type);
398
+ }
399
+ #usurp(child) {
400
+ const m = usurpMap.get(this.type);
401
+ const gc = child.#parts[0];
402
+ const nt = m?.get(gc.type);
403
+ /* c8 ignore start - impossible */
404
+ if (!nt)
405
+ return false;
406
+ /* c8 ignore stop */
407
+ this.#parts = gc.#parts;
408
+ for (const p of this.#parts) {
409
+ if (typeof p === 'object')
410
+ p.#parent = this;
411
+ }
412
+ this.type = nt;
413
+ this.#toString = undefined;
414
+ this.#emptyExt = false;
415
+ }
416
+ #flatten() {
417
+ if (!isExtglobAST(this)) {
418
+ for (const p of this.#parts) {
419
+ if (typeof p === 'object')
420
+ p.#flatten();
421
+ }
422
+ }
423
+ else {
424
+ let iterations = 0;
425
+ let done = false;
426
+ do {
427
+ done = true;
428
+ for (let i = 0; i < this.#parts.length; i++) {
429
+ const c = this.#parts[i];
430
+ if (typeof c === 'object') {
431
+ c.#flatten();
432
+ if (this.#canAdopt(c)) {
433
+ done = false;
434
+ this.#adopt(c, i);
435
+ }
436
+ else if (this.#canAdoptWithSpace(c)) {
437
+ done = false;
438
+ this.#adoptWithSpace(c, i);
439
+ }
440
+ else if (this.#canUsurp(c)) {
441
+ done = false;
442
+ this.#usurp(c);
443
+ }
444
+ }
445
+ }
446
+ } while (!done && ++iterations < 10);
447
+ }
448
+ this.#toString = undefined;
449
+ }
306
450
  static fromGlob(pattern, options = {}) {
307
- const ast = new AST(null, undefined, options);
308
- AST.#parseAST(pattern, ast, 0, options);
451
+ const ast = new _a(null, undefined, options);
452
+ _a.#parseAST(pattern, ast, 0, options, 0);
309
453
  return ast;
310
454
  }
311
455
  // returns the regular expression if there's magic, or the unescaped
@@ -335,6 +479,9 @@ export class AST {
335
479
  _glob: glob,
336
480
  });
337
481
  }
482
+ get options() {
483
+ return this.#options;
484
+ }
338
485
  // returns the string match, the regexp source, whether there's magic
339
486
  // in the regexp (so a regular expression is required) and whether or
340
487
  // not the uflag is needed for the regular expression (for posix classes)
@@ -404,16 +551,19 @@ export class AST {
404
551
  // - Since the start for a join is eg /(?!\.) and the start for a part
405
552
  // is ^(?!\.), we can just prepend (?!\.) to the pattern (either root
406
553
  // or start or whatever) and prepend ^ or / at the Regexp construction.
407
- toRegExpSource() {
408
- if (this.#root === this)
554
+ toRegExpSource(allowDot) {
555
+ const dot = allowDot ?? !!this.#options.dot;
556
+ if (this.#root === this) {
557
+ this.#flatten();
409
558
  this.#fillNegs();
410
- if (!this.type) {
559
+ }
560
+ if (!isExtglobAST(this)) {
411
561
  const noEmpty = this.isStart() && this.isEnd();
412
562
  const src = this.#parts
413
563
  .map(p => {
414
564
  const [re, _, hasMagic, uflag] = typeof p === 'string'
415
- ? AST.#parseGlob(p, this.#hasMagic, noEmpty)
416
- : p.toRegExpSource();
565
+ ? _a.#parseGlob(p, this.#hasMagic, noEmpty)
566
+ : p.toRegExpSource(allowDot);
417
567
  this.#hasMagic = this.#hasMagic || hasMagic;
418
568
  this.#uflag = this.#uflag || uflag;
419
569
  return re;
@@ -433,14 +583,14 @@ export class AST {
433
583
  // and prevent that.
434
584
  const needNoTrav =
435
585
  // dots are allowed, and the pattern starts with [ or .
436
- (this.#options.dot && aps.has(src.charAt(0))) ||
586
+ (dot && aps.has(src.charAt(0))) ||
437
587
  // the pattern starts with \., and then [ or .
438
588
  (src.startsWith('\\.') && aps.has(src.charAt(2))) ||
439
589
  // the pattern starts with \.\., and then [ or .
440
590
  (src.startsWith('\\.\\.') && aps.has(src.charAt(4)));
441
591
  // no need to prevent dots if it can't match a dot, or if a
442
592
  // sub-pattern will be preventing it anyway.
443
- const needNoDot = !this.#options.dot && aps.has(src.charAt(0));
593
+ const needNoDot = !dot && !allowDot && aps.has(src.charAt(0));
444
594
  start = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : '';
445
595
  }
446
596
  }
@@ -460,48 +610,54 @@ export class AST {
460
610
  this.#uflag,
461
611
  ];
462
612
  }
613
+ // We need to calculate the body *twice* if it's a repeat pattern
614
+ // at the start, once in nodot mode, then again in dot mode, so a
615
+ // pattern like *(?) can match 'x.y'
616
+ const repeated = this.type === '*' || this.type === '+';
463
617
  // some kind of extglob
464
618
  const start = this.type === '!' ? '(?:(?!(?:' : '(?:';
465
- const body = this.#parts
466
- .map(p => {
467
- // extglob ASTs should only contain parent ASTs
468
- /* c8 ignore start */
469
- if (typeof p === 'string') {
470
- throw new Error('string type in extglob ast??');
471
- }
472
- /* c8 ignore stop */
473
- // can ignore hasMagic, because extglobs are already always magic
474
- const [re, _, _hasMagic, uflag] = p.toRegExpSource();
475
- this.#uflag = this.#uflag || uflag;
476
- return re;
477
- })
478
- .filter(p => !(this.isStart() && this.isEnd()) || !!p)
479
- .join('|');
619
+ let body = this.#partsToRegExp(dot);
480
620
  if (this.isStart() && this.isEnd() && !body && this.type !== '!') {
481
621
  // invalid extglob, has to at least be *something* present, if it's
482
622
  // the entire path portion.
483
623
  const s = this.toString();
484
- this.#parts = [s];
485
- this.type = null;
486
- this.#hasMagic = undefined;
624
+ const me = this;
625
+ me.#parts = [s];
626
+ me.type = null;
627
+ me.#hasMagic = undefined;
487
628
  return [s, unescape(this.toString()), false, false];
488
629
  }
630
+ // XXX abstract out this map method
631
+ let bodyDotAllowed = !repeated || allowDot || dot || !startNoDot
632
+ ? ''
633
+ : this.#partsToRegExp(true);
634
+ if (bodyDotAllowed === body) {
635
+ bodyDotAllowed = '';
636
+ }
637
+ if (bodyDotAllowed) {
638
+ body = `(?:${body})(?:${bodyDotAllowed})*?`;
639
+ }
489
640
  // an empty !() is exactly equivalent to a starNoEmpty
490
641
  let final = '';
491
642
  if (this.type === '!' && this.#emptyExt) {
492
- final =
493
- (this.isStart() && !this.#options.dot ? startNoDot : '') + starNoEmpty;
643
+ final = (this.isStart() && !dot ? startNoDot : '') + starNoEmpty;
494
644
  }
495
645
  else {
496
646
  const close = this.type === '!'
497
647
  ? // !() must match something,but !(x) can match ''
498
648
  '))' +
499
- (this.isStart() && !this.#options.dot ? startNoDot : '') +
649
+ (this.isStart() && !dot && !allowDot ? startNoDot : '') +
500
650
  star +
501
651
  ')'
502
652
  : this.type === '@'
503
653
  ? ')'
504
- : `)${this.type}`;
654
+ : this.type === '?'
655
+ ? ')?'
656
+ : this.type === '+' && bodyDotAllowed
657
+ ? ')'
658
+ : this.type === '*' && bodyDotAllowed
659
+ ? `)?`
660
+ : `)${this.type}`;
505
661
  final = start + body + close;
506
662
  }
507
663
  return [
@@ -511,15 +667,35 @@ export class AST {
511
667
  this.#uflag,
512
668
  ];
513
669
  }
670
+ #partsToRegExp(dot) {
671
+ return this.#parts
672
+ .map(p => {
673
+ // extglob ASTs should only contain parent ASTs
674
+ /* c8 ignore start */
675
+ if (typeof p === 'string') {
676
+ throw new Error('string type in extglob ast??');
677
+ }
678
+ /* c8 ignore stop */
679
+ // can ignore hasMagic, because extglobs are already always magic
680
+ const [re, _, _hasMagic, uflag] = p.toRegExpSource(dot);
681
+ this.#uflag = this.#uflag || uflag;
682
+ return re;
683
+ })
684
+ .filter(p => !(this.isStart() && this.isEnd()) || !!p)
685
+ .join('|');
686
+ }
514
687
  static #parseGlob(glob, hasMagic, noEmpty = false) {
515
688
  let escaping = false;
516
689
  let re = '';
517
690
  let uflag = false;
691
+ // multiple stars that aren't globstars coalesce into one *
692
+ let inStar = false;
518
693
  for (let i = 0; i < glob.length; i++) {
519
694
  const c = glob.charAt(i);
520
695
  if (escaping) {
521
696
  escaping = false;
522
697
  re += (reSpecials.has(c) ? '\\' : '') + c;
698
+ inStar = false;
523
699
  continue;
524
700
  }
525
701
  if (c === '\\') {
@@ -538,17 +714,21 @@ export class AST {
538
714
  uflag = uflag || needUflag;
539
715
  i += consumed - 1;
540
716
  hasMagic = hasMagic || magic;
717
+ inStar = false;
541
718
  continue;
542
719
  }
543
720
  }
544
721
  if (c === '*') {
545
- if (noEmpty && glob === '*')
546
- re += starNoEmpty;
547
- else
548
- re += star;
722
+ if (inStar)
723
+ continue;
724
+ inStar = true;
725
+ re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star;
549
726
  hasMagic = true;
550
727
  continue;
551
728
  }
729
+ else {
730
+ inStar = false;
731
+ }
552
732
  if (c === '?') {
553
733
  re += qmark;
554
734
  hasMagic = true;
@@ -559,4 +739,5 @@ export class AST {
559
739
  return [re, unescape(glob), !!hasMagic, uflag];
560
740
  }
561
741
  }
742
+ _a = AST;
562
743
  //# sourceMappingURL=ast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ast.js","sourceRoot":"","sources":["../../src/ast.ts"],"names":[],"mappings":"AAAA,8BAA8B;;AAE9B,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAwCxC,MAAM,KAAK,GAAG,IAAI,GAAG,CAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAA;AAC7D,MAAM,aAAa,GAAG,CAAC,CAAgB,EAAoB,EAAE,CAC3D,KAAK,CAAC,GAAG,CA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GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC,CAAC,CAAA;gBAC7D,IAAI,QAAQ,EAAE,CAAC;oBACb,EAAE,IAAI,GAAG,CAAA;oBACT,KAAK,GAAG,KAAK,IAAI,SAAS,CAAA;oBAC1B,CAAC,IAAI,QAAQ,GAAG,CAAC,CAAA;oBACjB,QAAQ,GAAG,QAAQ,IAAI,KAAK,CAAA;oBAC5B,MAAM,GAAG,KAAK,CAAA;oBACd,SAAQ;gBACV,CAAC;YACH,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;gBACd,IAAI,MAAM;oBAAE,SAAQ;gBACpB,MAAM,GAAG,IAAI,CAAA;gBACb,EAAE,IAAI,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAA;gBACzD,QAAQ,GAAG,IAAI,CAAA;gBACf,SAAQ;YACV,CAAC;iBAAM,CAAC;gBACN,MAAM,GAAG,KAAK,CAAA;YAChB,CAAC;YACD,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;gBACd,EAAE,IAAI,KAAK,CAAA;gBACX,QAAQ,GAAG,IAAI,CAAA;gBACf,SAAQ;YACV,CAAC;YACD,EAAE,IAAI,YAAY,CAAC,CAAC,CAAC,CAAA;QACvB,CAAC;QACD,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;IAChD,CAAC;CACF","sourcesContent":["// parse a single path portion\n\nimport { parseClass } from './brace-expressions.js'\nimport { MinimatchOptions, MMRegExp } from './index.js'\nimport { unescape } from './unescape.js'\n\n// classes [] are handled by the parseClass method\n// for positive extglobs, we sub-parse the contents, and combine,\n// with the appropriate regexp close.\n// for negative extglobs, we sub-parse the contents, but then\n// have to include the rest of the pattern, then the parent, etc.,\n// as the thing that cannot be because RegExp negative lookaheads\n// are different from globs.\n//\n// So for example:\n// a@(i|w!(x|y)z|j)b => ^a(i|w((!?(x|y)zb).*)z|j)b$\n// 1 2 3 4 5 6 1 2 3 46 5 6\n//\n// Assembling the extglob requires not just the negated patterns themselves,\n// but also anything following the negative patterns up to the boundary\n// of the current pattern, plus anything following in the parent pattern.\n//\n//\n// So, first, we parse the string into an AST of extglobs, without turning\n// anything into regexps yet.\n//\n// ['a', {@ [['i'], ['w', {!['x', 'y']}, 'z'], ['j']]}, 'b']\n//\n// Then, for all the negative extglobs, we append whatever comes after in\n// each parent as their tail\n//\n// ['a', {@ [['i'], ['w', {!['x', 'y'], 'z', 'b'}, 'z'], ['j']]}, 'b']\n//\n// Lastly, we turn each of these pieces into a regexp, and join\n//\n// v----- .* because there's more following,\n// v v otherwise, .+ because it must be\n// v v *something* there.\n// ['^a', {@ ['i', 'w(?:(!?(?:x|y).*zb$).*)z', 'j' ]}, 'b$']\n// copy what follows into here--^^^^^\n// ['^a', '(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)', 'b$']\n// ['^a(?:i|w(?:(?!(?:x|y).*zb$).*)z|j)b$']\n\nexport type ExtglobType = '!' | '?' | '+' | '*' | '@'\nconst types = new Set<ExtglobType>(['!', '?', '+', '*', '@'])\nconst isExtglobType = (c: string | null): c is ExtglobType =>\n types.has(c as ExtglobType)\nconst isExtglobAST = (c: AST): c is AST & { type: ExtglobType } =>\n isExtglobType(c.type)\n\nconst adoptionMap = new Map<ExtglobType, ExtglobType[]>([\n ['!', ['@']],\n ['?', ['?', '@']],\n ['@', ['@']],\n ['*', ['*', '+', '?', '@']],\n ['+', ['+', '@']],\n])\n\nconst adoptionWithSpaceMap = new Map<ExtglobType, ExtglobType[]>([\n ['!', ['?']],\n ['@', ['?']],\n ['+', ['?', '*']],\n])\n\nconst adoptionAnyMap = new Map<ExtglobType, ExtglobType[]>([\n ['!', ['?', '@']],\n ['?', ['?', '@']],\n ['@', ['?', '@']],\n ['*', ['*', '+', '?', '@']],\n ['+', ['+', '@', '?', '*']],\n])\n\nconst usurpMap = new Map<ExtglobType, Map<ExtglobType | null, ExtglobType | null>>([\n ['!', new Map([['!', '@']])],\n ['?', new Map([['*', '*'], ['+', '*']])],\n ['@', new Map([['!', '!'], ['?', '?'], ['@', '@'], ['*', '*'], ['+', '+']])],\n ['+', new Map([['?', '*'], ['*', '*']])],\n])\n\n// Patterns that get prepended to bind to the start of either the\n// entire string, or just a single path portion, to prevent dots\n// and/or traversal patterns, when needed.\n// Exts don't need the ^ or / bit, because the root binds that already.\nconst startNoTraversal = '(?!(?:^|/)\\\\.\\\\.?(?:$|/))'\nconst startNoDot = '(?!\\\\.)'\n\n// characters that indicate a start of pattern needs the \"no dots\" bit,\n// because a dot *might* be matched. ( is not in the list, because in\n// the case of a child extglob, it will handle the prevention itself.\nconst addPatternStart = new Set(['[', '.'])\n// cases where traversal is A-OK, no dot prevention needed\nconst justDots = new Set(['..', '.'])\nconst reSpecials = new Set('().*{}+?[]^$\\\\!')\nconst regExpEscape = (s: string) =>\n s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&')\n\n// any single thing other than /\nconst qmark = '[^/]'\n\n// * => any number of characters\nconst star = qmark + '*?'\n// use + when we need to ensure that *something* matches, because the * is\n// the only thing in the path portion.\nconst starNoEmpty = qmark + '+?'\n\n// remove the \\ chars that we added if we end up doing a nonmagic compare\n// const deslash = (s: string) => s.replace(/\\\\(.)/g, '$1')\n\nexport class AST {\n type: ExtglobType | null\n readonly #root: AST\n\n #hasMagic?: boolean\n #uflag: boolean = false\n #parts: (string | AST)[] = []\n #parent?: AST\n #parentIndex: number\n #negs: AST[]\n #filledNegs: boolean = false\n #options: MinimatchOptions\n #toString?: string\n // set to true if it's an extglob with no children\n // (which really means one child of '')\n #emptyExt: boolean = false\n\n constructor(\n type: ExtglobType | null,\n parent?: AST,\n options: MinimatchOptions = {}\n ) {\n this.type = type\n // extglobs are inherently magical\n if (type) this.#hasMagic = true\n this.#parent = parent\n this.#root = this.#parent ? this.#parent.#root : this\n this.#options = this.#root === this ? options : this.#root.#options\n this.#negs = this.#root === this ? [] : this.#root.#negs\n if (type === '!' && !this.#root.#filledNegs) this.#negs.push(this)\n this.#parentIndex = this.#parent ? this.#parent.#parts.length : 0\n }\n\n get hasMagic(): boolean | undefined {\n /* c8 ignore start */\n if (this.#hasMagic !== undefined) return this.#hasMagic\n /* c8 ignore stop */\n for (const p of this.#parts) {\n if (typeof p === 'string') continue\n if (p.type || p.hasMagic) return (this.#hasMagic = true)\n }\n // note: will be undefined until we generate the regexp src and find out\n return this.#hasMagic\n }\n\n // reconstructs the pattern\n toString(): string {\n if (this.#toString !== undefined) return this.#toString\n if (!this.type) {\n return (this.#toString = this.#parts.map(p => String(p)).join(''))\n } else {\n return (this.#toString =\n this.type + '(' + this.#parts.map(p => String(p)).join('|') + ')')\n }\n }\n\n #fillNegs() {\n /* c8 ignore start */\n if (this !== this.#root) throw new Error('should only call on root')\n if (this.#filledNegs) return this\n /* c8 ignore stop */\n\n // call toString() once to fill this out\n this.toString()\n this.#filledNegs = true\n let n: AST | undefined\n while ((n = this.#negs.pop())) {\n if (n.type !== '!') continue\n // walk up the tree, appending everthing that comes AFTER parentIndex\n let p: AST | undefined = n\n let pp = p.#parent\n while (pp) {\n for (\n let i = p.#parentIndex + 1;\n !pp.type && i < pp.#parts.length;\n i++\n ) {\n for (const part of n.#parts) {\n /* c8 ignore start */\n if (typeof part === 'string') {\n throw new Error('string part in extglob AST??')\n }\n /* c8 ignore stop */\n part.copyIn(pp.#parts[i])\n }\n }\n p = pp\n pp = p.#parent\n }\n }\n return this\n }\n\n push(...parts: (string | AST)[]) {\n for (const p of parts) {\n if (p === '') continue\n /* c8 ignore start */\n if (typeof p !== 'string' && !(p instanceof AST && p.#parent === this)) {\n throw new Error('invalid part: ' + p)\n }\n /* c8 ignore stop */\n this.#parts.push(p)\n }\n }\n\n toJSON() {\n const ret: any[] =\n this.type === null\n ? this.#parts.slice().map(p => (typeof p === 'string' ? p : p.toJSON()))\n : [this.type, ...this.#parts.map(p => (p as AST).toJSON())]\n if (this.isStart() && !this.type) ret.unshift([])\n if (\n this.isEnd() &&\n (this === this.#root ||\n (this.#root.#filledNegs && this.#parent?.type === '!'))\n ) {\n ret.push({})\n }\n return ret\n }\n\n isStart(): boolean {\n if (this.#root === this) return true\n // if (this.type) return !!this.#parent?.isStart()\n if (!this.#parent?.isStart()) return false\n if (this.#parentIndex === 0) return true\n // if everything AHEAD of this is a negation, then it's still the \"start\"\n const p = this.#parent\n for (let i = 0; i < this.#parentIndex; i++) {\n const pp = p.#parts[i]\n if (!(pp instanceof AST && pp.type === '!')) {\n return false\n }\n }\n return true\n }\n\n isEnd(): boolean {\n if (this.#root === this) return true\n if (this.#parent?.type === '!') return true\n if (!this.#parent?.isEnd()) return false\n if (!this.type) return this.#parent?.isEnd()\n // if not root, it'll always have a parent\n /* c8 ignore start */\n const pl = this.#parent ? this.#parent.#parts.length : 0\n /* c8 ignore stop */\n return this.#parentIndex === pl - 1\n }\n\n copyIn(part: AST | string) {\n if (typeof part === 'string') this.push(part)\n else this.push(part.clone(this))\n }\n\n clone(parent: AST) {\n const c = new AST(this.type, parent)\n for (const p of this.#parts) {\n c.copyIn(p)\n }\n return c\n }\n\n static #parseAST(\n str: string,\n ast: AST,\n pos: number,\n opt: MinimatchOptions,\n extDepth: number\n ): number {\n const maxDepth = opt.maxExtglobRecursion ?? 2\n let escaping = false\n let inBrace = false\n let braceStart = -1\n let braceNeg = false\n if (ast.type === null) {\n // outside of a extglob, append until we find a start\n let i = pos\n let acc = ''\n while (i < str.length) {\n const c = str.charAt(i++)\n // still accumulate escapes at this point, but we do ignore\n // starts that are escaped\n if (escaping || c === '\\\\') {\n escaping = !escaping\n acc += c\n continue\n }\n\n if (inBrace) {\n if (i === braceStart + 1) {\n if (c === '^' || c === '!') {\n braceNeg = true\n }\n } else if (c === ']' && !(i === braceStart + 2 && braceNeg)) {\n inBrace = false\n }\n acc += c\n continue\n } else if (c === '[') {\n inBrace = true\n braceStart = i\n braceNeg = false\n acc += c\n continue\n }\n\n const doRecurse =\n !opt.noext &&\n isExtglobType(c) &&\n str.charAt(i) === '(' &&\n extDepth <= maxDepth\n if (doRecurse) {\n ast.push(acc)\n acc = ''\n const ext = new AST(c, ast)\n i = AST.#parseAST(str, ext, i, opt, extDepth + 1)\n ast.push(ext)\n continue\n }\n acc += c\n }\n ast.push(acc)\n return i\n }\n\n // some kind of extglob, pos is at the (\n // find the next | or )\n let i = pos + 1\n let part = new AST(null, ast)\n const parts: AST[] = []\n let acc = ''\n while (i < str.length) {\n const c = str.charAt(i++)\n // still accumulate escapes at this point, but we do ignore\n // starts that are escaped\n if (escaping || c === '\\\\') {\n escaping = !escaping\n acc += c\n continue\n }\n\n if (inBrace) {\n if (i === braceStart + 1) {\n if (c === '^' || c === '!') {\n braceNeg = true\n }\n } else if (c === ']' && !(i === braceStart + 2 && braceNeg)) {\n inBrace = false\n }\n acc += c\n continue\n } else if (c === '[') {\n inBrace = true\n braceStart = i\n braceNeg = false\n acc += c\n continue\n }\n\n const doRecurse =\n isExtglobType(c) &&\n str.charAt(i) === '(' &&\n /* c8 ignore start - the maxDepth is sufficient here */\n (extDepth <= maxDepth || (ast && ast.#canAdoptType(c)))\n /* c8 ignore stop */\n if (doRecurse) {\n const depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1\n part.push(acc)\n acc = ''\n const ext = new AST(c, part)\n part.push(ext)\n i = AST.#parseAST(str, ext, i, opt, extDepth + depthAdd)\n continue\n }\n if (c === '|') {\n part.push(acc)\n acc = ''\n parts.push(part)\n part = new AST(null, ast)\n continue\n }\n if (c === ')') {\n if (acc === '' && ast.#parts.length === 0) {\n ast.#emptyExt = true\n }\n part.push(acc)\n acc = ''\n ast.push(...parts, part)\n return i\n }\n acc += c\n }\n\n // unfinished extglob\n // if we got here, it was a malformed extglob! not an extglob, but\n // maybe something else in there.\n ast.type = null\n ast.#hasMagic = undefined\n ast.#parts = [str.substring(pos - 1)]\n return i\n }\n\n #canAdoptWithSpace(child?: AST | string): child is AST & {\n type: null\n parts: [AST & { type: ExtglobType }]\n } {\n return this.#canAdopt(child, adoptionWithSpaceMap)\n }\n\n #canAdopt(\n child?: AST | string,\n map: Map<ExtglobType, ExtglobType[]> = adoptionMap\n ): child is AST & {\n type: null\n parts: [AST & { type: ExtglobType }]\n } {\n if (\n !child ||\n typeof child !== 'object' ||\n child.type !== null ||\n child.#parts.length !== 1 ||\n this.type === null\n ) {\n return false\n }\n const gc = child.#parts[0]\n if (!gc || typeof gc !== 'object' || gc.type === null) {\n return false\n }\n return (this as AST & { type: ExtglobType }).#canAdoptType(\n gc.type,\n map\n )\n }\n\n #canAdoptType(\n c: string,\n map: Map<ExtglobType, ExtglobType[]> = adoptionAnyMap\n ): c is ExtglobType {\n return !!map.get(this.type as ExtglobType)?.includes(c as ExtglobType)\n }\n\n #adoptWithSpace(\n this: AST & { type: ExtglobType },\n child: AST & { type: null },\n index: number\n ) {\n const gc = child.#parts[0] as AST & { type: ExtglobType }\n const blank = new AST(null, gc, this.options)\n blank.#parts.push('')\n gc.push(blank)\n this.#adopt(child, index)\n }\n\n #adopt(child: AST & { type: null }, index: number) {\n const gc = child.#parts[0] as AST & { type: ExtglobType }\n this.#parts.splice(index, 1, ...gc.#parts)\n for (const p of gc.#parts) {\n if (typeof p === 'object') p.#parent = this\n }\n this.#toString = undefined\n }\n\n #canUsurpType(c: string): boolean {\n const m = usurpMap.get(this.type as ExtglobType)\n return !!(m?.has(c as ExtglobType))\n }\n\n #canUsurp(child?: AST | string): child is AST & {\n type: null\n parts: [AST & { type: ExtglobType }]\n } {\n if (\n !child ||\n typeof child !== 'object' ||\n child.type !== null ||\n child.#parts.length !== 1 ||\n this.type === null ||\n this.#parts.length !== 1\n ) {\n return false\n }\n const gc = child.#parts[0]\n if (!gc || typeof gc !== 'object' || gc.type === null) {\n return false\n }\n return (this as AST & { type: ExtglobType }).#canUsurpType(gc.type)\n }\n\n #usurp(this: AST & { type: ExtglobType }, child: AST & { type: null }) {\n const m = usurpMap.get(this.type as ExtglobType)\n const gc = child.#parts[0] as AST & { type: ExtglobType }\n const nt = m?.get(gc.type)\n /* c8 ignore start - impossible */\n if (!nt) return false\n /* c8 ignore stop */\n this.#parts = gc.#parts\n for (const p of this.#parts) {\n if (typeof p === 'object') p.#parent = this\n }\n this.type = nt\n this.#toString = undefined\n this.#emptyExt = false\n }\n\n #flatten() {\n if (!isExtglobAST(this)) {\n for (const p of this.#parts) {\n if (typeof p === 'object') p.#flatten()\n }\n } else {\n let iterations = 0\n let done = false\n do {\n done = true\n for (let i = 0; i < this.#parts.length; i++) {\n const c = this.#parts[i]\n if (typeof c === 'object') {\n c.#flatten()\n if (this.#canAdopt(c)) {\n done = false\n this.#adopt(c, i)\n } else if (this.#canAdoptWithSpace(c)) {\n done = false\n this.#adoptWithSpace(c, i)\n } else if (this.#canUsurp(c)) {\n done = false\n this.#usurp(c)\n }\n }\n }\n } while (!done && ++iterations < 10)\n }\n this.#toString = undefined\n }\n\n static fromGlob(pattern: string, options: MinimatchOptions = {}) {\n const ast = new AST(null, undefined, options)\n AST.#parseAST(pattern, ast, 0, options, 0)\n return ast\n }\n\n // returns the regular expression if there's magic, or the unescaped\n // string if not.\n toMMPattern(): MMRegExp | string {\n // should only be called on root\n /* c8 ignore start */\n if (this !== this.#root) return this.#root.toMMPattern()\n /* c8 ignore stop */\n const glob = this.toString()\n const [re, body, hasMagic, uflag] = this.toRegExpSource()\n // if we're in nocase mode, and not nocaseMagicOnly, then we do\n // still need a regular expression if we have to case-insensitively\n // match capital/lowercase characters.\n const anyMagic =\n hasMagic ||\n this.#hasMagic ||\n (this.#options.nocase &&\n !this.#options.nocaseMagicOnly &&\n glob.toUpperCase() !== glob.toLowerCase())\n if (!anyMagic) {\n return body\n }\n\n const flags = (this.#options.nocase ? 'i' : '') + (uflag ? 'u' : '')\n return Object.assign(new RegExp(`^${re}$`, flags), {\n _src: re,\n _glob: glob,\n })\n }\n\n get options() {\n return this.#options\n }\n\n // returns the string match, the regexp source, whether there's magic\n // in the regexp (so a regular expression is required) and whether or\n // not the uflag is needed for the regular expression (for posix classes)\n // TODO: instead of injecting the start/end at this point, just return\n // the BODY of the regexp, along with the start/end portions suitable\n // for binding the start/end in either a joined full-path makeRe context\n // (where we bind to (^|/), or a standalone matchPart context (where\n // we bind to ^, and not /). Otherwise slashes get duped!\n //\n // In part-matching mode, the start is:\n // - if not isStart: nothing\n // - if traversal possible, but not allowed: ^(?!\\.\\.?$)\n // - if dots allowed or not possible: ^\n // - if dots possible and not allowed: ^(?!\\.)\n // end is:\n // - if not isEnd(): nothing\n // - else: $\n //\n // In full-path matching mode, we put the slash at the START of the\n // pattern, so start is:\n // - if first pattern: same as part-matching mode\n // - if not isStart(): nothing\n // - if traversal possible, but not allowed: /(?!\\.\\.?(?:$|/))\n // - if dots allowed or not possible: /\n // - if dots possible and not allowed: /(?!\\.)\n // end is:\n // - if last pattern, same as part-matching mode\n // - else nothing\n //\n // Always put the (?:$|/) on negated tails, though, because that has to be\n // there to bind the end of the negated pattern portion, and it's easier to\n // just stick it in now rather than try to inject it later in the middle of\n // the pattern.\n //\n // We can just always return the same end, and leave it up to the caller\n // to know whether it's going to be used joined or in parts.\n // And, if the start is adjusted slightly, can do the same there:\n // - if not isStart: nothing\n // - if traversal possible, but not allowed: (?:/|^)(?!\\.\\.?$)\n // - if dots allowed or not possible: (?:/|^)\n // - if dots possible and not allowed: (?:/|^)(?!\\.)\n //\n // But it's better to have a simpler binding without a conditional, for\n // performance, so probably better to return both start options.\n //\n // Then the caller just ignores the end if it's not the first pattern,\n // and the start always gets applied.\n //\n // But that's always going to be $ if it's the ending pattern, or nothing,\n // so the caller can just attach $ at the end of the pattern when building.\n //\n // So the todo is:\n // - better detect what kind of start is needed\n // - return both flavors of starting pattern\n // - attach $ at the end of the pattern when creating the actual RegExp\n //\n // Ah, but wait, no, that all only applies to the root when the first pattern\n // is not an extglob. If the first pattern IS an extglob, then we need all\n // that dot prevention biz to live in the extglob portions, because eg\n // +(*|.x*) can match .xy but not .yx.\n //\n // So, return the two flavors if it's #root and the first child is not an\n // AST, otherwise leave it to the child AST to handle it, and there,\n // use the (?:^|/) style of start binding.\n //\n // Even simplified further:\n // - Since the start for a join is eg /(?!\\.) and the start for a part\n // is ^(?!\\.), we can just prepend (?!\\.) to the pattern (either root\n // or start or whatever) and prepend ^ or / at the Regexp construction.\n toRegExpSource(\n allowDot?: boolean\n ): [re: string, body: string, hasMagic: boolean, uflag: boolean] {\n const dot = allowDot ?? !!this.#options.dot\n if (this.#root === this) {\n this.#flatten()\n this.#fillNegs()\n }\n if (!isExtglobAST(this)) {\n const noEmpty = this.isStart() && this.isEnd()\n const src = this.#parts\n .map(p => {\n const [re, _, hasMagic, uflag] =\n typeof p === 'string'\n ? AST.#parseGlob(p, this.#hasMagic, noEmpty)\n : p.toRegExpSource(allowDot)\n this.#hasMagic = this.#hasMagic || hasMagic\n this.#uflag = this.#uflag || uflag\n return re\n })\n .join('')\n\n let start = ''\n if (this.isStart()) {\n if (typeof this.#parts[0] === 'string') {\n // this is the string that will match the start of the pattern,\n // so we need to protect against dots and such.\n\n // '.' and '..' cannot match unless the pattern is that exactly,\n // even if it starts with . or dot:true is set.\n const dotTravAllowed =\n this.#parts.length === 1 && justDots.has(this.#parts[0])\n if (!dotTravAllowed) {\n const aps = addPatternStart\n // check if we have a possibility of matching . or ..,\n // and prevent that.\n const needNoTrav =\n // dots are allowed, and the pattern starts with [ or .\n (dot && aps.has(src.charAt(0))) ||\n // the pattern starts with \\., and then [ or .\n (src.startsWith('\\\\.') && aps.has(src.charAt(2))) ||\n // the pattern starts with \\.\\., and then [ or .\n (src.startsWith('\\\\.\\\\.') && aps.has(src.charAt(4)))\n // no need to prevent dots if it can't match a dot, or if a\n // sub-pattern will be preventing it anyway.\n const needNoDot = !dot && !allowDot && aps.has(src.charAt(0))\n\n start = needNoTrav ? startNoTraversal : needNoDot ? startNoDot : ''\n }\n }\n }\n\n // append the \"end of path portion\" pattern to negation tails\n let end = ''\n if (\n this.isEnd() &&\n this.#root.#filledNegs &&\n this.#parent?.type === '!'\n ) {\n end = '(?:$|\\\\/)'\n }\n const final = start + src + end\n return [\n final,\n unescape(src),\n (this.#hasMagic = !!this.#hasMagic),\n this.#uflag,\n ]\n }\n\n // We need to calculate the body *twice* if it's a repeat pattern\n // at the start, once in nodot mode, then again in dot mode, so a\n // pattern like *(?) can match 'x.y'\n\n const repeated = this.type === '*' || this.type === '+'\n // some kind of extglob\n const start = this.type === '!' ? '(?:(?!(?:' : '(?:'\n let body = this.#partsToRegExp(dot)\n\n if (this.isStart() && this.isEnd() && !body && this.type !== '!') {\n // invalid extglob, has to at least be *something* present, if it's\n // the entire path portion.\n const s = this.toString()\n const me = this as AST\n me.#parts = [s]\n me.type = null\n me.#hasMagic = undefined\n return [s, unescape(this.toString()), false, false]\n }\n\n // XXX abstract out this map method\n let bodyDotAllowed =\n !repeated || allowDot || dot || !startNoDot\n ? ''\n : this.#partsToRegExp(true)\n if (bodyDotAllowed === body) {\n bodyDotAllowed = ''\n }\n if (bodyDotAllowed) {\n body = `(?:${body})(?:${bodyDotAllowed})*?`\n }\n\n // an empty !() is exactly equivalent to a starNoEmpty\n let final = ''\n if (this.type === '!' && this.#emptyExt) {\n final = (this.isStart() && !dot ? startNoDot : '') + starNoEmpty\n } else {\n const close =\n this.type === '!'\n ? // !() must match something,but !(x) can match ''\n '))' +\n (this.isStart() && !dot && !allowDot ? startNoDot : '') +\n star +\n ')'\n : this.type === '@'\n ? ')'\n : this.type === '?'\n ? ')?'\n : this.type === '+' && bodyDotAllowed\n ? ')'\n : this.type === '*' && bodyDotAllowed\n ? `)?`\n : `)${this.type}`\n final = start + body + close\n }\n return [\n final,\n unescape(body),\n (this.#hasMagic = !!this.#hasMagic),\n this.#uflag,\n ]\n }\n\n #partsToRegExp(dot: boolean) {\n return this.#parts\n .map(p => {\n // extglob ASTs should only contain parent ASTs\n /* c8 ignore start */\n if (typeof p === 'string') {\n throw new Error('string type in extglob ast??')\n }\n /* c8 ignore stop */\n // can ignore hasMagic, because extglobs are already always magic\n const [re, _, _hasMagic, uflag] = p.toRegExpSource(dot)\n this.#uflag = this.#uflag || uflag\n return re\n })\n .filter(p => !(this.isStart() && this.isEnd()) || !!p)\n .join('|')\n }\n\n static #parseGlob(\n glob: string,\n hasMagic: boolean | undefined,\n noEmpty: boolean = false\n ): [re: string, body: string, hasMagic: boolean, uflag: boolean] {\n let escaping = false\n let re = ''\n let uflag = false\n // multiple stars that aren't globstars coalesce into one *\n let inStar = false\n for (let i = 0; i < glob.length; i++) {\n const c = glob.charAt(i)\n if (escaping) {\n escaping = false\n re += (reSpecials.has(c) ? '\\\\' : '') + c\n inStar = false\n continue\n }\n if (c === '\\\\') {\n if (i === glob.length - 1) {\n re += '\\\\\\\\'\n } else {\n escaping = true\n }\n continue\n }\n if (c === '[') {\n const [src, needUflag, consumed, magic] = parseClass(glob, i)\n if (consumed) {\n re += src\n uflag = uflag || needUflag\n i += consumed - 1\n hasMagic = hasMagic || magic\n inStar = false\n continue\n }\n }\n if (c === '*') {\n if (inStar) continue\n inStar = true\n re += noEmpty && /^[*]+$/.test(glob) ? starNoEmpty : star\n hasMagic = true\n continue\n } else {\n inStar = false\n }\n if (c === '?') {\n re += qmark\n hasMagic = true\n continue\n }\n re += regExpEscape(c)\n }\n return [re, unescape(glob), !!hasMagic, uflag]\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"brace-expressions.d.ts","sourceRoot":"","sources":["../../src/brace-expressions.ts"],"names":[],"mappings":"AA+BA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,SACf,MAAM,YACF,MAAM,qBA8HjB,CAAA"}
1
+ {"version":3,"file":"brace-expressions.d.ts","sourceRoot":"","sources":["../../src/brace-expressions.ts"],"names":[],"mappings":"AA+BA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE,OAAO;CAClB,CAAA;AAQD,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,UAAU,MAAM,KACf,gBA6HF,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brace-expressions.js","sourceRoot":"","sources":["../../src/brace-expressions.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,wCAAwC;AAExC,8DAA8D;AAC9D,MAAM,YAAY,GAA0D;IAC1E,WAAW,EAAE,CAAC,sBAAsB,EAAE,IAAI,CAAC;IAC3C,WAAW,EAAE,CAAC,eAAe,EAAE,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,KAAK,GAAG,QAAQ,GAAG,IAAI,EAAE,KAAK,CAAC;IAC7C,WAAW,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC;IAC7B,WAAW,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC;IAC7B,WAAW,EAAE,CAAC,uBAAuB,EAAE,IAAI,CAAC;IAC5C,WAAW,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;IAC9B,UAAU,EAAE,CAAC,6BAA6B,EAAE,IAAI,CAAC;IACjD,YAAY,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC;CACnC,CAAA;AAED,+DAA+D;AAC/D,mBAAmB;AACnB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,CAAC,CAAA;AAC1C,CAAC,CAAA","sourcesContent":["// translate the various posix character classes into unicode properties\n// this works across all unicode locales\n\n// { <posix class>: [<translation>, /u flag required, negated]\nconst posixClasses: { [k: string]: [e: string, u: boolean, n?: boolean] } = {\n '[:alnum:]': ['\\\\p{L}\\\\p{Nl}\\\\p{Nd}', true],\n '[:alpha:]': ['\\\\p{L}\\\\p{Nl}', true],\n '[:ascii:]': ['\\\\x' + '00-\\\\x' + '7f', false],\n '[:blank:]': ['\\\\p{Zs}\\\\t', true],\n '[:cntrl:]': ['\\\\p{Cc}', true],\n '[:digit:]': ['\\\\p{Nd}', true],\n '[:graph:]': ['\\\\p{Z}\\\\p{C}', true, true],\n '[:lower:]': ['\\\\p{Ll}', true],\n '[:print:]': ['\\\\p{C}', true],\n '[:punct:]': ['\\\\p{P}', true],\n '[:space:]': ['\\\\p{Z}\\\\t\\\\r\\\\n\\\\v\\\\f', true],\n '[:upper:]': ['\\\\p{Lu}', true],\n '[:word:]': ['\\\\p{L}\\\\p{Nl}\\\\p{Nd}\\\\p{Pc}', true],\n '[:xdigit:]': ['A-Fa-f0-9', false],\n}\n\n// only need to escape a few things inside of brace expressions\n// escapes: [ \\ ] -\nconst braceEscape = (s: string) => s.replace(/[[\\]\\\\-]/g, '\\\\$&')\n// escape all regexp magic characters\nconst regexpEscape = (s: string) =>\n s.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&')\n\n// everything has already been escaped, we just have to join\nconst rangesToString = (ranges: string[]): string => ranges.join('')\n\nexport type ParseClassResult = [\n src: string,\n uFlag: boolean,\n consumed: number,\n hasMagic: boolean\n]\n\n// takes a glob string at a posix brace expression, and returns\n// an equivalent regular expression source, and boolean indicating\n// whether the /u flag needs to be applied, and the number of chars\n// consumed to parse the character class.\n// This also removes out of order ranges, and returns ($.) if the\n// entire class just no good.\nexport const parseClass = (\n glob: string,\n position: number\n): ParseClassResult => {\n const pos = position\n /* c8 ignore start */\n if (glob.charAt(pos) !== '[') {\n throw new Error('not in a brace expression')\n }\n /* c8 ignore stop */\n const ranges: string[] = []\n const negs: string[] = []\n\n let i = pos + 1\n let sawStart = false\n let uflag = false\n let escaping = false\n let negate = false\n let endPos = pos\n let rangeStart = ''\n WHILE: while (i < glob.length) {\n const c = glob.charAt(i)\n if ((c === '!' || c === '^') && i === pos + 1) {\n negate = true\n i++\n continue\n }\n\n if (c === ']' && sawStart && !escaping) {\n endPos = i + 1\n break\n }\n\n sawStart = true\n if (c === '\\\\') {\n if (!escaping) {\n escaping = true\n i++\n continue\n }\n // escaped \\ char, fall through and treat like normal char\n }\n if (c === '[' && !escaping) {\n // either a posix class, a collation equivalent, or just a [\n for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {\n if (glob.startsWith(cls, i)) {\n // invalid, [a-[] is fine, but not [a-[:alpha]]\n if (rangeStart) {\n return ['$.', false, glob.length - pos, true]\n }\n i += cls.length\n if (neg) negs.push(unip)\n else ranges.push(unip)\n uflag = uflag || u\n continue WHILE\n }\n }\n }\n\n // now it's just a normal character, effectively\n escaping = false\n if (rangeStart) {\n // throw this range away if it's not valid, but others\n // can still match.\n if (c > rangeStart) {\n ranges.push(braceEscape(rangeStart) + '-' + braceEscape(c))\n } else if (c === rangeStart) {\n ranges.push(braceEscape(c))\n }\n rangeStart = ''\n i++\n continue\n }\n\n // now might be the start of a range.\n // can be either c-d or c-] or c<more...>] or c] at this point\n if (glob.startsWith('-]', i + 1)) {\n ranges.push(braceEscape(c + '-'))\n i += 2\n continue\n }\n if (glob.startsWith('-', i + 1)) {\n rangeStart = c\n i += 2\n continue\n }\n\n // not the start of a range, just a single character\n ranges.push(braceEscape(c))\n i++\n }\n\n if (endPos < i) {\n // didn't see the end of the class, not a valid class,\n // but might still be valid as a literal match.\n return ['', false, 0, false]\n }\n\n // if we got no ranges and no negates, then we have a range that\n // cannot possibly match anything, and that poisons the whole glob\n if (!ranges.length && !negs.length) {\n return ['$.', false, glob.length - pos, true]\n }\n\n // if we got one positive range, and it's a single character, then that's\n // not actually a magic pattern, it's just that one literal character.\n // we should not treat that as \"magic\", we should just return the literal\n // character. [_] is a perfectly valid way to escape glob magic chars.\n if (\n negs.length === 0 &&\n ranges.length === 1 &&\n /^\\\\?.$/.test(ranges[0]) &&\n !negate\n ) {\n const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0]\n return [regexpEscape(r), false, endPos - pos, false]\n }\n\n const sranges = '[' + (negate ? '^' : '') + rangesToString(ranges) + ']'\n const snegs = '[' + (negate ? '' : '^') + rangesToString(negs) + ']'\n const comb =\n ranges.length && negs.length\n ? '(' + sranges + '|' + snegs + ')'\n : ranges.length\n ? sranges\n : snegs\n\n return [comb, uflag, endPos - pos, true]\n}\n"]}
@@ -8,5 +8,5 @@ import { MinimatchOptions } from './index.js';
8
8
  * that exact character. In this mode, `\` is _not_ escaped, because it is
9
9
  * not interpreted as a magic character, but instead as a path separator.
10
10
  */
11
- export declare const escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, 'windowsPathsNoEscape'>) => string;
11
+ export declare const escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
12
12
  //# sourceMappingURL=escape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../../src/escape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,GACjB,GAAG,MAAM,EACT,4BAEG,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAM,WAQvD,CAAA"}
@@ -21,6 +21,8 @@ export interface MinimatchOptions {
21
21
  optimizationLevel?: number;
22
22
  platform?: Platform;
23
23
  windowsNoMagicRoot?: boolean;
24
+ maxGlobstarRecursion?: number;
25
+ maxExtglobRecursion?: number;
24
26
  }
25
27
  export declare const minimatch: {
26
28
  (p: string, pattern: string, options?: MinimatchOptions): boolean;
@@ -51,6 +53,7 @@ export type MMRegExp = RegExp & {
51
53
  export type ParseReturnFiltered = string | MMRegExp | typeof GLOBSTAR;
52
54
  export type ParseReturn = ParseReturnFiltered | false;
53
55
  export declare class Minimatch {
56
+ #private;
54
57
  options: MinimatchOptions;
55
58
  set: ParseReturnFiltered[][];
56
59
  pattern: string;
@@ -67,6 +70,7 @@ export declare class Minimatch {
67
70
  isWindows: boolean;
68
71
  platform: Platform;
69
72
  windowsNoMagicRoot: boolean;
73
+ maxGlobstarRecursion: number;
70
74
  regexp: false | null | MMRegExp;
71
75
  constructor(pattern: string, options?: MinimatchOptions);
72
76
  hasMagic(): boolean;