@qqbrowser/openclaw-qbot 0.10.11 → 0.10.15
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.
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +67 -57
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/bdd.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/endpoint/endpointResolver.js +5 -5
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +46 -50
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/models/BedrockRuntimeServiceException.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.browser.js +16 -18
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.js +21 -26
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.native.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/runtimeConfig.shared.js +9 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/schemas/schemas_0.js +7 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js +7 -10
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.browser.js +6 -8
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js +6 -11
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.native.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +7 -4
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +13 -46
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +67 -55
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +2 -2
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +595 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +717 -2
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +588 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -39
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +59 -0
- package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +36 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +26 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +37 -0
- package/node_modules/@aws-sdk/{middleware-host-header/dist-es/index.js → core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js} +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.js +3 -0
- package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.js +1 -1
- package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/check-features.js +2 -2
- package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/user-agent-middleware.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/region-config-resolver/awsRegionConfig.js +2 -0
- package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +1 -1
- package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/aws.js +1 -1
- package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/isVirtualHostableS3Bucket.js +1 -1
- package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/partition.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/partitions.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/resolveDefaultAwsRegionalEndpointsConfig.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.browser.js +1 -0
- package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getTypeScriptUserAgentPair.js +1 -1
- package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/nodeAppIdConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +7 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +26 -11
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +2 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +2 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +2 -0
- 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
- package/node_modules/@aws-sdk/core/package.json +39 -17
- package/node_modules/@aws-sdk/core/util.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +15 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +10 -10
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +7 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/checkUrl.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.browser.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +13 -7
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/requestHelpers.js +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +18 -12
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +9 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -14
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +14 -15
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -8
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +19 -9
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +7 -8
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/fromProcess.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +16 -17
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/validateSsoProfile.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +3 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +1 -34
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -7
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js +1 -1
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -5
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-websocket/dist-cjs/index.js +13 -15
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js +5 -5
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventSigningTransformStream.js +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/EventStreamPayloadHandler.js +1 -1
- package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +524 -63
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +458 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +403 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +597 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +831 -58
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +6 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +6 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/SigninServiceException.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +6 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/SSOServiceException.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +6 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/SSOOIDCServiceException.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +6 -9
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/endpointResolver.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/models/STSServiceException.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +5 -10
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -37
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +38 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +2 -2
- 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
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/index.js +3 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +18 -19
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +6 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +60 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +6 -6
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@cacheable/memory/package.json +2 -6
- package/node_modules/@clack/core/dist/index.mjs +9 -9
- package/node_modules/@clack/core/package.json +2 -1
- package/node_modules/@clack/prompts/dist/index.mjs +122 -121
- package/node_modules/@clack/prompts/package.json +2 -2
- package/node_modules/@grammyjs/types/package.json +1 -1
- package/node_modules/@nodable/entities/package.json +1 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
- package/node_modules/@nodable/entities/src/entities.js +0 -18
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +440 -73
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +71 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +298 -35
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index-incubating.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/internal/utils.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +78 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +2 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +440 -73
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +71 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +298 -35
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index-incubating.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/internal/utils.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/SemanticResourceAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/resource/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +78 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_events.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_metrics.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/SemanticAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/trace/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +2 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +469 -97
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +72 -13
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +307 -43
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index-incubating.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/internal/utils.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/SemanticResourceAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/resource/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +81 -16
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_events.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_metrics.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/SemanticAttributes.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/trace/index.js +1 -12
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +2 -13
- package/node_modules/@opentelemetry/semantic-conventions/package.json +2 -2
- package/node_modules/@protobufjs/eventemitter/index.js +17 -7
- package/node_modules/@protobufjs/eventemitter/package.json +2 -2
- package/node_modules/@protobufjs/fetch/index.js +4 -7
- package/node_modules/@protobufjs/fetch/package.json +7 -5
- package/node_modules/@protobufjs/fetch/util/fs.js +11 -0
- package/node_modules/@protobufjs/inquire/index.js +1 -0
- package/node_modules/@protobufjs/inquire/package.json +1 -1
- package/node_modules/@slack/bolt/dist/App.js +8 -12
- package/node_modules/@slack/bolt/dist/context/index.js +7 -7
- package/node_modules/@slack/bolt/dist/index.js +16 -16
- package/node_modules/@slack/bolt/dist/receivers/AwsLambdaReceiver.js +2 -0
- package/node_modules/@slack/bolt/dist/receivers/ExpressReceiver.js +8 -1
- package/node_modules/@slack/bolt/dist/receivers/HTTPReceiver.js +4 -2
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +1 -1
- package/node_modules/@slack/bolt/dist/receivers/verify-request.js +3 -0
- package/node_modules/@slack/bolt/dist/receivers/verify-signing-secret.js +12 -0
- package/node_modules/@slack/bolt/dist/types/actions/index.js +1 -1
- package/node_modules/@slack/bolt/dist/types/index.js +3 -3
- package/node_modules/@slack/bolt/package.json +4 -4
- package/node_modules/@slack/web-api/dist/file-upload.js +4 -2
- package/node_modules/@slack/web-api/package.json +2 -2
- package/node_modules/@smithy/core/cbor.js +0 -1
- package/node_modules/@smithy/core/checksum.js +1 -1
- package/node_modules/@smithy/core/client.js +0 -1
- package/node_modules/@smithy/core/config.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +128 -176
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +183 -87
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +128 -176
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
- package/node_modules/@smithy/core/dist-es/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +12 -7
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +9 -5
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +10 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js +19 -21
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/createChecksumStream.browser.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +1 -1
- 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
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/endpoints.js +0 -1
- package/node_modules/@smithy/core/event-streams.js +0 -1
- package/node_modules/@smithy/core/package.json +20 -11
- package/node_modules/@smithy/core/protocols.js +0 -1
- package/node_modules/@smithy/core/retry.js +1 -1
- package/node_modules/@smithy/core/schema.js +0 -1
- package/node_modules/@smithy/core/serde.js +0 -1
- package/node_modules/@smithy/core/transport.js +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +65 -7
- package/node_modules/@smithy/util-utf8/dist-es/index.js +3 -1
- package/node_modules/@smithy/util-utf8/package.json +33 -9
- package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/dist/index.js +10 -5
- package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/package.json +1 -1
- package/node_modules/axios/dist/axios.js +81 -53
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/browser/axios.cjs +96 -64
- package/node_modules/axios/dist/esm/axios.js +96 -64
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/node/axios.cjs +206 -85
- package/node_modules/axios/index.d.cts +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +6 -2
- package/node_modules/axios/lib/adapters/http.js +139 -29
- package/node_modules/axios/lib/adapters/xhr.js +2 -1
- package/node_modules/axios/lib/core/AxiosHeaders.js +1 -33
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/composeSignals.js +48 -47
- package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/node_modules/axios/lib/helpers/fromDataURI.js +18 -5
- package/node_modules/axios/lib/helpers/progressEventReducer.js +3 -0
- package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/axios/lib/utils.js +8 -7
- package/node_modules/axios/node_modules/agent-base/dist/src/index.js +203 -0
- package/node_modules/axios/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/node_modules/axios/node_modules/agent-base/package.json +64 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/node_modules/axios/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules/axios/node_modules/https-proxy-agent/package.json +56 -0
- package/node_modules/axios/package.json +3 -1
- package/node_modules/discord-api-types/package.json +8 -8
- package/node_modules/discord-api-types/payloads/v10/oauth2.js +7 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.js +7 -0
- package/node_modules/discord-api-types/rest/v10/index.js +3 -2
- package/node_modules/discord-api-types/rest/v9/index.js +3 -2
- package/node_modules/es-object-atoms/package.json +6 -7
- package/node_modules/es-object-atoms/tsconfig.json +1 -0
- package/node_modules/eventsource-parser/dist/index.cjs +21 -10
- package/node_modules/eventsource-parser/dist/index.d.cts +33 -10
- package/node_modules/eventsource-parser/dist/index.js +21 -10
- package/node_modules/eventsource-parser/dist/stream.cjs +4 -3
- package/node_modules/eventsource-parser/dist/stream.d.cts +16 -3
- package/node_modules/eventsource-parser/dist/stream.js +4 -3
- package/node_modules/eventsource-parser/package.json +8 -8
- package/node_modules/express-rate-limit/dist/index.cjs +1 -1
- package/node_modules/express-rate-limit/dist/index.mjs +1 -1
- package/node_modules/express-rate-limit/package.json +9 -9
- package/node_modules/fast-wrap-ansi/lib/main.js +0 -1
- package/node_modules/fast-wrap-ansi/package.json +10 -10
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/package.json +2 -4
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +1 -1
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +4 -0
- package/node_modules/grammy/out/bot.js +1 -0
- package/node_modules/grammy/out/context.js +236 -74
- package/node_modules/grammy/out/convenience/constants.js +1 -0
- package/node_modules/grammy/out/convenience/frameworks.js +21 -17
- package/node_modules/grammy/out/core/api.js +280 -141
- package/node_modules/grammy/out/filter.js +5 -1
- package/node_modules/grammy/out/web.mjs +191 -61
- package/node_modules/grammy/package.json +2 -2
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/linkify-it/build/index.cjs.js +99 -94
- package/node_modules/linkify-it/index.mjs +99 -94
- package/node_modules/linkify-it/package.json +11 -1
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +81 -41
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +1 -2
- package/node_modules/lru-cache/dist/commonjs/index.js +81 -41
- package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/index.js +81 -41
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +1 -2
- package/node_modules/lru-cache/dist/commonjs/perf.js +1 -2
- package/node_modules/lru-cache/dist/esm/browser/index.js +81 -41
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/browser/perf.js +1 -2
- package/node_modules/lru-cache/dist/esm/index.js +81 -41
- package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/node/index.js +81 -41
- package/node_modules/lru-cache/dist/esm/node/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/node/perf.js +1 -2
- package/node_modules/lru-cache/dist/esm/perf.js +1 -2
- package/node_modules/lru-cache/package.json +8 -8
- package/node_modules/markdown-it/dist/index.cjs.js +111 -31
- package/node_modules/markdown-it/dist/markdown-it.js +117 -31
- package/node_modules/markdown-it/dist/markdown-it.min.js +2 -2
- package/node_modules/markdown-it/lib/common/utils.mjs +30 -1
- package/node_modules/markdown-it/lib/index.mjs +1 -1
- package/node_modules/markdown-it/lib/rules_block/heading.mjs +2 -2
- package/node_modules/markdown-it/lib/rules_block/html_block.mjs +12 -1
- package/node_modules/markdown-it/lib/rules_block/lheading.mjs +4 -1
- package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +3 -1
- package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +37 -21
- package/node_modules/markdown-it/lib/rules_inline/entity.mjs +2 -2
- package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +37 -6
- package/node_modules/markdown-it/package.json +14 -3
- package/node_modules/protobufjs/dist/light/protobuf.js +354 -234
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/minimal/protobuf.js +75 -29
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.js +425 -286
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/ext/descriptor/index.js +7 -2
- package/node_modules/protobufjs/package.json +8 -5
- package/node_modules/protobufjs/src/converter.js +17 -10
- package/node_modules/protobufjs/src/encoder.js +8 -5
- package/node_modules/protobufjs/src/enum.js +2 -2
- package/node_modules/protobufjs/src/field.js +1 -1
- package/node_modules/protobufjs/src/namespace.js +10 -4
- package/node_modules/protobufjs/src/object.js +6 -6
- package/node_modules/protobufjs/src/parse.js +49 -30
- package/node_modules/protobufjs/src/root.js +18 -10
- package/node_modules/protobufjs/src/roots.js +1 -1
- package/node_modules/protobufjs/src/service.js +4 -2
- package/node_modules/protobufjs/src/type.js +12 -7
- package/node_modules/protobufjs/src/util/fs.js +11 -0
- package/node_modules/protobufjs/src/util/minimal.js +42 -9
- package/node_modules/protobufjs/src/util/patterns.js +0 -1
- package/node_modules/protobufjs/src/util.js +19 -4
- package/node_modules/protobufjs/src/wrappers.js +11 -7
- package/node_modules/protobufjs/src/writer.js +11 -9
- package/node_modules/qs/dist/qs.js +15 -15
- package/node_modules/qs/eslint.config.mjs +1 -0
- package/node_modules/qs/lib/parse.js +52 -22
- package/node_modules/qs/lib/stringify.js +11 -4
- package/node_modules/qs/package.json +2 -2
- package/node_modules/semver/classes/range.js +7 -0
- package/node_modules/semver/package.json +1 -1
- package/node_modules/semver/ranges/subset.js +2 -2
- package/node_modules/shell-quote/package.json +5 -6
- package/node_modules/shell-quote/quote.js +43 -1
- package/node_modules/thread-stream/.claude/settings.local.json +15 -0
- package/node_modules/thread-stream/CLAUDE.md +64 -0
- package/node_modules/thread-stream/index.js +41 -13
- package/node_modules/thread-stream/lib/indexes.js +3 -1
- package/node_modules/thread-stream/lib/worker.js +20 -8
- package/node_modules/thread-stream/package.json +1 -1
- package/node_modules/type-is/index.js +8 -18
- package/node_modules/type-is/node_modules/content-type/dist/index.js +170 -0
- package/node_modules/type-is/node_modules/content-type/package.json +52 -0
- package/node_modules/type-is/package.json +9 -5
- package/node_modules/undici/lib/api/api-request.js +1 -1
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +3 -3
- package/node_modules/undici/lib/core/connect.js +16 -0
- package/node_modules/undici/lib/core/request.js +17 -2
- package/node_modules/undici/lib/core/socks5-client.js +10 -5
- package/node_modules/undici/lib/core/socks5-utils.js +17 -22
- package/node_modules/undici/lib/dispatcher/client-h1.js +64 -20
- package/node_modules/undici/lib/dispatcher/client.js +6 -2
- package/node_modules/undici/lib/dispatcher/h2c-client.js +1 -1
- package/node_modules/undici/lib/global.js +10 -1
- package/node_modules/undici/lib/mock/mock-call-history.js +15 -15
- package/node_modules/undici/lib/util/cache.js +8 -7
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +17 -6
- package/node_modules/undici/lib/web/fetch/index.js +5 -2
- package/node_modules/undici/lib/web/webidl/index.js +5 -5
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +1 -7
- package/node_modules/undici/package.json +1 -1
- package/node_modules/ws/lib/receiver.js +54 -0
- package/node_modules/ws/lib/sender.js +6 -1
- package/node_modules/ws/lib/websocket-server.js +8 -0
- package/node_modules/ws/lib/websocket.js +14 -0
- package/node_modules/ws/package.json +1 -1
- package/package.json +1 -1
- package/skills/qqbrowser-playbook/SKILL.md +330 -0
- package/skills/qqbrowser-skill/SKILL.md +355 -160
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/package.json +0 -66
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json +0 -66
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttpTypes.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +0 -157
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/constants.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +0 -16
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +0 -81
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +0 -11
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +0 -10
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js +0 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js +0 -7
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +0 -8
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +0 -70
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +0 -41
- package/node_modules/@aws-sdk/middleware-host-header/package.json +0 -59
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +0 -48
- package/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/middleware-logger/package.json +0 -59
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +0 -29
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +0 -33
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +0 -5
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +0 -63
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +0 -581
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/bucket-endpoint-middleware.js +0 -36
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/check-content-length-header.js +0 -32
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +0 -9
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +0 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-endpoint-middleware.js +0 -41
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +0 -42
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-expires-middleware.js +0 -33
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCache.js +0 -39
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityCacheEntry.js +0 -14
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/classes/S3ExpressIdentityProviderImpl.js +0 -49
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/constants.js +0 -13
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -38
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +0 -41
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/signS3Express.js +0 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentity.js +0 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/interfaces/S3ExpressIdentityProvider.js +0 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3Configuration.js +0 -17
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/throw-200-exceptions.js +0 -51
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.browser.js +0 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/toStream.js +0 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/validate-bucket-name.js +0 -25
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +0 -79
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +0 -194
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +0 -63
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +0 -60
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/bdd.js +0 -100
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +0 -121
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +0 -54
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +0 -50
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +0 -110
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +0 -56
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/bdd.js +0 -90
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +0 -64
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.browser.js +0 -39
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +0 -54
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +0 -49
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +0 -125
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +0 -56
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/bdd.js +0 -80
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +0 -56
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +0 -54
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +0 -49
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +0 -90
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +0 -56
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/bdd.js +0 -80
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +0 -195
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +0 -54
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +0 -49
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +0 -140
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +0 -55
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js +0 -43
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +0 -144
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +0 -19
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/bdd.js +0 -150
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +0 -12
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +0 -96
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.browser.js +0 -39
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +0 -74
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.native.js +0 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +0 -57
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +0 -13
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +0 -195
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +0 -38
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +0 -20
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +0 -6
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +0 -3
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +0 -2
- package/node_modules/@aws-sdk/region-config-resolver/package.json +0 -62
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +0 -27
- package/node_modules/@aws-sdk/util-arn-parser/package.json +0 -55
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -406
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/util-format-url/dist-cjs/index.js +0 -34
- package/node_modules/@aws-sdk/util-format-url/package.json +0 -56
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +0 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +0 -57
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +0 -58
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +0 -22
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +0 -55
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +0 -185
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +0 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +0 -69
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +0 -22
- package/node_modules/@smithy/config-resolver/dist-es/index.js +0 -1
- package/node_modules/@smithy/config-resolver/package.json +0 -41
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +0 -11
- package/node_modules/@smithy/eventstream-codec/dist-es/index.js +0 -1
- package/node_modules/@smithy/eventstream-codec/package.json +0 -44
- package/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +0 -9
- package/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +0 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +0 -44
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +0 -1
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +0 -44
- package/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +0 -6
- package/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +0 -1
- package/node_modules/@smithy/eventstream-serde-node/package.json +0 -44
- package/node_modules/@smithy/hash-node/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/hash-node/dist-es/index.js +0 -1
- package/node_modules/@smithy/hash-node/package.json +0 -41
- package/node_modules/@smithy/invalid-dependency/dist-cjs/index.js +0 -6
- package/node_modules/@smithy/invalid-dependency/dist-es/index.js +0 -1
- package/node_modules/@smithy/invalid-dependency/package.json +0 -41
- package/node_modules/@smithy/middleware-content-length/dist-cjs/index.js +0 -7
- package/node_modules/@smithy/middleware-content-length/dist-es/index.js +0 -1
- package/node_modules/@smithy/middleware-content-length/package.json +0 -41
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +0 -12
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +0 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +0 -41
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +0 -22
- package/node_modules/@smithy/middleware-retry/dist-es/index.js +0 -1
- package/node_modules/@smithy/middleware-retry/package.json +0 -41
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +0 -9
- package/node_modules/@smithy/middleware-serde/dist-es/index.js +0 -1
- package/node_modules/@smithy/middleware-serde/package.json +0 -41
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/middleware-stack/dist-es/index.js +0 -1
- package/node_modules/@smithy/middleware-stack/package.json +0 -43
- package/node_modules/@smithy/node-config-provider/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/node-config-provider/dist-es/index.js +0 -1
- package/node_modules/@smithy/node-config-provider/package.json +0 -43
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/property-provider/dist-cjs/index.js +0 -10
- package/node_modules/@smithy/property-provider/dist-es/index.js +0 -1
- package/node_modules/@smithy/property-provider/package.json +0 -41
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +0 -11
- package/node_modules/@smithy/protocol-http/dist-es/index.js +0 -1
- package/node_modules/@smithy/protocol-http/package.json +0 -42
- package/node_modules/@smithy/querystring-builder/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/querystring-builder/dist-es/index.js +0 -1
- package/node_modules/@smithy/querystring-builder/package.json +0 -41
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +0 -16
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js +0 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +0 -41
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +0 -75
- package/node_modules/@smithy/smithy-client/dist-es/index.js +0 -3
- package/node_modules/@smithy/smithy-client/package.json +0 -42
- package/node_modules/@smithy/url-parser/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/url-parser/dist-es/index.js +0 -1
- package/node_modules/@smithy/url-parser/package.json +0 -41
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +0 -6
- package/node_modules/@smithy/util-base64/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-base64/package.json +0 -42
- package/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/util-body-length-browser/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-body-length-browser/package.json +0 -42
- package/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/util-body-length-node/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-body-length-node/package.json +0 -42
- package/node_modules/@smithy/util-config-provider/dist-cjs/index.js +0 -7
- package/node_modules/@smithy/util-config-provider/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-config-provider/package.json +0 -43
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +0 -41
- package/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js +0 -5
- package/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-defaults-mode-node/package.json +0 -41
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +0 -12
- package/node_modules/@smithy/util-endpoints/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-endpoints/package.json +0 -45
- package/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js +0 -6
- package/node_modules/@smithy/util-hex-encoding/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-hex-encoding/package.json +0 -42
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +0 -6
- package/node_modules/@smithy/util-middleware/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-middleware/package.json +0 -46
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +0 -21
- package/node_modules/@smithy/util-retry/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-retry/package.json +0 -46
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +0 -14
- package/node_modules/@smithy/util-stream/dist-es/index.js +0 -1
- package/node_modules/@smithy/util-stream/package.json +0 -43
- package/node_modules/shell-quote/print.py +0 -3
- /package/node_modules/@aws-sdk/{middleware-logger/dist-es → core/dist-es/submodules/client/middleware-logger}/loggerMiddleware.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/configuration.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/getRecursionDetectionPlugin.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.browser.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-recursion-detection/dist-es → core/dist-es/submodules/client/middleware-recursion-detection}/recursionDetectionMiddleware.native.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/configurations.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/constants.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-user-agent/dist-es → core/dist-es/submodules/client/middleware-user-agent}/encode-features.js +0 -0
- /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
- /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.browser.js +0 -0
- /package/node_modules/@aws-sdk/{region-config-resolver/dist-es/regionConfig → core/dist-es/submodules/client/region-config-resolver}/stsRegionDefaultResolver.native.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/lib/aws/parseArn.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/EndpointRuleObject.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/ErrorRuleObject.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/RuleSetObject.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/TreeRuleObject.js +0 -0
- /package/node_modules/@aws-sdk/{util-endpoints/dist-es → core/dist-es/submodules/client/util-endpoints}/types/shared.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/configurations.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-browser/dist-es → core/dist-es/submodules/client/util-user-agent-browser}/createUserAgentStringParsingProvider.js +0 -0
- /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
- /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
- /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
- /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/defaultUserAgent.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getNodeModulesParentDirs.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getRuntimeUserAgentPair.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedDevTypeScriptVersion.js +0 -0
- /package/node_modules/@aws-sdk/{util-user-agent-node/dist-es → core/dist-es/submodules/client/util-user-agent-node}/getSanitizedTypeScriptVersion.js +0 -0
- /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
- /package/node_modules/@aws-sdk/{util-arn-parser/dist-es/index.js → core/dist-es/submodules/util/util-arn-parser/arn.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.browser.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/fromUtf8.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUint8Array.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.browser.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-cjs/toUtf8.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.browser.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/fromUtf8.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUint8Array.js +0 -0
- /package/node_modules/{@aws-crypto/sha256-browser/node_modules/@smithy → @smithy}/util-utf8/dist-es/toUtf8.browser.js +0 -0
- /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.
|
|
3
|
-
* compiled sat,
|
|
2
|
+
* protobuf.js v7.6.2 (c) 2016, daniel wirtz
|
|
3
|
+
* compiled sat, 30 may 2026 21:57:57 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 {
|
|
380
|
+
* @param {EventEmitterListener} fn Listener
|
|
373
381
|
* @param {*} [ctx] Listener context
|
|
374
|
-
* @returns {
|
|
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 {
|
|
388
|
-
* @returns {
|
|
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 {
|
|
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
|
-
|
|
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
|
-
* @
|
|
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 {
|
|
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 {
|
|
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,"
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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(
|
|
1553
|
-
util = require(
|
|
1575
|
+
var Enum = require(17),
|
|
1576
|
+
util = require(39);
|
|
1554
1577
|
|
|
1555
1578
|
/**
|
|
1556
1579
|
* Generates a partial value fromObject conveter.
|
|
@@ -1585,7 +1608,7 @@ function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
|
|
|
1585
1608
|
} gen
|
|
1586
1609
|
("}");
|
|
1587
1610
|
} else gen
|
|
1588
|
-
("if(
|
|
1611
|
+
("if(!util.isObject(d%s))", prop)
|
|
1589
1612
|
("throw TypeError(%j)", field.fullName + ": object expected")
|
|
1590
1613
|
("m%s=types[%i].fromObject(d%s,n+1)", prop, fieldIndex, prop);
|
|
1591
1614
|
} else {
|
|
@@ -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
|
-
("
|
|
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)
|
|
@@ -1652,6 +1675,8 @@ converter.fromObject = function fromObject(mtype) {
|
|
|
1652
1675
|
var gen = util.codegen(["d", "n"], mtype.name + "$fromObject")
|
|
1653
1676
|
("if(d instanceof this.ctor)")
|
|
1654
1677
|
("return d")
|
|
1678
|
+
("if(!util.isObject(d))")
|
|
1679
|
+
("throw TypeError(%j)", mtype.fullName + ": object expected")
|
|
1655
1680
|
("if(n===undefined)n=0")
|
|
1656
1681
|
("if(n>util.recursionLimit)")
|
|
1657
1682
|
("throw Error(\"maximum nesting depth exceeded\")");
|
|
@@ -1666,7 +1691,7 @@ converter.fromObject = function fromObject(mtype) {
|
|
|
1666
1691
|
// Map fields
|
|
1667
1692
|
if (field.map) { gen
|
|
1668
1693
|
("if(d%s){", prop)
|
|
1669
|
-
("if(
|
|
1694
|
+
("if(!util.isObject(d%s))", prop)
|
|
1670
1695
|
("throw TypeError(%j)", field.fullName + ": object expected")
|
|
1671
1696
|
("m%s={}", prop)
|
|
1672
1697
|
("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){", prop);
|
|
@@ -1716,7 +1741,7 @@ function genValuePartial_toObject(gen, field, fieldIndex, prop) {
|
|
|
1716
1741
|
if (field.resolvedType instanceof Enum) gen
|
|
1717
1742
|
("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
1743
|
else gen
|
|
1719
|
-
("d%s=types[%i].toObject(m%s,o)", prop, fieldIndex, prop);
|
|
1744
|
+
("d%s=types[%i].toObject(m%s,o,q+1)", prop, fieldIndex, prop);
|
|
1720
1745
|
} else {
|
|
1721
1746
|
var isUnsigned = false;
|
|
1722
1747
|
switch (field.type) {
|
|
@@ -1725,13 +1750,15 @@ function genValuePartial_toObject(gen, field, fieldIndex, prop) {
|
|
|
1725
1750
|
("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s", prop, prop, prop, prop);
|
|
1726
1751
|
break;
|
|
1727
1752
|
case "uint64":
|
|
1753
|
+
case "fixed64":
|
|
1728
1754
|
isUnsigned = true;
|
|
1729
1755
|
// eslint-disable-next-line no-fallthrough
|
|
1730
1756
|
case "int64":
|
|
1731
1757
|
case "sint64":
|
|
1732
|
-
case "fixed64":
|
|
1733
1758
|
case "sfixed64": gen
|
|
1734
|
-
("if(typeof
|
|
1759
|
+
("if(typeof BigInt!==\"undefined\"&&o.longs===BigInt)")
|
|
1760
|
+
("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)
|
|
1761
|
+
("else if(typeof m%s===\"number\")", prop)
|
|
1735
1762
|
("d%s=o.longs===String?String(m%s):m%s", prop, prop, prop)
|
|
1736
1763
|
("else") // Long-like
|
|
1737
1764
|
("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 +1785,12 @@ converter.toObject = function toObject(mtype) {
|
|
|
1758
1785
|
var fields = mtype.fieldsArray.slice().sort(util.compareFieldsById);
|
|
1759
1786
|
if (!fields.length)
|
|
1760
1787
|
return util.codegen()("return {}");
|
|
1761
|
-
var gen = util.codegen(["m", "o"], mtype.name + "$toObject")
|
|
1788
|
+
var gen = util.codegen(["m", "o", "q"], mtype.name + "$toObject")
|
|
1762
1789
|
("if(!o)")
|
|
1763
1790
|
("o={}")
|
|
1791
|
+
("if(q===undefined)q=0")
|
|
1792
|
+
("if(q>util.recursionLimit)")
|
|
1793
|
+
("throw Error(\"max depth exceeded\")")
|
|
1764
1794
|
("var d={}");
|
|
1765
1795
|
|
|
1766
1796
|
var repeatedFields = [],
|
|
@@ -1799,9 +1829,9 @@ converter.toObject = function toObject(mtype) {
|
|
|
1799
1829
|
else if (field.long) gen
|
|
1800
1830
|
("if(util.Long){")
|
|
1801
1831
|
("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)
|
|
1832
|
+
("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():typeof BigInt!==\"undefined\"&&o.longs===BigInt?n.toBigInt():n", prop)
|
|
1803
1833
|
("}else")
|
|
1804
|
-
("d%s=o.longs===String?%j:%i", prop, field.typeDefault.toString(), field.typeDefault.toNumber());
|
|
1834
|
+
("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
1835
|
else if (field.bytes) {
|
|
1806
1836
|
var arrayDefault = Array.prototype.slice.call(field.typeDefault);
|
|
1807
1837
|
gen
|
|
@@ -1853,13 +1883,13 @@ converter.toObject = function toObject(mtype) {
|
|
|
1853
1883
|
/* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
|
|
1854
1884
|
};
|
|
1855
1885
|
|
|
1856
|
-
},{"
|
|
1886
|
+
},{"17":17,"39":39}],15:[function(require,module,exports){
|
|
1857
1887
|
"use strict";
|
|
1858
1888
|
module.exports = decoder;
|
|
1859
1889
|
|
|
1860
|
-
var Enum = require(
|
|
1861
|
-
types = require(
|
|
1862
|
-
util = require(
|
|
1890
|
+
var Enum = require(17),
|
|
1891
|
+
types = require(38),
|
|
1892
|
+
util = require(39);
|
|
1863
1893
|
|
|
1864
1894
|
function missing(field) {
|
|
1865
1895
|
return "missing required '" + field.name + "'";
|
|
@@ -1990,13 +2020,13 @@ function decoder(mtype) {
|
|
|
1990
2020
|
/* eslint-enable no-unexpected-multiline */
|
|
1991
2021
|
}
|
|
1992
2022
|
|
|
1993
|
-
},{"
|
|
2023
|
+
},{"17":17,"38":38,"39":39}],16:[function(require,module,exports){
|
|
1994
2024
|
"use strict";
|
|
1995
2025
|
module.exports = encoder;
|
|
1996
2026
|
|
|
1997
|
-
var Enum = require(
|
|
1998
|
-
types = require(
|
|
1999
|
-
util = require(
|
|
2027
|
+
var Enum = require(17),
|
|
2028
|
+
types = require(38),
|
|
2029
|
+
util = require(39);
|
|
2000
2030
|
|
|
2001
2031
|
/**
|
|
2002
2032
|
* Generates a partial message type encoder.
|
|
@@ -2009,8 +2039,8 @@ var Enum = require(15),
|
|
|
2009
2039
|
*/
|
|
2010
2040
|
function genTypePartial(gen, field, fieldIndex, ref) {
|
|
2011
2041
|
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);
|
|
2042
|
+
? gen("types[%i].encode(%s,w.uint32(%i),q+1).uint32(%i)", fieldIndex, ref, (field.id << 3 | 3) >>> 0, (field.id << 3 | 4) >>> 0)
|
|
2043
|
+
: gen("types[%i].encode(%s,w.uint32(%i).fork(),q+1).ldelim()", fieldIndex, ref, (field.id << 3 | 2) >>> 0);
|
|
2014
2044
|
}
|
|
2015
2045
|
|
|
2016
2046
|
/**
|
|
@@ -2020,9 +2050,12 @@ function genTypePartial(gen, field, fieldIndex, ref) {
|
|
|
2020
2050
|
*/
|
|
2021
2051
|
function encoder(mtype) {
|
|
2022
2052
|
/* eslint-disable no-unexpected-multiline, block-scoped-var, no-redeclare */
|
|
2023
|
-
var gen = util.codegen(["m", "w"], mtype.name + "$encode")
|
|
2053
|
+
var gen = util.codegen(["m", "w", "q"], mtype.name + "$encode")
|
|
2024
2054
|
("if(!w)")
|
|
2025
|
-
("w=Writer.create()")
|
|
2055
|
+
("w=Writer.create()")
|
|
2056
|
+
("if(q===undefined)q=0")
|
|
2057
|
+
("if(q>util.recursionLimit)")
|
|
2058
|
+
("throw Error(\"max depth exceeded\")");
|
|
2026
2059
|
|
|
2027
2060
|
var i, ref;
|
|
2028
2061
|
|
|
@@ -2043,7 +2076,7 @@ function encoder(mtype) {
|
|
|
2043
2076
|
("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){", ref)
|
|
2044
2077
|
("w.uint32(%i).fork().uint32(%i).%s(ks[i])", (field.id << 3 | 2) >>> 0, 8 | types.mapKey[field.keyType], field.keyType);
|
|
2045
2078
|
if (wireType === undefined) gen
|
|
2046
|
-
("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()", index, ref); // can't be groups
|
|
2079
|
+
("types[%i].encode(%s[ks[i]],w.uint32(18).fork(),q+1).ldelim().ldelim()", index, ref); // can't be groups
|
|
2047
2080
|
else gen
|
|
2048
2081
|
(".uint32(%i).%s(%s[ks[i]]).ldelim()", 16 | wireType, type, ref);
|
|
2049
2082
|
gen
|
|
@@ -2092,16 +2125,16 @@ function encoder(mtype) {
|
|
|
2092
2125
|
/* eslint-enable no-unexpected-multiline, block-scoped-var, no-redeclare */
|
|
2093
2126
|
}
|
|
2094
2127
|
|
|
2095
|
-
},{"
|
|
2128
|
+
},{"17":17,"38":38,"39":39}],17:[function(require,module,exports){
|
|
2096
2129
|
"use strict";
|
|
2097
2130
|
module.exports = Enum;
|
|
2098
2131
|
|
|
2099
2132
|
// extends ReflectionObject
|
|
2100
|
-
var ReflectionObject = require(
|
|
2133
|
+
var ReflectionObject = require(26);
|
|
2101
2134
|
((Enum.prototype = Object.create(ReflectionObject.prototype)).constructor = Enum).className = "Enum";
|
|
2102
2135
|
|
|
2103
|
-
var Namespace = require(
|
|
2104
|
-
util = require(
|
|
2136
|
+
var Namespace = require(25),
|
|
2137
|
+
util = require(39);
|
|
2105
2138
|
|
|
2106
2139
|
/**
|
|
2107
2140
|
* Constructs a new enum instance.
|
|
@@ -2181,8 +2214,8 @@ Enum.prototype._resolveFeatures = function _resolveFeatures(edition) {
|
|
|
2181
2214
|
ReflectionObject.prototype._resolveFeatures.call(this, edition);
|
|
2182
2215
|
|
|
2183
2216
|
Object.keys(this.values).forEach(key => {
|
|
2184
|
-
var parentFeaturesCopy =
|
|
2185
|
-
this._valuesFeatures[key] =
|
|
2217
|
+
var parentFeaturesCopy = util.merge({}, this._features);
|
|
2218
|
+
this._valuesFeatures[key] = util.merge(parentFeaturesCopy, this.valuesOptions && this.valuesOptions[key] && this.valuesOptions[key].features || {});
|
|
2186
2219
|
});
|
|
2187
2220
|
|
|
2188
2221
|
return this;
|
|
@@ -2320,17 +2353,17 @@ Enum.prototype.isReservedName = function isReservedName(name) {
|
|
|
2320
2353
|
return Namespace.isReservedName(this.reserved, name);
|
|
2321
2354
|
};
|
|
2322
2355
|
|
|
2323
|
-
},{"
|
|
2356
|
+
},{"25":25,"26":26,"39":39}],18:[function(require,module,exports){
|
|
2324
2357
|
"use strict";
|
|
2325
2358
|
module.exports = Field;
|
|
2326
2359
|
|
|
2327
2360
|
// extends ReflectionObject
|
|
2328
|
-
var ReflectionObject = require(
|
|
2361
|
+
var ReflectionObject = require(26);
|
|
2329
2362
|
((Field.prototype = Object.create(ReflectionObject.prototype)).constructor = Field).className = "Field";
|
|
2330
2363
|
|
|
2331
|
-
var Enum = require(
|
|
2332
|
-
types = require(
|
|
2333
|
-
util = require(
|
|
2364
|
+
var Enum = require(17),
|
|
2365
|
+
types = require(38),
|
|
2366
|
+
util = require(39);
|
|
2334
2367
|
|
|
2335
2368
|
var Type; // cyclic
|
|
2336
2369
|
|
|
@@ -2651,7 +2684,7 @@ Field.prototype.resolve = function resolve() {
|
|
|
2651
2684
|
|
|
2652
2685
|
// convert to internal data type if necesssary
|
|
2653
2686
|
if (this.long) {
|
|
2654
|
-
this.typeDefault = util.Long.fromNumber(this.typeDefault, this.type.
|
|
2687
|
+
this.typeDefault = util.Long.fromNumber(this.typeDefault, this.type === "uint64" || this.type === "fixed64");
|
|
2655
2688
|
|
|
2656
2689
|
/* istanbul ignore else */
|
|
2657
2690
|
if (Object.freeze)
|
|
@@ -2775,9 +2808,9 @@ Field._configure = function configure(Type_) {
|
|
|
2775
2808
|
Type = Type_;
|
|
2776
2809
|
};
|
|
2777
2810
|
|
|
2778
|
-
},{"
|
|
2811
|
+
},{"17":17,"26":26,"38":38,"39":39}],19:[function(require,module,exports){
|
|
2779
2812
|
"use strict";
|
|
2780
|
-
var protobuf = module.exports = require(
|
|
2813
|
+
var protobuf = module.exports = require(20);
|
|
2781
2814
|
|
|
2782
2815
|
protobuf.build = "light";
|
|
2783
2816
|
|
|
@@ -2850,30 +2883,30 @@ function loadSync(filename, root) {
|
|
|
2850
2883
|
protobuf.loadSync = loadSync;
|
|
2851
2884
|
|
|
2852
2885
|
// Serialization
|
|
2853
|
-
protobuf.encoder = require(
|
|
2854
|
-
protobuf.decoder = require(
|
|
2855
|
-
protobuf.verifier = require(
|
|
2856
|
-
protobuf.converter = require(
|
|
2886
|
+
protobuf.encoder = require(16);
|
|
2887
|
+
protobuf.decoder = require(15);
|
|
2888
|
+
protobuf.verifier = require(44);
|
|
2889
|
+
protobuf.converter = require(14);
|
|
2857
2890
|
|
|
2858
2891
|
// Reflection
|
|
2859
|
-
protobuf.ReflectionObject = require(
|
|
2860
|
-
protobuf.Namespace = require(
|
|
2861
|
-
protobuf.Root = require(
|
|
2862
|
-
protobuf.Enum = require(
|
|
2863
|
-
protobuf.Type = require(
|
|
2864
|
-
protobuf.Field = require(
|
|
2865
|
-
protobuf.OneOf = require(
|
|
2866
|
-
protobuf.MapField = require(
|
|
2867
|
-
protobuf.Service = require(
|
|
2868
|
-
protobuf.Method = require(
|
|
2892
|
+
protobuf.ReflectionObject = require(26);
|
|
2893
|
+
protobuf.Namespace = require(25);
|
|
2894
|
+
protobuf.Root = require(31);
|
|
2895
|
+
protobuf.Enum = require(17);
|
|
2896
|
+
protobuf.Type = require(37);
|
|
2897
|
+
protobuf.Field = require(18);
|
|
2898
|
+
protobuf.OneOf = require(27);
|
|
2899
|
+
protobuf.MapField = require(22);
|
|
2900
|
+
protobuf.Service = require(35);
|
|
2901
|
+
protobuf.Method = require(24);
|
|
2869
2902
|
|
|
2870
2903
|
// Runtime
|
|
2871
|
-
protobuf.Message = require(
|
|
2872
|
-
protobuf.wrappers = require(
|
|
2904
|
+
protobuf.Message = require(23);
|
|
2905
|
+
protobuf.wrappers = require(45);
|
|
2873
2906
|
|
|
2874
2907
|
// Utility
|
|
2875
|
-
protobuf.types = require(
|
|
2876
|
-
protobuf.util = require(
|
|
2908
|
+
protobuf.types = require(38);
|
|
2909
|
+
protobuf.util = require(39);
|
|
2877
2910
|
|
|
2878
2911
|
// Set up possibly cyclic reflection dependencies
|
|
2879
2912
|
protobuf.ReflectionObject._configure(protobuf.Root);
|
|
@@ -2881,7 +2914,7 @@ protobuf.Namespace._configure(protobuf.Type, protobuf.Service, protobuf.Enum);
|
|
|
2881
2914
|
protobuf.Root._configure(protobuf.Type);
|
|
2882
2915
|
protobuf.Field._configure(protobuf.Type);
|
|
2883
2916
|
|
|
2884
|
-
},{"
|
|
2917
|
+
},{"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
2918
|
"use strict";
|
|
2886
2919
|
var protobuf = exports;
|
|
2887
2920
|
|
|
@@ -2894,15 +2927,15 @@ var protobuf = exports;
|
|
|
2894
2927
|
protobuf.build = "minimal";
|
|
2895
2928
|
|
|
2896
2929
|
// Serialization
|
|
2897
|
-
protobuf.Writer = require(
|
|
2898
|
-
protobuf.BufferWriter = require(
|
|
2899
|
-
protobuf.Reader = require(
|
|
2900
|
-
protobuf.BufferReader = require(
|
|
2930
|
+
protobuf.Writer = require(46);
|
|
2931
|
+
protobuf.BufferWriter = require(47);
|
|
2932
|
+
protobuf.Reader = require(29);
|
|
2933
|
+
protobuf.BufferReader = require(30);
|
|
2901
2934
|
|
|
2902
2935
|
// Utility
|
|
2903
|
-
protobuf.util = require(
|
|
2904
|
-
protobuf.rpc = require(
|
|
2905
|
-
protobuf.roots = require(
|
|
2936
|
+
protobuf.util = require(42);
|
|
2937
|
+
protobuf.rpc = require(33);
|
|
2938
|
+
protobuf.roots = require(32);
|
|
2906
2939
|
protobuf.configure = configure;
|
|
2907
2940
|
|
|
2908
2941
|
/* istanbul ignore next */
|
|
@@ -2919,30 +2952,30 @@ function configure() {
|
|
|
2919
2952
|
// Set up buffer utility according to the environment
|
|
2920
2953
|
configure();
|
|
2921
2954
|
|
|
2922
|
-
},{"
|
|
2955
|
+
},{"29":29,"30":30,"32":32,"33":33,"42":42,"46":46,"47":47}],21:[function(require,module,exports){
|
|
2923
2956
|
"use strict";
|
|
2924
|
-
var protobuf = module.exports = require(
|
|
2957
|
+
var protobuf = module.exports = require(19);
|
|
2925
2958
|
|
|
2926
2959
|
protobuf.build = "full";
|
|
2927
2960
|
|
|
2928
2961
|
// Parser
|
|
2929
|
-
protobuf.tokenize = require(
|
|
2930
|
-
protobuf.parse = require(
|
|
2931
|
-
protobuf.common = require(
|
|
2962
|
+
protobuf.tokenize = require(36);
|
|
2963
|
+
protobuf.parse = require(28);
|
|
2964
|
+
protobuf.common = require(13);
|
|
2932
2965
|
|
|
2933
2966
|
// Configure parser
|
|
2934
2967
|
protobuf.Root._configure(protobuf.Type, protobuf.parse, protobuf.common);
|
|
2935
2968
|
|
|
2936
|
-
},{"
|
|
2969
|
+
},{"13":13,"19":19,"28":28,"36":36}],22:[function(require,module,exports){
|
|
2937
2970
|
"use strict";
|
|
2938
2971
|
module.exports = MapField;
|
|
2939
2972
|
|
|
2940
2973
|
// extends Field
|
|
2941
|
-
var Field = require(
|
|
2974
|
+
var Field = require(18);
|
|
2942
2975
|
((MapField.prototype = Object.create(Field.prototype)).constructor = MapField).className = "MapField";
|
|
2943
2976
|
|
|
2944
|
-
var types = require(
|
|
2945
|
-
util = require(
|
|
2977
|
+
var types = require(38),
|
|
2978
|
+
util = require(39);
|
|
2946
2979
|
|
|
2947
2980
|
/**
|
|
2948
2981
|
* Constructs a new map field instance.
|
|
@@ -3061,11 +3094,11 @@ MapField.d = function decorateMapField(fieldId, fieldKeyType, fieldValueType) {
|
|
|
3061
3094
|
};
|
|
3062
3095
|
};
|
|
3063
3096
|
|
|
3064
|
-
},{"
|
|
3097
|
+
},{"18":18,"38":38,"39":39}],23:[function(require,module,exports){
|
|
3065
3098
|
"use strict";
|
|
3066
3099
|
module.exports = Message;
|
|
3067
3100
|
|
|
3068
|
-
var util = require(
|
|
3101
|
+
var util = require(42);
|
|
3069
3102
|
|
|
3070
3103
|
/**
|
|
3071
3104
|
* Constructs a new message instance.
|
|
@@ -3206,15 +3239,15 @@ Message.prototype.toJSON = function toJSON() {
|
|
|
3206
3239
|
|
|
3207
3240
|
/*eslint-enable valid-jsdoc*/
|
|
3208
3241
|
|
|
3209
|
-
},{"
|
|
3242
|
+
},{"42":42}],24:[function(require,module,exports){
|
|
3210
3243
|
"use strict";
|
|
3211
3244
|
module.exports = Method;
|
|
3212
3245
|
|
|
3213
3246
|
// extends ReflectionObject
|
|
3214
|
-
var ReflectionObject = require(
|
|
3247
|
+
var ReflectionObject = require(26);
|
|
3215
3248
|
((Method.prototype = Object.create(ReflectionObject.prototype)).constructor = Method).className = "Method";
|
|
3216
3249
|
|
|
3217
|
-
var util = require(
|
|
3250
|
+
var util = require(39);
|
|
3218
3251
|
|
|
3219
3252
|
/**
|
|
3220
3253
|
* Constructs a new service method instance.
|
|
@@ -3368,17 +3401,17 @@ Method.prototype.resolve = function resolve() {
|
|
|
3368
3401
|
return ReflectionObject.prototype.resolve.call(this);
|
|
3369
3402
|
};
|
|
3370
3403
|
|
|
3371
|
-
},{"
|
|
3404
|
+
},{"26":26,"39":39}],25:[function(require,module,exports){
|
|
3372
3405
|
"use strict";
|
|
3373
3406
|
module.exports = Namespace;
|
|
3374
3407
|
|
|
3375
3408
|
// extends ReflectionObject
|
|
3376
|
-
var ReflectionObject = require(
|
|
3409
|
+
var ReflectionObject = require(26);
|
|
3377
3410
|
((Namespace.prototype = Object.create(ReflectionObject.prototype)).constructor = Namespace).className = "Namespace";
|
|
3378
3411
|
|
|
3379
|
-
var Field = require(
|
|
3380
|
-
util = require(
|
|
3381
|
-
OneOf = require(
|
|
3412
|
+
var Field = require(18),
|
|
3413
|
+
util = require(39),
|
|
3414
|
+
OneOf = require(27);
|
|
3382
3415
|
|
|
3383
3416
|
var Type, // cyclic
|
|
3384
3417
|
Service,
|
|
@@ -3400,11 +3433,13 @@ var Type, // cyclic
|
|
|
3400
3433
|
* @function
|
|
3401
3434
|
* @param {string} name Namespace name
|
|
3402
3435
|
* @param {Object.<string,*>} json JSON object
|
|
3436
|
+
* @param {number} [depth] Current nesting depth, defaults to `0`
|
|
3403
3437
|
* @returns {Namespace} Created namespace
|
|
3404
3438
|
* @throws {TypeError} If arguments are invalid
|
|
3405
3439
|
*/
|
|
3406
|
-
Namespace.fromJSON = function fromJSON(name, json) {
|
|
3407
|
-
|
|
3440
|
+
Namespace.fromJSON = function fromJSON(name, json, depth) {
|
|
3441
|
+
depth = util.checkDepth(depth);
|
|
3442
|
+
return new Namespace(name, json.options).addJSON(json.nested, depth);
|
|
3408
3443
|
};
|
|
3409
3444
|
|
|
3410
3445
|
/**
|
|
@@ -3562,9 +3597,11 @@ Namespace.prototype.toJSON = function toJSON(toJSONOptions) {
|
|
|
3562
3597
|
/**
|
|
3563
3598
|
* Adds nested objects to this namespace from nested object descriptors.
|
|
3564
3599
|
* @param {Object.<string,AnyNestedObject>} nestedJson Any nested object descriptors
|
|
3600
|
+
* @param {number} [depth] Current nesting depth, defaults to `0`
|
|
3565
3601
|
* @returns {Namespace} `this`
|
|
3566
3602
|
*/
|
|
3567
|
-
Namespace.prototype.addJSON = function addJSON(nestedJson) {
|
|
3603
|
+
Namespace.prototype.addJSON = function addJSON(nestedJson, depth) {
|
|
3604
|
+
depth = util.checkDepth(depth);
|
|
3568
3605
|
var ns = this;
|
|
3569
3606
|
/* istanbul ignore else */
|
|
3570
3607
|
if (nestedJson) {
|
|
@@ -3579,7 +3616,7 @@ Namespace.prototype.addJSON = function addJSON(nestedJson) {
|
|
|
3579
3616
|
? Service.fromJSON
|
|
3580
3617
|
: nested.id !== undefined
|
|
3581
3618
|
? Field.fromJSON
|
|
3582
|
-
: Namespace.fromJSON )(names[i], nested)
|
|
3619
|
+
: Namespace.fromJSON )(names[i], nested, depth + 1)
|
|
3583
3620
|
);
|
|
3584
3621
|
}
|
|
3585
3622
|
}
|
|
@@ -3704,6 +3741,8 @@ Namespace.prototype.define = function define(path, json) {
|
|
|
3704
3741
|
throw TypeError("illegal path");
|
|
3705
3742
|
if (path && path.length && path[0] === "")
|
|
3706
3743
|
throw Error("path must be relative");
|
|
3744
|
+
if (path.length > util.recursionLimit)
|
|
3745
|
+
throw Error("max depth exceeded");
|
|
3707
3746
|
|
|
3708
3747
|
var ptr = this;
|
|
3709
3748
|
while (path.length > 0) {
|
|
@@ -3922,14 +3961,14 @@ Namespace._configure = function(Type_, Service_, Enum_) {
|
|
|
3922
3961
|
Enum = Enum_;
|
|
3923
3962
|
};
|
|
3924
3963
|
|
|
3925
|
-
},{"
|
|
3964
|
+
},{"18":18,"26":26,"27":27,"39":39}],26:[function(require,module,exports){
|
|
3926
3965
|
"use strict";
|
|
3927
3966
|
module.exports = ReflectionObject;
|
|
3928
3967
|
|
|
3929
3968
|
ReflectionObject.className = "ReflectionObject";
|
|
3930
3969
|
|
|
3931
|
-
const OneOf = require(
|
|
3932
|
-
var util = require(
|
|
3970
|
+
const OneOf = require(27);
|
|
3971
|
+
var util = require(39);
|
|
3933
3972
|
|
|
3934
3973
|
var Root; // cyclic
|
|
3935
3974
|
|
|
@@ -4138,7 +4177,7 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
|
|
|
4138
4177
|
throw new Error("Unknown edition for " + this.fullName);
|
|
4139
4178
|
}
|
|
4140
4179
|
|
|
4141
|
-
var protoFeatures =
|
|
4180
|
+
var protoFeatures = util.merge({}, this.options && this.options.features,
|
|
4142
4181
|
this._inferLegacyProtoFeatures(edition));
|
|
4143
4182
|
|
|
4144
4183
|
if (this._edition) {
|
|
@@ -4153,7 +4192,7 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
|
|
|
4153
4192
|
} else {
|
|
4154
4193
|
throw new Error("Unknown edition: " + edition);
|
|
4155
4194
|
}
|
|
4156
|
-
this._features =
|
|
4195
|
+
this._features = util.merge(defaults, protoFeatures);
|
|
4157
4196
|
this._featuresResolved = true;
|
|
4158
4197
|
return;
|
|
4159
4198
|
}
|
|
@@ -4162,13 +4201,13 @@ ReflectionObject.prototype._resolveFeatures = function _resolveFeatures(edition)
|
|
|
4162
4201
|
// special-case it
|
|
4163
4202
|
/* istanbul ignore else */
|
|
4164
4203
|
if (this.partOf instanceof OneOf) {
|
|
4165
|
-
var lexicalParentFeaturesCopy =
|
|
4166
|
-
this._features =
|
|
4204
|
+
var lexicalParentFeaturesCopy = util.merge({}, this.partOf._features);
|
|
4205
|
+
this._features = util.merge(lexicalParentFeaturesCopy, protoFeatures);
|
|
4167
4206
|
} else if (this.declaringField) {
|
|
4168
4207
|
// Skip feature resolution of sister fields.
|
|
4169
4208
|
} else if (this.parent) {
|
|
4170
|
-
var parentFeaturesCopy =
|
|
4171
|
-
this._features =
|
|
4209
|
+
var parentFeaturesCopy = util.merge({}, this.parent._features);
|
|
4210
|
+
this._features = util.merge(parentFeaturesCopy, protoFeatures);
|
|
4172
4211
|
} else {
|
|
4173
4212
|
throw new Error("Unable to find a parent for " + this.fullName);
|
|
4174
4213
|
}
|
|
@@ -4306,16 +4345,16 @@ ReflectionObject._configure = function(Root_) {
|
|
|
4306
4345
|
Root = Root_;
|
|
4307
4346
|
};
|
|
4308
4347
|
|
|
4309
|
-
},{"
|
|
4348
|
+
},{"27":27,"39":39}],27:[function(require,module,exports){
|
|
4310
4349
|
"use strict";
|
|
4311
4350
|
module.exports = OneOf;
|
|
4312
4351
|
|
|
4313
4352
|
// extends ReflectionObject
|
|
4314
|
-
var ReflectionObject = require(
|
|
4353
|
+
var ReflectionObject = require(26);
|
|
4315
4354
|
((OneOf.prototype = Object.create(ReflectionObject.prototype)).constructor = OneOf).className = "OneOf";
|
|
4316
4355
|
|
|
4317
|
-
var Field = require(
|
|
4318
|
-
util = require(
|
|
4356
|
+
var Field = require(18),
|
|
4357
|
+
util = require(39);
|
|
4319
4358
|
|
|
4320
4359
|
/**
|
|
4321
4360
|
* Constructs a new oneof instance.
|
|
@@ -4530,25 +4569,25 @@ OneOf.d = function decorateOneOf() {
|
|
|
4530
4569
|
};
|
|
4531
4570
|
};
|
|
4532
4571
|
|
|
4533
|
-
},{"
|
|
4572
|
+
},{"18":18,"26":26,"39":39}],28:[function(require,module,exports){
|
|
4534
4573
|
"use strict";
|
|
4535
4574
|
module.exports = parse;
|
|
4536
4575
|
|
|
4537
4576
|
parse.filename = null;
|
|
4538
4577
|
parse.defaults = { keepCase: false };
|
|
4539
4578
|
|
|
4540
|
-
var tokenize = require(
|
|
4541
|
-
Root = require(
|
|
4542
|
-
Type = require(
|
|
4543
|
-
Field = require(
|
|
4544
|
-
MapField = require(
|
|
4545
|
-
OneOf = require(
|
|
4546
|
-
Enum = require(
|
|
4547
|
-
Service = require(
|
|
4548
|
-
Method = require(
|
|
4549
|
-
ReflectionObject = require(
|
|
4550
|
-
types = require(
|
|
4551
|
-
util = require(
|
|
4579
|
+
var tokenize = require(36),
|
|
4580
|
+
Root = require(31),
|
|
4581
|
+
Type = require(37),
|
|
4582
|
+
Field = require(18),
|
|
4583
|
+
MapField = require(22),
|
|
4584
|
+
OneOf = require(27),
|
|
4585
|
+
Enum = require(17),
|
|
4586
|
+
Service = require(35),
|
|
4587
|
+
Method = require(24),
|
|
4588
|
+
ReflectionObject = require(26),
|
|
4589
|
+
types = require(38),
|
|
4590
|
+
util = require(39);
|
|
4552
4591
|
|
|
4553
4592
|
var base10Re = /^[1-9][0-9]*$/,
|
|
4554
4593
|
base10NegRe = /^-?[1-9][0-9]*$/,
|
|
@@ -4834,7 +4873,10 @@ function parse(source, root, options) {
|
|
|
4834
4873
|
}
|
|
4835
4874
|
|
|
4836
4875
|
|
|
4837
|
-
function parseCommon(parent, token) {
|
|
4876
|
+
function parseCommon(parent, token, depth) {
|
|
4877
|
+
if (depth === undefined)
|
|
4878
|
+
depth = 0;
|
|
4879
|
+
// depth is checked by dispatched functions
|
|
4838
4880
|
switch (token) {
|
|
4839
4881
|
|
|
4840
4882
|
case "option":
|
|
@@ -4843,7 +4885,7 @@ function parse(source, root, options) {
|
|
|
4843
4885
|
return true;
|
|
4844
4886
|
|
|
4845
4887
|
case "message":
|
|
4846
|
-
parseType(parent, token);
|
|
4888
|
+
parseType(parent, token, depth + 1);
|
|
4847
4889
|
return true;
|
|
4848
4890
|
|
|
4849
4891
|
case "enum":
|
|
@@ -4851,11 +4893,11 @@ function parse(source, root, options) {
|
|
|
4851
4893
|
return true;
|
|
4852
4894
|
|
|
4853
4895
|
case "service":
|
|
4854
|
-
parseService(parent, token);
|
|
4896
|
+
parseService(parent, token, depth + 1);
|
|
4855
4897
|
return true;
|
|
4856
4898
|
|
|
4857
4899
|
case "extend":
|
|
4858
|
-
parseExtension(parent, token);
|
|
4900
|
+
parseExtension(parent, token, depth);
|
|
4859
4901
|
return true;
|
|
4860
4902
|
}
|
|
4861
4903
|
return false;
|
|
@@ -4883,7 +4925,11 @@ function parse(source, root, options) {
|
|
|
4883
4925
|
}
|
|
4884
4926
|
}
|
|
4885
4927
|
|
|
4886
|
-
function parseType(parent, token) {
|
|
4928
|
+
function parseType(parent, token, depth) {
|
|
4929
|
+
if (depth === undefined)
|
|
4930
|
+
depth = 0;
|
|
4931
|
+
if (depth > util.nestingLimit)
|
|
4932
|
+
throw Error("max depth exceeded");
|
|
4887
4933
|
|
|
4888
4934
|
/* istanbul ignore if */
|
|
4889
4935
|
if (!nameRe.test(token = next()))
|
|
@@ -4891,7 +4937,7 @@ function parse(source, root, options) {
|
|
|
4891
4937
|
|
|
4892
4938
|
var type = new Type(token);
|
|
4893
4939
|
ifBlock(type, function parseType_block(token) {
|
|
4894
|
-
if (parseCommon(type, token))
|
|
4940
|
+
if (parseCommon(type, token, depth))
|
|
4895
4941
|
return;
|
|
4896
4942
|
|
|
4897
4943
|
switch (token) {
|
|
@@ -4905,22 +4951,22 @@ function parse(source, root, options) {
|
|
|
4905
4951
|
throw illegal(token);
|
|
4906
4952
|
/* eslint-disable no-fallthrough */
|
|
4907
4953
|
case "repeated":
|
|
4908
|
-
parseField(type, token);
|
|
4954
|
+
parseField(type, token, undefined, depth + 1);
|
|
4909
4955
|
break;
|
|
4910
4956
|
|
|
4911
4957
|
case "optional":
|
|
4912
4958
|
/* istanbul ignore if */
|
|
4913
4959
|
if (edition === "proto3") {
|
|
4914
|
-
parseField(type, "proto3_optional");
|
|
4960
|
+
parseField(type, "proto3_optional", undefined, depth + 1);
|
|
4915
4961
|
} else if (edition !== "proto2") {
|
|
4916
4962
|
throw illegal(token);
|
|
4917
4963
|
} else {
|
|
4918
|
-
parseField(type, "optional");
|
|
4964
|
+
parseField(type, "optional", undefined, depth + 1);
|
|
4919
4965
|
}
|
|
4920
4966
|
break;
|
|
4921
4967
|
|
|
4922
4968
|
case "oneof":
|
|
4923
|
-
parseOneOf(type, token);
|
|
4969
|
+
parseOneOf(type, token, depth + 1);
|
|
4924
4970
|
break;
|
|
4925
4971
|
|
|
4926
4972
|
case "extensions":
|
|
@@ -4938,7 +4984,7 @@ function parse(source, root, options) {
|
|
|
4938
4984
|
}
|
|
4939
4985
|
|
|
4940
4986
|
push(token);
|
|
4941
|
-
parseField(type, "optional");
|
|
4987
|
+
parseField(type, "optional", undefined, depth + 1);
|
|
4942
4988
|
break;
|
|
4943
4989
|
}
|
|
4944
4990
|
});
|
|
@@ -4948,10 +4994,10 @@ function parse(source, root, options) {
|
|
|
4948
4994
|
}
|
|
4949
4995
|
}
|
|
4950
4996
|
|
|
4951
|
-
function parseField(parent, rule, extend) {
|
|
4997
|
+
function parseField(parent, rule, extend, depth) {
|
|
4952
4998
|
var type = next();
|
|
4953
4999
|
if (type === "group") {
|
|
4954
|
-
parseGroup(parent, rule);
|
|
5000
|
+
parseGroup(parent, rule, depth);
|
|
4955
5001
|
return;
|
|
4956
5002
|
}
|
|
4957
5003
|
// Type names can consume multiple tokens, in multiple variants:
|
|
@@ -5008,7 +5054,11 @@ function parse(source, root, options) {
|
|
|
5008
5054
|
}
|
|
5009
5055
|
}
|
|
5010
5056
|
|
|
5011
|
-
function parseGroup(parent, rule) {
|
|
5057
|
+
function parseGroup(parent, rule, depth) {
|
|
5058
|
+
if (depth === undefined)
|
|
5059
|
+
depth = 0;
|
|
5060
|
+
if (depth > util.nestingLimit)
|
|
5061
|
+
throw Error("max depth exceeded");
|
|
5012
5062
|
if (edition >= 2023) {
|
|
5013
5063
|
throw illegal("group");
|
|
5014
5064
|
}
|
|
@@ -5036,20 +5086,20 @@ function parse(source, root, options) {
|
|
|
5036
5086
|
break;
|
|
5037
5087
|
case "required":
|
|
5038
5088
|
case "repeated":
|
|
5039
|
-
parseField(type, token);
|
|
5089
|
+
parseField(type, token, undefined, depth + 1);
|
|
5040
5090
|
break;
|
|
5041
5091
|
|
|
5042
5092
|
case "optional":
|
|
5043
5093
|
/* istanbul ignore if */
|
|
5044
5094
|
if (edition === "proto3") {
|
|
5045
|
-
parseField(type, "proto3_optional");
|
|
5095
|
+
parseField(type, "proto3_optional", undefined, depth + 1);
|
|
5046
5096
|
} else {
|
|
5047
|
-
parseField(type, "optional");
|
|
5097
|
+
parseField(type, "optional", undefined, depth + 1);
|
|
5048
5098
|
}
|
|
5049
5099
|
break;
|
|
5050
5100
|
|
|
5051
5101
|
case "message":
|
|
5052
|
-
parseType(type, token);
|
|
5102
|
+
parseType(type, token, depth + 1);
|
|
5053
5103
|
break;
|
|
5054
5104
|
|
|
5055
5105
|
case "enum":
|
|
@@ -5108,7 +5158,7 @@ function parse(source, root, options) {
|
|
|
5108
5158
|
parent.add(field);
|
|
5109
5159
|
}
|
|
5110
5160
|
|
|
5111
|
-
function parseOneOf(parent, token) {
|
|
5161
|
+
function parseOneOf(parent, token, depth) {
|
|
5112
5162
|
|
|
5113
5163
|
/* istanbul ignore if */
|
|
5114
5164
|
if (!nameRe.test(token = next()))
|
|
@@ -5121,7 +5171,7 @@ function parse(source, root, options) {
|
|
|
5121
5171
|
skip(";");
|
|
5122
5172
|
} else {
|
|
5123
5173
|
push(token);
|
|
5124
|
-
parseField(oneof, "optional");
|
|
5174
|
+
parseField(oneof, "optional", undefined, depth);
|
|
5125
5175
|
}
|
|
5126
5176
|
});
|
|
5127
5177
|
parent.add(oneof);
|
|
@@ -5226,7 +5276,11 @@ function parse(source, root, options) {
|
|
|
5226
5276
|
setParsedOption(parent, option, optionValue, propName);
|
|
5227
5277
|
}
|
|
5228
5278
|
|
|
5229
|
-
function parseOptionValue(parent, name) {
|
|
5279
|
+
function parseOptionValue(parent, name, depth) {
|
|
5280
|
+
if (depth === undefined)
|
|
5281
|
+
depth = 0;
|
|
5282
|
+
if (depth > util.recursionLimit)
|
|
5283
|
+
throw Error("max depth exceeded");
|
|
5230
5284
|
// { a: "foo" b { c: "bar" } }
|
|
5231
5285
|
if (skip("{", true)) {
|
|
5232
5286
|
var objectResult = {};
|
|
@@ -5249,7 +5303,7 @@ function parse(source, root, options) {
|
|
|
5249
5303
|
// option (my_option) = {
|
|
5250
5304
|
// repeated_value: [ "foo", "bar" ]
|
|
5251
5305
|
// };
|
|
5252
|
-
value = parseOptionValue(parent, name + "." + token);
|
|
5306
|
+
value = parseOptionValue(parent, name + "." + token, depth + 1);
|
|
5253
5307
|
} else if (peek() === "[") {
|
|
5254
5308
|
value = [];
|
|
5255
5309
|
var lastValue;
|
|
@@ -5314,7 +5368,11 @@ function parse(source, root, options) {
|
|
|
5314
5368
|
return parent;
|
|
5315
5369
|
}
|
|
5316
5370
|
|
|
5317
|
-
function parseService(parent, token) {
|
|
5371
|
+
function parseService(parent, token, depth) {
|
|
5372
|
+
if (depth === undefined)
|
|
5373
|
+
depth = 0;
|
|
5374
|
+
if (depth > util.recursionLimit)
|
|
5375
|
+
throw Error("max depth exceeded");
|
|
5318
5376
|
|
|
5319
5377
|
/* istanbul ignore if */
|
|
5320
5378
|
if (!nameRe.test(token = next()))
|
|
@@ -5322,7 +5380,7 @@ function parse(source, root, options) {
|
|
|
5322
5380
|
|
|
5323
5381
|
var service = new Service(token);
|
|
5324
5382
|
ifBlock(service, function parseService_block(token) {
|
|
5325
|
-
if (parseCommon(service, token)) {
|
|
5383
|
+
if (parseCommon(service, token, depth)) {
|
|
5326
5384
|
return;
|
|
5327
5385
|
}
|
|
5328
5386
|
|
|
@@ -5388,7 +5446,7 @@ function parse(source, root, options) {
|
|
|
5388
5446
|
parent.add(method);
|
|
5389
5447
|
}
|
|
5390
5448
|
|
|
5391
|
-
function parseExtension(parent, token) {
|
|
5449
|
+
function parseExtension(parent, token, depth) {
|
|
5392
5450
|
|
|
5393
5451
|
/* istanbul ignore if */
|
|
5394
5452
|
if (!typeRefRe.test(token = next()))
|
|
@@ -5400,15 +5458,15 @@ function parse(source, root, options) {
|
|
|
5400
5458
|
|
|
5401
5459
|
case "required":
|
|
5402
5460
|
case "repeated":
|
|
5403
|
-
parseField(parent, token, reference);
|
|
5461
|
+
parseField(parent, token, reference, depth + 1);
|
|
5404
5462
|
break;
|
|
5405
5463
|
|
|
5406
5464
|
case "optional":
|
|
5407
5465
|
/* istanbul ignore if */
|
|
5408
5466
|
if (edition === "proto3") {
|
|
5409
|
-
parseField(parent, "proto3_optional", reference);
|
|
5467
|
+
parseField(parent, "proto3_optional", reference, depth + 1);
|
|
5410
5468
|
} else {
|
|
5411
|
-
parseField(parent, "optional", reference);
|
|
5469
|
+
parseField(parent, "optional", reference, depth + 1);
|
|
5412
5470
|
}
|
|
5413
5471
|
break;
|
|
5414
5472
|
|
|
@@ -5417,7 +5475,7 @@ function parse(source, root, options) {
|
|
|
5417
5475
|
if (edition === "proto2" || !typeRefRe.test(token))
|
|
5418
5476
|
throw illegal(token);
|
|
5419
5477
|
push(token);
|
|
5420
|
-
parseField(parent, "optional", reference);
|
|
5478
|
+
parseField(parent, "optional", reference, depth + 1);
|
|
5421
5479
|
break;
|
|
5422
5480
|
}
|
|
5423
5481
|
});
|
|
@@ -5469,7 +5527,7 @@ function parse(source, root, options) {
|
|
|
5469
5527
|
default:
|
|
5470
5528
|
|
|
5471
5529
|
/* istanbul ignore else */
|
|
5472
|
-
if (parseCommon(ptr, token)) {
|
|
5530
|
+
if (parseCommon(ptr, token, 0)) {
|
|
5473
5531
|
head = false;
|
|
5474
5532
|
continue;
|
|
5475
5533
|
}
|
|
@@ -5502,11 +5560,11 @@ function parse(source, root, options) {
|
|
|
5502
5560
|
* @variation 2
|
|
5503
5561
|
*/
|
|
5504
5562
|
|
|
5505
|
-
},{"
|
|
5563
|
+
},{"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
5564
|
"use strict";
|
|
5507
5565
|
module.exports = Reader;
|
|
5508
5566
|
|
|
5509
|
-
var util = require(
|
|
5567
|
+
var util = require(42);
|
|
5510
5568
|
|
|
5511
5569
|
var BufferReader; // cyclic
|
|
5512
5570
|
|
|
@@ -5930,15 +5988,15 @@ Reader._configure = function(BufferReader_) {
|
|
|
5930
5988
|
});
|
|
5931
5989
|
};
|
|
5932
5990
|
|
|
5933
|
-
},{"
|
|
5991
|
+
},{"42":42}],30:[function(require,module,exports){
|
|
5934
5992
|
"use strict";
|
|
5935
5993
|
module.exports = BufferReader;
|
|
5936
5994
|
|
|
5937
5995
|
// extends Reader
|
|
5938
|
-
var Reader = require(
|
|
5996
|
+
var Reader = require(29);
|
|
5939
5997
|
(BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;
|
|
5940
5998
|
|
|
5941
|
-
var util = require(
|
|
5999
|
+
var util = require(42);
|
|
5942
6000
|
|
|
5943
6001
|
/**
|
|
5944
6002
|
* Constructs a new buffer reader instance.
|
|
@@ -5983,18 +6041,18 @@ BufferReader.prototype.string = function read_string_buffer() {
|
|
|
5983
6041
|
|
|
5984
6042
|
BufferReader._configure();
|
|
5985
6043
|
|
|
5986
|
-
},{"
|
|
6044
|
+
},{"29":29,"42":42}],31:[function(require,module,exports){
|
|
5987
6045
|
"use strict";
|
|
5988
6046
|
module.exports = Root;
|
|
5989
6047
|
|
|
5990
6048
|
// extends Namespace
|
|
5991
|
-
var Namespace = require(
|
|
6049
|
+
var Namespace = require(25);
|
|
5992
6050
|
((Root.prototype = Object.create(Namespace.prototype)).constructor = Root).className = "Root";
|
|
5993
6051
|
|
|
5994
|
-
var Field = require(
|
|
5995
|
-
Enum = require(
|
|
5996
|
-
OneOf = require(
|
|
5997
|
-
util = require(
|
|
6052
|
+
var Field = require(18),
|
|
6053
|
+
Enum = require(17),
|
|
6054
|
+
OneOf = require(27),
|
|
6055
|
+
util = require(39);
|
|
5998
6056
|
|
|
5999
6057
|
var Type, // cyclic
|
|
6000
6058
|
parse, // might be excluded
|
|
@@ -6041,14 +6099,16 @@ function Root(options) {
|
|
|
6041
6099
|
* Loads a namespace descriptor into a root namespace.
|
|
6042
6100
|
* @param {INamespace} json Namespace descriptor
|
|
6043
6101
|
* @param {Root} [root] Root namespace, defaults to create a new one if omitted
|
|
6102
|
+
* @param {number} [depth] Current nesting depth, defaults to `0`
|
|
6044
6103
|
* @returns {Root} Root namespace
|
|
6045
6104
|
*/
|
|
6046
|
-
Root.fromJSON = function fromJSON(json, root) {
|
|
6105
|
+
Root.fromJSON = function fromJSON(json, root, depth) {
|
|
6106
|
+
depth = util.checkDepth(depth);
|
|
6047
6107
|
if (!root)
|
|
6048
6108
|
root = new Root();
|
|
6049
6109
|
if (json.options)
|
|
6050
6110
|
root.setOptions(json.options);
|
|
6051
|
-
return root.addJSON(json.nested).resolveAll();
|
|
6111
|
+
return root.addJSON(json.nested, depth).resolveAll();
|
|
6052
6112
|
};
|
|
6053
6113
|
|
|
6054
6114
|
/**
|
|
@@ -6122,8 +6182,12 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6122
6182
|
}
|
|
6123
6183
|
|
|
6124
6184
|
// Processes a single file
|
|
6125
|
-
function process(filename, source) {
|
|
6185
|
+
function process(filename, source, depth) {
|
|
6186
|
+
if (depth === undefined)
|
|
6187
|
+
depth = 0;
|
|
6126
6188
|
try {
|
|
6189
|
+
if (depth > util.recursionLimit)
|
|
6190
|
+
throw Error("max depth exceeded");
|
|
6127
6191
|
if (util.isString(source) && source.charAt(0) === "{")
|
|
6128
6192
|
source = JSON.parse(source);
|
|
6129
6193
|
if (!util.isString(source))
|
|
@@ -6136,11 +6200,11 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6136
6200
|
if (parsed.imports)
|
|
6137
6201
|
for (; i < parsed.imports.length; ++i)
|
|
6138
6202
|
if (resolved = getBundledFileName(parsed.imports[i]) || self.resolvePath(filename, parsed.imports[i]))
|
|
6139
|
-
fetch(resolved);
|
|
6203
|
+
fetch(resolved, false, depth + 1);
|
|
6140
6204
|
if (parsed.weakImports)
|
|
6141
6205
|
for (i = 0; i < parsed.weakImports.length; ++i)
|
|
6142
6206
|
if (resolved = getBundledFileName(parsed.weakImports[i]) || self.resolvePath(filename, parsed.weakImports[i]))
|
|
6143
|
-
fetch(resolved, true);
|
|
6207
|
+
fetch(resolved, true, depth + 1);
|
|
6144
6208
|
}
|
|
6145
6209
|
} catch (err) {
|
|
6146
6210
|
finish(err);
|
|
@@ -6151,7 +6215,9 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6151
6215
|
}
|
|
6152
6216
|
|
|
6153
6217
|
// Fetches a single file
|
|
6154
|
-
function fetch(filename, weak) {
|
|
6218
|
+
function fetch(filename, weak, depth) {
|
|
6219
|
+
if (depth === undefined)
|
|
6220
|
+
depth = 0;
|
|
6155
6221
|
filename = getBundledFileName(filename) || filename;
|
|
6156
6222
|
|
|
6157
6223
|
// Skip if already loaded / attempted
|
|
@@ -6163,12 +6229,12 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6163
6229
|
// Shortcut bundled definitions
|
|
6164
6230
|
if (filename in common) {
|
|
6165
6231
|
if (sync) {
|
|
6166
|
-
process(filename, common[filename]);
|
|
6232
|
+
process(filename, common[filename], depth);
|
|
6167
6233
|
} else {
|
|
6168
6234
|
++queued;
|
|
6169
6235
|
setTimeout(function() {
|
|
6170
6236
|
--queued;
|
|
6171
|
-
process(filename, common[filename]);
|
|
6237
|
+
process(filename, common[filename], depth);
|
|
6172
6238
|
});
|
|
6173
6239
|
}
|
|
6174
6240
|
return;
|
|
@@ -6184,7 +6250,7 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6184
6250
|
finish(err);
|
|
6185
6251
|
return;
|
|
6186
6252
|
}
|
|
6187
|
-
process(filename, source);
|
|
6253
|
+
process(filename, source, depth);
|
|
6188
6254
|
} else {
|
|
6189
6255
|
++queued;
|
|
6190
6256
|
self.fetch(filename, function(err, source) {
|
|
@@ -6201,7 +6267,7 @@ Root.prototype.load = function load(filename, options, callback) {
|
|
|
6201
6267
|
finish(null, self);
|
|
6202
6268
|
return;
|
|
6203
6269
|
}
|
|
6204
|
-
process(filename, source);
|
|
6270
|
+
process(filename, source, depth);
|
|
6205
6271
|
});
|
|
6206
6272
|
}
|
|
6207
6273
|
}
|
|
@@ -6389,9 +6455,9 @@ Root._configure = function(Type_, parse_, common_) {
|
|
|
6389
6455
|
common = common_;
|
|
6390
6456
|
};
|
|
6391
6457
|
|
|
6392
|
-
},{"
|
|
6458
|
+
},{"17":17,"18":18,"25":25,"27":27,"39":39}],32:[function(require,module,exports){
|
|
6393
6459
|
"use strict";
|
|
6394
|
-
module.exports =
|
|
6460
|
+
module.exports = Object.create(null);
|
|
6395
6461
|
|
|
6396
6462
|
/**
|
|
6397
6463
|
* Named roots.
|
|
@@ -6409,7 +6475,7 @@ module.exports = {};
|
|
|
6409
6475
|
* var root = protobuf.roots["myroot"];
|
|
6410
6476
|
*/
|
|
6411
6477
|
|
|
6412
|
-
},{}],
|
|
6478
|
+
},{}],33:[function(require,module,exports){
|
|
6413
6479
|
"use strict";
|
|
6414
6480
|
|
|
6415
6481
|
/**
|
|
@@ -6445,13 +6511,13 @@ var rpc = exports;
|
|
|
6445
6511
|
* @returns {undefined}
|
|
6446
6512
|
*/
|
|
6447
6513
|
|
|
6448
|
-
rpc.Service = require(
|
|
6514
|
+
rpc.Service = require(34);
|
|
6449
6515
|
|
|
6450
|
-
},{"
|
|
6516
|
+
},{"34":34}],34:[function(require,module,exports){
|
|
6451
6517
|
"use strict";
|
|
6452
6518
|
module.exports = Service;
|
|
6453
6519
|
|
|
6454
|
-
var util = require(
|
|
6520
|
+
var util = require(42);
|
|
6455
6521
|
|
|
6456
6522
|
// Extends EventEmitter
|
|
6457
6523
|
(Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;
|
|
@@ -6591,17 +6657,17 @@ Service.prototype.end = function end(endedByRPC) {
|
|
|
6591
6657
|
return this;
|
|
6592
6658
|
};
|
|
6593
6659
|
|
|
6594
|
-
},{"
|
|
6660
|
+
},{"42":42}],35:[function(require,module,exports){
|
|
6595
6661
|
"use strict";
|
|
6596
6662
|
module.exports = Service;
|
|
6597
6663
|
|
|
6598
6664
|
// extends Namespace
|
|
6599
|
-
var Namespace = require(
|
|
6665
|
+
var Namespace = require(25);
|
|
6600
6666
|
((Service.prototype = Object.create(Namespace.prototype)).constructor = Service).className = "Service";
|
|
6601
6667
|
|
|
6602
|
-
var Method = require(
|
|
6603
|
-
util = require(
|
|
6604
|
-
rpc = require(
|
|
6668
|
+
var Method = require(24),
|
|
6669
|
+
util = require(39),
|
|
6670
|
+
rpc = require(33);
|
|
6605
6671
|
|
|
6606
6672
|
var reservedRe = util.patterns.reservedRe;
|
|
6607
6673
|
|
|
@@ -6642,17 +6708,19 @@ function Service(name, options) {
|
|
|
6642
6708
|
* Constructs a service from a service descriptor.
|
|
6643
6709
|
* @param {string} name Service name
|
|
6644
6710
|
* @param {IService} json Service descriptor
|
|
6711
|
+
* @param {number} [depth] Current nesting depth, defaults to `0`
|
|
6645
6712
|
* @returns {Service} Created service
|
|
6646
6713
|
* @throws {TypeError} If arguments are invalid
|
|
6647
6714
|
*/
|
|
6648
|
-
Service.fromJSON = function fromJSON(name, json) {
|
|
6715
|
+
Service.fromJSON = function fromJSON(name, json, depth) {
|
|
6716
|
+
depth = util.checkDepth(depth);
|
|
6649
6717
|
var service = new Service(name, json.options);
|
|
6650
6718
|
/* istanbul ignore else */
|
|
6651
6719
|
if (json.methods)
|
|
6652
6720
|
for (var names = Object.keys(json.methods), i = 0; i < names.length; ++i)
|
|
6653
6721
|
service.add(Method.fromJSON(names[i], json.methods[names[i]]));
|
|
6654
6722
|
if (json.nested)
|
|
6655
|
-
service.addJSON(json.nested);
|
|
6723
|
+
service.addJSON(json.nested, depth);
|
|
6656
6724
|
if (json.edition)
|
|
6657
6725
|
service._edition = json.edition;
|
|
6658
6726
|
service.comment = json.comment;
|
|
@@ -6786,7 +6854,7 @@ Service.prototype.create = function create(rpcImpl, requestDelimited, responseDe
|
|
|
6786
6854
|
return rpcService;
|
|
6787
6855
|
};
|
|
6788
6856
|
|
|
6789
|
-
},{"
|
|
6857
|
+
},{"24":24,"25":25,"33":33,"39":39}],36:[function(require,module,exports){
|
|
6790
6858
|
"use strict";
|
|
6791
6859
|
module.exports = tokenize;
|
|
6792
6860
|
|
|
@@ -7204,28 +7272,28 @@ function tokenize(source, alternateCommentMode) {
|
|
|
7204
7272
|
/* eslint-enable callback-return */
|
|
7205
7273
|
}
|
|
7206
7274
|
|
|
7207
|
-
},{}],
|
|
7275
|
+
},{}],37:[function(require,module,exports){
|
|
7208
7276
|
"use strict";
|
|
7209
7277
|
module.exports = Type;
|
|
7210
7278
|
|
|
7211
7279
|
// extends Namespace
|
|
7212
|
-
var Namespace = require(
|
|
7280
|
+
var Namespace = require(25);
|
|
7213
7281
|
((Type.prototype = Object.create(Namespace.prototype)).constructor = Type).className = "Type";
|
|
7214
7282
|
|
|
7215
|
-
var Enum = require(
|
|
7216
|
-
OneOf = require(
|
|
7217
|
-
Field = require(
|
|
7218
|
-
MapField = require(
|
|
7219
|
-
Service = require(
|
|
7220
|
-
Message = require(
|
|
7221
|
-
Reader = require(
|
|
7222
|
-
Writer = require(
|
|
7223
|
-
util = require(
|
|
7224
|
-
encoder = require(
|
|
7225
|
-
decoder = require(
|
|
7226
|
-
verifier = require(
|
|
7227
|
-
converter = require(
|
|
7228
|
-
wrappers = require(
|
|
7283
|
+
var Enum = require(17),
|
|
7284
|
+
OneOf = require(27),
|
|
7285
|
+
Field = require(18),
|
|
7286
|
+
MapField = require(22),
|
|
7287
|
+
Service = require(35),
|
|
7288
|
+
Message = require(23),
|
|
7289
|
+
Reader = require(29),
|
|
7290
|
+
Writer = require(46),
|
|
7291
|
+
util = require(39),
|
|
7292
|
+
encoder = require(16),
|
|
7293
|
+
decoder = require(15),
|
|
7294
|
+
verifier = require(44),
|
|
7295
|
+
converter = require(14),
|
|
7296
|
+
wrappers = require(45);
|
|
7229
7297
|
|
|
7230
7298
|
/**
|
|
7231
7299
|
* Constructs a new reflected message type instance.
|
|
@@ -7440,9 +7508,14 @@ function clearCache(type) {
|
|
|
7440
7508
|
* Creates a message type from a message type descriptor.
|
|
7441
7509
|
* @param {string} name Message name
|
|
7442
7510
|
* @param {IType} json Message type descriptor
|
|
7511
|
+
* @param {number} [depth] Current nesting depth, defaults to `0`
|
|
7443
7512
|
* @returns {Type} Created message type
|
|
7444
7513
|
*/
|
|
7445
|
-
Type.fromJSON = function fromJSON(name, json) {
|
|
7514
|
+
Type.fromJSON = function fromJSON(name, json, depth) {
|
|
7515
|
+
if (depth === undefined)
|
|
7516
|
+
depth = 0;
|
|
7517
|
+
if (depth > util.nestingLimit)
|
|
7518
|
+
throw Error("max depth exceeded");
|
|
7446
7519
|
var type = new Type(name, json.options);
|
|
7447
7520
|
type.extensions = json.extensions;
|
|
7448
7521
|
type.reserved = json.reserved;
|
|
@@ -7469,7 +7542,7 @@ Type.fromJSON = function fromJSON(name, json) {
|
|
|
7469
7542
|
? Enum.fromJSON
|
|
7470
7543
|
: nested.methods !== undefined
|
|
7471
7544
|
? Service.fromJSON
|
|
7472
|
-
: Namespace.fromJSON )(names[i], nested)
|
|
7545
|
+
: Namespace.fromJSON )(names[i], nested, depth + 1)
|
|
7473
7546
|
);
|
|
7474
7547
|
}
|
|
7475
7548
|
if (json.extensions && json.extensions.length)
|
|
@@ -7720,8 +7793,8 @@ Type.prototype.setup = function setup() {
|
|
|
7720
7793
|
* @param {Writer} [writer] Writer to encode to
|
|
7721
7794
|
* @returns {Writer} writer
|
|
7722
7795
|
*/
|
|
7723
|
-
Type.prototype.encode = function encode_setup(message, writer) {
|
|
7724
|
-
return this.setup().encode(
|
|
7796
|
+
Type.prototype.encode = function encode_setup(message, writer) { // eslint-disable-line no-unused-vars
|
|
7797
|
+
return this.setup().encode.apply(this, arguments); // overrides this method
|
|
7725
7798
|
};
|
|
7726
7799
|
|
|
7727
7800
|
/**
|
|
@@ -7785,7 +7858,7 @@ Type.prototype.fromObject = function fromObject(object, depth) {
|
|
|
7785
7858
|
* Conversion options as used by {@link Type#toObject} and {@link Message.toObject}.
|
|
7786
7859
|
* @interface IConversionOptions
|
|
7787
7860
|
* @property {Function} [longs] Long conversion type.
|
|
7788
|
-
* Valid values are `String` and `Number` (the global types).
|
|
7861
|
+
* Valid values are `BigInt`, `String` and `Number` (the global types).
|
|
7789
7862
|
* Defaults to copy the present value, which is a possibly unsafe number without and a {@link Long} with a long library.
|
|
7790
7863
|
* @property {Function} [enums] Enum value conversion type.
|
|
7791
7864
|
* Only valid value is `String` (the global type).
|
|
@@ -7806,8 +7879,8 @@ Type.prototype.fromObject = function fromObject(object, depth) {
|
|
|
7806
7879
|
* @param {IConversionOptions} [options] Conversion options
|
|
7807
7880
|
* @returns {Object.<string,*>} Plain object
|
|
7808
7881
|
*/
|
|
7809
|
-
Type.prototype.toObject = function toObject(message, options) {
|
|
7810
|
-
return this.setup().toObject(
|
|
7882
|
+
Type.prototype.toObject = function toObject(message, options) { // eslint-disable-line no-unused-vars
|
|
7883
|
+
return this.setup().toObject.apply(this, arguments);
|
|
7811
7884
|
};
|
|
7812
7885
|
|
|
7813
7886
|
/**
|
|
@@ -7831,7 +7904,7 @@ Type.d = function decorateType(typeName) {
|
|
|
7831
7904
|
};
|
|
7832
7905
|
};
|
|
7833
7906
|
|
|
7834
|
-
},{"
|
|
7907
|
+
},{"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
7908
|
"use strict";
|
|
7836
7909
|
|
|
7837
7910
|
/**
|
|
@@ -7840,7 +7913,7 @@ Type.d = function decorateType(typeName) {
|
|
|
7840
7913
|
*/
|
|
7841
7914
|
var types = exports;
|
|
7842
7915
|
|
|
7843
|
-
var util = require(
|
|
7916
|
+
var util = require(39);
|
|
7844
7917
|
|
|
7845
7918
|
var s = [
|
|
7846
7919
|
"double", // 0
|
|
@@ -8029,33 +8102,46 @@ types.packed = bake([
|
|
|
8029
8102
|
/* bool */ 0
|
|
8030
8103
|
]);
|
|
8031
8104
|
|
|
8032
|
-
},{"
|
|
8105
|
+
},{"39":39}],39:[function(require,module,exports){
|
|
8033
8106
|
"use strict";
|
|
8034
8107
|
|
|
8035
8108
|
/**
|
|
8036
8109
|
* Various utility functions.
|
|
8037
8110
|
* @namespace
|
|
8038
8111
|
*/
|
|
8039
|
-
var util = module.exports = require(
|
|
8112
|
+
var util = module.exports = require(42);
|
|
8040
8113
|
|
|
8041
|
-
var roots = require(
|
|
8114
|
+
var roots = require(32);
|
|
8042
8115
|
|
|
8043
8116
|
var Type, // cyclic
|
|
8044
8117
|
Enum;
|
|
8045
8118
|
|
|
8046
8119
|
util.codegen = require(3);
|
|
8047
8120
|
util.fetch = require(5);
|
|
8048
|
-
util.path = require(
|
|
8049
|
-
util.patterns = require(
|
|
8121
|
+
util.path = require(9);
|
|
8122
|
+
util.patterns = require(43);
|
|
8050
8123
|
|
|
8051
|
-
var reservedRe = util.patterns.reservedRe
|
|
8052
|
-
unsafePropertyRe = util.patterns.unsafePropertyRe;
|
|
8124
|
+
var reservedRe = util.patterns.reservedRe;
|
|
8053
8125
|
|
|
8054
8126
|
/**
|
|
8055
8127
|
* Node's fs module if available.
|
|
8056
8128
|
* @type {Object.<string,*>}
|
|
8057
8129
|
*/
|
|
8058
|
-
util.fs =
|
|
8130
|
+
util.fs = require(40);
|
|
8131
|
+
|
|
8132
|
+
/**
|
|
8133
|
+
* Checks a recursion depth.
|
|
8134
|
+
* @param {number|undefined} depth Depth of recursion
|
|
8135
|
+
* @returns {number} Depth of recursion
|
|
8136
|
+
* @throws {Error} If depth exceeds util.recursionLimit
|
|
8137
|
+
*/
|
|
8138
|
+
util.checkDepth = function checkDepth(depth) {
|
|
8139
|
+
if (depth === undefined)
|
|
8140
|
+
depth = 0;
|
|
8141
|
+
if (depth > util.recursionLimit)
|
|
8142
|
+
throw Error("max depth exceeded");
|
|
8143
|
+
return depth;
|
|
8144
|
+
};
|
|
8059
8145
|
|
|
8060
8146
|
/**
|
|
8061
8147
|
* Converts an object's values to an array.
|
|
@@ -8165,7 +8251,7 @@ util.decorateType = function decorateType(ctor, typeName) {
|
|
|
8165
8251
|
|
|
8166
8252
|
/* istanbul ignore next */
|
|
8167
8253
|
if (!Type)
|
|
8168
|
-
Type = require(
|
|
8254
|
+
Type = require(37);
|
|
8169
8255
|
|
|
8170
8256
|
var type = new Type(typeName || ctor.name);
|
|
8171
8257
|
util.decorateRoot.add(type);
|
|
@@ -8190,7 +8276,7 @@ util.decorateEnum = function decorateEnum(object) {
|
|
|
8190
8276
|
|
|
8191
8277
|
/* istanbul ignore next */
|
|
8192
8278
|
if (!Enum)
|
|
8193
|
-
Enum = require(
|
|
8279
|
+
Enum = require(17);
|
|
8194
8280
|
|
|
8195
8281
|
var enm = new Enum("Enum" + decorateEnumIndex++, object);
|
|
8196
8282
|
util.decorateRoot.add(enm);
|
|
@@ -8210,7 +8296,7 @@ util.decorateEnum = function decorateEnum(object) {
|
|
|
8210
8296
|
util.setProperty = function setProperty(dst, path, value, ifNotSet) {
|
|
8211
8297
|
function setProp(dst, path, value) {
|
|
8212
8298
|
var part = path.shift();
|
|
8213
|
-
if (
|
|
8299
|
+
if (util.isUnsafeProperty(part))
|
|
8214
8300
|
return dst;
|
|
8215
8301
|
if (path.length > 0) {
|
|
8216
8302
|
dst[part] = setProp(dst[part] || {}, path, value);
|
|
@@ -8231,6 +8317,8 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
|
|
|
8231
8317
|
throw TypeError("path must be specified");
|
|
8232
8318
|
|
|
8233
8319
|
path = path.split(".");
|
|
8320
|
+
if (path.length > util.recursionLimit)
|
|
8321
|
+
throw Error("max depth exceeded");
|
|
8234
8322
|
return setProp(dst, path, value);
|
|
8235
8323
|
};
|
|
8236
8324
|
|
|
@@ -8242,15 +8330,28 @@ util.setProperty = function setProperty(dst, path, value, ifNotSet) {
|
|
|
8242
8330
|
*/
|
|
8243
8331
|
Object.defineProperty(util, "decorateRoot", {
|
|
8244
8332
|
get: function() {
|
|
8245
|
-
return roots["decorated"] || (roots["decorated"] = new (require(
|
|
8333
|
+
return roots["decorated"] || (roots["decorated"] = new (require(31))());
|
|
8246
8334
|
}
|
|
8247
8335
|
});
|
|
8248
8336
|
|
|
8249
|
-
},{"
|
|
8337
|
+
},{"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){
|
|
8338
|
+
"use strict";
|
|
8339
|
+
|
|
8340
|
+
var fs = null;
|
|
8341
|
+
try {
|
|
8342
|
+
fs = require(12);
|
|
8343
|
+
if (!fs || !fs.readFile || !fs.readFileSync)
|
|
8344
|
+
fs = null;
|
|
8345
|
+
} catch (e) {
|
|
8346
|
+
// `fs` is unavailable in browsers and browser-like bundles.
|
|
8347
|
+
}
|
|
8348
|
+
module.exports = fs;
|
|
8349
|
+
|
|
8350
|
+
},{"12":12}],41:[function(require,module,exports){
|
|
8250
8351
|
"use strict";
|
|
8251
8352
|
module.exports = LongBits;
|
|
8252
8353
|
|
|
8253
|
-
var util = require(
|
|
8354
|
+
var util = require(42);
|
|
8254
8355
|
|
|
8255
8356
|
/**
|
|
8256
8357
|
* Constructs new long bits.
|
|
@@ -8448,7 +8549,7 @@ LongBits.prototype.length = function length() {
|
|
|
8448
8549
|
: part2 < 128 ? 9 : 10;
|
|
8449
8550
|
};
|
|
8450
8551
|
|
|
8451
|
-
},{"
|
|
8552
|
+
},{"42":42}],42:[function(require,module,exports){
|
|
8452
8553
|
"use strict";
|
|
8453
8554
|
var util = exports;
|
|
8454
8555
|
|
|
@@ -8462,19 +8563,31 @@ util.base64 = require(2);
|
|
|
8462
8563
|
util.EventEmitter = require(4);
|
|
8463
8564
|
|
|
8464
8565
|
// float handling accross browsers
|
|
8465
|
-
util.float = require(
|
|
8566
|
+
util.float = require(7);
|
|
8466
8567
|
|
|
8467
8568
|
// requires modules optionally and hides the call from bundlers
|
|
8468
|
-
util.inquire = require(
|
|
8569
|
+
util.inquire = require(8);
|
|
8469
8570
|
|
|
8470
8571
|
// converts to / from utf8 encoded strings
|
|
8471
|
-
util.utf8 = require(
|
|
8572
|
+
util.utf8 = require(11);
|
|
8472
8573
|
|
|
8473
8574
|
// provides a node-like buffer pool in the browser
|
|
8474
|
-
util.pool = require(
|
|
8575
|
+
util.pool = require(10);
|
|
8475
8576
|
|
|
8476
8577
|
// utility to work with the low and high bits of a 64 bit value
|
|
8477
|
-
util.LongBits = require(
|
|
8578
|
+
util.LongBits = require(41);
|
|
8579
|
+
|
|
8580
|
+
/**
|
|
8581
|
+
* Tests if the specified key can affect object prototypes.
|
|
8582
|
+
* @memberof util
|
|
8583
|
+
* @param {string} key Key to test
|
|
8584
|
+
* @returns {boolean} `true` if the key is unsafe
|
|
8585
|
+
*/
|
|
8586
|
+
function isUnsafeProperty(key) {
|
|
8587
|
+
return key === "__proto__" || key === "prototype" || key === "constructor";
|
|
8588
|
+
}
|
|
8589
|
+
|
|
8590
|
+
util.isUnsafeProperty = isUnsafeProperty;
|
|
8478
8591
|
|
|
8479
8592
|
/**
|
|
8480
8593
|
* Whether running within node or not.
|
|
@@ -8576,7 +8689,7 @@ util.isSet = function isSet(obj, prop) {
|
|
|
8576
8689
|
*/
|
|
8577
8690
|
util.Buffer = (function() {
|
|
8578
8691
|
try {
|
|
8579
|
-
var Buffer = util.
|
|
8692
|
+
var Buffer = util.global.Buffer;
|
|
8580
8693
|
// refuse to use non-node buffers if not explicitly assigned (perf reasons):
|
|
8581
8694
|
return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;
|
|
8582
8695
|
} catch (e) {
|
|
@@ -8630,7 +8743,15 @@ util.Array = typeof Uint8Array !== "undefined" ? Uint8Array /* istanbul ignore n
|
|
|
8630
8743
|
*/
|
|
8631
8744
|
util.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long
|
|
8632
8745
|
|| /* istanbul ignore next */ util.global.Long
|
|
8633
|
-
||
|
|
8746
|
+
|| (function() {
|
|
8747
|
+
try {
|
|
8748
|
+
var Long = require("long");
|
|
8749
|
+
return Long && Long.isLong ? Long : null;
|
|
8750
|
+
} catch (e) {
|
|
8751
|
+
/* istanbul ignore next */
|
|
8752
|
+
return null;
|
|
8753
|
+
}
|
|
8754
|
+
})();
|
|
8634
8755
|
|
|
8635
8756
|
/**
|
|
8636
8757
|
* Regular expression used to verify 2 bit (`bool`) map keys.
|
|
@@ -8681,26 +8802,39 @@ util.longFromHash = function longFromHash(hash, unsigned) {
|
|
|
8681
8802
|
* Merges the properties of the source object into the destination object.
|
|
8682
8803
|
* @memberof util
|
|
8683
8804
|
* @param {Object.<string,*>} dst Destination object
|
|
8684
|
-
* @param {Object.<string
|
|
8685
|
-
* @param {boolean} [ifNotSet=false] Merges only if the key is not already set
|
|
8805
|
+
* @param {...(Object.<string,*>|boolean)} src Source objects, optionally followed by an `ifNotSet` flag
|
|
8686
8806
|
* @returns {Object.<string,*>} Destination object
|
|
8687
8807
|
*/
|
|
8688
|
-
function merge(dst
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8808
|
+
function merge(dst) { // used by converters
|
|
8809
|
+
var ifNotSet = typeof arguments[arguments.length - 1] === "boolean",
|
|
8810
|
+
limit = ifNotSet ? arguments.length - 1 : arguments.length;
|
|
8811
|
+
ifNotSet = ifNotSet && arguments[arguments.length - 1];
|
|
8812
|
+
for (var a = 1; a < limit; ++a) {
|
|
8813
|
+
var src = arguments[a];
|
|
8814
|
+
if (!src)
|
|
8815
|
+
continue;
|
|
8816
|
+
for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)
|
|
8817
|
+
if (!isUnsafeProperty(keys[i]) && (dst[keys[i]] === undefined || !ifNotSet))
|
|
8692
8818
|
dst[keys[i]] = src[keys[i]];
|
|
8819
|
+
}
|
|
8693
8820
|
return dst;
|
|
8694
8821
|
}
|
|
8695
8822
|
|
|
8696
8823
|
util.merge = merge;
|
|
8697
8824
|
|
|
8825
|
+
/**
|
|
8826
|
+
* Schema declaration nesting limit.
|
|
8827
|
+
* @memberof util
|
|
8828
|
+
* @type {number}
|
|
8829
|
+
*/
|
|
8830
|
+
util.nestingLimit = 32; // protoc: MaxMessageDeclarationNestingDepth
|
|
8831
|
+
|
|
8698
8832
|
/**
|
|
8699
8833
|
* Recursion limit.
|
|
8700
8834
|
* @memberof util
|
|
8701
8835
|
* @type {number}
|
|
8702
8836
|
*/
|
|
8703
|
-
util.recursionLimit = 100;
|
|
8837
|
+
util.recursionLimit = 100; // protoc: CodedInputStream::default_recursion_limit_
|
|
8704
8838
|
|
|
8705
8839
|
/**
|
|
8706
8840
|
* Makes a property safe for assignment as an own property.
|
|
@@ -8911,7 +9045,7 @@ util._configure = function() {
|
|
|
8911
9045
|
};
|
|
8912
9046
|
};
|
|
8913
9047
|
|
|
8914
|
-
},{"1":1,"10":10,"
|
|
9048
|
+
},{"1":1,"10":10,"11":11,"2":2,"4":4,"41":41,"7":7,"8":8,"long":"long"}],43:[function(require,module,exports){
|
|
8915
9049
|
"use strict";
|
|
8916
9050
|
|
|
8917
9051
|
var patterns = exports;
|
|
@@ -8919,14 +9053,13 @@ var patterns = exports;
|
|
|
8919
9053
|
patterns.numberRe = /^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/;
|
|
8920
9054
|
patterns.typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)(?:\.[a-zA-Z_][a-zA-Z_0-9]*)*$/;
|
|
8921
9055
|
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
9056
|
|
|
8924
|
-
},{}],
|
|
9057
|
+
},{}],44:[function(require,module,exports){
|
|
8925
9058
|
"use strict";
|
|
8926
9059
|
module.exports = verifier;
|
|
8927
9060
|
|
|
8928
|
-
var Enum = require(
|
|
8929
|
-
util = require(
|
|
9061
|
+
var Enum = require(17),
|
|
9062
|
+
util = require(39);
|
|
8930
9063
|
|
|
8931
9064
|
function invalid(field, expected) {
|
|
8932
9065
|
return field.name + ": " + expected + (field.repeated && expected !== "array" ? "[]" : field.map && expected !== "object" ? "{k:"+field.keyType+"}" : "") + " expected";
|
|
@@ -9103,7 +9236,7 @@ function verifier(mtype) {
|
|
|
9103
9236
|
/* eslint-enable no-unexpected-multiline */
|
|
9104
9237
|
}
|
|
9105
9238
|
|
|
9106
|
-
},{"
|
|
9239
|
+
},{"17":17,"39":39}],45:[function(require,module,exports){
|
|
9107
9240
|
"use strict";
|
|
9108
9241
|
|
|
9109
9242
|
/**
|
|
@@ -9113,7 +9246,8 @@ function verifier(mtype) {
|
|
|
9113
9246
|
*/
|
|
9114
9247
|
var wrappers = exports;
|
|
9115
9248
|
|
|
9116
|
-
var Message = require(
|
|
9249
|
+
var Message = require(23),
|
|
9250
|
+
util = require(42);
|
|
9117
9251
|
|
|
9118
9252
|
/**
|
|
9119
9253
|
* From object converter part of an {@link IWrapper}.
|
|
@@ -9160,10 +9294,9 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
9160
9294
|
if (type_url.indexOf("/") === -1) {
|
|
9161
9295
|
type_url = "/" + type_url;
|
|
9162
9296
|
}
|
|
9163
|
-
var nextDepth = depth === undefined ? 1 : depth + 1;
|
|
9164
9297
|
return this.create({
|
|
9165
9298
|
type_url: type_url,
|
|
9166
|
-
value: type.encode(type.fromObject(object,
|
|
9299
|
+
value: type.encode(type.fromObject(object, depth === undefined ? 1 : depth + 1)).finish()
|
|
9167
9300
|
});
|
|
9168
9301
|
}
|
|
9169
9302
|
}
|
|
@@ -9171,7 +9304,11 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
9171
9304
|
return this.fromObject(object, depth);
|
|
9172
9305
|
},
|
|
9173
9306
|
|
|
9174
|
-
toObject: function(message, options) {
|
|
9307
|
+
toObject: function(message, options, depth) {
|
|
9308
|
+
if (depth === undefined)
|
|
9309
|
+
depth = 0;
|
|
9310
|
+
if (depth > util.recursionLimit)
|
|
9311
|
+
throw Error("max depth exceeded");
|
|
9175
9312
|
|
|
9176
9313
|
// Default prefix
|
|
9177
9314
|
var googleApi = "type.googleapis.com/";
|
|
@@ -9187,12 +9324,12 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
9187
9324
|
var type = this.lookup(name);
|
|
9188
9325
|
/* istanbul ignore else */
|
|
9189
9326
|
if (type)
|
|
9190
|
-
message = type.decode(message.value);
|
|
9327
|
+
message = type.decode(message.value, undefined, undefined, depth + 1);
|
|
9191
9328
|
}
|
|
9192
9329
|
|
|
9193
9330
|
// wrap value if unmapped
|
|
9194
9331
|
if (!(message instanceof this.ctor) && message instanceof Message) {
|
|
9195
|
-
var object = message.$type.toObject(message, options);
|
|
9332
|
+
var object = message.$type.toObject(message, options, depth + 1);
|
|
9196
9333
|
var messageName = message.$type.fullName[0] === "." ?
|
|
9197
9334
|
message.$type.fullName.slice(1) : message.$type.fullName;
|
|
9198
9335
|
// Default to type.googleapis.com prefix if no prefix is used
|
|
@@ -9204,15 +9341,15 @@ wrappers[".google.protobuf.Any"] = {
|
|
|
9204
9341
|
return object;
|
|
9205
9342
|
}
|
|
9206
9343
|
|
|
9207
|
-
return this.toObject(message, options);
|
|
9344
|
+
return this.toObject(message, options, depth);
|
|
9208
9345
|
}
|
|
9209
9346
|
};
|
|
9210
9347
|
|
|
9211
|
-
},{"
|
|
9348
|
+
},{"23":23,"42":42}],46:[function(require,module,exports){
|
|
9212
9349
|
"use strict";
|
|
9213
9350
|
module.exports = Writer;
|
|
9214
9351
|
|
|
9215
|
-
var util = require(
|
|
9352
|
+
var util = require(42);
|
|
9216
9353
|
|
|
9217
9354
|
var BufferWriter; // cyclic
|
|
9218
9355
|
|
|
@@ -9436,7 +9573,7 @@ Writer.prototype.uint32 = function write_uint32(value) {
|
|
|
9436
9573
|
* @returns {Writer} `this`
|
|
9437
9574
|
*/
|
|
9438
9575
|
Writer.prototype.int32 = function write_int32(value) {
|
|
9439
|
-
return value < 0
|
|
9576
|
+
return (value |= 0) < 0
|
|
9440
9577
|
? this._push(writeVarint64, 10, LongBits.fromNumber(value)) // 10 bytes per spec
|
|
9441
9578
|
: this.uint32(value);
|
|
9442
9579
|
};
|
|
@@ -9451,16 +9588,18 @@ Writer.prototype.sint32 = function write_sint32(value) {
|
|
|
9451
9588
|
};
|
|
9452
9589
|
|
|
9453
9590
|
function writeVarint64(val, buf, pos) {
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9591
|
+
var lo = val.lo,
|
|
9592
|
+
hi = val.hi;
|
|
9593
|
+
while (hi) {
|
|
9594
|
+
buf[pos++] = lo & 127 | 128;
|
|
9595
|
+
lo = (lo >>> 7 | hi << 25) >>> 0;
|
|
9596
|
+
hi >>>= 7;
|
|
9597
|
+
}
|
|
9598
|
+
while (lo > 127) {
|
|
9599
|
+
buf[pos++] = lo & 127 | 128;
|
|
9600
|
+
lo = lo >>> 7;
|
|
9601
|
+
}
|
|
9602
|
+
buf[pos++] = lo;
|
|
9464
9603
|
}
|
|
9465
9604
|
|
|
9466
9605
|
/**
|
|
@@ -9675,15 +9814,15 @@ Writer._configure = function(BufferWriter_) {
|
|
|
9675
9814
|
BufferWriter._configure();
|
|
9676
9815
|
};
|
|
9677
9816
|
|
|
9678
|
-
},{"
|
|
9817
|
+
},{"42":42}],47:[function(require,module,exports){
|
|
9679
9818
|
"use strict";
|
|
9680
9819
|
module.exports = BufferWriter;
|
|
9681
9820
|
|
|
9682
9821
|
// extends Writer
|
|
9683
|
-
var Writer = require(
|
|
9822
|
+
var Writer = require(46);
|
|
9684
9823
|
(BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;
|
|
9685
9824
|
|
|
9686
|
-
var util = require(
|
|
9825
|
+
var util = require(42);
|
|
9687
9826
|
|
|
9688
9827
|
/**
|
|
9689
9828
|
* Constructs a new buffer writer instance.
|
|
@@ -9762,7 +9901,7 @@ BufferWriter.prototype.string = function write_string_buffer(value) {
|
|
|
9762
9901
|
|
|
9763
9902
|
BufferWriter._configure();
|
|
9764
9903
|
|
|
9765
|
-
},{"
|
|
9904
|
+
},{"42":42,"46":46}]},{},[21])
|
|
9766
9905
|
|
|
9767
9906
|
})();
|
|
9768
9907
|
//# sourceMappingURL=protobuf.js.map
|