@qqbrowser/openclaw-qbot 0.10.10 → 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 (767) 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/@line/bot-sdk/node_modules/@types/node/package.json +2 -2
  236. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +440 -73
  237. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +71 -12
  238. package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +298 -35
  239. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +1 -12
  240. package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +1 -12
  241. package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +1 -12
  242. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +1 -12
  243. package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +1 -12
  244. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +78 -13
  245. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +1 -12
  246. package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +1 -12
  247. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +1 -12
  248. package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +1 -12
  249. package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +2 -13
  250. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +440 -73
  251. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +71 -12
  252. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +298 -35
  253. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +1 -12
  254. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +1 -12
  255. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +1 -12
  256. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +1 -12
  257. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +1 -12
  258. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +78 -13
  259. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +1 -12
  260. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +1 -12
  261. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +1 -12
  262. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +1 -12
  263. package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +2 -13
  264. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +469 -97
  265. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +72 -13
  266. package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +307 -43
  267. package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +1 -12
  268. package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +1 -12
  269. package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +1 -12
  270. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +1 -12
  271. package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +1 -12
  272. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +81 -16
  273. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +1 -12
  274. package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +1 -12
  275. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +1 -12
  276. package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +1 -12
  277. package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +2 -13
  278. package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
  279. package/node_modules/@protobufjs/eventemitter/index.js +17 -7
  280. package/node_modules/@protobufjs/eventemitter/package.json +2 -2
  281. package/node_modules/@protobufjs/fetch/index.js +4 -7
  282. package/node_modules/@protobufjs/fetch/package.json +7 -5
  283. package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
  284. package/node_modules/@protobufjs/inquire/index.js +1 -0
  285. package/node_modules/@protobufjs/inquire/package.json +1 -1
  286. package/node_modules/@slack/web-api/dist/file-upload.js +4 -2
  287. package/node_modules/@slack/web-api/package.json +2 -2
  288. package/node_modules/@smithy/core/cbor.js +0 -1
  289. package/node_modules/@smithy/core/checksum.js +1 -1
  290. package/node_modules/@smithy/core/client.js +0 -1
  291. package/node_modules/@smithy/core/config.js +1 -1
  292. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
  293. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +12 -0
  294. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +163 -210
  295. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +220 -122
  296. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +163 -210
  297. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  298. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -0
  299. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +16 -9
  300. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +14 -7
  301. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +14 -5
  302. package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +1 -1
  303. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +19 -21
  304. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +1 -1
  305. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +2 -2
  306. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +1 -1
  307. 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
  308. package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js +30 -29
  309. package/node_modules/@smithy/core/endpoints.js +0 -1
  310. package/node_modules/@smithy/core/event-streams.js +0 -1
  311. package/node_modules/@smithy/core/package.json +2 -2
  312. package/node_modules/@smithy/core/protocols.js +0 -1
  313. package/node_modules/@smithy/core/retry.js +1 -1
  314. package/node_modules/@smithy/core/schema.js +0 -1
  315. package/node_modules/@smithy/core/serde.js +0 -1
  316. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  317. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  318. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  319. package/node_modules/@smithy/signature-v4/package.json +3 -3
  320. package/node_modules/@smithy/types/package.json +1 -1
  321. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -7
  322. package/node_modules/@smithy/util-utf8/dist-es/index.js +3 -1
  323. package/node_modules/@smithy/util-utf8/package.json +34 -9
  324. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/dist/index.js +10 -5
  325. package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/package.json +1 -1
  326. package/node_modules/axios/dist/axios.js +81 -53
  327. package/node_modules/axios/dist/axios.min.js +2 -2
  328. package/node_modules/axios/dist/browser/axios.cjs +96 -64
  329. package/node_modules/axios/dist/esm/axios.js +96 -64
  330. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  331. package/node_modules/axios/dist/node/axios.cjs +206 -85
  332. package/node_modules/axios/index.d.cts +1 -1
  333. package/node_modules/axios/lib/adapters/fetch.js +6 -2
  334. package/node_modules/axios/lib/adapters/http.js +139 -29
  335. package/node_modules/axios/lib/adapters/xhr.js +2 -1
  336. package/node_modules/axios/lib/core/AxiosHeaders.js +1 -33
  337. package/node_modules/axios/lib/env/data.js +1 -1
  338. package/node_modules/axios/lib/helpers/composeSignals.js +48 -47
  339. package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
  340. package/node_modules/axios/lib/helpers/fromDataURI.js +18 -5
  341. package/node_modules/axios/lib/helpers/progressEventReducer.js +3 -0
  342. package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
  343. package/node_modules/axios/lib/utils.js +8 -7
  344. package/node_modules/axios/node_modules/agent-base/dist/src/index.js +203 -0
  345. package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js +18 -0
  346. package/node_modules/axios/node_modules/agent-base/package.json +64 -0
  347. package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js +177 -0
  348. package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js +14 -0
  349. package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
  350. package/node_modules/axios/node_modules/https-proxy-agent/package.json +56 -0
  351. package/node_modules/axios/package.json +3 -1
  352. package/node_modules/discord-api-types/package.json +8 -8
  353. package/node_modules/discord-api-types/payloads/v10/oauth2.js +7 -0
  354. package/node_modules/discord-api-types/payloads/v9/oauth2.js +7 -0
  355. package/node_modules/discord-api-types/rest/v10/index.js +3 -2
  356. package/node_modules/discord-api-types/rest/v9/index.js +3 -2
  357. package/node_modules/es-object-atoms/package.json +6 -7
  358. package/node_modules/es-object-atoms/tsconfig.json +1 -0
  359. package/node_modules/express-rate-limit/dist/index.cjs +1 -1
  360. package/node_modules/express-rate-limit/dist/index.mjs +1 -1
  361. package/node_modules/express-rate-limit/package.json +9 -9
  362. package/node_modules/fast-wrap-ansi/lib/main.js +0 -1
  363. package/node_modules/fast-wrap-ansi/package.json +10 -10
  364. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
  365. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  366. package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -0
  367. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  368. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  369. package/node_modules/fast-xml-parser/package.json +2 -4
  370. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +1 -1
  371. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +4 -0
  372. package/node_modules/grammy/out/bot.js +1 -0
  373. package/node_modules/grammy/out/context.js +236 -74
  374. package/node_modules/grammy/out/convenience/constants.js +1 -0
  375. package/node_modules/grammy/out/convenience/frameworks.js +21 -17
  376. package/node_modules/grammy/out/core/api.js +280 -141
  377. package/node_modules/grammy/out/filter.js +5 -1
  378. package/node_modules/grammy/out/web.mjs +191 -61
  379. package/node_modules/grammy/package.json +2 -2
  380. package/node_modules/linkify-it/build/index.cjs.js +99 -94
  381. package/node_modules/linkify-it/index.mjs +99 -94
  382. package/node_modules/linkify-it/package.json +11 -1
  383. package/node_modules/lru-cache/dist/commonjs/browser/index.js +81 -41
  384. package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
  385. package/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
  386. package/node_modules/lru-cache/dist/commonjs/index.js +81 -41
  387. package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
  388. package/node_modules/lru-cache/dist/commonjs/node/index.js +81 -41
  389. package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
  390. package/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
  391. package/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
  392. package/node_modules/lru-cache/dist/esm/browser/index.js +81 -41
  393. package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
  394. package/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
  395. package/node_modules/lru-cache/dist/esm/index.js +81 -41
  396. package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
  397. package/node_modules/lru-cache/dist/esm/node/index.js +81 -41
  398. package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
  399. package/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
  400. package/node_modules/lru-cache/dist/esm/perf.js +1 -2
  401. package/node_modules/lru-cache/package.json +8 -8
  402. package/node_modules/markdown-it/dist/index.cjs.js +111 -31
  403. package/node_modules/markdown-it/dist/markdown-it.js +117 -31
  404. package/node_modules/markdown-it/dist/markdown-it.min.js +2 -2
  405. package/node_modules/markdown-it/lib/common/utils.mjs +30 -1
  406. package/node_modules/markdown-it/lib/index.mjs +1 -1
  407. package/node_modules/markdown-it/lib/rules_block/heading.mjs +2 -2
  408. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +12 -1
  409. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +4 -1
  410. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +3 -1
  411. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +37 -21
  412. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +2 -2
  413. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +37 -6
  414. package/node_modules/markdown-it/package.json +14 -3
  415. package/node_modules/protobufjs/dist/light/protobuf.js +349 -231
  416. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  417. package/node_modules/protobufjs/dist/minimal/protobuf.js +74 -28
  418. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  419. package/node_modules/protobufjs/dist/protobuf.js +420 -283
  420. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  421. package/node_modules/protobufjs/ext/descriptor/index.js +7 -2
  422. package/node_modules/protobufjs/package.json +8 -5
  423. package/node_modules/protobufjs/src/converter.js +13 -8
  424. package/node_modules/protobufjs/src/encoder.js +8 -5
  425. package/node_modules/protobufjs/src/enum.js +2 -2
  426. package/node_modules/protobufjs/src/field.js +1 -1
  427. package/node_modules/protobufjs/src/namespace.js +10 -4
  428. package/node_modules/protobufjs/src/object.js +6 -6
  429. package/node_modules/protobufjs/src/parse.js +49 -30
  430. package/node_modules/protobufjs/src/root.js +18 -10
  431. package/node_modules/protobufjs/src/service.js +4 -2
  432. package/node_modules/protobufjs/src/type.js +12 -7
  433. package/node_modules/protobufjs/src/util/fs.js +11 -0
  434. package/node_modules/protobufjs/src/util/minimal.js +42 -9
  435. package/node_modules/protobufjs/src/util/patterns.js +0 -1
  436. package/node_modules/protobufjs/src/util.js +19 -4
  437. package/node_modules/protobufjs/src/wrappers.js +11 -7
  438. package/node_modules/protobufjs/src/writer.js +11 -9
  439. package/node_modules/qs/dist/qs.js +15 -15
  440. package/node_modules/qs/eslint.config.mjs +1 -0
  441. package/node_modules/qs/lib/parse.js +52 -22
  442. package/node_modules/qs/lib/stringify.js +11 -4
  443. package/node_modules/qs/package.json +2 -2
  444. package/node_modules/semver/classes/range.js +7 -0
  445. package/node_modules/semver/package.json +1 -1
  446. package/node_modules/semver/ranges/subset.js +2 -2
  447. package/node_modules/shell-quote/package.json +5 -6
  448. package/node_modules/shell-quote/quote.js +43 -1
  449. package/node_modules/type-is/index.js +8 -18
  450. package/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
  451. package/node_modules/type-is/node_modules/content-type/package.json +52 -0
  452. package/node_modules/type-is/package.json +9 -5
  453. package/node_modules/undici/lib/api/api-request.js +1 -1
  454. package/node_modules/undici/lib/cache/sqlite-cache-store.js +3 -3
  455. package/node_modules/undici/lib/core/connect.js +16 -0
  456. package/node_modules/undici/lib/core/request.js +17 -2
  457. package/node_modules/undici/lib/core/socks5-client.js +10 -5
  458. package/node_modules/undici/lib/core/socks5-utils.js +17 -22
  459. package/node_modules/undici/lib/dispatcher/client-h1.js +64 -20
  460. package/node_modules/undici/lib/dispatcher/client.js +6 -2
  461. package/node_modules/undici/lib/dispatcher/h2c-client.js +1 -1
  462. package/node_modules/undici/lib/mock/mock-call-history.js +15 -15
  463. package/node_modules/undici/lib/util/cache.js +8 -7
  464. package/node_modules/undici/lib/web/fetch/formdata-parser.js +17 -6
  465. package/node_modules/undici/lib/web/fetch/index.js +5 -2
  466. package/node_modules/undici/lib/web/webidl/index.js +5 -5
  467. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +1 -7
  468. package/node_modules/undici/package.json +1 -1
  469. package/node_modules/ws/lib/receiver.js +54 -0
  470. package/node_modules/ws/lib/sender.js +6 -1
  471. package/node_modules/ws/lib/websocket-server.js +8 -0
  472. package/node_modules/ws/lib/websocket.js +14 -0
  473. package/node_modules/ws/package.json +1 -1
  474. package/node_modules/yaml/browser/dist/compose/composer.js +4 -2
  475. package/node_modules/yaml/browser/dist/parse/lexer.js +28 -24
  476. package/node_modules/yaml/browser/dist/parse/parser.js +12 -4
  477. package/node_modules/yaml/dist/compose/composer.js +4 -2
  478. package/node_modules/yaml/dist/parse/lexer.js +28 -24
  479. package/node_modules/yaml/dist/parse/parser.js +12 -4
  480. package/node_modules/yaml/package.json +1 -1
  481. package/package.json +1 -1
  482. package/skills/qqbrowser-playbook/SKILL.md +302 -0
  483. package/skills/qqbrowser-skill/SKILL.md +140 -41
  484. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  485. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  486. package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
  487. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  488. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  489. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  490. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  491. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  492. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  493. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  494. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  495. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  496. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  497. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  498. package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
  499. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
  500. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
  501. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
  502. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
  503. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
  504. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
  505. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
  506. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
  507. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
  508. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
  509. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
  510. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
  511. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
  512. package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
  513. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +0 -41
  514. package/node_modules/@aws-sdk/middleware-host-header/package.json +0 -59
  515. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +0 -48
  516. package/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +0 -1
  517. package/node_modules/@aws-sdk/middleware-logger/package.json +0 -59
  518. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +0 -29
  519. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +0 -33
  520. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +0 -5
  521. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +0 -2
  522. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +0 -63
  523. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
  524. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  525. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  526. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
  527. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
  528. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
  529. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
  530. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
  531. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
  532. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
  533. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
  534. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
  535. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
  536. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
  537. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
  538. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
  539. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
  540. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  541. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
  542. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
  543. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
  544. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
  545. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
  546. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
  547. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
  548. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
  549. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +0 -194
  550. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +0 -2
  551. package/node_modules/@aws-sdk/middleware-user-agent/package.json +0 -63
  552. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
  553. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
  554. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
  555. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
  556. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
  557. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
  558. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
  559. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
  560. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
  561. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
  562. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
  563. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
  564. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
  565. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
  566. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
  567. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
  568. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
  569. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
  570. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
  571. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
  572. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
  573. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
  574. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
  575. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
  576. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
  577. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
  578. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
  579. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
  580. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
  581. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
  582. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
  583. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
  584. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
  585. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
  586. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
  587. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
  588. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
  589. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
  590. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
  591. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
  592. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
  593. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
  594. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
  595. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
  596. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
  597. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
  598. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
  599. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
  600. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
  601. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
  602. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
  603. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
  604. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
  605. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
  606. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +0 -38
  607. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +0 -20
  608. package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +0 -6
  609. package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +0 -3
  610. package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +0 -2
  611. package/node_modules/@aws-sdk/region-config-resolver/package.json +0 -62
  612. package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
  613. package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
  614. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -406
  615. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  616. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  617. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  618. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  619. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  620. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  621. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  622. package/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  623. package/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  624. package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
  625. package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
  626. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
  627. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +0 -57
  628. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +0 -58
  629. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +0 -22
  630. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +0 -55
  631. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +0 -185
  632. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +0 -2
  633. package/node_modules/@aws-sdk/util-user-agent-node/package.json +0 -69
  634. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -22
  635. package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -1
  636. package/node_modules/@smithy/config-resolver/package.json +0 -40
  637. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +0 -2
  638. package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/randomUUID.js +0 -3
  639. package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -11
  640. package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -1
  641. package/node_modules/@smithy/eventstream-codec/package.json +0 -43
  642. package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -9
  643. package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
  644. package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -43
  645. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -5
  646. package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
  647. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -43
  648. package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -6
  649. package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -1
  650. package/node_modules/@smithy/eventstream-serde-node/package.json +0 -43
  651. package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -5
  652. package/node_modules/@smithy/hash-node/dist-es/index.js +0 -1
  653. package/node_modules/@smithy/hash-node/package.json +0 -40
  654. package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -6
  655. package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -1
  656. package/node_modules/@smithy/invalid-dependency/package.json +0 -40
  657. package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -7
  658. package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -1
  659. package/node_modules/@smithy/middleware-content-length/package.json +0 -40
  660. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -12
  661. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -1
  662. package/node_modules/@smithy/middleware-endpoint/package.json +0 -40
  663. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -22
  664. package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -1
  665. package/node_modules/@smithy/middleware-retry/package.json +0 -40
  666. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -9
  667. package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -1
  668. package/node_modules/@smithy/middleware-serde/package.json +0 -40
  669. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -5
  670. package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
  671. package/node_modules/@smithy/middleware-stack/package.json +0 -42
  672. package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -5
  673. package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
  674. package/node_modules/@smithy/node-config-provider/package.json +0 -42
  675. package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -10
  676. package/node_modules/@smithy/property-provider/dist-es/index.js +0 -1
  677. package/node_modules/@smithy/property-provider/package.json +0 -40
  678. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -11
  679. package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -1
  680. package/node_modules/@smithy/protocol-http/package.json +0 -41
  681. package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -5
  682. package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -1
  683. package/node_modules/@smithy/querystring-builder/package.json +0 -40
  684. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -16
  685. package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -1
  686. package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -40
  687. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -75
  688. package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -3
  689. package/node_modules/@smithy/smithy-client/package.json +0 -41
  690. package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -5
  691. package/node_modules/@smithy/url-parser/dist-es/index.js +0 -1
  692. package/node_modules/@smithy/url-parser/package.json +0 -40
  693. package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -6
  694. package/node_modules/@smithy/util-base64/dist-es/index.js +0 -1
  695. package/node_modules/@smithy/util-base64/package.json +0 -41
  696. package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -5
  697. package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
  698. package/node_modules/@smithy/util-body-length-browser/package.json +0 -41
  699. package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -5
  700. package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
  701. package/node_modules/@smithy/util-body-length-node/package.json +0 -41
  702. package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -7
  703. package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -1
  704. package/node_modules/@smithy/util-config-provider/package.json +0 -42
  705. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -5
  706. package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
  707. package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -40
  708. package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -5
  709. package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
  710. package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -40
  711. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -12
  712. package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -1
  713. package/node_modules/@smithy/util-endpoints/package.json +0 -44
  714. package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -6
  715. package/node_modules/@smithy/util-hex-encoding/dist-es/index.js +0 -1
  716. package/node_modules/@smithy/util-hex-encoding/package.json +0 -41
  717. package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -6
  718. package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -1
  719. package/node_modules/@smithy/util-middleware/package.json +0 -45
  720. package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -21
  721. package/node_modules/@smithy/util-retry/dist-es/index.js +0 -1
  722. package/node_modules/@smithy/util-retry/package.json +0 -45
  723. package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -14
  724. package/node_modules/@smithy/util-stream/dist-es/index.js +0 -1
  725. package/node_modules/@smithy/util-stream/package.json +0 -42
  726. package/node_modules/shell-quote/print.py +0 -3
  727. package/skills/news-summary/SKILL.md +0 -111
  728. package/skills/news-summary/_meta.json +0 -6
  729. /package/node_modules/@aws-sdk/{middleware-logger/dist-es → core/dist-es/submodules/client/middleware-logger}/loggerMiddleware.js +0 -0
  730. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/configuration.js +0 -0
  731. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/getRecursionDetectionPlugin.js +0 -0
  732. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.browser.js +0 -0
  733. /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.native.js +0 -0
  734. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/configurations.js +0 -0
  735. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/constants.js +0 -0
  736. /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/encode-features.js +0 -0
  737. /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
  738. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.browser.js +0 -0
  739. /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.native.js +0 -0
  740. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/parseArn.js +0 -0
  741. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/EndpointRuleObject.js +0 -0
  742. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/ErrorRuleObject.js +0 -0
  743. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/RuleSetObject.js +0 -0
  744. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/TreeRuleObject.js +0 -0
  745. /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/shared.js +0 -0
  746. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/configurations.js +0 -0
  747. /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/createUserAgentStringParsingProvider.js +0 -0
  748. /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
  749. /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
  750. /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
  751. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/defaultUserAgent.js +0 -0
  752. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getNodeModulesParentDirs.js +0 -0
  753. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getRuntimeUserAgentPair.js +0 -0
  754. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedDevTypeScriptVersion.js +0 -0
  755. /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedTypeScriptVersion.js +0 -0
  756. /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
  757. /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
  758. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
  759. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
  760. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
  761. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
  762. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
  763. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.browser.js +0 -0
  764. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.js +0 -0
  765. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUint8Array.js +0 -0
  766. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.browser.js +0 -0
  767. /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.js +0 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.7 (c) 2016, daniel wirtz
3
- * compiled sat, 09 may 2026 05:45:39 utc
2
+ * protobuf.js v7.6.1 (c) 2016, daniel wirtz
3
+ * compiled fri, 22 may 2026 02:52:08 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -363,15 +363,23 @@ function EventEmitter() {
363
363
  * @type {Object.<string,*>}
364
364
  * @private
365
365
  */
366
- this._listeners = {};
366
+ this._listeners = Object.create(null);
367
367
  }
368
368
 
369
+ /**
370
+ * Event listener as used by {@link util.EventEmitter}.
371
+ * @typedef EventEmitterListener
372
+ * @type {function}
373
+ * @param {...*} args Arguments
374
+ * @returns {undefined}
375
+ */
376
+
369
377
  /**
370
378
  * Registers an event listener.
371
379
  * @param {string} evt Event name
372
- * @param {function} fn Listener
380
+ * @param {EventEmitterListener} fn Listener
373
381
  * @param {*} [ctx] Listener context
374
- * @returns {util.EventEmitter} `this`
382
+ * @returns {this} `this`
375
383
  */
376
384
  EventEmitter.prototype.on = function on(evt, fn, ctx) {
377
385
  (this._listeners[evt] || (this._listeners[evt] = [])).push({
@@ -384,17 +392,19 @@ EventEmitter.prototype.on = function on(evt, fn, ctx) {
384
392
  /**
385
393
  * Removes an event listener or any matching listeners if arguments are omitted.
386
394
  * @param {string} [evt] Event name. Removes all listeners if omitted.
387
- * @param {function} [fn] Listener to remove. Removes all listeners of `evt` if omitted.
388
- * @returns {util.EventEmitter} `this`
395
+ * @param {EventEmitterListener} [fn] Listener to remove. Removes all listeners of `evt` if omitted.
396
+ * @returns {this} `this`
389
397
  */
390
398
  EventEmitter.prototype.off = function off(evt, fn) {
391
399
  if (evt === undefined)
392
- this._listeners = {};
400
+ this._listeners = Object.create(null);
393
401
  else {
394
402
  if (fn === undefined)
395
403
  this._listeners[evt] = [];
396
404
  else {
397
405
  var listeners = this._listeners[evt];
406
+ if (!listeners)
407
+ return this;
398
408
  for (var i = 0; i < listeners.length;)
399
409
  if (listeners[i].fn === fn)
400
410
  listeners.splice(i, 1);
@@ -409,7 +419,7 @@ EventEmitter.prototype.off = function off(evt, fn) {
409
419
  * Emits an event by calling its listeners with the specified arguments.
410
420
  * @param {string} evt Event name
411
421
  * @param {...*} args Arguments
412
- * @returns {util.EventEmitter} `this`
422
+ * @returns {this} `this`
413
423
  */
414
424
  EventEmitter.prototype.emit = function emit(evt) {
415
425
  var listeners = this._listeners[evt];
@@ -429,9 +439,7 @@ EventEmitter.prototype.emit = function emit(evt) {
429
439
  module.exports = fetch;
430
440
 
431
441
  var asPromise = require(1),
432
- inquire = require(7);
433
-
434
- var fs = inquire("fs");
442
+ fs = require(6);
435
443
 
436
444
  /**
437
445
  * Node-style callback as used by {@link util.fetch}.
@@ -444,8 +452,7 @@ var fs = inquire("fs");
444
452
 
445
453
  /**
446
454
  * Options as used by {@link util.fetch}.
447
- * @typedef FetchOptions
448
- * @type {Object}
455
+ * @interface IFetchOptions
449
456
  * @property {boolean} [binary=false] Whether expecting a binary response
450
457
  * @property {boolean} [xhr=false] If `true`, forces the use of XMLHttpRequest
451
458
  */
@@ -454,7 +461,7 @@ var fs = inquire("fs");
454
461
  * Fetches the contents of a file.
455
462
  * @memberof util
456
463
  * @param {string} filename File path or url
457
- * @param {FetchOptions} options Fetch options
464
+ * @param {IFetchOptions} options Fetch options
458
465
  * @param {FetchCallback} callback Callback function
459
466
  * @returns {undefined}
460
467
  */
@@ -497,7 +504,7 @@ function fetch(filename, options, callback) {
497
504
  * @name util.fetch
498
505
  * @function
499
506
  * @param {string} path File path or url
500
- * @param {FetchOptions} [options] Fetch options
507
+ * @param {IFetchOptions} [options] Fetch options
501
508
  * @returns {Promise<string|Uint8Array>} Promise
502
509
  * @variation 3
503
510
  */
@@ -541,7 +548,20 @@ fetch.xhr = function fetch_xhr(filename, options, callback) {
541
548
  xhr.send();
542
549
  };
543
550
 
544
- },{"1":1,"7":7}],6:[function(require,module,exports){
551
+ },{"1":1,"6":6}],6:[function(require,module,exports){
552
+ "use strict";
553
+
554
+ var fs = null;
555
+ try {
556
+ fs = require(12);
557
+ if (!fs || !fs.readFile || !fs.readFileSync)
558
+ fs = null;
559
+ } catch (e) {
560
+ // `fs` is unavailable in browsers and browser-like bundles.
561
+ }
562
+ module.exports = fs;
563
+
564
+ },{"12":12}],7:[function(require,module,exports){
545
565
  "use strict";
546
566
 
547
567
  module.exports = factory(factory);
@@ -878,7 +898,7 @@ function readUintBE(buf, pos) {
878
898
  | buf[pos + 3]) >>> 0;
879
899
  }
880
900
 
881
- },{}],7:[function(require,module,exports){
901
+ },{}],8:[function(require,module,exports){
882
902
  "use strict";
883
903
  module.exports = inquire;
884
904
 
@@ -887,6 +907,7 @@ module.exports = inquire;
887
907
  * @memberof util
888
908
  * @param {string} moduleName Module to require
889
909
  * @returns {?Object} Required module if available and not empty, otherwise `null`
910
+ * @deprecated Legacy optional require helper. Will be removed in a future release.
890
911
  */
891
912
  function inquire(moduleName) {
892
913
  try {
@@ -917,7 +938,7 @@ var r = require.__self;
917
938
  delete Function.prototype.__self;
918
939
  */
919
940
 
920
- },{}],8:[function(require,module,exports){
941
+ },{}],9:[function(require,module,exports){
921
942
  "use strict";
922
943
 
923
944
  /**
@@ -984,7 +1005,7 @@ path.resolve = function resolve(originPath, includePath, alreadyNormalized) {
984
1005
  return (originPath = originPath.replace(/(?:\/|^)[^/]+$/, "")).length ? normalize(originPath + "/" + includePath) : includePath;
985
1006
  };
986
1007
 
987
- },{}],9:[function(require,module,exports){
1008
+ },{}],10:[function(require,module,exports){
988
1009
  "use strict";
989
1010
  module.exports = pool;
990
1011
 
@@ -1034,7 +1055,7 @@ function pool(alloc, slice, size) {
1034
1055
  };
1035
1056
  }
1036
1057
 
1037
- },{}],10:[function(require,module,exports){
1058
+ },{}],11:[function(require,module,exports){
1038
1059
  "use strict";
1039
1060
 
1040
1061
  /**
@@ -1140,7 +1161,9 @@ utf8.write = function utf8_write(string, buffer, offset) {
1140
1161
  return offset - start;
1141
1162
  };
1142
1163
 
1143
- },{}],11:[function(require,module,exports){
1164
+ },{}],12:[function(require,module,exports){
1165
+
1166
+ },{}],13:[function(require,module,exports){
1144
1167
  "use strict";
1145
1168
  module.exports = common;
1146
1169
 
@@ -1541,7 +1564,7 @@ common.get = function get(file) {
1541
1564
  return common[file] || null;
1542
1565
  };
1543
1566
 
1544
- },{}],12:[function(require,module,exports){
1567
+ },{}],14:[function(require,module,exports){
1545
1568
  "use strict";
1546
1569
  /**
1547
1570
  * Runtime message from/to plain object converters.
@@ -1549,8 +1572,8 @@ common.get = function get(file) {
1549
1572
  */
1550
1573
  var converter = exports;
1551
1574
 
1552
- var Enum = require(15),
1553
- util = require(37);
1575
+ var Enum = require(17),
1576
+ util = require(39);
1554
1577
 
1555
1578
  /**
1556
1579
  * Generates a partial value fromObject conveter.
@@ -1605,14 +1628,14 @@ function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
1605
1628
  ("m%s=d%s|0", prop, prop);
1606
1629
  break;
1607
1630
  case "uint64":
1631
+ case "fixed64":
1608
1632
  isUnsigned = true;
1609
1633
  // eslint-disable-next-line no-fallthrough
1610
1634
  case "int64":
1611
1635
  case "sint64":
1612
- case "fixed64":
1613
1636
  case "sfixed64": gen
1614
1637
  ("if(util.Long)")
1615
- ("(m%s=util.Long.fromValue(d%s)).unsigned=%j", prop, prop, isUnsigned)
1638
+ ("m%s=util.Long.fromValue(d%s,%j)", prop, prop, isUnsigned)
1616
1639
  ("else if(typeof d%s===\"string\")", prop)
1617
1640
  ("m%s=parseInt(d%s,10)", prop, prop)
1618
1641
  ("else if(typeof d%s===\"number\")", prop)
@@ -1716,7 +1739,7 @@ function genValuePartial_toObject(gen, field, fieldIndex, prop) {
1716
1739
  if (field.resolvedType instanceof Enum) gen
1717
1740
  ("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s", prop, fieldIndex, prop, prop, fieldIndex, prop, prop);
1718
1741
  else gen
1719
- ("d%s=types[%i].toObject(m%s,o)", prop, fieldIndex, prop);
1742
+ ("d%s=types[%i].toObject(m%s,o,q+1)", prop, fieldIndex, prop);
1720
1743
  } else {
1721
1744
  var isUnsigned = false;
1722
1745
  switch (field.type) {
@@ -1725,13 +1748,15 @@ function genValuePartial_toObject(gen, field, fieldIndex, prop) {
1725
1748
  ("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s", prop, prop, prop, prop);
1726
1749
  break;
1727
1750
  case "uint64":
1751
+ case "fixed64":
1728
1752
  isUnsigned = true;
1729
1753
  // eslint-disable-next-line no-fallthrough
1730
1754
  case "int64":
1731
1755
  case "sint64":
1732
- case "fixed64":
1733
1756
  case "sfixed64": gen
1734
- ("if(typeof m%s===\"number\")", prop)
1757
+ ("if(typeof BigInt!==\"undefined\"&&o.longs===BigInt)")
1758
+ ("d%s=typeof m%s===\"number\"?BigInt(m%s):util.Long.fromBits(m%s.low>>>0,m%s.high>>>0,%j).toBigInt()", prop, prop, prop, prop, prop, isUnsigned)
1759
+ ("else if(typeof m%s===\"number\")", prop)
1735
1760
  ("d%s=o.longs===String?String(m%s):m%s", prop, prop, prop)
1736
1761
  ("else") // Long-like
1737
1762
  ("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s", prop, prop, prop, prop, isUnsigned ? "true": "", prop);
@@ -1758,9 +1783,12 @@ converter.toObject = function toObject(mtype) {
1758
1783
  var fields = mtype.fieldsArray.slice().sort(util.compareFieldsById);
1759
1784
  if (!fields.length)
1760
1785
  return util.codegen()("return {}");
1761
- var gen = util.codegen(["m", "o"], mtype.name + "$toObject")
1786
+ var gen = util.codegen(["m", "o", "q"], mtype.name + "$toObject")
1762
1787
  ("if(!o)")
1763
1788
  ("o={}")
1789
+ ("if(q===undefined)q=0")
1790
+ ("if(q>util.recursionLimit)")
1791
+ ("throw Error(\"max depth exceeded\")")
1764
1792
  ("var d={}");
1765
1793
 
1766
1794
  var repeatedFields = [],
@@ -1799,9 +1827,9 @@ converter.toObject = function toObject(mtype) {
1799
1827
  else if (field.long) gen
1800
1828
  ("if(util.Long){")
1801
1829
  ("var n=new util.Long(%i,%i,%j)", field.typeDefault.low, field.typeDefault.high, field.typeDefault.unsigned)
1802
- ("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n", prop)
1830
+ ("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():typeof BigInt!==\"undefined\"&&o.longs===BigInt?n.toBigInt():n", prop)
1803
1831
  ("}else")
1804
- ("d%s=o.longs===String?%j:%i", prop, field.typeDefault.toString(), field.typeDefault.toNumber());
1832
+ ("d%s=o.longs===String?%j:typeof BigInt!==\"undefined\"&&o.longs===BigInt?BigInt(%j):%i", prop, field.typeDefault.toString(), field.typeDefault.toString(), field.typeDefault.toNumber());
1805
1833
  else if (field.bytes) {
1806
1834
  var arrayDefault = Array.prototype.slice.call(field.typeDefault);
1807
1835
  gen
@@ -1853,13 +1881,13 @@ converter.toObject = function toObject(mtype) {
1853
1881
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
1854
1882
  };
1855
1883
 
1856
- },{"15":15,"37":37}],13:[function(require,module,exports){
1884
+ },{"17":17,"39":39}],15:[function(require,module,exports){
1857
1885
  "use strict";
1858
1886
  module.exports = decoder;
1859
1887
 
1860
- var Enum = require(15),
1861
- types = require(36),
1862
- util = require(37);
1888
+ var Enum = require(17),
1889
+ types = require(38),
1890
+ util = require(39);
1863
1891
 
1864
1892
  function missing(field) {
1865
1893
  return "missing required '" + field.name + "'";
@@ -1990,13 +2018,13 @@ function decoder(mtype) {
1990
2018
  /* eslint-enable no-unexpected-multiline */
1991
2019
  }
1992
2020
 
1993
- },{"15":15,"36":36,"37":37}],14:[function(require,module,exports){
2021
+ },{"17":17,"38":38,"39":39}],16:[function(require,module,exports){
1994
2022
  "use strict";
1995
2023
  module.exports = encoder;
1996
2024
 
1997
- var Enum = require(15),
1998
- types = require(36),
1999
- util = require(37);
2025
+ var Enum = require(17),
2026
+ types = require(38),
2027
+ util = require(39);
2000
2028
 
2001
2029
  /**
2002
2030
  * Generates a partial message type encoder.
@@ -2009,8 +2037,8 @@ var Enum = require(15),
2009
2037
  */
2010
2038
  function genTypePartial(gen, field, fieldIndex, ref) {
2011
2039
  return field.delimited
2012
- ? gen("types[%i].encode(%s,w.uint32(%i)).uint32(%i)", fieldIndex, ref, (field.id << 3 | 3) >>> 0, (field.id << 3 | 4) >>> 0)
2013
- : gen("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()", fieldIndex, ref, (field.id << 3 | 2) >>> 0);
2040
+ ? gen("types[%i].encode(%s,w.uint32(%i),q+1).uint32(%i)", fieldIndex, ref, (field.id << 3 | 3) >>> 0, (field.id << 3 | 4) >>> 0)
2041
+ : gen("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()", fieldIndex, ref, (field.id << 3 | 2) >>> 0);
2014
2042
  }
2015
2043
 
2016
2044
  /**
@@ -2020,9 +2048,12 @@ function genTypePartial(gen, field, fieldIndex, ref) {
2020
2048
  */
2021
2049
  function encoder(mtype) {
2022
2050
  /* eslint-disable no-unexpected-multiline, block-scoped-var, no-redeclare */
2023
- var gen = util.codegen(["m", "w"], mtype.name + "$encode")
2051
+ var gen = util.codegen(["m", "w", "q"], mtype.name + "$encode")
2024
2052
  ("if(!w)")
2025
- ("w=Writer.create()");
2053
+ ("w=Writer.create()")
2054
+ ("if(q===undefined)q=0")
2055
+ ("if(q>util.recursionLimit)")
2056
+ ("throw Error(\"max depth exceeded\")");
2026
2057
 
2027
2058
  var i, ref;
2028
2059
 
@@ -2043,7 +2074,7 @@ function encoder(mtype) {
2043
2074
  ("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){", ref)
2044
2075
  ("w.uint32(%i).fork().uint32(%i).%s(ks[i])", (field.id << 3 | 2) >>> 0, 8 | types.mapKey[field.keyType], field.keyType);
2045
2076
  if (wireType === undefined) gen
2046
- ("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()", index, ref); // can't be groups
2077
+ ("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()", index, ref); // can't be groups
2047
2078
  else gen
2048
2079
  (".uint32(%i).%s(%s[ks[i]]).ldelim()", 16 | wireType, type, ref);
2049
2080
  gen
@@ -2092,16 +2123,16 @@ function encoder(mtype) {
2092
2123
  /* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
2093
2124
  }
2094
2125
 
2095
- },{"15":15,"36":36,"37":37}],15:[function(require,module,exports){
2126
+ },{"17":17,"38":38,"39":39}],17:[function(require,module,exports){
2096
2127
  "use strict";
2097
2128
  module.exports = Enum;
2098
2129
 
2099
2130
  // extends ReflectionObject
2100
- var ReflectionObject = require(24);
2131
+ var ReflectionObject = require(26);
2101
2132
  ((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
2102
2133
 
2103
- var Namespace = require(23),
2104
- util = require(37);
2134
+ var Namespace = require(25),
2135
+ util = require(39);
2105
2136
 
2106
2137
  /**
2107
2138
  * Constructs a new enum instance.
@@ -2181,8 +2212,8 @@ Enum.prototype._resolveFeatures = function _resolveFeatures(edition) {
2181
2212
  ReflectionObject.prototype._resolveFeatures.call(this, edition);
2182
2213
 
2183
2214
  Object.keys(this.values).forEach(key => {
2184
- var parentFeaturesCopy = Object.assign({}, this._features);
2185
- this._valuesFeatures[key] = Object.assign(parentFeaturesCopy, this.valuesOptions && this.valuesOptions[key] && this.valuesOptions[key].features);
2215
+ var parentFeaturesCopy = util.merge({}, this._features);
2216
+ this._valuesFeatures[key] = util.merge(parentFeaturesCopy, this.valuesOptions && this.valuesOptions[key] && this.valuesOptions[key].features || {});
2186
2217
  });
2187
2218
 
2188
2219
  return this;
@@ -2320,17 +2351,17 @@ Enum.prototype.isReservedName = function isReservedName(name) {
2320
2351
  return Namespace.isReservedName(this.reserved, name);
2321
2352
  };
2322
2353
 
2323
- },{"23":23,"24":24,"37":37}],16:[function(require,module,exports){
2354
+ },{"25":25,"26":26,"39":39}],18:[function(require,module,exports){
2324
2355
  "use strict";
2325
2356
  module.exports = Field;
2326
2357
 
2327
2358
  // extends ReflectionObject
2328
- var ReflectionObject = require(24);
2359
+ var ReflectionObject = require(26);
2329
2360
  ((Field.prototype = Object.create(ReflectionObject.prototype)).constructor = Field).className = "Field";
2330
2361
 
2331
- var Enum = require(15),
2332
- types = require(36),
2333
- util = require(37);
2362
+ var Enum = require(17),
2363
+ types = require(38),
2364
+ util = require(39);
2334
2365
 
2335
2366
  var Type; // cyclic
2336
2367
 
@@ -2651,7 +2682,7 @@ Field.prototype.resolve = function resolve() {
2651
2682
 
2652
2683
  // convert to internal data type if necesssary
2653
2684
  if (this.long) {
2654
- this.typeDefault = util.Long.fromNumber(this.typeDefault, this.type.charAt(0) === "u");
2685
+ this.typeDefault = util.Long.fromNumber(this.typeDefault, this.type === "uint64" || this.type === "fixed64");
2655
2686
 
2656
2687
  /* istanbul ignore else */
2657
2688
  if (Object.freeze)
@@ -2775,9 +2806,9 @@ Field._configure = function configure(Type_) {
2775
2806
  Type = Type_;
2776
2807
  };
2777
2808
 
2778
- },{"15":15,"24":24,"36":36,"37":37}],17:[function(require,module,exports){
2809
+ },{"17":17,"26":26,"38":38,"39":39}],19:[function(require,module,exports){
2779
2810
  "use strict";
2780
- var protobuf = module.exports = require(18);
2811
+ var protobuf = module.exports = require(20);
2781
2812
 
2782
2813
  protobuf.build = "light";
2783
2814
 
@@ -2850,30 +2881,30 @@ function loadSync(filename, root) {
2850
2881
  protobuf.loadSync = loadSync;
2851
2882
 
2852
2883
  // Serialization
2853
- protobuf.encoder = require(14);
2854
- protobuf.decoder = require(13);
2855
- protobuf.verifier = require(41);
2856
- protobuf.converter = require(12);
2884
+ protobuf.encoder = require(16);
2885
+ protobuf.decoder = require(15);
2886
+ protobuf.verifier = require(44);
2887
+ protobuf.converter = require(14);
2857
2888
 
2858
2889
  // Reflection
2859
- protobuf.ReflectionObject = require(24);
2860
- protobuf.Namespace = require(23);
2861
- protobuf.Root = require(29);
2862
- protobuf.Enum = require(15);
2863
- protobuf.Type = require(35);
2864
- protobuf.Field = require(16);
2865
- protobuf.OneOf = require(25);
2866
- protobuf.MapField = require(20);
2867
- protobuf.Service = require(33);
2868
- protobuf.Method = require(22);
2890
+ protobuf.ReflectionObject = require(26);
2891
+ protobuf.Namespace = require(25);
2892
+ protobuf.Root = require(31);
2893
+ protobuf.Enum = require(17);
2894
+ protobuf.Type = require(37);
2895
+ protobuf.Field = require(18);
2896
+ protobuf.OneOf = require(27);
2897
+ protobuf.MapField = require(22);
2898
+ protobuf.Service = require(35);
2899
+ protobuf.Method = require(24);
2869
2900
 
2870
2901
  // Runtime
2871
- protobuf.Message = require(21);
2872
- protobuf.wrappers = require(42);
2902
+ protobuf.Message = require(23);
2903
+ protobuf.wrappers = require(45);
2873
2904
 
2874
2905
  // Utility
2875
- protobuf.types = require(36);
2876
- protobuf.util = require(37);
2906
+ protobuf.types = require(38);
2907
+ protobuf.util = require(39);
2877
2908
 
2878
2909
  // Set up possibly cyclic reflection dependencies
2879
2910
  protobuf.ReflectionObject._configure(protobuf.Root);
@@ -2881,7 +2912,7 @@ protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum);
2881
2912
  protobuf.Root._configure(protobuf.Type);
2882
2913
  protobuf.Field._configure(protobuf.Type);
2883
2914
 
2884
- },{"12":12,"13":13,"14":14,"15":15,"16":16,"18":18,"20":20,"21":21,"22":22,"23":23,"24":24,"25":25,"29":29,"33":33,"35":35,"36":36,"37":37,"41":41,"42":42}],18:[function(require,module,exports){
2915
+ },{"14":14,"15":15,"16":16,"17":17,"18":18,"20":20,"22":22,"23":23,"24":24,"25":25,"26":26,"27":27,"31":31,"35":35,"37":37,"38":38,"39":39,"44":44,"45":45}],20:[function(require,module,exports){
2885
2916
  "use strict";
2886
2917
  var protobuf = exports;
2887
2918
 
@@ -2894,15 +2925,15 @@ var protobuf = exports;
2894
2925
  protobuf.build = "minimal";
2895
2926
 
2896
2927
  // Serialization
2897
- protobuf.Writer = require(43);
2898
- protobuf.BufferWriter = require(44);
2899
- protobuf.Reader = require(27);
2900
- protobuf.BufferReader = require(28);
2928
+ protobuf.Writer = require(46);
2929
+ protobuf.BufferWriter = require(47);
2930
+ protobuf.Reader = require(29);
2931
+ protobuf.BufferReader = require(30);
2901
2932
 
2902
2933
  // Utility
2903
- protobuf.util = require(39);
2904
- protobuf.rpc = require(31);
2905
- protobuf.roots = require(30);
2934
+ protobuf.util = require(42);
2935
+ protobuf.rpc = require(33);
2936
+ protobuf.roots = require(32);
2906
2937
  protobuf.configure = configure;
2907
2938
 
2908
2939
  /* istanbul ignore next */
@@ -2919,30 +2950,30 @@ function configure() {
2919
2950
  // Set up buffer utility according to the environment
2920
2951
  configure();
2921
2952
 
2922
- },{"27":27,"28":28,"30":30,"31":31,"39":39,"43":43,"44":44}],19:[function(require,module,exports){
2953
+ },{"29":29,"30":30,"32":32,"33":33,"42":42,"46":46,"47":47}],21:[function(require,module,exports){
2923
2954
  "use strict";
2924
- var protobuf = module.exports = require(17);
2955
+ var protobuf = module.exports = require(19);
2925
2956
 
2926
2957
  protobuf.build = "full";
2927
2958
 
2928
2959
  // Parser
2929
- protobuf.tokenize = require(34);
2930
- protobuf.parse = require(26);
2931
- protobuf.common = require(11);
2960
+ protobuf.tokenize = require(36);
2961
+ protobuf.parse = require(28);
2962
+ protobuf.common = require(13);
2932
2963
 
2933
2964
  // Configure parser
2934
2965
  protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
2935
2966
 
2936
- },{"11":11,"17":17,"26":26,"34":34}],20:[function(require,module,exports){
2967
+ },{"13":13,"19":19,"28":28,"36":36}],22:[function(require,module,exports){
2937
2968
  "use strict";
2938
2969
  module.exports = MapField;
2939
2970
 
2940
2971
  // extends Field
2941
- var Field = require(16);
2972
+ var Field = require(18);
2942
2973
  ((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
2943
2974
 
2944
- var types = require(36),
2945
- util = require(37);
2975
+ var types = require(38),
2976
+ util = require(39);
2946
2977
 
2947
2978
  /**
2948
2979
  * Constructs a new map field instance.
@@ -3061,11 +3092,11 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {
3061
3092
  };
3062
3093
  };
3063
3094
 
3064
- },{"16":16,"36":36,"37":37}],21:[function(require,module,exports){
3095
+ },{"18":18,"38":38,"39":39}],23:[function(require,module,exports){
3065
3096
  "use strict";
3066
3097
  module.exports = Message;
3067
3098
 
3068
- var util = require(39);
3099
+ var util = require(42);
3069
3100
 
3070
3101
  /**
3071
3102
  * Constructs a new message instance.
@@ -3206,15 +3237,15 @@ Message.prototype.toJSON = function toJSON() {
3206
3237
 
3207
3238
  /*eslint-enable valid-jsdoc*/
3208
3239
 
3209
- },{"39":39}],22:[function(require,module,exports){
3240
+ },{"42":42}],24:[function(require,module,exports){
3210
3241
  "use strict";
3211
3242
  module.exports = Method;
3212
3243
 
3213
3244
  // extends ReflectionObject
3214
- var ReflectionObject = require(24);
3245
+ var ReflectionObject = require(26);
3215
3246
  ((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
3216
3247
 
3217
- var util = require(37);
3248
+ var util = require(39);
3218
3249
 
3219
3250
  /**
3220
3251
  * Constructs a new service method instance.
@@ -3368,17 +3399,17 @@ Method.prototype.resolve = function resolve() {
3368
3399
  return ReflectionObject.prototype.resolve.call(this);
3369
3400
  };
3370
3401
 
3371
- },{"24":24,"37":37}],23:[function(require,module,exports){
3402
+ },{"26":26,"39":39}],25:[function(require,module,exports){
3372
3403
  "use strict";
3373
3404
  module.exports = Namespace;
3374
3405
 
3375
3406
  // extends ReflectionObject
3376
- var ReflectionObject = require(24);
3407
+ var ReflectionObject = require(26);
3377
3408
  ((Namespace.prototype = Object.create(ReflectionObject.prototype)).constructor = Namespace).className = "Namespace";
3378
3409
 
3379
- var Field = require(16),
3380
- util = require(37),
3381
- OneOf = require(25);
3410
+ var Field = require(18),
3411
+ util = require(39),
3412
+ OneOf = require(27);
3382
3413
 
3383
3414
  var Type, // cyclic
3384
3415
  Service,
@@ -3400,11 +3431,13 @@ var Type, // cyclic
3400
3431
  * @function
3401
3432
  * @param {string} name Namespace name
3402
3433
  * @param {Object.<string,*>} json JSON object
3434
+ * @param {number} [depth] Current nesting depth, defaults to `0`
3403
3435
  * @returns {Namespace} Created namespace
3404
3436
  * @throws {TypeError} If arguments are invalid
3405
3437
  */
3406
- Namespace.fromJSON = function fromJSON(name, json) {
3407
- return new Namespace(name, json.options).addJSON(json.nested);
3438
+ Namespace.fromJSON = function fromJSON(name, json, depth) {
3439
+ depth = util.checkDepth(depth);
3440
+ return new Namespace(name, json.options).addJSON(json.nested, depth);
3408
3441
  };
3409
3442
 
3410
3443
  /**
@@ -3562,9 +3595,11 @@ Namespace.prototype.toJSON = function toJSON(toJSONOptions) {
3562
3595
  /**
3563
3596
  * Adds nested objects to this namespace from nested object descriptors.
3564
3597
  * @param {Object.<string,AnyNestedObject>} nestedJson Any nested object descriptors
3598
+ * @param {number} [depth] Current nesting depth, defaults to `0`
3565
3599
  * @returns {Namespace} `this`
3566
3600
  */
3567
- Namespace.prototype.addJSON = function addJSON(nestedJson) {
3601
+ Namespace.prototype.addJSON = function addJSON(nestedJson, depth) {
3602
+ depth = util.checkDepth(depth);
3568
3603
  var ns = this;
3569
3604
  /* istanbul ignore else */
3570
3605
  if (nestedJson) {
@@ -3579,7 +3614,7 @@ Namespace.prototype.addJSON = function addJSON(nestedJson) {
3579
3614
  ? Service.fromJSON
3580
3615
  : nested.id !== undefined
3581
3616
  ? Field.fromJSON
3582
- : Namespace.fromJSON )(names[i], nested)
3617
+ : Namespace.fromJSON )(names[i], nested, depth + 1)
3583
3618
  );
3584
3619
  }
3585
3620
  }
@@ -3704,6 +3739,8 @@ Namespace.prototype.define = function define(path, json) {
3704
3739
  throw TypeError("illegal path");
3705
3740
  if (path && path.length && path[0] === "")
3706
3741
  throw Error("path must be relative");
3742
+ if (path.length > util.recursionLimit)
3743
+ throw Error("max depth exceeded");
3707
3744
 
3708
3745
  var ptr = this;
3709
3746
  while (path.length > 0) {
@@ -3922,14 +3959,14 @@ Namespace._configure = function(Type_, Service_, Enum_) {
3922
3959
  Enum = Enum_;
3923
3960
  };
3924
3961
 
3925
- },{"16":16,"24":24,"25":25,"37":37}],24:[function(require,module,exports){
3962
+ },{"18":18,"26":26,"27":27,"39":39}],26:[function(require,module,exports){
3926
3963
  "use strict";
3927
3964
  module.exports = ReflectionObject;
3928
3965
 
3929
3966
  ReflectionObject.className = "ReflectionObject";
3930
3967
 
3931
- const OneOf = require(25);
3932
- var util = require(37);
3968
+ const OneOf = require(27);
3969
+ var util = require(39);
3933
3970
 
3934
3971
  var Root; // cyclic
3935
3972
 
@@ -4138,7 +4175,7 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
4138
4175
  throw new Error("Unknown edition for " + this.fullName);
4139
4176
  }
4140
4177
 
4141
- var protoFeatures = Object.assign(this.options ? Object.assign({}, this.options.features) : {},
4178
+ var protoFeatures = util.merge({}, this.options && this.options.features,
4142
4179
  this._inferLegacyProtoFeatures(edition));
4143
4180
 
4144
4181
  if (this._edition) {
@@ -4153,7 +4190,7 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
4153
4190
  } else {
4154
4191
  throw new Error("Unknown edition: " + edition);
4155
4192
  }
4156
- this._features = Object.assign(defaults, protoFeatures || {});
4193
+ this._features = util.merge(defaults, protoFeatures);
4157
4194
  this._featuresResolved = true;
4158
4195
  return;
4159
4196
  }
@@ -4162,13 +4199,13 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
4162
4199
  // special-case it
4163
4200
  /* istanbul ignore else */
4164
4201
  if (this.partOf instanceof OneOf) {
4165
- var lexicalParentFeaturesCopy = Object.assign({}, this.partOf._features);
4166
- this._features = Object.assign(lexicalParentFeaturesCopy, protoFeatures || {});
4202
+ var lexicalParentFeaturesCopy = util.merge({}, this.partOf._features);
4203
+ this._features = util.merge(lexicalParentFeaturesCopy, protoFeatures);
4167
4204
  } else if (this.declaringField) {
4168
4205
  // Skip feature resolution of sister fields.
4169
4206
  } else if (this.parent) {
4170
- var parentFeaturesCopy = Object.assign({}, this.parent._features);
4171
- this._features = Object.assign(parentFeaturesCopy, protoFeatures || {});
4207
+ var parentFeaturesCopy = util.merge({}, this.parent._features);
4208
+ this._features = util.merge(parentFeaturesCopy, protoFeatures);
4172
4209
  } else {
4173
4210
  throw new Error("Unable to find a parent for " + this.fullName);
4174
4211
  }
@@ -4306,16 +4343,16 @@ ReflectionObject._configure = function(Root_) {
4306
4343
  Root = Root_;
4307
4344
  };
4308
4345
 
4309
- },{"25":25,"37":37}],25:[function(require,module,exports){
4346
+ },{"27":27,"39":39}],27:[function(require,module,exports){
4310
4347
  "use strict";
4311
4348
  module.exports = OneOf;
4312
4349
 
4313
4350
  // extends ReflectionObject
4314
- var ReflectionObject = require(24);
4351
+ var ReflectionObject = require(26);
4315
4352
  ((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
4316
4353
 
4317
- var Field = require(16),
4318
- util = require(37);
4354
+ var Field = require(18),
4355
+ util = require(39);
4319
4356
 
4320
4357
  /**
4321
4358
  * Constructs a new oneof instance.
@@ -4530,25 +4567,25 @@ OneOf.d = function decorateOneOf() {
4530
4567
  };
4531
4568
  };
4532
4569
 
4533
- },{"16":16,"24":24,"37":37}],26:[function(require,module,exports){
4570
+ },{"18":18,"26":26,"39":39}],28:[function(require,module,exports){
4534
4571
  "use strict";
4535
4572
  module.exports = parse;
4536
4573
 
4537
4574
  parse.filename = null;
4538
4575
  parse.defaults = { keepCase: false };
4539
4576
 
4540
- var tokenize = require(34),
4541
- Root = require(29),
4542
- Type = require(35),
4543
- Field = require(16),
4544
- MapField = require(20),
4545
- OneOf = require(25),
4546
- Enum = require(15),
4547
- Service = require(33),
4548
- Method = require(22),
4549
- ReflectionObject = require(24),
4550
- types = require(36),
4551
- util = require(37);
4577
+ var tokenize = require(36),
4578
+ Root = require(31),
4579
+ Type = require(37),
4580
+ Field = require(18),
4581
+ MapField = require(22),
4582
+ OneOf = require(27),
4583
+ Enum = require(17),
4584
+ Service = require(35),
4585
+ Method = require(24),
4586
+ ReflectionObject = require(26),
4587
+ types = require(38),
4588
+ util = require(39);
4552
4589
 
4553
4590
  var base10Re = /^[1-9][0-9]*$/,
4554
4591
  base10NegRe = /^-?[1-9][0-9]*$/,
@@ -4834,7 +4871,10 @@ function parse(source, root, options) {
4834
4871
  }
4835
4872
 
4836
4873
 
4837
- function parseCommon(parent, token) {
4874
+ function parseCommon(parent, token, depth) {
4875
+ if (depth === undefined)
4876
+ depth = 0;
4877
+ // depth is checked by dispatched functions
4838
4878
  switch (token) {
4839
4879
 
4840
4880
  case "option":
@@ -4843,7 +4883,7 @@ function parse(source, root, options) {
4843
4883
  return true;
4844
4884
 
4845
4885
  case "message":
4846
- parseType(parent, token);
4886
+ parseType(parent, token, depth + 1);
4847
4887
  return true;
4848
4888
 
4849
4889
  case "enum":
@@ -4851,11 +4891,11 @@ function parse(source, root, options) {
4851
4891
  return true;
4852
4892
 
4853
4893
  case "service":
4854
- parseService(parent, token);
4894
+ parseService(parent, token, depth + 1);
4855
4895
  return true;
4856
4896
 
4857
4897
  case "extend":
4858
- parseExtension(parent, token);
4898
+ parseExtension(parent, token, depth);
4859
4899
  return true;
4860
4900
  }
4861
4901
  return false;
@@ -4883,7 +4923,11 @@ function parse(source, root, options) {
4883
4923
  }
4884
4924
  }
4885
4925
 
4886
- function parseType(parent, token) {
4926
+ function parseType(parent, token, depth) {
4927
+ if (depth === undefined)
4928
+ depth = 0;
4929
+ if (depth > util.nestingLimit)
4930
+ throw Error("max depth exceeded");
4887
4931
 
4888
4932
  /* istanbul ignore if */
4889
4933
  if (!nameRe.test(token = next()))
@@ -4891,7 +4935,7 @@ function parse(source, root, options) {
4891
4935
 
4892
4936
  var type = new Type(token);
4893
4937
  ifBlock(type, function parseType_block(token) {
4894
- if (parseCommon(type, token))
4938
+ if (parseCommon(type, token, depth))
4895
4939
  return;
4896
4940
 
4897
4941
  switch (token) {
@@ -4905,22 +4949,22 @@ function parse(source, root, options) {
4905
4949
  throw illegal(token);
4906
4950
  /* eslint-disable no-fallthrough */
4907
4951
  case "repeated":
4908
- parseField(type, token);
4952
+ parseField(type, token, undefined, depth + 1);
4909
4953
  break;
4910
4954
 
4911
4955
  case "optional":
4912
4956
  /* istanbul ignore if */
4913
4957
  if (edition === "proto3") {
4914
- parseField(type, "proto3_optional");
4958
+ parseField(type, "proto3_optional", undefined, depth + 1);
4915
4959
  } else if (edition !== "proto2") {
4916
4960
  throw illegal(token);
4917
4961
  } else {
4918
- parseField(type, "optional");
4962
+ parseField(type, "optional", undefined, depth + 1);
4919
4963
  }
4920
4964
  break;
4921
4965
 
4922
4966
  case "oneof":
4923
- parseOneOf(type, token);
4967
+ parseOneOf(type, token, depth + 1);
4924
4968
  break;
4925
4969
 
4926
4970
  case "extensions":
@@ -4938,7 +4982,7 @@ function parse(source, root, options) {
4938
4982
  }
4939
4983
 
4940
4984
  push(token);
4941
- parseField(type, "optional");
4985
+ parseField(type, "optional", undefined, depth + 1);
4942
4986
  break;
4943
4987
  }
4944
4988
  });
@@ -4948,10 +4992,10 @@ function parse(source, root, options) {
4948
4992
  }
4949
4993
  }
4950
4994
 
4951
- function parseField(parent, rule, extend) {
4995
+ function parseField(parent, rule, extend, depth) {
4952
4996
  var type = next();
4953
4997
  if (type === "group") {
4954
- parseGroup(parent, rule);
4998
+ parseGroup(parent, rule, depth);
4955
4999
  return;
4956
5000
  }
4957
5001
  // Type names can consume multiple tokens, in multiple variants:
@@ -5008,7 +5052,11 @@ function parse(source, root, options) {
5008
5052
  }
5009
5053
  }
5010
5054
 
5011
- function parseGroup(parent, rule) {
5055
+ function parseGroup(parent, rule, depth) {
5056
+ if (depth === undefined)
5057
+ depth = 0;
5058
+ if (depth > util.nestingLimit)
5059
+ throw Error("max depth exceeded");
5012
5060
  if (edition >= 2023) {
5013
5061
  throw illegal("group");
5014
5062
  }
@@ -5036,20 +5084,20 @@ function parse(source, root, options) {
5036
5084
  break;
5037
5085
  case "required":
5038
5086
  case "repeated":
5039
- parseField(type, token);
5087
+ parseField(type, token, undefined, depth + 1);
5040
5088
  break;
5041
5089
 
5042
5090
  case "optional":
5043
5091
  /* istanbul ignore if */
5044
5092
  if (edition === "proto3") {
5045
- parseField(type, "proto3_optional");
5093
+ parseField(type, "proto3_optional", undefined, depth + 1);
5046
5094
  } else {
5047
- parseField(type, "optional");
5095
+ parseField(type, "optional", undefined, depth + 1);
5048
5096
  }
5049
5097
  break;
5050
5098
 
5051
5099
  case "message":
5052
- parseType(type, token);
5100
+ parseType(type, token, depth + 1);
5053
5101
  break;
5054
5102
 
5055
5103
  case "enum":
@@ -5108,7 +5156,7 @@ function parse(source, root, options) {
5108
5156
  parent.add(field);
5109
5157
  }
5110
5158
 
5111
- function parseOneOf(parent, token) {
5159
+ function parseOneOf(parent, token, depth) {
5112
5160
 
5113
5161
  /* istanbul ignore if */
5114
5162
  if (!nameRe.test(token = next()))
@@ -5121,7 +5169,7 @@ function parse(source, root, options) {
5121
5169
  skip(";");
5122
5170
  } else {
5123
5171
  push(token);
5124
- parseField(oneof, "optional");
5172
+ parseField(oneof, "optional", undefined, depth);
5125
5173
  }
5126
5174
  });
5127
5175
  parent.add(oneof);
@@ -5226,7 +5274,11 @@ function parse(source, root, options) {
5226
5274
  setParsedOption(parent, option, optionValue, propName);
5227
5275
  }
5228
5276
 
5229
- function parseOptionValue(parent, name) {
5277
+ function parseOptionValue(parent, name, depth) {
5278
+ if (depth === undefined)
5279
+ depth = 0;
5280
+ if (depth > util.recursionLimit)
5281
+ throw Error("max depth exceeded");
5230
5282
  // { a: "foo" b { c: "bar" } }
5231
5283
  if (skip("{", true)) {
5232
5284
  var objectResult = {};
@@ -5249,7 +5301,7 @@ function parse(source, root, options) {
5249
5301
  // option (my_option) = {
5250
5302
  // repeated_value: [ "foo", "bar" ]
5251
5303
  // };
5252
- value = parseOptionValue(parent, name + "." + token);
5304
+ value = parseOptionValue(parent, name + "." + token, depth + 1);
5253
5305
  } else if (peek() === "[") {
5254
5306
  value = [];
5255
5307
  var lastValue;
@@ -5314,7 +5366,11 @@ function parse(source, root, options) {
5314
5366
  return parent;
5315
5367
  }
5316
5368
 
5317
- function parseService(parent, token) {
5369
+ function parseService(parent, token, depth) {
5370
+ if (depth === undefined)
5371
+ depth = 0;
5372
+ if (depth > util.recursionLimit)
5373
+ throw Error("max depth exceeded");
5318
5374
 
5319
5375
  /* istanbul ignore if */
5320
5376
  if (!nameRe.test(token = next()))
@@ -5322,7 +5378,7 @@ function parse(source, root, options) {
5322
5378
 
5323
5379
  var service = new Service(token);
5324
5380
  ifBlock(service, function parseService_block(token) {
5325
- if (parseCommon(service, token)) {
5381
+ if (parseCommon(service, token, depth)) {
5326
5382
  return;
5327
5383
  }
5328
5384
 
@@ -5388,7 +5444,7 @@ function parse(source, root, options) {
5388
5444
  parent.add(method);
5389
5445
  }
5390
5446
 
5391
- function parseExtension(parent, token) {
5447
+ function parseExtension(parent, token, depth) {
5392
5448
 
5393
5449
  /* istanbul ignore if */
5394
5450
  if (!typeRefRe.test(token = next()))
@@ -5400,15 +5456,15 @@ function parse(source, root, options) {
5400
5456
 
5401
5457
  case "required":
5402
5458
  case "repeated":
5403
- parseField(parent, token, reference);
5459
+ parseField(parent, token, reference, depth + 1);
5404
5460
  break;
5405
5461
 
5406
5462
  case "optional":
5407
5463
  /* istanbul ignore if */
5408
5464
  if (edition === "proto3") {
5409
- parseField(parent, "proto3_optional", reference);
5465
+ parseField(parent, "proto3_optional", reference, depth + 1);
5410
5466
  } else {
5411
- parseField(parent, "optional", reference);
5467
+ parseField(parent, "optional", reference, depth + 1);
5412
5468
  }
5413
5469
  break;
5414
5470
 
@@ -5417,7 +5473,7 @@ function parse(source, root, options) {
5417
5473
  if (edition === "proto2" || !typeRefRe.test(token))
5418
5474
  throw illegal(token);
5419
5475
  push(token);
5420
- parseField(parent, "optional", reference);
5476
+ parseField(parent, "optional", reference, depth + 1);
5421
5477
  break;
5422
5478
  }
5423
5479
  });
@@ -5469,7 +5525,7 @@ function parse(source, root, options) {
5469
5525
  default:
5470
5526
 
5471
5527
  /* istanbul ignore else */
5472
- if (parseCommon(ptr, token)) {
5528
+ if (parseCommon(ptr, token, 0)) {
5473
5529
  head = false;
5474
5530
  continue;
5475
5531
  }
@@ -5502,11 +5558,11 @@ function parse(source, root, options) {
5502
5558
  * @variation 2
5503
5559
  */
5504
5560
 
5505
- },{"15":15,"16":16,"20":20,"22":22,"24":24,"25":25,"29":29,"33":33,"34":34,"35":35,"36":36,"37":37}],27:[function(require,module,exports){
5561
+ },{"17":17,"18":18,"22":22,"24":24,"26":26,"27":27,"31":31,"35":35,"36":36,"37":37,"38":38,"39":39}],29:[function(require,module,exports){
5506
5562
  "use strict";
5507
5563
  module.exports = Reader;
5508
5564
 
5509
- var util = require(39);
5565
+ var util = require(42);
5510
5566
 
5511
5567
  var BufferReader; // cyclic
5512
5568
 
@@ -5930,15 +5986,15 @@ Reader._configure = function(BufferReader_) {
5930
5986
  });
5931
5987
  };
5932
5988
 
5933
- },{"39":39}],28:[function(require,module,exports){
5989
+ },{"42":42}],30:[function(require,module,exports){
5934
5990
  "use strict";
5935
5991
  module.exports = BufferReader;
5936
5992
 
5937
5993
  // extends Reader
5938
- var Reader = require(27);
5994
+ var Reader = require(29);
5939
5995
  (BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
5940
5996
 
5941
- var util = require(39);
5997
+ var util = require(42);
5942
5998
 
5943
5999
  /**
5944
6000
  * Constructs a new buffer reader instance.
@@ -5983,18 +6039,18 @@ BufferReader.prototype.string = function read_string_buffer() {
5983
6039
 
5984
6040
  BufferReader._configure();
5985
6041
 
5986
- },{"27":27,"39":39}],29:[function(require,module,exports){
6042
+ },{"29":29,"42":42}],31:[function(require,module,exports){
5987
6043
  "use strict";
5988
6044
  module.exports = Root;
5989
6045
 
5990
6046
  // extends Namespace
5991
- var Namespace = require(23);
6047
+ var Namespace = require(25);
5992
6048
  ((Root.prototype = Object.create(Namespace.prototype)).constructor = Root).className = "Root";
5993
6049
 
5994
- var Field = require(16),
5995
- Enum = require(15),
5996
- OneOf = require(25),
5997
- util = require(37);
6050
+ var Field = require(18),
6051
+ Enum = require(17),
6052
+ OneOf = require(27),
6053
+ util = require(39);
5998
6054
 
5999
6055
  var Type, // cyclic
6000
6056
  parse, // might be excluded
@@ -6041,14 +6097,16 @@ function Root(options) {
6041
6097
  * Loads a namespace descriptor into a root namespace.
6042
6098
  * @param {INamespace} json Namespace descriptor
6043
6099
  * @param {Root} [root] Root namespace, defaults to create a new one if omitted
6100
+ * @param {number} [depth] Current nesting depth, defaults to `0`
6044
6101
  * @returns {Root} Root namespace
6045
6102
  */
6046
- Root.fromJSON = function fromJSON(json, root) {
6103
+ Root.fromJSON = function fromJSON(json, root, depth) {
6104
+ depth = util.checkDepth(depth);
6047
6105
  if (!root)
6048
6106
  root = new Root();
6049
6107
  if (json.options)
6050
6108
  root.setOptions(json.options);
6051
- return root.addJSON(json.nested).resolveAll();
6109
+ return root.addJSON(json.nested, depth).resolveAll();
6052
6110
  };
6053
6111
 
6054
6112
  /**
@@ -6122,8 +6180,12 @@ Root.prototype.load = function load(filename, options, callback) {
6122
6180
  }
6123
6181
 
6124
6182
  // Processes a single file
6125
- function process(filename, source) {
6183
+ function process(filename, source, depth) {
6184
+ if (depth === undefined)
6185
+ depth = 0;
6126
6186
  try {
6187
+ if (depth > util.recursionLimit)
6188
+ throw Error("max depth exceeded");
6127
6189
  if (util.isString(source) && source.charAt(0) === "{")
6128
6190
  source = JSON.parse(source);
6129
6191
  if (!util.isString(source))
@@ -6136,11 +6198,11 @@ Root.prototype.load = function load(filename, options, callback) {
6136
6198
  if (parsed.imports)
6137
6199
  for (; i < parsed.imports.length; ++i)
6138
6200
  if (resolved = getBundledFileName(parsed.imports[i]) || self.resolvePath(filename, parsed.imports[i]))
6139
- fetch(resolved);
6201
+ fetch(resolved, false, depth + 1);
6140
6202
  if (parsed.weakImports)
6141
6203
  for (i = 0; i < parsed.weakImports.length; ++i)
6142
6204
  if (resolved = getBundledFileName(parsed.weakImports[i]) || self.resolvePath(filename, parsed.weakImports[i]))
6143
- fetch(resolved, true);
6205
+ fetch(resolved, true, depth + 1);
6144
6206
  }
6145
6207
  } catch (err) {
6146
6208
  finish(err);
@@ -6151,7 +6213,9 @@ Root.prototype.load = function load(filename, options, callback) {
6151
6213
  }
6152
6214
 
6153
6215
  // Fetches a single file
6154
- function fetch(filename, weak) {
6216
+ function fetch(filename, weak, depth) {
6217
+ if (depth === undefined)
6218
+ depth = 0;
6155
6219
  filename = getBundledFileName(filename) || filename;
6156
6220
 
6157
6221
  // Skip if already loaded / attempted
@@ -6163,12 +6227,12 @@ Root.prototype.load = function load(filename, options, callback) {
6163
6227
  // Shortcut bundled definitions
6164
6228
  if (filename in common) {
6165
6229
  if (sync) {
6166
- process(filename, common[filename]);
6230
+ process(filename, common[filename], depth);
6167
6231
  } else {
6168
6232
  ++queued;
6169
6233
  setTimeout(function() {
6170
6234
  --queued;
6171
- process(filename, common[filename]);
6235
+ process(filename, common[filename], depth);
6172
6236
  });
6173
6237
  }
6174
6238
  return;
@@ -6184,7 +6248,7 @@ Root.prototype.load = function load(filename, options, callback) {
6184
6248
  finish(err);
6185
6249
  return;
6186
6250
  }
6187
- process(filename, source);
6251
+ process(filename, source, depth);
6188
6252
  } else {
6189
6253
  ++queued;
6190
6254
  self.fetch(filename, function(err, source) {
@@ -6201,7 +6265,7 @@ Root.prototype.load = function load(filename, options, callback) {
6201
6265
  finish(null, self);
6202
6266
  return;
6203
6267
  }
6204
- process(filename, source);
6268
+ process(filename, source, depth);
6205
6269
  });
6206
6270
  }
6207
6271
  }
@@ -6389,7 +6453,7 @@ Root._configure = function(Type_, parse_, common_) {
6389
6453
  common = common_;
6390
6454
  };
6391
6455
 
6392
- },{"15":15,"16":16,"23":23,"25":25,"37":37}],30:[function(require,module,exports){
6456
+ },{"17":17,"18":18,"25":25,"27":27,"39":39}],32:[function(require,module,exports){
6393
6457
  "use strict";
6394
6458
  module.exports = {};
6395
6459
 
@@ -6409,7 +6473,7 @@ module.exports = {};
6409
6473
  * var root = protobuf.roots["myroot"];
6410
6474
  */
6411
6475
 
6412
- },{}],31:[function(require,module,exports){
6476
+ },{}],33:[function(require,module,exports){
6413
6477
  "use strict";
6414
6478
 
6415
6479
  /**
@@ -6445,13 +6509,13 @@ var rpc = exports;
6445
6509
  * @returns {undefined}
6446
6510
  */
6447
6511
 
6448
- rpc.Service = require(32);
6512
+ rpc.Service = require(34);
6449
6513
 
6450
- },{"32":32}],32:[function(require,module,exports){
6514
+ },{"34":34}],34:[function(require,module,exports){
6451
6515
  "use strict";
6452
6516
  module.exports = Service;
6453
6517
 
6454
- var util = require(39);
6518
+ var util = require(42);
6455
6519
 
6456
6520
  // Extends EventEmitter
6457
6521
  (Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
@@ -6591,17 +6655,17 @@ Service.prototype.end = function end(endedByRPC) {
6591
6655
  return this;
6592
6656
  };
6593
6657
 
6594
- },{"39":39}],33:[function(require,module,exports){
6658
+ },{"42":42}],35:[function(require,module,exports){
6595
6659
  "use strict";
6596
6660
  module.exports = Service;
6597
6661
 
6598
6662
  // extends Namespace
6599
- var Namespace = require(23);
6663
+ var Namespace = require(25);
6600
6664
  ((Service.prototype = Object.create(Namespace.prototype)).constructor = Service).className = "Service";
6601
6665
 
6602
- var Method = require(22),
6603
- util = require(37),
6604
- rpc = require(31);
6666
+ var Method = require(24),
6667
+ util = require(39),
6668
+ rpc = require(33);
6605
6669
 
6606
6670
  var reservedRe = util.patterns.reservedRe;
6607
6671
 
@@ -6642,17 +6706,19 @@ function Service(name, options) {
6642
6706
  * Constructs a service from a service descriptor.
6643
6707
  * @param {string} name Service name
6644
6708
  * @param {IService} json Service descriptor
6709
+ * @param {number} [depth] Current nesting depth, defaults to `0`
6645
6710
  * @returns {Service} Created service
6646
6711
  * @throws {TypeError} If arguments are invalid
6647
6712
  */
6648
- Service.fromJSON = function fromJSON(name, json) {
6713
+ Service.fromJSON = function fromJSON(name, json, depth) {
6714
+ depth = util.checkDepth(depth);
6649
6715
  var service = new Service(name, json.options);
6650
6716
  /* istanbul ignore else */
6651
6717
  if (json.methods)
6652
6718
  for (var names = Object.keys(json.methods), i = 0; i < names.length; ++i)
6653
6719
  service.add(Method.fromJSON(names[i], json.methods[names[i]]));
6654
6720
  if (json.nested)
6655
- service.addJSON(json.nested);
6721
+ service.addJSON(json.nested, depth);
6656
6722
  if (json.edition)
6657
6723
  service._edition = json.edition;
6658
6724
  service.comment = json.comment;
@@ -6786,7 +6852,7 @@ Service.prototype.create = function create(rpcImpl, requestDelimited, responseDe
6786
6852
  return rpcService;
6787
6853
  };
6788
6854
 
6789
- },{"22":22,"23":23,"31":31,"37":37}],34:[function(require,module,exports){
6855
+ },{"24":24,"25":25,"33":33,"39":39}],36:[function(require,module,exports){
6790
6856
  "use strict";
6791
6857
  module.exports = tokenize;
6792
6858
 
@@ -7204,28 +7270,28 @@ function tokenize(source, alternateCommentMode) {
7204
7270
  /* eslint-enable callback-return */
7205
7271
  }
7206
7272
 
7207
- },{}],35:[function(require,module,exports){
7273
+ },{}],37:[function(require,module,exports){
7208
7274
  "use strict";
7209
7275
  module.exports = Type;
7210
7276
 
7211
7277
  // extends Namespace
7212
- var Namespace = require(23);
7278
+ var Namespace = require(25);
7213
7279
  ((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
7214
7280
 
7215
- var Enum = require(15),
7216
- OneOf = require(25),
7217
- Field = require(16),
7218
- MapField = require(20),
7219
- Service = require(33),
7220
- Message = require(21),
7221
- Reader = require(27),
7222
- Writer = require(43),
7223
- util = require(37),
7224
- encoder = require(14),
7225
- decoder = require(13),
7226
- verifier = require(41),
7227
- converter = require(12),
7228
- wrappers = require(42);
7281
+ var Enum = require(17),
7282
+ OneOf = require(27),
7283
+ Field = require(18),
7284
+ MapField = require(22),
7285
+ Service = require(35),
7286
+ Message = require(23),
7287
+ Reader = require(29),
7288
+ Writer = require(46),
7289
+ util = require(39),
7290
+ encoder = require(16),
7291
+ decoder = require(15),
7292
+ verifier = require(44),
7293
+ converter = require(14),
7294
+ wrappers = require(45);
7229
7295
 
7230
7296
  /**
7231
7297
  * Constructs a new reflected message type instance.
@@ -7440,9 +7506,14 @@ function clearCache(type) {
7440
7506
  * Creates a message type from a message type descriptor.
7441
7507
  * @param {string} name Message name
7442
7508
  * @param {IType} json Message type descriptor
7509
+ * @param {number} [depth] Current nesting depth, defaults to `0`
7443
7510
  * @returns {Type} Created message type
7444
7511
  */
7445
- Type.fromJSON = function fromJSON(name, json) {
7512
+ Type.fromJSON = function fromJSON(name, json, depth) {
7513
+ if (depth === undefined)
7514
+ depth = 0;
7515
+ if (depth > util.nestingLimit)
7516
+ throw Error("max depth exceeded");
7446
7517
  var type = new Type(name, json.options);
7447
7518
  type.extensions = json.extensions;
7448
7519
  type.reserved = json.reserved;
@@ -7469,7 +7540,7 @@ Type.fromJSON = function fromJSON(name, json) {
7469
7540
  ? Enum.fromJSON
7470
7541
  : nested.methods !== undefined
7471
7542
  ? Service.fromJSON
7472
- : Namespace.fromJSON )(names[i], nested)
7543
+ : Namespace.fromJSON )(names[i], nested, depth + 1)
7473
7544
  );
7474
7545
  }
7475
7546
  if (json.extensions && json.extensions.length)
@@ -7720,8 +7791,8 @@ Type.prototype.setup = function setup() {
7720
7791
  * @param {Writer} [writer] Writer to encode to
7721
7792
  * @returns {Writer} writer
7722
7793
  */
7723
- Type.prototype.encode = function encode_setup(message, writer) {
7724
- return this.setup().encode(message, writer); // overrides this method
7794
+ Type.prototype.encode = function encode_setup(message, writer) { // eslint-disable-line no-unused-vars
7795
+ return this.setup().encode.apply(this, arguments); // overrides this method
7725
7796
  };
7726
7797
 
7727
7798
  /**
@@ -7785,7 +7856,7 @@ Type.prototype.fromObject = function fromObject(object, depth) {
7785
7856
  * Conversion options as used by {@link Type#toObject} and {@link Message.toObject}.
7786
7857
  * @interface IConversionOptions
7787
7858
  * @property {Function} [longs] Long conversion type.
7788
- * Valid values are `String` and `Number` (the global types).
7859
+ * Valid values are `BigInt`, `String` and `Number` (the global types).
7789
7860
  * Defaults to copy the present value, which is a possibly unsafe number without and a {@link Long} with a long library.
7790
7861
  * @property {Function} [enums] Enum value conversion type.
7791
7862
  * Only valid value is `String` (the global type).
@@ -7806,8 +7877,8 @@ Type.prototype.fromObject = function fromObject(object, depth) {
7806
7877
  * @param {IConversionOptions} [options] Conversion options
7807
7878
  * @returns {Object.<string,*>} Plain object
7808
7879
  */
7809
- Type.prototype.toObject = function toObject(message, options) {
7810
- return this.setup().toObject(message, options);
7880
+ Type.prototype.toObject = function toObject(message, options) { // eslint-disable-line no-unused-vars
7881
+ return this.setup().toObject.apply(this, arguments);
7811
7882
  };
7812
7883
 
7813
7884
  /**
@@ -7831,7 +7902,7 @@ Type.d = function decorateType(typeName) {
7831
7902
  };
7832
7903
  };
7833
7904
 
7834
- },{"12":12,"13":13,"14":14,"15":15,"16":16,"20":20,"21":21,"23":23,"25":25,"27":27,"33":33,"37":37,"41":41,"42":42,"43":43}],36:[function(require,module,exports){
7905
+ },{"14":14,"15":15,"16":16,"17":17,"18":18,"22":22,"23":23,"25":25,"27":27,"29":29,"35":35,"39":39,"44":44,"45":45,"46":46}],38:[function(require,module,exports){
7835
7906
  "use strict";
7836
7907
 
7837
7908
  /**
@@ -7840,7 +7911,7 @@ Type.d = function decorateType(typeName) {
7840
7911
  */
7841
7912
  var types = exports;
7842
7913
 
7843
- var util = require(37);
7914
+ var util = require(39);
7844
7915
 
7845
7916
  var s = [
7846
7917
  "double", // 0
@@ -8029,33 +8100,46 @@ types.packed = bake([
8029
8100
  /* bool */ 0
8030
8101
  ]);
8031
8102
 
8032
- },{"37":37}],37:[function(require,module,exports){
8103
+ },{"39":39}],39:[function(require,module,exports){
8033
8104
  "use strict";
8034
8105
 
8035
8106
  /**
8036
8107
  * Various utility functions.
8037
8108
  * @namespace
8038
8109
  */
8039
- var util = module.exports = require(39);
8110
+ var util = module.exports = require(42);
8040
8111
 
8041
- var roots = require(30);
8112
+ var roots = require(32);
8042
8113
 
8043
8114
  var Type, // cyclic
8044
8115
  Enum;
8045
8116
 
8046
8117
  util.codegen = require(3);
8047
8118
  util.fetch = require(5);
8048
- util.path = require(8);
8049
- util.patterns = require(40);
8119
+ util.path = require(9);
8120
+ util.patterns = require(43);
8050
8121
 
8051
- var reservedRe = util.patterns.reservedRe,
8052
- unsafePropertyRe = util.patterns.unsafePropertyRe;
8122
+ var reservedRe = util.patterns.reservedRe;
8053
8123
 
8054
8124
  /**
8055
8125
  * Node's fs module if available.
8056
8126
  * @type {Object.<string,*>}
8057
8127
  */
8058
- util.fs = util.inquire("fs");
8128
+ util.fs = require(40);
8129
+
8130
+ /**
8131
+ * Checks a recursion depth.
8132
+ * @param {number|undefined} depth Depth of recursion
8133
+ * @returns {number} Depth of recursion
8134
+ * @throws {Error} If depth exceeds util.recursionLimit
8135
+ */
8136
+ util.checkDepth = function checkDepth(depth) {
8137
+ if (depth === undefined)
8138
+ depth = 0;
8139
+ if (depth > util.recursionLimit)
8140
+ throw Error("max depth exceeded");
8141
+ return depth;
8142
+ };
8059
8143
 
8060
8144
  /**
8061
8145
  * Converts an object's values to an array.
@@ -8165,7 +8249,7 @@ util.decorateType = function decorateType(ctor, typeName) {
8165
8249
 
8166
8250
  /* istanbul ignore next */
8167
8251
  if (!Type)
8168
- Type = require(35);
8252
+ Type = require(37);
8169
8253
 
8170
8254
  var type = new Type(typeName || ctor.name);
8171
8255
  util.decorateRoot.add(type);
@@ -8190,7 +8274,7 @@ util.decorateEnum = function decorateEnum(object) {
8190
8274
 
8191
8275
  /* istanbul ignore next */
8192
8276
  if (!Enum)
8193
- Enum = require(15);
8277
+ Enum = require(17);
8194
8278
 
8195
8279
  var enm = new Enum("Enum" + decorateEnumIndex++, object);
8196
8280
  util.decorateRoot.add(enm);
@@ -8210,7 +8294,7 @@ util.decorateEnum = function decorateEnum(object) {
8210
8294
  util.setProperty = function setProperty(dst, path, value, ifNotSet) {
8211
8295
  function setProp(dst, path, value) {
8212
8296
  var part = path.shift();
8213
- if (unsafePropertyRe.test(part))
8297
+ if (util.isUnsafeProperty(part))
8214
8298
  return dst;
8215
8299
  if (path.length > 0) {
8216
8300
  dst[part] = setProp(dst[part] || {}, path, value);
@@ -8231,6 +8315,8 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
8231
8315
  throw TypeError("path must be specified");
8232
8316
 
8233
8317
  path = path.split(".");
8318
+ if (path.length > util.recursionLimit)
8319
+ throw Error("max depth exceeded");
8234
8320
  return setProp(dst, path, value);
8235
8321
  };
8236
8322
 
@@ -8242,15 +8328,28 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
8242
8328
  */
8243
8329
  Object.defineProperty(util, "decorateRoot", {
8244
8330
  get: function() {
8245
- return roots["decorated"] || (roots["decorated"] = new (require(29))());
8331
+ return roots["decorated"] || (roots["decorated"] = new (require(31))());
8246
8332
  }
8247
8333
  });
8248
8334
 
8249
- },{"15":15,"29":29,"3":3,"30":30,"35":35,"39":39,"40":40,"5":5,"8":8}],38:[function(require,module,exports){
8335
+ },{"17":17,"3":3,"31":31,"32":32,"37":37,"40":40,"42":42,"43":43,"5":5,"9":9}],40:[function(require,module,exports){
8336
+ "use strict";
8337
+
8338
+ var fs = null;
8339
+ try {
8340
+ fs = require(12);
8341
+ if (!fs || !fs.readFile || !fs.readFileSync)
8342
+ fs = null;
8343
+ } catch (e) {
8344
+ // `fs` is unavailable in browsers and browser-like bundles.
8345
+ }
8346
+ module.exports = fs;
8347
+
8348
+ },{"12":12}],41:[function(require,module,exports){
8250
8349
  "use strict";
8251
8350
  module.exports = LongBits;
8252
8351
 
8253
- var util = require(39);
8352
+ var util = require(42);
8254
8353
 
8255
8354
  /**
8256
8355
  * Constructs new long bits.
@@ -8448,7 +8547,7 @@ LongBits.prototype.length = function length() {
8448
8547
  : part2 < 128 ? 9 : 10;
8449
8548
  };
8450
8549
 
8451
- },{"39":39}],39:[function(require,module,exports){
8550
+ },{"42":42}],42:[function(require,module,exports){
8452
8551
  "use strict";
8453
8552
  var util = exports;
8454
8553
 
@@ -8462,19 +8561,31 @@ util.base64 = require(2);
8462
8561
  util.EventEmitter = require(4);
8463
8562
 
8464
8563
  // float handling accross browsers
8465
- util.float = require(6);
8564
+ util.float = require(7);
8466
8565
 
8467
8566
  // requires modules optionally and hides the call from bundlers
8468
- util.inquire = require(7);
8567
+ util.inquire = require(8);
8469
8568
 
8470
8569
  // converts to / from utf8 encoded strings
8471
- util.utf8 = require(10);
8570
+ util.utf8 = require(11);
8472
8571
 
8473
8572
  // provides a node-like buffer pool in the browser
8474
- util.pool = require(9);
8573
+ util.pool = require(10);
8475
8574
 
8476
8575
  // utility to work with the low and high bits of a 64 bit value
8477
- util.LongBits = require(38);
8576
+ util.LongBits = require(41);
8577
+
8578
+ /**
8579
+ * Tests if the specified key can affect object prototypes.
8580
+ * @memberof util
8581
+ * @param {string} key Key to test
8582
+ * @returns {boolean} `true` if the key is unsafe
8583
+ */
8584
+ function isUnsafeProperty(key) {
8585
+ return key === "__proto__" || key === "prototype" || key === "constructor";
8586
+ }
8587
+
8588
+ util.isUnsafeProperty = isUnsafeProperty;
8478
8589
 
8479
8590
  /**
8480
8591
  * Whether running within node or not.
@@ -8576,7 +8687,7 @@ util.isSet = function isSet(obj, prop) {
8576
8687
  */
8577
8688
  util.Buffer = (function() {
8578
8689
  try {
8579
- var Buffer = util.inquire("buffer").Buffer;
8690
+ var Buffer = util.global.Buffer;
8580
8691
  // refuse to use non-node buffers if not explicitly assigned (perf reasons):
8581
8692
  return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;
8582
8693
  } catch (e) {
@@ -8630,7 +8741,15 @@ util.Array = typeof Uint8Array !== "undefined" ? Uint8Array /* istanbul ignore n
8630
8741
  */
8631
8742
  util.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long
8632
8743
  || /* istanbul ignore next */ util.global.Long
8633
- || util.inquire("long");
8744
+ || (function() {
8745
+ try {
8746
+ var Long = require("long");
8747
+ return Long && Long.isLong ? Long : null;
8748
+ } catch (e) {
8749
+ /* istanbul ignore next */
8750
+ return null;
8751
+ }
8752
+ })();
8634
8753
 
8635
8754
  /**
8636
8755
  * Regular expression used to verify 2 bit (`bool`) map keys.
@@ -8681,26 +8800,39 @@ util.longFromHash = function longFromHash(hash, unsigned) {
8681
8800
  * Merges the properties of the source object into the destination object.
8682
8801
  * @memberof util
8683
8802
  * @param {Object.<string,*>} dst Destination object
8684
- * @param {Object.<string,*>} src Source object
8685
- * @param {boolean} [ifNotSet=false] Merges only if the key is not already set
8803
+ * @param {...(Object.<string,*>|boolean)} src Source objects, optionally followed by an `ifNotSet` flag
8686
8804
  * @returns {Object.<string,*>} Destination object
8687
8805
  */
8688
- function merge(dst, src, ifNotSet) { // used by converters
8689
- for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)
8690
- if (dst[keys[i]] === undefined || !ifNotSet)
8691
- if (keys[i] !== "__proto__")
8806
+ function merge(dst) { // used by converters
8807
+ var ifNotSet = typeof arguments[arguments.length - 1] === "boolean",
8808
+ limit = ifNotSet ? arguments.length - 1 : arguments.length;
8809
+ ifNotSet = ifNotSet && arguments[arguments.length - 1];
8810
+ for (var a = 1; a < limit; ++a) {
8811
+ var src = arguments[a];
8812
+ if (!src)
8813
+ continue;
8814
+ for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)
8815
+ if (!isUnsafeProperty(keys[i]) && (dst[keys[i]] === undefined || !ifNotSet))
8692
8816
  dst[keys[i]] = src[keys[i]];
8817
+ }
8693
8818
  return dst;
8694
8819
  }
8695
8820
 
8696
8821
  util.merge = merge;
8697
8822
 
8823
+ /**
8824
+ * Schema declaration nesting limit.
8825
+ * @memberof util
8826
+ * @type {number}
8827
+ */
8828
+ util.nestingLimit = 32; // protoc: MaxMessageDeclarationNestingDepth
8829
+
8698
8830
  /**
8699
8831
  * Recursion limit.
8700
8832
  * @memberof util
8701
8833
  * @type {number}
8702
8834
  */
8703
- util.recursionLimit = 100;
8835
+ util.recursionLimit = 100; // protoc: CodedInputStream::default_recursion_limit_
8704
8836
 
8705
8837
  /**
8706
8838
  * Makes a property safe for assignment as an own property.
@@ -8911,7 +9043,7 @@ util._configure = function() {
8911
9043
  };
8912
9044
  };
8913
9045
 
8914
- },{"1":1,"10":10,"2":2,"38":38,"4":4,"6":6,"7":7,"9":9}],40:[function(require,module,exports){
9046
+ },{"1":1,"10":10,"11":11,"2":2,"4":4,"41":41,"7":7,"8":8,"long":"long"}],43:[function(require,module,exports){
8915
9047
  "use strict";
8916
9048
 
8917
9049
  var patterns = exports;
@@ -8919,14 +9051,13 @@ var patterns = exports;
8919
9051
  patterns.numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;
8920
9052
  patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;
8921
9053
  patterns.reservedRe = /^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/;
8922
- patterns.unsafePropertyRe = /^(?:__proto__|prototype|constructor)$/;
8923
9054
 
8924
- },{}],41:[function(require,module,exports){
9055
+ },{}],44:[function(require,module,exports){
8925
9056
  "use strict";
8926
9057
  module.exports = verifier;
8927
9058
 
8928
- var Enum = require(15),
8929
- util = require(37);
9059
+ var Enum = require(17),
9060
+ util = require(39);
8930
9061
 
8931
9062
  function invalid(field, expected) {
8932
9063
  return field.name + ": " + expected + (field.repeated && expected !== "array" ? "[]" : field.map && expected !== "object" ? "{k:"+field.keyType+"}" : "") + " expected";
@@ -9103,7 +9234,7 @@ function verifier(mtype) {
9103
9234
  /* eslint-enable no-unexpected-multiline */
9104
9235
  }
9105
9236
 
9106
- },{"15":15,"37":37}],42:[function(require,module,exports){
9237
+ },{"17":17,"39":39}],45:[function(require,module,exports){
9107
9238
  "use strict";
9108
9239
 
9109
9240
  /**
@@ -9113,7 +9244,8 @@ function verifier(mtype) {
9113
9244
  */
9114
9245
  var wrappers = exports;
9115
9246
 
9116
- var Message = require(21);
9247
+ var Message = require(23),
9248
+ util = require(42);
9117
9249
 
9118
9250
  /**
9119
9251
  * From object converter part of an {@link IWrapper}.
@@ -9160,10 +9292,9 @@ wrappers[".google.protobuf.Any"] = {
9160
9292
  if (type_url.indexOf("/") === -1) {
9161
9293
  type_url = "/" + type_url;
9162
9294
  }
9163
- var nextDepth = depth === undefined ? 1 : depth + 1;
9164
9295
  return this.create({
9165
9296
  type_url: type_url,
9166
- value: type.encode(type.fromObject(object, nextDepth)).finish()
9297
+ value: type.encode(type.fromObject(object, depth === undefined ? 1 : depth + 1)).finish()
9167
9298
  });
9168
9299
  }
9169
9300
  }
@@ -9171,7 +9302,11 @@ wrappers[".google.protobuf.Any"] = {
9171
9302
  return this.fromObject(object, depth);
9172
9303
  },
9173
9304
 
9174
- toObject: function(message, options) {
9305
+ toObject: function(message, options, depth) {
9306
+ if (depth === undefined)
9307
+ depth = 0;
9308
+ if (depth > util.recursionLimit)
9309
+ throw Error("max depth exceeded");
9175
9310
 
9176
9311
  // Default prefix
9177
9312
  var googleApi = "type.googleapis.com/";
@@ -9187,12 +9322,12 @@ wrappers[".google.protobuf.Any"] = {
9187
9322
  var type = this.lookup(name);
9188
9323
  /* istanbul ignore else */
9189
9324
  if (type)
9190
- message = type.decode(message.value);
9325
+ message = type.decode(message.value, undefined, undefined, depth + 1);
9191
9326
  }
9192
9327
 
9193
9328
  // wrap value if unmapped
9194
9329
  if (!(message instanceof this.ctor) && message instanceof Message) {
9195
- var object = message.$type.toObject(message, options);
9330
+ var object = message.$type.toObject(message, options, depth + 1);
9196
9331
  var messageName = message.$type.fullName[0] === "." ?
9197
9332
  message.$type.fullName.slice(1) : message.$type.fullName;
9198
9333
  // Default to type.googleapis.com prefix if no prefix is used
@@ -9204,15 +9339,15 @@ wrappers[".google.protobuf.Any"] = {
9204
9339
  return object;
9205
9340
  }
9206
9341
 
9207
- return this.toObject(message, options);
9342
+ return this.toObject(message, options, depth);
9208
9343
  }
9209
9344
  };
9210
9345
 
9211
- },{"21":21}],43:[function(require,module,exports){
9346
+ },{"23":23,"42":42}],46:[function(require,module,exports){
9212
9347
  "use strict";
9213
9348
  module.exports = Writer;
9214
9349
 
9215
- var util = require(39);
9350
+ var util = require(42);
9216
9351
 
9217
9352
  var BufferWriter; // cyclic
9218
9353
 
@@ -9436,7 +9571,7 @@ Writer.prototype.uint32 = function write_uint32(value) {
9436
9571
  * @returns {Writer} `this`
9437
9572
  */
9438
9573
  Writer.prototype.int32 = function write_int32(value) {
9439
- return value < 0
9574
+ return (value |= 0) < 0
9440
9575
  ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) // 10 bytes per spec
9441
9576
  : this.uint32(value);
9442
9577
  };
@@ -9451,16 +9586,18 @@ Writer.prototype.sint32 = function write_sint32(value) {
9451
9586
  };
9452
9587
 
9453
9588
  function writeVarint64(val, buf, pos) {
9454
- while (val.hi) {
9455
- buf[pos++] = val.lo & 127 | 128;
9456
- val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;
9457
- val.hi >>>= 7;
9458
- }
9459
- while (val.lo > 127) {
9460
- buf[pos++] = val.lo & 127 | 128;
9461
- val.lo = val.lo >>> 7;
9462
- }
9463
- buf[pos++] = val.lo;
9589
+ var lo = val.lo,
9590
+ hi = val.hi;
9591
+ while (hi) {
9592
+ buf[pos++] = lo & 127 | 128;
9593
+ lo = (lo >>> 7 | hi << 25) >>> 0;
9594
+ hi >>>= 7;
9595
+ }
9596
+ while (lo > 127) {
9597
+ buf[pos++] = lo & 127 | 128;
9598
+ lo = lo >>> 7;
9599
+ }
9600
+ buf[pos++] = lo;
9464
9601
  }
9465
9602
 
9466
9603
  /**
@@ -9675,15 +9812,15 @@ Writer._configure = function(BufferWriter_) {
9675
9812
  BufferWriter._configure();
9676
9813
  };
9677
9814
 
9678
- },{"39":39}],44:[function(require,module,exports){
9815
+ },{"42":42}],47:[function(require,module,exports){
9679
9816
  "use strict";
9680
9817
  module.exports = BufferWriter;
9681
9818
 
9682
9819
  // extends Writer
9683
- var Writer = require(43);
9820
+ var Writer = require(46);
9684
9821
  (BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
9685
9822
 
9686
- var util = require(39);
9823
+ var util = require(42);
9687
9824
 
9688
9825
  /**
9689
9826
  * Constructs a new buffer writer instance.
@@ -9762,7 +9899,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
9762
9899
 
9763
9900
  BufferWriter._configure();
9764
9901
 
9765
- },{"39":39,"43":43}]},{},[19])
9902
+ },{"42":42,"46":46}]},{},[21])
9766
9903
 
9767
9904
  })();
9768
9905
  //# sourceMappingURL=protobuf.js.map