@code-yeongyu/senpi 2026.8.20-2 → 2026.8.20
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/CHANGELOG.md +0 -16
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-cjs/index.js +13 -38
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js +12 -34
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseCommand.d.ts +0 -29
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/ConverseStreamCommand.d.ts +0 -15
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/commands/CountTokensCommand.d.ts +0 -14
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/models/models_0.d.ts +1 -119
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.browser.d.ts +46 -46
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.native.d.ts +48 -48
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/schemas/schemas_0.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.browser.d.ts +72 -70
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -86
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -3
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +14 -14
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +426 -1343
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +5 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonCodec.js → JsonCodec.js} +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonShapeDeserializer.js → JsonShapeDeserializer.js} +6 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v1/JsonShapeSerializer.js → JsonShapeSerializer.js} +5 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v2/JsonShapeDeserializer2.js → experimental/BufferJsonShapeDeserializer.js} +18 -38
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/{codec-v2/JsonShapeSerializer2.js → experimental/ByteJsonShapeSerializer.js} +71 -107
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +9 -93
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +6 -9
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonCodec.d.ts → JsonCodec.d.ts} +8 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonShapeDeserializer.d.ts → JsonShapeDeserializer.d.ts} +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v1/JsonShapeSerializer.d.ts → JsonShapeSerializer.d.ts} +2 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v2/JsonShapeDeserializer2.d.ts → experimental/BufferJsonShapeDeserializer.d.ts} +3 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/{codec-v2/JsonShapeSerializer2.d.ts → experimental/ByteJsonShapeSerializer.d.ts} +16 -19
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +21 -61
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +27 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +16 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +5 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +11 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +47 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +39 -112
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +48 -107
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/longPollMiddleware.d.ts +14 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-host-header/hostHeaderMiddleware.d.ts +35 -25
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-logger/loggerMiddleware.d.ts +4 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/configuration.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.browser.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/getRecursionDetectionPlugin.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.d.ts +10 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-recursion-detection/recursionDetectionMiddleware.native.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/check-features.d.ts +20 -16
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/configurations.d.ts +44 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/constants.d.ts +7 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/encode-features.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/middleware-user-agent/user-agent-middleware.d.ts +18 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/awsRegionConfig.d.ts +11 -8
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/extensions.d.ts +16 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.browser.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/region-config-resolver/stsRegionDefaultResolver.native.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +12 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +7 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/aws.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/parseArn.d.ts +7 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partition.d.ts +38 -28
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +638 -647
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/isIpAddress.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -29
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/resolveEndpoint.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointError.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/EndpointRuleObject.d.ts +1 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/ErrorRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/RuleSetObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/TreeRuleObject.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/types/shared.d.ts +1 -12
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/configurations.d.ts +7 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/createUserAgentStringParsingProvider.d.ts +14 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.browser.d.ts +2 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +27 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +18 -10
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/crt-availability.d.ts +8 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +28 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/getRuntimeUserAgentPair.d.ts +6 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/is-crt-available.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/nodeAppIdConfigOptions.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +44 -39
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.browser.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-defaults.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/clock-skew-node-config.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +7 -23
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +133 -57
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.browser.d.ts +11 -32
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +9 -32
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getBearerTokenEnvKey.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +8 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +26 -6
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +4 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +74 -40
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +24 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +25 -36
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +18 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +22 -30
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +22 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +22 -22
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +29 -50
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +36 -52
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +28 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +7 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/BufferJsonShapeDeserializer.d.ts +29 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/experimental/ByteJsonShapeSerializer.d.ts +57 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +21 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +15 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +11 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +22 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +27 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +49 -57
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +13 -7
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +16 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/writeKey.d.ts +4 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +31 -47
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +14 -17
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -21
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-arn-parser/arn.d.ts +32 -14
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/util-format-url/format-url.d.ts +2 -4
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +840 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +241 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +136 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +173 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +23 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +64 -0
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js +28 -35
- package/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js +28 -35
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/LoginCredentialsFetcher.d.ts +0 -1
- package/node_modules/@aws-sdk/credential-provider-login/dist-types/ts3.4/LoginCredentialsFetcher.d.ts +0 -1
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-websocket/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +66 -64
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +70 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +69 -67
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +73 -71
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +66 -64
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +70 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +66 -64
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +70 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +70 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +74 -72
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +840 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +241 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +136 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +173 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +23 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +64 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -8
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@bufbuild/protobuf/README.md +15 -12
- package/node_modules/@bufbuild/protobuf/dist/commonjs/create.js +162 -199
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-binary.js +153 -321
- package/node_modules/@bufbuild/protobuf/dist/commonjs/from-json.js +303 -601
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.d.ts +1 -27
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect-check.js +56 -80
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/reflect.js +80 -3
- package/node_modules/@bufbuild/protobuf/dist/commonjs/registry.js +3 -12
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.d.ts +0 -4
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-binary.js +127 -365
- package/node_modules/@bufbuild/protobuf/dist/commonjs/to-json.js +159 -393
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.d.ts +1 -3
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/base64-encoding.js +8 -40
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.d.ts +19 -37
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/binary-encoding.js +85 -281
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/index.js +1 -4
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.d.ts +2 -19
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/text-encoding.js +13 -47
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.d.ts +4 -4
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wire/varint.js +23 -35
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/wrappers.js +12 -12
- package/node_modules/@bufbuild/protobuf/dist/esm/create.js +162 -199
- package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +153 -321
- package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +304 -602
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts +1 -27
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +57 -79
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +78 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +3 -12
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +0 -4
- package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +127 -365
- package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +159 -393
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts +1 -3
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +8 -40
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +19 -37
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +87 -283
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +1 -1
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +2 -19
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +13 -46
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts +4 -4
- package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +23 -35
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +12 -12
- package/node_modules/@bufbuild/protobuf/package.json +2 -2
- package/node_modules/@code-yeongyu/senpi-codemode/CHANGELOG.md +0 -12
- package/node_modules/@code-yeongyu/senpi-codemode/package.json +4 -4
- package/node_modules/@earendil-works/pi-agent-core/package.json +6 -6
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/node_modules/@earendil-works/pi-ai/package.json +8 -8
- package/node_modules/@earendil-works/pi-pty/package.json +2 -2
- package/node_modules/@earendil-works/pi-telemetry/package.json +2 -2
- package/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +337 -1560
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +23 -23
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +13 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +205 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -5
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +19 -19
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +4 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +4 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +5 -8
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +27 -5
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -5
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +2 -14
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +2 -7
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +27 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +2 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +2 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/package.json +11 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +12 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +13 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -9
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +13 -5
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +9 -9
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +9 -9
- package/node_modules/@smithy/signature-v4/package.json +12 -4
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +39 -29
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/child_process.d.ts +1 -0
- package/node_modules/@types/node/crypto.d.ts +7 -7
- package/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@types/node/fs.d.ts +0 -7
- package/node_modules/@types/node/http.d.ts +0 -30
- package/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/perf_hooks.d.ts +1 -2
- package/node_modules/@types/node/process.d.ts +43 -42
- package/node_modules/@types/node/quic.d.ts +84 -1049
- package/node_modules/@types/node/sqlite.d.ts +1 -14
- package/node_modules/@types/node/stream/iter.d.ts +2 -3
- package/node_modules/@types/node/test.d.ts +0 -61
- package/node_modules/@types/node/v8.d.ts +23 -20
- package/package.json +36 -36
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -103
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -51
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -11
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -9
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.d.ts +0 -49
- package/node_modules/@bufbuild/protobuf/dist/commonjs/reflect/message.js +0 -157
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.d.ts +0 -28
- package/node_modules/@bufbuild/protobuf/dist/commonjs/wkt/json.js +0 -44
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.d.ts +0 -49
- package/node_modules/@bufbuild/protobuf/dist/esm/reflect/message.js +0 -152
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.d.ts +0 -28
- package/node_modules/@bufbuild/protobuf/dist/esm/wkt/json.js +0 -41
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +0 -113
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +0 -103
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +0 -621
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +0 -602
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeDeserializer.d.ts +0 -13
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v1/CborShapeSerializer.d.ts +0 -15
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeDeserializer2.d.ts +0 -18
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/codec-v2/CborShapeSerializer2.d.ts +0 -35
|
@@ -80,55 +80,34 @@ exports.INT32_MAX = 0x7fffffff;
|
|
|
80
80
|
*/
|
|
81
81
|
exports.INT32_MIN = -0x80000000;
|
|
82
82
|
class BinaryWriter {
|
|
83
|
-
constructor(encodeUtf8) {
|
|
83
|
+
constructor(encodeUtf8 = (0, text_encoding_js_1.getTextEncoding)().encodeUtf8) {
|
|
84
|
+
this.encodeUtf8 = encodeUtf8;
|
|
84
85
|
/**
|
|
85
|
-
* Previous fork
|
|
86
|
-
* `fork()` was called).
|
|
86
|
+
* Previous fork states.
|
|
87
87
|
*/
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
|
|
91
|
-
: (0, text_encoding_js_1.getTextEncoding)().encodeUtf8Into;
|
|
92
|
-
this.buffer = EMPTY_BUFFER;
|
|
93
|
-
this.viewCache = EMPTY_VIEW;
|
|
94
|
-
this.pos = 0;
|
|
95
|
-
}
|
|
96
|
-
ensureCapacity(size) {
|
|
97
|
-
const required = this.pos + size;
|
|
98
|
-
if (required > this.buffer.length) {
|
|
99
|
-
let newLen = this.buffer.length || INITIAL_SIZE;
|
|
100
|
-
while (newLen < required)
|
|
101
|
-
newLen *= 2;
|
|
102
|
-
const newBuf = new Uint8Array(newLen);
|
|
103
|
-
if (this.pos > 0)
|
|
104
|
-
newBuf.set(this.buffer);
|
|
105
|
-
this.buffer = newBuf;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* The DataView over `buffer`, rebuilt only if the buffer has grown since it
|
|
110
|
-
* was last used.
|
|
111
|
-
*/
|
|
112
|
-
view() {
|
|
113
|
-
const bytes = this.buffer;
|
|
114
|
-
const view = this.viewCache;
|
|
115
|
-
// Since ensureCapacity() only ever replaces the buffer with a strictly larger one,
|
|
116
|
-
// equal lengths mean the view is still current. This is faster than comparing
|
|
117
|
-
// buffers directly.
|
|
118
|
-
if (view.byteLength === bytes.byteLength)
|
|
119
|
-
return view;
|
|
120
|
-
const newView = new DataView(bytes.buffer);
|
|
121
|
-
this.viewCache = newView;
|
|
122
|
-
return newView;
|
|
88
|
+
this.stack = [];
|
|
89
|
+
this.chunks = [];
|
|
90
|
+
this.buf = [];
|
|
123
91
|
}
|
|
124
92
|
/**
|
|
125
93
|
* Return all bytes written and reset this writer.
|
|
126
94
|
*/
|
|
127
95
|
finish() {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
96
|
+
if (this.buf.length) {
|
|
97
|
+
this.chunks.push(new Uint8Array(this.buf)); // flush the buffer
|
|
98
|
+
this.buf = [];
|
|
99
|
+
}
|
|
100
|
+
let len = 0;
|
|
101
|
+
for (let i = 0; i < this.chunks.length; i++)
|
|
102
|
+
len += this.chunks[i].length;
|
|
103
|
+
let bytes = new Uint8Array(len);
|
|
104
|
+
let offset = 0;
|
|
105
|
+
for (let i = 0; i < this.chunks.length; i++) {
|
|
106
|
+
bytes.set(this.chunks[i], offset);
|
|
107
|
+
offset += this.chunks[i].length;
|
|
108
|
+
}
|
|
109
|
+
this.chunks = [];
|
|
110
|
+
return bytes;
|
|
132
111
|
}
|
|
133
112
|
/**
|
|
134
113
|
* Start a new fork for length-delimited data like a message
|
|
@@ -137,11 +116,9 @@ class BinaryWriter {
|
|
|
137
116
|
* Must be joined later with `join()`.
|
|
138
117
|
*/
|
|
139
118
|
fork() {
|
|
140
|
-
this.
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
this.ensureCapacity(DEFAULT_LEN_PREFIX_SIZE);
|
|
144
|
-
this.buffer[this.pos++] = 0;
|
|
119
|
+
this.stack.push({ chunks: this.chunks, buf: this.buf });
|
|
120
|
+
this.chunks = [];
|
|
121
|
+
this.buf = [];
|
|
145
122
|
return this;
|
|
146
123
|
}
|
|
147
124
|
/**
|
|
@@ -149,24 +126,17 @@ class BinaryWriter {
|
|
|
149
126
|
* return to the previous state.
|
|
150
127
|
*/
|
|
151
128
|
join() {
|
|
152
|
-
|
|
153
|
-
|
|
129
|
+
// get chunk of fork
|
|
130
|
+
let chunk = this.finish();
|
|
131
|
+
// restore previous state
|
|
132
|
+
let prev = this.stack.pop();
|
|
133
|
+
if (!prev)
|
|
154
134
|
throw new Error("invalid state, fork stack empty");
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
// Widening pushes the payload past the end of the buffer, so grow first:
|
|
161
|
-
// copyWithin clamps to the buffer instead of throwing, so a short buffer
|
|
162
|
-
// would silently drop the tail of the payload.
|
|
163
|
-
this.ensureCapacity(lenPrefixSize - DEFAULT_LEN_PREFIX_SIZE);
|
|
164
|
-
this.buffer.copyWithin(forkPos + lenPrefixSize, forkPos + DEFAULT_LEN_PREFIX_SIZE, this.pos);
|
|
165
|
-
}
|
|
166
|
-
this.pos = forkPos;
|
|
167
|
-
this.uint32(len);
|
|
168
|
-
this.pos += len;
|
|
169
|
-
return this;
|
|
135
|
+
this.chunks = prev.chunks;
|
|
136
|
+
this.buf = prev.buf;
|
|
137
|
+
// write length of chunk as varint
|
|
138
|
+
this.uint32(chunk.byteLength);
|
|
139
|
+
return this.raw(chunk);
|
|
170
140
|
}
|
|
171
141
|
/**
|
|
172
142
|
* Writes a tag (field number and wire type).
|
|
@@ -182,9 +152,11 @@ class BinaryWriter {
|
|
|
182
152
|
* Write a chunk of raw bytes.
|
|
183
153
|
*/
|
|
184
154
|
raw(chunk) {
|
|
185
|
-
this.
|
|
186
|
-
|
|
187
|
-
|
|
155
|
+
if (this.buf.length) {
|
|
156
|
+
this.chunks.push(new Uint8Array(this.buf));
|
|
157
|
+
this.buf = [];
|
|
158
|
+
}
|
|
159
|
+
this.chunks.push(chunk);
|
|
188
160
|
return this;
|
|
189
161
|
}
|
|
190
162
|
/**
|
|
@@ -192,18 +164,12 @@ class BinaryWriter {
|
|
|
192
164
|
*/
|
|
193
165
|
uint32(value) {
|
|
194
166
|
assertUInt32(value);
|
|
195
|
-
//
|
|
196
|
-
// capacity checks.
|
|
197
|
-
this.ensureCapacity(5);
|
|
198
|
-
if (value < 0x80) {
|
|
199
|
-
this.buffer[this.pos++] = value;
|
|
200
|
-
return this;
|
|
201
|
-
}
|
|
167
|
+
// write value as varint 32, inlined for speed
|
|
202
168
|
while (value > 0x7f) {
|
|
203
|
-
this.
|
|
204
|
-
value
|
|
169
|
+
this.buf.push((value & 0x7f) | 0x80);
|
|
170
|
+
value = value >>> 7;
|
|
205
171
|
}
|
|
206
|
-
this.
|
|
172
|
+
this.buf.push(value);
|
|
207
173
|
return this;
|
|
208
174
|
}
|
|
209
175
|
/**
|
|
@@ -211,158 +177,101 @@ class BinaryWriter {
|
|
|
211
177
|
*/
|
|
212
178
|
int32(value) {
|
|
213
179
|
assertInt32(value);
|
|
214
|
-
|
|
215
|
-
return this.uint32(value);
|
|
216
|
-
}
|
|
217
|
-
// Negative: sign-extend to 64 bits, encodes to 10 bytes.
|
|
218
|
-
this.ensureCapacity(10);
|
|
219
|
-
for (let i = 0; i < 9; i++) {
|
|
220
|
-
this.buffer[this.pos++] = (value & 0x7f) | 0x80;
|
|
221
|
-
value >>= 7;
|
|
222
|
-
}
|
|
223
|
-
this.buffer[this.pos++] = 1;
|
|
180
|
+
(0, varint_js_1.varint32write)(value, this.buf);
|
|
224
181
|
return this;
|
|
225
182
|
}
|
|
226
183
|
/**
|
|
227
184
|
* Write a `bool` value, a varint.
|
|
228
185
|
*/
|
|
229
186
|
bool(value) {
|
|
230
|
-
this.
|
|
231
|
-
this.buffer[this.pos++] = value ? 1 : 0;
|
|
187
|
+
this.buf.push(value ? 1 : 0);
|
|
232
188
|
return this;
|
|
233
189
|
}
|
|
234
190
|
/**
|
|
235
191
|
* Write a `bytes` value, length-delimited arbitrary data.
|
|
236
192
|
*/
|
|
237
193
|
bytes(value) {
|
|
238
|
-
this.uint32(value.byteLength);
|
|
194
|
+
this.uint32(value.byteLength); // write length of chunk as varint
|
|
239
195
|
return this.raw(value);
|
|
240
196
|
}
|
|
241
197
|
/**
|
|
242
198
|
* Write a `string` value, length-delimited data converted to UTF-8 text.
|
|
243
199
|
*/
|
|
244
200
|
string(value) {
|
|
245
|
-
|
|
246
|
-
//
|
|
247
|
-
|
|
248
|
-
value = String(value);
|
|
249
|
-
}
|
|
250
|
-
const len = value.length;
|
|
251
|
-
// Fast path for ASCII.
|
|
252
|
-
if (len <= ASCII_MAX_LENGTH) {
|
|
253
|
-
this.ensureCapacity(len + 1);
|
|
254
|
-
const ascii = this.buffer;
|
|
255
|
-
let pos = this.pos;
|
|
256
|
-
ascii[pos++] = len;
|
|
257
|
-
let i = 0;
|
|
258
|
-
for (; i < len; i++) {
|
|
259
|
-
const code = value.charCodeAt(i);
|
|
260
|
-
if (code > 0x7f)
|
|
261
|
-
break;
|
|
262
|
-
ascii[pos++] = code;
|
|
263
|
-
}
|
|
264
|
-
if (i == len) {
|
|
265
|
-
this.pos = pos;
|
|
266
|
-
return this;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
// encodeUtf8Into needs the full-length buffer upfront. The length prefix
|
|
270
|
-
// can be upto 5 bytes, and a UTF-16 code unit takes at most 3 UTF-8 bytes.
|
|
271
|
-
this.ensureCapacity(len * 3 + 5);
|
|
272
|
-
// The length prefix goes first, but the byte length is only known after
|
|
273
|
-
// encoding. We guess the final varint size here (assuming most text is
|
|
274
|
-
// ASCII) and then encode.
|
|
275
|
-
const lenPrefixSizeGuess = varint32Size(len);
|
|
276
|
-
const buf = this.buffer;
|
|
277
|
-
const start = this.pos;
|
|
278
|
-
const { written } = this.encodeUtf8Into(value, buf.subarray(start + lenPrefixSizeGuess));
|
|
279
|
-
// If our guess was incorrect, we need to shift the bytes we just wrote.
|
|
280
|
-
const lenPrefixSize = varint32Size(written);
|
|
281
|
-
if (lenPrefixSize != lenPrefixSizeGuess) {
|
|
282
|
-
buf.copyWithin(start + lenPrefixSize, start + lenPrefixSizeGuess, start + lenPrefixSizeGuess + written);
|
|
283
|
-
}
|
|
284
|
-
// Write the lenPrefix and advance the pos.
|
|
285
|
-
this.uint32(written);
|
|
286
|
-
this.pos += written;
|
|
287
|
-
return this;
|
|
201
|
+
let chunk = this.encodeUtf8(value);
|
|
202
|
+
this.uint32(chunk.byteLength); // write length of chunk as varint
|
|
203
|
+
return this.raw(chunk);
|
|
288
204
|
}
|
|
289
205
|
/**
|
|
290
206
|
* Write a `float` value, 32-bit floating point number.
|
|
291
207
|
*/
|
|
292
208
|
float(value) {
|
|
293
209
|
assertFloat32(value);
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
this.
|
|
297
|
-
return this;
|
|
210
|
+
let chunk = new Uint8Array(4);
|
|
211
|
+
new DataView(chunk.buffer).setFloat32(0, value, true);
|
|
212
|
+
return this.raw(chunk);
|
|
298
213
|
}
|
|
299
214
|
/**
|
|
300
215
|
* Write a `double` value, a 64-bit floating point number.
|
|
301
216
|
*/
|
|
302
217
|
double(value) {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
this.
|
|
306
|
-
return this;
|
|
218
|
+
let chunk = new Uint8Array(8);
|
|
219
|
+
new DataView(chunk.buffer).setFloat64(0, value, true);
|
|
220
|
+
return this.raw(chunk);
|
|
307
221
|
}
|
|
308
222
|
/**
|
|
309
223
|
* Write a `fixed32` value, an unsigned, fixed-length 32-bit integer.
|
|
310
224
|
*/
|
|
311
225
|
fixed32(value) {
|
|
312
226
|
assertUInt32(value);
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
this.
|
|
316
|
-
return this;
|
|
227
|
+
let chunk = new Uint8Array(4);
|
|
228
|
+
new DataView(chunk.buffer).setUint32(0, value, true);
|
|
229
|
+
return this.raw(chunk);
|
|
317
230
|
}
|
|
318
231
|
/**
|
|
319
232
|
* Write a `sfixed32` value, a signed, fixed-length 32-bit integer.
|
|
320
233
|
*/
|
|
321
234
|
sfixed32(value) {
|
|
322
235
|
assertInt32(value);
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
this.
|
|
326
|
-
return this;
|
|
236
|
+
let chunk = new Uint8Array(4);
|
|
237
|
+
new DataView(chunk.buffer).setInt32(0, value, true);
|
|
238
|
+
return this.raw(chunk);
|
|
327
239
|
}
|
|
328
240
|
/**
|
|
329
241
|
* Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.
|
|
330
242
|
*/
|
|
331
243
|
sint32(value) {
|
|
332
244
|
assertInt32(value);
|
|
333
|
-
// zigzag encode
|
|
334
|
-
|
|
245
|
+
// zigzag encode
|
|
246
|
+
value = ((value << 1) ^ (value >> 31)) >>> 0;
|
|
247
|
+
(0, varint_js_1.varint32write)(value, this.buf);
|
|
248
|
+
return this;
|
|
335
249
|
}
|
|
336
250
|
/**
|
|
337
251
|
* Write a `sfixed64` value, a signed, fixed-length 64-bit integer.
|
|
338
252
|
*/
|
|
339
253
|
sfixed64(value) {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
view.setInt32(this.pos + 4, tc.hi, true);
|
|
345
|
-
this.pos += 8;
|
|
346
|
-
return this;
|
|
254
|
+
let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = proto_int64_js_1.protoInt64.enc(value);
|
|
255
|
+
view.setInt32(0, tc.lo, true);
|
|
256
|
+
view.setInt32(4, tc.hi, true);
|
|
257
|
+
return this.raw(chunk);
|
|
347
258
|
}
|
|
348
259
|
/**
|
|
349
260
|
* Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.
|
|
350
261
|
*/
|
|
351
262
|
fixed64(value) {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
view.setInt32(this.pos + 4, tc.hi, true);
|
|
357
|
-
this.pos += 8;
|
|
358
|
-
return this;
|
|
263
|
+
let chunk = new Uint8Array(8), view = new DataView(chunk.buffer), tc = proto_int64_js_1.protoInt64.uEnc(value);
|
|
264
|
+
view.setInt32(0, tc.lo, true);
|
|
265
|
+
view.setInt32(4, tc.hi, true);
|
|
266
|
+
return this.raw(chunk);
|
|
359
267
|
}
|
|
360
268
|
/**
|
|
361
269
|
* Write a `int64` value, a signed 64-bit varint.
|
|
362
270
|
*/
|
|
363
271
|
int64(value) {
|
|
364
|
-
|
|
365
|
-
|
|
272
|
+
let tc = proto_int64_js_1.protoInt64.enc(value);
|
|
273
|
+
(0, varint_js_1.varint64write)(tc.lo, tc.hi, this.buf);
|
|
274
|
+
return this;
|
|
366
275
|
}
|
|
367
276
|
/**
|
|
368
277
|
* Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.
|
|
@@ -371,103 +280,22 @@ class BinaryWriter {
|
|
|
371
280
|
const tc = proto_int64_js_1.protoInt64.enc(value),
|
|
372
281
|
// zigzag encode
|
|
373
282
|
sign = tc.hi >> 31, lo = (tc.lo << 1) ^ sign, hi = ((tc.hi << 1) | (tc.lo >>> 31)) ^ sign;
|
|
374
|
-
|
|
283
|
+
(0, varint_js_1.varint64write)(lo, hi, this.buf);
|
|
284
|
+
return this;
|
|
375
285
|
}
|
|
376
286
|
/**
|
|
377
287
|
* Write a `uint64` value, an unsigned 64-bit varint.
|
|
378
288
|
*/
|
|
379
289
|
uint64(value) {
|
|
380
290
|
const tc = proto_int64_js_1.protoInt64.uEnc(value);
|
|
381
|
-
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Write a 64-bit varint directly into the buffer. Accepts the value as
|
|
385
|
-
* split low/high 32-bit words.
|
|
386
|
-
*
|
|
387
|
-
* Ported from varint64write() to avoid the intermediate number[] buffer.
|
|
388
|
-
* See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344
|
|
389
|
-
*/
|
|
390
|
-
writeVarint64(lo, hi) {
|
|
391
|
-
// Worst case: 10 bytes.
|
|
392
|
-
this.ensureCapacity(10);
|
|
393
|
-
const buf = this.buffer;
|
|
394
|
-
let pos = this.pos;
|
|
395
|
-
for (let i = 0; i < 28; i = i + 7) {
|
|
396
|
-
const shift = lo >>> i;
|
|
397
|
-
const hasNext = !(shift >>> 7 == 0 && hi == 0);
|
|
398
|
-
buf[pos++] = (hasNext ? shift | 0x80 : shift) & 0xff;
|
|
399
|
-
if (!hasNext) {
|
|
400
|
-
this.pos = pos;
|
|
401
|
-
return this;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
const splitBits = ((lo >>> 28) & 0x0f) | ((hi & 0x07) << 4);
|
|
405
|
-
const hasMoreBits = !(hi >> 3 == 0);
|
|
406
|
-
buf[pos++] = (hasMoreBits ? splitBits | 0x80 : splitBits) & 0xff;
|
|
407
|
-
if (!hasMoreBits) {
|
|
408
|
-
this.pos = pos;
|
|
409
|
-
return this;
|
|
410
|
-
}
|
|
411
|
-
for (let i = 3; i < 31; i = i + 7) {
|
|
412
|
-
const shift = hi >>> i;
|
|
413
|
-
const hasNext = !(shift >>> 7 == 0);
|
|
414
|
-
buf[pos++] = (hasNext ? shift | 0x80 : shift) & 0xff;
|
|
415
|
-
if (!hasNext) {
|
|
416
|
-
this.pos = pos;
|
|
417
|
-
return this;
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
buf[pos++] = (hi >>> 31) & 0x01;
|
|
421
|
-
this.pos = pos;
|
|
291
|
+
(0, varint_js_1.varint64write)(tc.lo, tc.hi, this.buf);
|
|
422
292
|
return this;
|
|
423
293
|
}
|
|
424
294
|
}
|
|
425
295
|
exports.BinaryWriter = BinaryWriter;
|
|
426
|
-
/**
|
|
427
|
-
* Capacity of the buffer allocated by the first write..
|
|
428
|
-
*/
|
|
429
|
-
const INITIAL_SIZE = 128;
|
|
430
|
-
/**
|
|
431
|
-
* Bytes `fork()` reserves for the length prefix, betting that the payload will
|
|
432
|
-
* be under 128 bytes. `join()` fills them in, and widens them if the bet was
|
|
433
|
-
* wrong.
|
|
434
|
-
*/
|
|
435
|
-
const DEFAULT_LEN_PREFIX_SIZE = 1;
|
|
436
|
-
/**
|
|
437
|
-
* Shared empty buffer used as the initial value before the first write.
|
|
438
|
-
* Avoids allocating and zeroing `INITIAL_SIZE` bytes per BinaryWriter when a
|
|
439
|
-
* writer is only used for a tiny message (or not used at all).
|
|
440
|
-
*/
|
|
441
|
-
const EMPTY_BUFFER = new Uint8Array(0);
|
|
442
|
-
/**
|
|
443
|
-
* Shared empty view, paired with `EMPTY_BUFFER`. Never written to: any
|
|
444
|
-
* fixed-width write first grows the buffer, which replaces this view.
|
|
445
|
-
*/
|
|
446
|
-
const EMPTY_VIEW = new DataView(EMPTY_BUFFER.buffer);
|
|
447
|
-
/**
|
|
448
|
-
* Longest string on the ASCII fast paths. Must stay below 0x80, so
|
|
449
|
-
* that the writer's length prefix always fits a single varint byte.
|
|
450
|
-
*/
|
|
451
|
-
const ASCII_MAX_LENGTH = 32;
|
|
452
|
-
/**
|
|
453
|
-
* Number of bytes needed to encode `value` as an unsigned 32-bit varint.
|
|
454
|
-
*/
|
|
455
|
-
function varint32Size(value) {
|
|
456
|
-
if (value < 0x80)
|
|
457
|
-
return 1;
|
|
458
|
-
if (value < 0x4000)
|
|
459
|
-
return 2;
|
|
460
|
-
if (value < 0x200000)
|
|
461
|
-
return 3;
|
|
462
|
-
if (value < 0x10000000)
|
|
463
|
-
return 4;
|
|
464
|
-
return 5;
|
|
465
|
-
}
|
|
466
296
|
class BinaryReader {
|
|
467
297
|
constructor(buf, decodeUtf8 = (0, text_encoding_js_1.getTextEncoding)().decodeUtf8) {
|
|
468
298
|
this.decodeUtf8 = decodeUtf8;
|
|
469
|
-
this.varint64Lo = 0;
|
|
470
|
-
this.varint64Hi = 0;
|
|
471
299
|
this.varint64 = varint_js_1.varint64read; // dirty cast for `this`
|
|
472
300
|
/**
|
|
473
301
|
* Read a `uint32` field, an unsigned 32 bit varint.
|
|
@@ -568,23 +396,19 @@ class BinaryReader {
|
|
|
568
396
|
* Read a `int64` field, a signed 64-bit varint.
|
|
569
397
|
*/
|
|
570
398
|
int64() {
|
|
571
|
-
this.varint64();
|
|
572
|
-
return proto_int64_js_1.protoInt64.dec(this.varint64Lo, this.varint64Hi);
|
|
399
|
+
return proto_int64_js_1.protoInt64.dec(...this.varint64());
|
|
573
400
|
}
|
|
574
401
|
/**
|
|
575
402
|
* Read a `uint64` field, an unsigned 64-bit varint.
|
|
576
403
|
*/
|
|
577
404
|
uint64() {
|
|
578
|
-
this.varint64();
|
|
579
|
-
return proto_int64_js_1.protoInt64.uDec(this.varint64Lo, this.varint64Hi);
|
|
405
|
+
return proto_int64_js_1.protoInt64.uDec(...this.varint64());
|
|
580
406
|
}
|
|
581
407
|
/**
|
|
582
408
|
* Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.
|
|
583
409
|
*/
|
|
584
410
|
sint64() {
|
|
585
|
-
this.varint64();
|
|
586
|
-
let lo = this.varint64Lo;
|
|
587
|
-
let hi = this.varint64Hi;
|
|
411
|
+
let [lo, hi] = this.varint64();
|
|
588
412
|
// decode zig zag
|
|
589
413
|
let s = -(lo & 1);
|
|
590
414
|
lo = ((lo >>> 1) | ((hi & 1) << 31)) ^ s;
|
|
@@ -595,14 +419,8 @@ class BinaryReader {
|
|
|
595
419
|
* Read a `bool` field, a variant.
|
|
596
420
|
*/
|
|
597
421
|
bool() {
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
if (b < 0x80) {
|
|
601
|
-
this.pos++;
|
|
602
|
-
return b !== 0;
|
|
603
|
-
}
|
|
604
|
-
this.varint64();
|
|
605
|
-
return this.varint64Lo !== 0 || this.varint64Hi !== 0;
|
|
422
|
+
let [lo, hi] = this.varint64();
|
|
423
|
+
return lo !== 0 || hi !== 0;
|
|
606
424
|
}
|
|
607
425
|
/**
|
|
608
426
|
* Read a `fixed32` field, an unsigned, fixed-length 32-bit integer.
|
|
@@ -658,21 +476,7 @@ class BinaryReader {
|
|
|
658
476
|
* `strict` is true, throw on invalid UTF-8 instead of substituting U+FFFD.
|
|
659
477
|
*/
|
|
660
478
|
string(strict) {
|
|
661
|
-
|
|
662
|
-
const len = bytes.length;
|
|
663
|
-
// Fast path for ASCII.
|
|
664
|
-
if (len <= ASCII_MAX_LENGTH) {
|
|
665
|
-
const codes = new Array(len);
|
|
666
|
-
for (let i = 0; i < len; i++) {
|
|
667
|
-
const byte = bytes[i];
|
|
668
|
-
if (byte > 0x7f) {
|
|
669
|
-
return this.decodeUtf8(bytes, strict);
|
|
670
|
-
}
|
|
671
|
-
codes[i] = byte;
|
|
672
|
-
}
|
|
673
|
-
return String.fromCharCode.apply(String, codes);
|
|
674
|
-
}
|
|
675
|
-
return this.decodeUtf8(bytes, strict);
|
|
479
|
+
return this.decodeUtf8(this.bytes(), strict);
|
|
676
480
|
}
|
|
677
481
|
}
|
|
678
482
|
exports.BinaryReader = BinaryReader;
|
|
@@ -27,11 +27,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.configureTextEncoding = exports.getTextEncoding = void 0;
|
|
31
30
|
__exportStar(require("./binary-encoding.js"), exports);
|
|
32
31
|
__exportStar(require("./base64-encoding.js"), exports);
|
|
33
|
-
|
|
34
|
-
Object.defineProperty(exports, "getTextEncoding", { enumerable: true, get: function () { return text_encoding_js_1.getTextEncoding; } });
|
|
35
|
-
Object.defineProperty(exports, "configureTextEncoding", { enumerable: true, get: function () { return text_encoding_js_1.configureTextEncoding; } });
|
|
32
|
+
__exportStar(require("./text-encoding.js"), exports);
|
|
36
33
|
__exportStar(require("./text-format.js"), exports);
|
|
37
34
|
__exportStar(require("./size-delimited.js"), exports);
|
|
@@ -7,12 +7,6 @@ interface TextEncoding {
|
|
|
7
7
|
* Encode UTF-8 text to binary.
|
|
8
8
|
*/
|
|
9
9
|
encodeUtf8: (text: string) => Uint8Array<ArrayBuffer>;
|
|
10
|
-
/**
|
|
11
|
-
* Encode UTF-8 text to a Uint8Array. The destination must be large enough.
|
|
12
|
-
*/
|
|
13
|
-
encodeUtf8Into: (text: string, dest: Uint8Array) => {
|
|
14
|
-
written: number;
|
|
15
|
-
};
|
|
16
10
|
/**
|
|
17
11
|
* Decode UTF-8 text from binary. If `strict` is true, throw on invalid byte
|
|
18
12
|
* sequences instead of silently substituting U+FFFD. Implementations that
|
|
@@ -20,26 +14,15 @@ interface TextEncoding {
|
|
|
20
14
|
*/
|
|
21
15
|
decodeUtf8: (bytes: Uint8Array, strict?: boolean) => string;
|
|
22
16
|
}
|
|
23
|
-
type TextEncodingConfig = Omit<TextEncoding, "encodeUtf8Into"> & Partial<Pick<TextEncoding, "encodeUtf8Into">>;
|
|
24
17
|
/**
|
|
25
18
|
* Protobuf-ES requires the Text Encoding API to convert UTF-8 from and to
|
|
26
19
|
* binary. This WHATWG API is widely available, but it is not part of the
|
|
27
20
|
* ECMAScript standard. On runtimes where it is not available, use this
|
|
28
21
|
* function to provide your own implementation.
|
|
29
22
|
*
|
|
30
|
-
* Providing `encodeUtf8Into` is optional for backwards compatibility. If it
|
|
31
|
-
* is omitted, we emulate it with a wrapper that calls `encodeUtf8`.
|
|
32
|
-
*
|
|
33
23
|
* Note that the Text Encoding API does not provide a way to validate UTF-8.
|
|
34
|
-
* Our implementation
|
|
35
|
-
* to use encodeURIComponent().
|
|
24
|
+
* Our implementation falls back to use encodeURIComponent().
|
|
36
25
|
*/
|
|
37
|
-
export declare function configureTextEncoding(textEncoding:
|
|
26
|
+
export declare function configureTextEncoding(textEncoding: TextEncoding): void;
|
|
38
27
|
export declare function getTextEncoding(): TextEncoding;
|
|
39
|
-
/**
|
|
40
|
-
* Simplistic polyfill for encodeUtf8Into.
|
|
41
|
-
*
|
|
42
|
-
* @private
|
|
43
|
-
*/
|
|
44
|
-
export declare function emulateEncodeInto(encodeUtf8: (str: string) => Uint8Array): TextEncoding["encodeUtf8Into"];
|
|
45
28
|
export {};
|