@qqbrowser/openclaw-qbot 0.10.11 → 0.10.13

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 (752) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/canvas-host/a2ui/a2ui.bundle.js +63 -53
  4. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  5. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -2
  6. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +5 -5
  7. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +45 -50
  8. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
  9. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +16 -18
  10. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +21 -26
  11. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +2 -2
  12. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +9 -10
  13. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +7 -4
  14. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +1 -1
  15. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js +7 -10
  16. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  17. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -2
  18. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -2
  19. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
  20. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -2
  21. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
  22. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -2
  23. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
  24. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
  25. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
  26. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
  27. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js +1 -1
  28. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js +2 -2
  29. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js +1 -1
  30. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +6 -8
  31. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +6 -11
  32. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +1 -1
  33. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +3 -4
  34. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js +3 -3
  35. package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +7 -4
  36. package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +13 -46
  37. package/node_modules/@aws-sdk/core/dist-cjs/index.js +67 -55
  38. package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -2
  39. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +595 -0
  40. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +717 -2
  41. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +588 -0
  42. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  43. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -39
  44. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +59 -0
  45. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  46. package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
  47. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +36 -0
  48. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +26 -4
  49. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +37 -0
  50. package/node_modules/@aws-sdk/{middleware-host-header/dist-es/index.js → core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js} +1 -1
  51. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.js +3 -0
  52. package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.js +1 -1
  53. package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/check-features.js +2 -2
  54. package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/user-agent-middleware.js +2 -2
  55. package/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/awsRegionConfig.js +2 -0
  56. package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.js +1 -2
  57. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +1 -1
  58. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/aws.js +1 -1
  59. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/isVirtualHostableS3Bucket.js +1 -1
  60. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/partition.js +1 -1
  61. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +1 -0
  62. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/isIpAddress.js +1 -0
  63. package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/resolveDefaultAwsRegionalEndpointsConfig.js +1 -1
  64. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/resolveEndpoint.js +1 -0
  65. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/types/EndpointError.js +1 -0
  66. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -0
  67. package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getTypeScriptUserAgentPair.js +1 -1
  68. package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/nodeAppIdConfigOptions.js +1 -1
  69. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -1
  70. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -1
  71. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +1 -1
  72. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
  73. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -1
  74. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
  75. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -2
  76. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +7 -6
  77. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
  78. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
  79. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  80. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +1 -1
  81. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  82. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +26 -11
  83. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  84. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -3
  85. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
  86. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
  87. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -3
  88. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +1 -1
  89. package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +2 -0
  90. package/node_modules/@aws-sdk/{util-format-url/dist-es/index.js → core/dist-es/submodules/util/util-format-url/format-url.js} +1 -1
  91. package/node_modules/@aws-sdk/core/package.json +39 -17
  92. package/node_modules/@aws-sdk/core/util.js +5 -0
  93. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -2
  94. package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +1 -1
  95. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  96. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
  97. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -2
  98. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +15 -9
  99. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +10 -10
  100. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +7 -5
  101. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +1 -1
  102. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +1 -1
  103. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +13 -7
  104. package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -4
  105. package/node_modules/@aws-sdk/credential-provider-http/package.json +18 -12
  106. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -10
  107. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
  108. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
  109. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +1 -1
  110. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
  111. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -14
  112. package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +14 -15
  113. package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +2 -3
  114. package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +1 -2
  115. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -8
  116. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +7 -8
  117. package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -2
  118. package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +1 -1
  119. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -12
  120. package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +7 -8
  121. package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -1
  122. package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -2
  123. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -6
  124. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +16 -17
  125. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +1 -2
  126. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
  127. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +1 -1
  128. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -8
  129. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -4
  130. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -34
  131. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -2
  132. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -7
  133. package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +2 -2
  134. package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +1 -1
  135. package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -5
  136. package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -3
  137. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +1 -1
  138. package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +1 -1
  139. package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
  140. package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +13 -15
  141. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js +5 -5
  142. package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js +1 -1
  143. package/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js +1 -1
  144. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventSigningTransformStream.js +1 -1
  145. package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventStreamPayloadHandler.js +1 -1
  146. package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -12
  147. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +524 -63
  148. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +458 -60
  149. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +403 -60
  150. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +597 -60
  151. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +831 -58
  152. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
  153. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +6 -9
  154. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
  155. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
  156. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
  157. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
  158. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
  159. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
  160. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +5 -7
  161. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +5 -10
  162. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
  163. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js +3 -3
  164. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
  165. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +6 -9
  166. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
  167. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
  168. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +1 -1
  169. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +2 -2
  170. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
  171. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +5 -7
  172. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +5 -10
  173. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
  174. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +3 -3
  175. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
  176. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +6 -9
  177. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
  178. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
  179. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +1 -1
  180. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +2 -2
  181. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
  182. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +5 -7
  183. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +5 -10
  184. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
  185. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +3 -3
  186. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
  187. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +6 -9
  188. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
  189. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
  190. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
  191. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
  192. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
  193. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +5 -7
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +5 -10
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +3 -3
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +6 -9
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -7
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +1 -1
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +2 -2
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -1
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +5 -7
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +5 -10
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +3 -3
  210. package/node_modules/@aws-sdk/nested-clients/package.json +8 -37
  211. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +38 -2
  212. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +2 -2
  213. package/node_modules/@aws-sdk/{middleware-sdk-s3/dist-es/s3-express/classes/SignatureV4S3Express.js → signature-v4-multi-region/dist-es/SignatureV4SignWithCredentials.js} +5 -10
  214. package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +3 -2
  215. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -6
  216. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -19
  217. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +1 -1
  218. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -2
  219. package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
  220. package/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +1 -1
  221. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +1 -1
  222. package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +1 -1
  223. package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
  224. package/node_modules/@aws-sdk/token-providers/package.json +6 -7
  225. package/node_modules/@aws-sdk/types/package.json +2 -2
  226. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
  227. package/node_modules/@aws-sdk/xml-builder/package.json +6 -6
  228. package/node_modules/@babel/runtime/package.json +1 -1
  229. package/node_modules/@cacheable/memory/package.json +2 -6
  230. package/node_modules/@clack/core/dist/index.mjs +8 -8
  231. package/node_modules/@clack/core/package.json +1 -1
  232. package/node_modules/@clack/prompts/dist/index.mjs +122 -121
  233. package/node_modules/@clack/prompts/package.json +2 -2
  234. package/node_modules/@grammyjs/types/package.json +1 -1
  235. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +440 -73
  236. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +71 -12
  237. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +298 -35
  238. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +1 -12
  239. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +1 -12
  240. package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +1 -12
  241. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +1 -12
  242. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +1 -12
  243. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +78 -13
  244. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +1 -12
  245. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +1 -12
  246. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +1 -12
  247. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +1 -12
  248. package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +2 -13
  249. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +440 -73
  250. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +71 -12
  251. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +298 -35
  252. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +1 -12
  253. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +1 -12
  254. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +1 -12
  255. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +1 -12
  256. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +1 -12
  257. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +78 -13
  258. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +1 -12
  259. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +1 -12
  260. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +1 -12
  261. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +1 -12
  262. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +2 -13
  263. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +469 -97
  264. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +72 -13
  265. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +307 -43
  266. package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +1 -12
  267. package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +1 -12
  268. package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +1 -12
  269. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +1 -12
  270. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +1 -12
  271. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +81 -16
  272. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +1 -12
  273. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +1 -12
  274. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +1 -12
  275. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +1 -12
  276. package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +2 -13
  277. package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
  278. package/node_modules/@protobufjs/eventemitter/index.js +17 -7
  279. package/node_modules/@protobufjs/eventemitter/package.json +2 -2
  280. package/node_modules/@protobufjs/fetch/index.js +4 -7
  281. package/node_modules/@protobufjs/fetch/package.json +7 -5
  282. package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
  283. package/node_modules/@protobufjs/inquire/index.js +1 -0
  284. package/node_modules/@protobufjs/inquire/package.json +1 -1
  285. package/node_modules/@slack/web-api/dist/file-upload.js +4 -2
  286. package/node_modules/@slack/web-api/package.json +2 -2
  287. package/node_modules/@smithy/core/cbor.js +0 -1
  288. package/node_modules/@smithy/core/checksum.js +1 -1
  289. package/node_modules/@smithy/core/client.js +0 -1
  290. package/node_modules/@smithy/core/config.js +1 -1
  291. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
  292. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +126 -174
  293. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +181 -85
  294. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +126 -174
  295. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  296. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +12 -7
  297. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +9 -5
  298. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +10 -3
  299. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +1 -1
  300. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +19 -21
  301. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +1 -1
  302. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +2 -2
  303. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +1 -1
  304. package/node_modules/{@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js → @smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js} +1 -1
  305. package/node_modules/@smithy/core/endpoints.js +0 -1
  306. package/node_modules/@smithy/core/event-streams.js +0 -1
  307. package/node_modules/@smithy/core/package.json +2 -2
  308. package/node_modules/@smithy/core/protocols.js +0 -1
  309. package/node_modules/@smithy/core/retry.js +1 -1
  310. package/node_modules/@smithy/core/schema.js +0 -1
  311. package/node_modules/@smithy/core/serde.js +0 -1
  312. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  313. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  314. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  315. package/node_modules/@smithy/signature-v4/package.json +3 -3
  316. package/node_modules/@smithy/types/package.json +1 -1
  317. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -7
  318. package/node_modules/@smithy/util-utf8/dist-es/index.js +3 -1
  319. package/node_modules/@smithy/util-utf8/package.json +33 -9
  320. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/dist/index.js +10 -5
  321. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/package.json +1 -1
  322. package/node_modules/axios/dist/axios.js +81 -53
  323. package/node_modules/axios/dist/axios.min.js +2 -2
  324. package/node_modules/axios/dist/browser/axios.cjs +96 -64
  325. package/node_modules/axios/dist/esm/axios.js +96 -64
  326. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  327. package/node_modules/axios/dist/node/axios.cjs +206 -85
  328. package/node_modules/axios/index.d.cts +1 -1
  329. package/node_modules/axios/lib/adapters/fetch.js +6 -2
  330. package/node_modules/axios/lib/adapters/http.js +139 -29
  331. package/node_modules/axios/lib/adapters/xhr.js +2 -1
  332. package/node_modules/axios/lib/core/AxiosHeaders.js +1 -33
  333. package/node_modules/axios/lib/env/data.js +1 -1
  334. package/node_modules/axios/lib/helpers/composeSignals.js +48 -47
  335. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  336. package/node_modules/axios/lib/helpers/fromDataURI.js +18 -5
  337. package/node_modules/axios/lib/helpers/progressEventReducer.js +3 -0
  338. package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  339. package/node_modules/axios/lib/utils.js +8 -7
  340. package/node_modules/axios/node_modules/agent-base/dist/src/index.js +203 -0
  341. package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js +18 -0
  342. package/node_modules/axios/node_modules/agent-base/package.json +64 -0
  343. package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js +177 -0
  344. package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js +14 -0
  345. package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  346. package/node_modules/axios/node_modules/https-proxy-agent/package.json +56 -0
  347. package/node_modules/axios/package.json +3 -1
  348. package/node_modules/discord-api-types/package.json +8 -8
  349. package/node_modules/discord-api-types/payloads/v10/oauth2.js +7 -0
  350. package/node_modules/discord-api-types/payloads/v9/oauth2.js +7 -0
  351. package/node_modules/discord-api-types/rest/v10/index.js +3 -2
  352. package/node_modules/discord-api-types/rest/v9/index.js +3 -2
  353. package/node_modules/es-object-atoms/package.json +6 -7
  354. package/node_modules/es-object-atoms/tsconfig.json +1 -0
  355. package/node_modules/express-rate-limit/dist/index.cjs +1 -1
  356. package/node_modules/express-rate-limit/dist/index.mjs +1 -1
  357. package/node_modules/express-rate-limit/package.json +9 -9
  358. package/node_modules/fast-wrap-ansi/lib/main.js +0 -1
  359. package/node_modules/fast-wrap-ansi/package.json +10 -10
  360. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  361. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  362. package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -0
  363. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  364. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  365. package/node_modules/fast-xml-parser/package.json +2 -4
  366. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +1 -1
  367. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +4 -0
  368. package/node_modules/grammy/out/bot.js +1 -0
  369. package/node_modules/grammy/out/context.js +236 -74
  370. package/node_modules/grammy/out/convenience/constants.js +1 -0
  371. package/node_modules/grammy/out/convenience/frameworks.js +21 -17
  372. package/node_modules/grammy/out/core/api.js +280 -141
  373. package/node_modules/grammy/out/filter.js +5 -1
  374. package/node_modules/grammy/out/web.mjs +191 -61
  375. package/node_modules/grammy/package.json +2 -2
  376. package/node_modules/linkify-it/build/index.cjs.js +99 -94
  377. package/node_modules/linkify-it/index.mjs +99 -94
  378. package/node_modules/linkify-it/package.json +11 -1
  379. package/node_modules/lru-cache/dist/commonjs/browser/index.js +81 -41
  380. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
  381. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
  382. package/node_modules/lru-cache/dist/commonjs/index.js +81 -41
  383. package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  384. package/node_modules/lru-cache/dist/commonjs/node/index.js +81 -41
  385. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
  386. package/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
  387. package/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
  388. package/node_modules/lru-cache/dist/esm/browser/index.js +81 -41
  389. package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
  390. package/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
  391. package/node_modules/lru-cache/dist/esm/index.js +81 -41
  392. package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  393. package/node_modules/lru-cache/dist/esm/node/index.js +81 -41
  394. package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
  395. package/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
  396. package/node_modules/lru-cache/dist/esm/perf.js +1 -2
  397. package/node_modules/lru-cache/package.json +8 -8
  398. package/node_modules/markdown-it/dist/index.cjs.js +111 -31
  399. package/node_modules/markdown-it/dist/markdown-it.js +117 -31
  400. package/node_modules/markdown-it/dist/markdown-it.min.js +2 -2
  401. package/node_modules/markdown-it/lib/common/utils.mjs +30 -1
  402. package/node_modules/markdown-it/lib/index.mjs +1 -1
  403. package/node_modules/markdown-it/lib/rules_block/heading.mjs +2 -2
  404. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +12 -1
  405. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +4 -1
  406. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +3 -1
  407. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +37 -21
  408. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +2 -2
  409. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +37 -6
  410. package/node_modules/markdown-it/package.json +14 -3
  411. package/node_modules/protobufjs/dist/light/protobuf.js +349 -231
  412. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  413. package/node_modules/protobufjs/dist/minimal/protobuf.js +74 -28
  414. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  415. package/node_modules/protobufjs/dist/protobuf.js +420 -283
  416. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  417. package/node_modules/protobufjs/ext/descriptor/index.js +7 -2
  418. package/node_modules/protobufjs/package.json +8 -5
  419. package/node_modules/protobufjs/src/converter.js +13 -8
  420. package/node_modules/protobufjs/src/encoder.js +8 -5
  421. package/node_modules/protobufjs/src/enum.js +2 -2
  422. package/node_modules/protobufjs/src/field.js +1 -1
  423. package/node_modules/protobufjs/src/namespace.js +10 -4
  424. package/node_modules/protobufjs/src/object.js +6 -6
  425. package/node_modules/protobufjs/src/parse.js +49 -30
  426. package/node_modules/protobufjs/src/root.js +18 -10
  427. package/node_modules/protobufjs/src/service.js +4 -2
  428. package/node_modules/protobufjs/src/type.js +12 -7
  429. package/node_modules/protobufjs/src/util/fs.js +11 -0
  430. package/node_modules/protobufjs/src/util/minimal.js +42 -9
  431. package/node_modules/protobufjs/src/util/patterns.js +0 -1
  432. package/node_modules/protobufjs/src/util.js +19 -4
  433. package/node_modules/protobufjs/src/wrappers.js +11 -7
  434. package/node_modules/protobufjs/src/writer.js +11 -9
  435. package/node_modules/qs/dist/qs.js +15 -15
  436. package/node_modules/qs/eslint.config.mjs +1 -0
  437. package/node_modules/qs/lib/parse.js +52 -22
  438. package/node_modules/qs/lib/stringify.js +11 -4
  439. package/node_modules/qs/package.json +2 -2
  440. package/node_modules/semver/classes/range.js +7 -0
  441. package/node_modules/semver/package.json +1 -1
  442. package/node_modules/semver/ranges/subset.js +2 -2
  443. package/node_modules/shell-quote/package.json +5 -6
  444. package/node_modules/shell-quote/quote.js +43 -1
  445. package/node_modules/type-is/index.js +8 -18
  446. package/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
  447. package/node_modules/type-is/node_modules/content-type/package.json +52 -0
  448. package/node_modules/type-is/package.json +9 -5
  449. package/node_modules/undici/lib/api/api-request.js +1 -1
  450. package/node_modules/undici/lib/cache/sqlite-cache-store.js +3 -3
  451. package/node_modules/undici/lib/core/connect.js +16 -0
  452. package/node_modules/undici/lib/core/request.js +17 -2
  453. package/node_modules/undici/lib/core/socks5-client.js +10 -5
  454. package/node_modules/undici/lib/core/socks5-utils.js +17 -22
  455. package/node_modules/undici/lib/dispatcher/client-h1.js +64 -20
  456. package/node_modules/undici/lib/dispatcher/client.js +6 -2
  457. package/node_modules/undici/lib/dispatcher/h2c-client.js +1 -1
  458. package/node_modules/undici/lib/mock/mock-call-history.js +15 -15
  459. package/node_modules/undici/lib/util/cache.js +8 -7
  460. package/node_modules/undici/lib/web/fetch/formdata-parser.js +17 -6
  461. package/node_modules/undici/lib/web/fetch/index.js +5 -2
  462. package/node_modules/undici/lib/web/webidl/index.js +5 -5
  463. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +1 -7
  464. package/node_modules/undici/package.json +1 -1
  465. package/node_modules/ws/lib/receiver.js +54 -0
  466. package/node_modules/ws/lib/sender.js +6 -1
  467. package/node_modules/ws/lib/websocket-server.js +8 -0
  468. package/node_modules/ws/lib/websocket.js +14 -0
  469. package/node_modules/ws/package.json +1 -1
  470. package/package.json +1 -1
  471. package/skills/qqbrowser-playbook/SKILL.md +302 -0
  472. package/skills/qqbrowser-skill/SKILL.md +140 -41
  473. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  474. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  475. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
  476. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  477. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  478. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  479. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  480. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  481. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  482. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  483. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  484. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  485. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  486. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  487. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
  488. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
  489. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
  490. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  491. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
  492. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
  493. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  494. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  495. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
  496. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
  497. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  498. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  499. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  500. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  501. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
  502. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +0 -41
  503. package/node_modules/@aws-sdk/middleware-host-header/package.json +0 -59
  504. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +0 -48
  505. package/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +0 -1
  506. package/node_modules/@aws-sdk/middleware-logger/package.json +0 -59
  507. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +0 -29
  508. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +0 -33
  509. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +0 -5
  510. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +0 -2
  511. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +0 -63
  512. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
  513. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  514. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  515. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
  516. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
  517. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
  518. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
  519. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
  520. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
  521. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
  522. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
  523. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
  524. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
  525. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
  526. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
  527. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
  528. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
  529. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  530. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
  531. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
  532. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
  533. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
  534. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
  535. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
  536. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
  537. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
  538. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +0 -194
  539. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +0 -2
  540. package/node_modules/@aws-sdk/middleware-user-agent/package.json +0 -63
  541. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
  542. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
  543. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
  544. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
  545. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
  546. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
  547. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
  548. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
  549. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
  550. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
  551. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
  552. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
  553. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
  554. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
  555. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
  556. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
  557. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
  558. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
  559. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
  560. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
  561. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
  562. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
  563. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
  564. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
  565. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
  566. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
  567. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
  568. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
  569. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
  570. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
  571. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
  572. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
  573. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
  574. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
  575. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
  576. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
  577. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
  578. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
  579. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
  580. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
  581. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
  582. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
  583. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
  584. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
  585. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
  586. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
  587. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
  588. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
  589. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
  590. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
  591. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
  592. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
  593. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
  594. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
  595. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +0 -38
  596. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +0 -20
  597. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +0 -6
  598. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +0 -3
  599. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +0 -2
  600. package/node_modules/@aws-sdk/region-config-resolver/package.json +0 -62
  601. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
  602. package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
  603. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -406
  604. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  605. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  606. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  607. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  608. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  609. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  610. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  611. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  612. package/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  613. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
  614. package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
  615. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
  616. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +0 -57
  617. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +0 -58
  618. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +0 -22
  619. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +0 -55
  620. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +0 -185
  621. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +0 -2
  622. package/node_modules/@aws-sdk/util-user-agent-node/package.json +0 -69
  623. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -22
  624. package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -1
  625. package/node_modules/@smithy/config-resolver/package.json +0 -41
  626. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -11
  627. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -1
  628. package/node_modules/@smithy/eventstream-codec/package.json +0 -44
  629. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -9
  630. package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
  631. package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -44
  632. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -5
  633. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
  634. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -44
  635. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -6
  636. package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -1
  637. package/node_modules/@smithy/eventstream-serde-node/package.json +0 -44
  638. package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -5
  639. package/node_modules/@smithy/hash-node/dist-es/index.js +0 -1
  640. package/node_modules/@smithy/hash-node/package.json +0 -41
  641. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -6
  642. package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -1
  643. package/node_modules/@smithy/invalid-dependency/package.json +0 -41
  644. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -7
  645. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -1
  646. package/node_modules/@smithy/middleware-content-length/package.json +0 -41
  647. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -12
  648. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -1
  649. package/node_modules/@smithy/middleware-endpoint/package.json +0 -41
  650. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -22
  651. package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -1
  652. package/node_modules/@smithy/middleware-retry/package.json +0 -41
  653. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -9
  654. package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -1
  655. package/node_modules/@smithy/middleware-serde/package.json +0 -41
  656. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -5
  657. package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
  658. package/node_modules/@smithy/middleware-stack/package.json +0 -43
  659. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -5
  660. package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
  661. package/node_modules/@smithy/node-config-provider/package.json +0 -43
  662. package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -10
  663. package/node_modules/@smithy/property-provider/dist-es/index.js +0 -1
  664. package/node_modules/@smithy/property-provider/package.json +0 -41
  665. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -11
  666. package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -1
  667. package/node_modules/@smithy/protocol-http/package.json +0 -42
  668. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -5
  669. package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -1
  670. package/node_modules/@smithy/querystring-builder/package.json +0 -41
  671. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -16
  672. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -1
  673. package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -41
  674. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -75
  675. package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -3
  676. package/node_modules/@smithy/smithy-client/package.json +0 -42
  677. package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -5
  678. package/node_modules/@smithy/url-parser/dist-es/index.js +0 -1
  679. package/node_modules/@smithy/url-parser/package.json +0 -41
  680. package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -6
  681. package/node_modules/@smithy/util-base64/dist-es/index.js +0 -1
  682. package/node_modules/@smithy/util-base64/package.json +0 -42
  683. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -5
  684. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
  685. package/node_modules/@smithy/util-body-length-browser/package.json +0 -42
  686. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -5
  687. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
  688. package/node_modules/@smithy/util-body-length-node/package.json +0 -42
  689. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -7
  690. package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -1
  691. package/node_modules/@smithy/util-config-provider/package.json +0 -43
  692. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -5
  693. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
  694. package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -41
  695. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -5
  696. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
  697. package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -41
  698. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -12
  699. package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -1
  700. package/node_modules/@smithy/util-endpoints/package.json +0 -45
  701. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -6
  702. package/node_modules/@smithy/util-hex-encoding/dist-es/index.js +0 -1
  703. package/node_modules/@smithy/util-hex-encoding/package.json +0 -42
  704. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -6
  705. package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -1
  706. package/node_modules/@smithy/util-middleware/package.json +0 -46
  707. package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -21
  708. package/node_modules/@smithy/util-retry/dist-es/index.js +0 -1
  709. package/node_modules/@smithy/util-retry/package.json +0 -46
  710. package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -14
  711. package/node_modules/@smithy/util-stream/dist-es/index.js +0 -1
  712. package/node_modules/@smithy/util-stream/package.json +0 -43
  713. package/node_modules/shell-quote/print.py +0 -3
  714. /package/node_modules/@aws-sdk/{middleware-logger/dist-es → core/dist-es/submodules/client/middleware-logger}/loggerMiddleware.js +0 -0
  715. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/configuration.js +0 -0
  716. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/getRecursionDetectionPlugin.js +0 -0
  717. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.browser.js +0 -0
  718. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.native.js +0 -0
  719. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/configurations.js +0 -0
  720. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/constants.js +0 -0
  721. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/encode-features.js +0 -0
  722. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/extensions/index.js → core/dist-es/submodules/client/region-config-resolver/extensions.js} +0 -0
  723. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.browser.js +0 -0
  724. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.native.js +0 -0
  725. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/parseArn.js +0 -0
  726. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/EndpointRuleObject.js +0 -0
  727. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/ErrorRuleObject.js +0 -0
  728. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/RuleSetObject.js +0 -0
  729. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/TreeRuleObject.js +0 -0
  730. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/shared.js +0 -0
  731. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/configurations.js +0 -0
  732. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/createUserAgentStringParsingProvider.js +0 -0
  733. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es/index.js → core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js} +0 -0
  734. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es/index.native.js → core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.native.js} +0 -0
  735. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/crt-availability.js +0 -0
  736. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/defaultUserAgent.js +0 -0
  737. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getNodeModulesParentDirs.js +0 -0
  738. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getRuntimeUserAgentPair.js +0 -0
  739. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedDevTypeScriptVersion.js +0 -0
  740. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedTypeScriptVersion.js +0 -0
  741. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/is-crt-available.js +0 -0
  742. /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
  743. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
  744. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
  745. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
  746. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
  747. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
  748. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.browser.js +0 -0
  749. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.js +0 -0
  750. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUint8Array.js +0 -0
  751. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.browser.js +0 -0
  752. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.js +0 -0
@@ -305,11 +305,6 @@ const tlds_2ch_src_re = 'a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghik
305
305
  // DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead
306
306
  const tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|');
307
307
 
308
- function resetScanCache (self) {
309
- self.__index__ = -1;
310
- self.__text_cache__ = '';
311
- }
312
-
313
308
  function createValidator (re) {
314
309
  return function (text, pos) {
315
310
  const tail = text.slice(pos);
@@ -348,8 +343,11 @@ function compile (self) {
348
343
  function untpl (tpl) { return tpl.replace('%TLDS%', re.src_tlds) }
349
344
 
350
345
  re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i');
346
+ re.email_fuzzy_global = RegExp(untpl(re.tpl_email_fuzzy), 'ig');
351
347
  re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i');
348
+ re.link_fuzzy_global = RegExp(untpl(re.tpl_link_fuzzy), 'ig');
352
349
  re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i');
350
+ re.link_no_ip_fuzzy_global = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'ig');
353
351
  re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i');
354
352
 
355
353
  //
@@ -443,12 +441,6 @@ function compile (self) {
443
441
  '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@',
444
442
  'i'
445
443
  );
446
-
447
- //
448
- // Cleanup
449
- //
450
-
451
- resetScanCache(self);
452
444
  }
453
445
 
454
446
  /**
@@ -456,55 +448,45 @@ function compile (self) {
456
448
  *
457
449
  * Match result. Single element of array, returned by [[LinkifyIt#match]]
458
450
  **/
459
- function Match (self, shift) {
460
- const start = self.__index__;
461
- const end = self.__last_index__;
462
- const text = self.__text_cache__.slice(start, end);
451
+ function Match (text, schema, index, lastIndex) {
452
+ const raw = text.slice(index, lastIndex);
463
453
 
464
454
  /**
465
455
  * Match#schema -> String
466
456
  *
467
457
  * Prefix (protocol) for matched string.
468
458
  **/
469
- this.schema = self.__schema__.toLowerCase();
459
+ this.schema = schema.toLowerCase();
470
460
  /**
471
461
  * Match#index -> Number
472
462
  *
473
463
  * First position of matched string.
474
464
  **/
475
- this.index = start + shift;
465
+ this.index = index;
476
466
  /**
477
467
  * Match#lastIndex -> Number
478
468
  *
479
469
  * Next position after matched string.
480
470
  **/
481
- this.lastIndex = end + shift;
471
+ this.lastIndex = lastIndex;
482
472
  /**
483
473
  * Match#raw -> String
484
474
  *
485
475
  * Matched string.
486
476
  **/
487
- this.raw = text;
477
+ this.raw = raw;
488
478
  /**
489
479
  * Match#text -> String
490
480
  *
491
481
  * Notmalized text of matched string.
492
482
  **/
493
- this.text = text;
483
+ this.text = raw;
494
484
  /**
495
485
  * Match#url -> String
496
486
  *
497
487
  * Normalized url of matched string.
498
488
  **/
499
- this.url = text;
500
- }
501
-
502
- function createMatch (self, shift) {
503
- const match = new Match(self, shift);
504
-
505
- self.__compiled__[match.schema].normalize(match, self);
506
-
507
- return match
489
+ this.url = raw;
508
490
  }
509
491
 
510
492
  /**
@@ -559,12 +541,6 @@ function LinkifyIt (schemas, options) {
559
541
 
560
542
  this.__opts__ = assign({}, defaultOptions, options);
561
543
 
562
- // Cache last tested result. Used to skip repeating steps on next `match` call.
563
- this.__index__ = -1;
564
- this.__last_index__ = -1; // Next scan position
565
- this.__schema__ = '';
566
- this.__text_cache__ = '';
567
-
568
544
  this.__schemas__ = assign({}, defaultSchemas, schemas);
569
545
  this.__compiled__ = {};
570
546
 
@@ -606,69 +582,38 @@ LinkifyIt.prototype.set = function set (options) {
606
582
  * Searches linkifiable pattern and returns `true` on success or `false` on fail.
607
583
  **/
608
584
  LinkifyIt.prototype.test = function test (text) {
609
- // Reset scan cache
610
- this.__text_cache__ = text;
611
- this.__index__ = -1;
612
-
613
585
  if (!text.length) { return false }
614
586
 
615
- let m, ml, me, len, shift, next, re, tld_pos, at_pos;
587
+ let m, re;
616
588
 
617
589
  // try to scan for link with schema - that's the most simple rule
618
590
  if (this.re.schema_test.test(text)) {
619
591
  re = this.re.schema_search;
620
592
  re.lastIndex = 0;
621
593
  while ((m = re.exec(text)) !== null) {
622
- len = this.testSchemaAt(text, m[2], re.lastIndex);
623
- if (len) {
624
- this.__schema__ = m[2];
625
- this.__index__ = m.index + m[1].length;
626
- this.__last_index__ = m.index + m[0].length + len;
627
- break
628
- }
594
+ if (this.testSchemaAt(text, m[2], re.lastIndex)) { return true }
629
595
  }
630
596
  }
631
597
 
632
598
  if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {
633
599
  // guess schemaless links
634
- tld_pos = text.search(this.re.host_fuzzy_test);
635
- if (tld_pos >= 0) {
636
- // if tld is located after found link - no need to check fuzzy pattern
637
- if (this.__index__ < 0 || tld_pos < this.__index__) {
638
- if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {
639
- shift = ml.index + ml[1].length;
640
-
641
- if (this.__index__ < 0 || shift < this.__index__) {
642
- this.__schema__ = '';
643
- this.__index__ = shift;
644
- this.__last_index__ = ml.index + ml[0].length;
645
- }
646
- }
600
+ if (text.search(this.re.host_fuzzy_test) >= 0) {
601
+ if (text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy) !== null) {
602
+ return true
647
603
  }
648
604
  }
649
605
  }
650
606
 
651
607
  if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {
652
608
  // guess schemaless emails
653
- at_pos = text.indexOf('@');
654
- if (at_pos >= 0) {
609
+ if (text.indexOf('@') >= 0) {
655
610
  // We can't skip this check, because this cases are possible:
656
611
  // 192.168.1.1@gmail.com, my.in@example.com
657
- if ((me = text.match(this.re.email_fuzzy)) !== null) {
658
- shift = me.index + me[1].length;
659
- next = me.index + me[0].length;
660
-
661
- if (this.__index__ < 0 || shift < this.__index__ ||
662
- (shift === this.__index__ && next > this.__last_index__)) {
663
- this.__schema__ = 'mailto:';
664
- this.__index__ = shift;
665
- this.__last_index__ = next;
666
- }
667
- }
612
+ if (text.match(this.re.email_fuzzy) !== null) { return true }
668
613
  }
669
614
  }
670
615
 
671
- return this.__index__ >= 0
616
+ return false
672
617
  };
673
618
 
674
619
  /**
@@ -717,23 +662,88 @@ LinkifyIt.prototype.testSchemaAt = function testSchemaAt (text, schema, pos) {
717
662
  **/
718
663
  LinkifyIt.prototype.match = function match (text) {
719
664
  const result = [];
720
- let shift = 0;
665
+ const type_schemed = [];
666
+ const type_fuzzy_link = [];
667
+ const type_fuzzy_email = [];
668
+ let m, len, re;
669
+
670
+ function choose (a, b) {
671
+ if (!a) { return b }
672
+ if (!b) { return a }
673
+ if (a.index !== b.index) { return a.index < b.index ? a : b }
674
+ return a.lastIndex >= b.lastIndex ? a : b
675
+ }
676
+
677
+ if (!text.length) { return null }
678
+
679
+ // scan for links with schema
680
+ if (this.re.schema_test.test(text)) {
681
+ re = this.re.schema_search;
682
+ re.lastIndex = 0;
683
+ while ((m = re.exec(text)) !== null) {
684
+ len = this.testSchemaAt(text, m[2], re.lastIndex);
685
+ if (len) {
686
+ type_schemed.push({
687
+ schema: m[2],
688
+ index: m.index + m[1].length,
689
+ lastIndex: m.index + m[0].length + len
690
+ });
691
+ }
692
+ }
693
+ }
721
694
 
722
- // Try to take previous element from cache, if .test() called before
723
- if (this.__index__ >= 0 && this.__text_cache__ === text) {
724
- result.push(createMatch(this, shift));
725
- shift = this.__last_index__;
695
+ if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {
696
+ re = this.__opts__.fuzzyIP ? this.re.link_fuzzy_global : this.re.link_no_ip_fuzzy_global;
697
+ re.lastIndex = 0;
698
+ while ((m = re.exec(text)) !== null) {
699
+ type_fuzzy_link.push({
700
+ schema: '',
701
+ index: m.index + m[1].length,
702
+ lastIndex: m.index + m[0].length
703
+ });
704
+ }
726
705
  }
727
706
 
728
- // Cut head if cache was used
729
- let tail = shift ? text.slice(shift) : text;
707
+ if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {
708
+ re = this.re.email_fuzzy_global;
709
+ re.lastIndex = 0;
710
+ while ((m = re.exec(text)) !== null) {
711
+ type_fuzzy_email.push({
712
+ schema: 'mailto:',
713
+ index: m.index + m[1].length,
714
+ lastIndex: m.index + m[0].length
715
+ });
716
+ }
717
+ }
718
+
719
+ const indexes = [0, 0, 0];
720
+ let lastIndex = 0;
721
+
722
+ for (;;) {
723
+ const candidates = [
724
+ type_schemed[indexes[0]],
725
+ type_fuzzy_email[indexes[1]],
726
+ type_fuzzy_link[indexes[2]]
727
+ ];
728
+
729
+ const candidate = choose(choose(candidates[0], candidates[1]), candidates[2]);
730
730
 
731
- // Scan string until end reached
732
- while (this.test(tail)) {
733
- result.push(createMatch(this, shift));
731
+ if (!candidate) { break }
734
732
 
735
- tail = tail.slice(this.__last_index__);
736
- shift += this.__last_index__;
733
+ if (candidate === candidates[0]) {
734
+ indexes[0]++;
735
+ } else if (candidate === candidates[1]) {
736
+ indexes[1]++;
737
+ } else {
738
+ indexes[2]++;
739
+ }
740
+
741
+ if (candidate.index < lastIndex) { continue }
742
+
743
+ const match = new Match(text, candidate.schema, candidate.index, candidate.lastIndex);
744
+ this.__compiled__[match.schema].normalize(match, this);
745
+ result.push(match);
746
+ lastIndex = candidate.lastIndex;
737
747
  }
738
748
 
739
749
  if (result.length) {
@@ -750,10 +760,6 @@ LinkifyIt.prototype.match = function match (text) {
750
760
  * of the string, and null otherwise.
751
761
  **/
752
762
  LinkifyIt.prototype.matchAtStart = function matchAtStart (text) {
753
- // Reset scan cache
754
- this.__text_cache__ = text;
755
- this.__index__ = -1;
756
-
757
763
  if (!text.length) return null
758
764
 
759
765
  const m = this.re.schema_at_start.exec(text);
@@ -762,11 +768,10 @@ LinkifyIt.prototype.matchAtStart = function matchAtStart (text) {
762
768
  const len = this.testSchemaAt(text, m[2], m[0].length);
763
769
  if (!len) return null
764
770
 
765
- this.__schema__ = m[2];
766
- this.__index__ = m.index + m[1].length;
767
- this.__last_index__ = m.index + m[0].length + len;
771
+ const match = new Match(text, m[2], m.index + m[1].length, m.index + m[0].length + len);
768
772
 
769
- return createMatch(this, 0)
773
+ this.__compiled__[match.schema].normalize(match, this);
774
+ return match
770
775
  };
771
776
 
772
777
  /** chainable
@@ -115,11 +115,6 @@ const tlds_2ch_src_re = 'a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghik
115
115
  // DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead
116
116
  const tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|')
117
117
 
118
- function resetScanCache (self) {
119
- self.__index__ = -1
120
- self.__text_cache__ = ''
121
- }
122
-
123
118
  function createValidator (re) {
124
119
  return function (text, pos) {
125
120
  const tail = text.slice(pos)
@@ -158,8 +153,11 @@ function compile (self) {
158
153
  function untpl (tpl) { return tpl.replace('%TLDS%', re.src_tlds) }
159
154
 
160
155
  re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i')
156
+ re.email_fuzzy_global = RegExp(untpl(re.tpl_email_fuzzy), 'ig')
161
157
  re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i')
158
+ re.link_fuzzy_global = RegExp(untpl(re.tpl_link_fuzzy), 'ig')
162
159
  re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i')
160
+ re.link_no_ip_fuzzy_global = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'ig')
163
161
  re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i')
164
162
 
165
163
  //
@@ -253,12 +251,6 @@ function compile (self) {
253
251
  '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@',
254
252
  'i'
255
253
  )
256
-
257
- //
258
- // Cleanup
259
- //
260
-
261
- resetScanCache(self)
262
254
  }
263
255
 
264
256
  /**
@@ -266,55 +258,45 @@ function compile (self) {
266
258
  *
267
259
  * Match result. Single element of array, returned by [[LinkifyIt#match]]
268
260
  **/
269
- function Match (self, shift) {
270
- const start = self.__index__
271
- const end = self.__last_index__
272
- const text = self.__text_cache__.slice(start, end)
261
+ function Match (text, schema, index, lastIndex) {
262
+ const raw = text.slice(index, lastIndex)
273
263
 
274
264
  /**
275
265
  * Match#schema -> String
276
266
  *
277
267
  * Prefix (protocol) for matched string.
278
268
  **/
279
- this.schema = self.__schema__.toLowerCase()
269
+ this.schema = schema.toLowerCase()
280
270
  /**
281
271
  * Match#index -> Number
282
272
  *
283
273
  * First position of matched string.
284
274
  **/
285
- this.index = start + shift
275
+ this.index = index
286
276
  /**
287
277
  * Match#lastIndex -> Number
288
278
  *
289
279
  * Next position after matched string.
290
280
  **/
291
- this.lastIndex = end + shift
281
+ this.lastIndex = lastIndex
292
282
  /**
293
283
  * Match#raw -> String
294
284
  *
295
285
  * Matched string.
296
286
  **/
297
- this.raw = text
287
+ this.raw = raw
298
288
  /**
299
289
  * Match#text -> String
300
290
  *
301
291
  * Notmalized text of matched string.
302
292
  **/
303
- this.text = text
293
+ this.text = raw
304
294
  /**
305
295
  * Match#url -> String
306
296
  *
307
297
  * Normalized url of matched string.
308
298
  **/
309
- this.url = text
310
- }
311
-
312
- function createMatch (self, shift) {
313
- const match = new Match(self, shift)
314
-
315
- self.__compiled__[match.schema].normalize(match, self)
316
-
317
- return match
299
+ this.url = raw
318
300
  }
319
301
 
320
302
  /**
@@ -369,12 +351,6 @@ function LinkifyIt (schemas, options) {
369
351
 
370
352
  this.__opts__ = assign({}, defaultOptions, options)
371
353
 
372
- // Cache last tested result. Used to skip repeating steps on next `match` call.
373
- this.__index__ = -1
374
- this.__last_index__ = -1 // Next scan position
375
- this.__schema__ = ''
376
- this.__text_cache__ = ''
377
-
378
354
  this.__schemas__ = assign({}, defaultSchemas, schemas)
379
355
  this.__compiled__ = {}
380
356
 
@@ -416,69 +392,38 @@ LinkifyIt.prototype.set = function set (options) {
416
392
  * Searches linkifiable pattern and returns `true` on success or `false` on fail.
417
393
  **/
418
394
  LinkifyIt.prototype.test = function test (text) {
419
- // Reset scan cache
420
- this.__text_cache__ = text
421
- this.__index__ = -1
422
-
423
395
  if (!text.length) { return false }
424
396
 
425
- let m, ml, me, len, shift, next, re, tld_pos, at_pos
397
+ let m, re
426
398
 
427
399
  // try to scan for link with schema - that's the most simple rule
428
400
  if (this.re.schema_test.test(text)) {
429
401
  re = this.re.schema_search
430
402
  re.lastIndex = 0
431
403
  while ((m = re.exec(text)) !== null) {
432
- len = this.testSchemaAt(text, m[2], re.lastIndex)
433
- if (len) {
434
- this.__schema__ = m[2]
435
- this.__index__ = m.index + m[1].length
436
- this.__last_index__ = m.index + m[0].length + len
437
- break
438
- }
404
+ if (this.testSchemaAt(text, m[2], re.lastIndex)) { return true }
439
405
  }
440
406
  }
441
407
 
442
408
  if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {
443
409
  // guess schemaless links
444
- tld_pos = text.search(this.re.host_fuzzy_test)
445
- if (tld_pos >= 0) {
446
- // if tld is located after found link - no need to check fuzzy pattern
447
- if (this.__index__ < 0 || tld_pos < this.__index__) {
448
- if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {
449
- shift = ml.index + ml[1].length
450
-
451
- if (this.__index__ < 0 || shift < this.__index__) {
452
- this.__schema__ = ''
453
- this.__index__ = shift
454
- this.__last_index__ = ml.index + ml[0].length
455
- }
456
- }
410
+ if (text.search(this.re.host_fuzzy_test) >= 0) {
411
+ if (text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy) !== null) {
412
+ return true
457
413
  }
458
414
  }
459
415
  }
460
416
 
461
417
  if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {
462
418
  // guess schemaless emails
463
- at_pos = text.indexOf('@')
464
- if (at_pos >= 0) {
419
+ if (text.indexOf('@') >= 0) {
465
420
  // We can't skip this check, because this cases are possible:
466
421
  // 192.168.1.1@gmail.com, my.in@example.com
467
- if ((me = text.match(this.re.email_fuzzy)) !== null) {
468
- shift = me.index + me[1].length
469
- next = me.index + me[0].length
470
-
471
- if (this.__index__ < 0 || shift < this.__index__ ||
472
- (shift === this.__index__ && next > this.__last_index__)) {
473
- this.__schema__ = 'mailto:'
474
- this.__index__ = shift
475
- this.__last_index__ = next
476
- }
477
- }
422
+ if (text.match(this.re.email_fuzzy) !== null) { return true }
478
423
  }
479
424
  }
480
425
 
481
- return this.__index__ >= 0
426
+ return false
482
427
  }
483
428
 
484
429
  /**
@@ -527,23 +472,88 @@ LinkifyIt.prototype.testSchemaAt = function testSchemaAt (text, schema, pos) {
527
472
  **/
528
473
  LinkifyIt.prototype.match = function match (text) {
529
474
  const result = []
530
- let shift = 0
475
+ const type_schemed = []
476
+ const type_fuzzy_link = []
477
+ const type_fuzzy_email = []
478
+ let m, len, re
479
+
480
+ function choose (a, b) {
481
+ if (!a) { return b }
482
+ if (!b) { return a }
483
+ if (a.index !== b.index) { return a.index < b.index ? a : b }
484
+ return a.lastIndex >= b.lastIndex ? a : b
485
+ }
486
+
487
+ if (!text.length) { return null }
488
+
489
+ // scan for links with schema
490
+ if (this.re.schema_test.test(text)) {
491
+ re = this.re.schema_search
492
+ re.lastIndex = 0
493
+ while ((m = re.exec(text)) !== null) {
494
+ len = this.testSchemaAt(text, m[2], re.lastIndex)
495
+ if (len) {
496
+ type_schemed.push({
497
+ schema: m[2],
498
+ index: m.index + m[1].length,
499
+ lastIndex: m.index + m[0].length + len
500
+ })
501
+ }
502
+ }
503
+ }
531
504
 
532
- // Try to take previous element from cache, if .test() called before
533
- if (this.__index__ >= 0 && this.__text_cache__ === text) {
534
- result.push(createMatch(this, shift))
535
- shift = this.__last_index__
505
+ if (this.__opts__.fuzzyLink && this.__compiled__['http:']) {
506
+ re = this.__opts__.fuzzyIP ? this.re.link_fuzzy_global : this.re.link_no_ip_fuzzy_global
507
+ re.lastIndex = 0
508
+ while ((m = re.exec(text)) !== null) {
509
+ type_fuzzy_link.push({
510
+ schema: '',
511
+ index: m.index + m[1].length,
512
+ lastIndex: m.index + m[0].length
513
+ })
514
+ }
536
515
  }
537
516
 
538
- // Cut head if cache was used
539
- let tail = shift ? text.slice(shift) : text
517
+ if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) {
518
+ re = this.re.email_fuzzy_global
519
+ re.lastIndex = 0
520
+ while ((m = re.exec(text)) !== null) {
521
+ type_fuzzy_email.push({
522
+ schema: 'mailto:',
523
+ index: m.index + m[1].length,
524
+ lastIndex: m.index + m[0].length
525
+ })
526
+ }
527
+ }
528
+
529
+ const indexes = [0, 0, 0]
530
+ let lastIndex = 0
531
+
532
+ for (;;) {
533
+ const candidates = [
534
+ type_schemed[indexes[0]],
535
+ type_fuzzy_email[indexes[1]],
536
+ type_fuzzy_link[indexes[2]]
537
+ ]
538
+
539
+ const candidate = choose(choose(candidates[0], candidates[1]), candidates[2])
540
540
 
541
- // Scan string until end reached
542
- while (this.test(tail)) {
543
- result.push(createMatch(this, shift))
541
+ if (!candidate) { break }
544
542
 
545
- tail = tail.slice(this.__last_index__)
546
- shift += this.__last_index__
543
+ if (candidate === candidates[0]) {
544
+ indexes[0]++
545
+ } else if (candidate === candidates[1]) {
546
+ indexes[1]++
547
+ } else {
548
+ indexes[2]++
549
+ }
550
+
551
+ if (candidate.index < lastIndex) { continue }
552
+
553
+ const match = new Match(text, candidate.schema, candidate.index, candidate.lastIndex)
554
+ this.__compiled__[match.schema].normalize(match, this)
555
+ result.push(match)
556
+ lastIndex = candidate.lastIndex
547
557
  }
548
558
 
549
559
  if (result.length) {
@@ -560,10 +570,6 @@ LinkifyIt.prototype.match = function match (text) {
560
570
  * of the string, and null otherwise.
561
571
  **/
562
572
  LinkifyIt.prototype.matchAtStart = function matchAtStart (text) {
563
- // Reset scan cache
564
- this.__text_cache__ = text
565
- this.__index__ = -1
566
-
567
573
  if (!text.length) return null
568
574
 
569
575
  const m = this.re.schema_at_start.exec(text)
@@ -572,11 +578,10 @@ LinkifyIt.prototype.matchAtStart = function matchAtStart (text) {
572
578
  const len = this.testSchemaAt(text, m[2], m[0].length)
573
579
  if (!len) return null
574
580
 
575
- this.__schema__ = m[2]
576
- this.__index__ = m.index + m[1].length
577
- this.__last_index__ = m.index + m[0].length + len
581
+ const match = new Match(text, m[2], m.index + m[1].length, m.index + m[0].length + len)
578
582
 
579
- return createMatch(this, 0)
583
+ this.__compiled__[match.schema].normalize(match, this)
584
+ return match
580
585
  }
581
586
 
582
587
  /** chainable
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkify-it",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Links recognition library with FULL unicode support",
5
5
  "keywords": [
6
6
  "linkify",
@@ -27,6 +27,16 @@
27
27
  "build/"
28
28
  ],
29
29
  "license": "MIT",
30
+ "funding": [
31
+ {
32
+ "type": "github",
33
+ "url": "https://github.com/sponsors/puzrin"
34
+ },
35
+ {
36
+ "type": "github",
37
+ "url": "https://github.com/sponsors/markdown-it"
38
+ }
39
+ ],
30
40
  "scripts": {
31
41
  "lint": "eslint .",
32
42
  "test": "npm run lint && npm run build && c8 --exclude build --exclude test -r text -r html -r lcov mocha",