chore: Update dist

This commit is contained in:
GitHub Actions
2026-07-28 03:44:31 +00:00
parent 33103b67c5
commit 63142d578f
2 changed files with 77 additions and 32 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ Apache License
The following npm packages may be included in this product: The following npm packages may be included in this product:
- @aws-sdk/signature-v4-multi-region@3.996.41 - @aws-sdk/signature-v4-multi-region@3.996.41
- @smithy/core@3.29.6 - @smithy/core@3.31.0
- @smithy/types@4.16.1 - @smithy/types@4.16.1
These packages each contain the following license: These packages each contain the following license:
Generated Vendored
+76 -31
View File
@@ -20334,6 +20334,9 @@ var init_NormalizedSchema = __esm({
} }
struct2[anno.it] = it; struct2[anno.it] = it;
} }
structIteratorCbor() {
throw new Error("@smithy/core/schema - structIteratorCbor not loaded.");
}
}; };
isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2; isMemberSchema = (sc) => Array.isArray(sc) && sc.length === 2;
isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5; isStaticSchema = (sc) => Array.isArray(sc) && sc.length >= 5;
@@ -22103,7 +22106,7 @@ function nv(input) {
var format, NumericValue; var format, NumericValue;
var init_NumericValue = __esm({ var init_NumericValue = __esm({
"node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js"() { "node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js"() {
format = /^-?\d*(\.\d+)?$/; format = /^-?((0|[1-9]\d*)(\.\d+)?|\.\d+)([eE][+-]?\d+)?$/;
NumericValue = class _NumericValue { NumericValue = class _NumericValue {
string; string;
type; type;
@@ -22111,7 +22114,7 @@ var init_NumericValue = __esm({
this.string = string; this.string = string;
this.type = type; this.type = type;
if (!format.test(string)) { if (!format.test(string)) {
throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`); throw new Error(`@smithy/core/serde - NumericValue string must conform to the Smithy bigDecimal format. Received: "${string}"`);
} }
} }
toString() { toString() {
@@ -27183,6 +27186,7 @@ var init_EventStreamSerdeConfig = __esm({
var EventStreamSerde; var EventStreamSerde;
var init_EventStreamSerde = __esm({ var init_EventStreamSerde = __esm({
"node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js"() { "node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js"() {
init_schema();
init_serde(); init_serde();
EventStreamSerde = class { EventStreamSerde = class {
marshaller; marshaller;
@@ -27190,12 +27194,14 @@ var init_EventStreamSerde = __esm({
deserializer; deserializer;
serdeContext; serdeContext;
defaultContentType; defaultContentType;
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType }) { compositeErrorRegistry;
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType, compositeErrorRegistry }) {
this.marshaller = marshaller; this.marshaller = marshaller;
this.serializer = serializer; this.serializer = serializer;
this.deserializer = deserializer; this.deserializer = deserializer;
this.serdeContext = serdeContext; this.serdeContext = serdeContext;
this.defaultContentType = defaultContentType; this.defaultContentType = defaultContentType;
this.compositeErrorRegistry = compositeErrorRegistry;
} }
async serializeEventStream({ eventStream, requestSchema, initialRequest }) { async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
const marshaller = this.marshaller; const marshaller = this.marshaller;
@@ -27305,16 +27311,9 @@ var init_EventStreamSerde = __esm({
} }
} }
} }
if (hasBindings) { return {
return { [unionMember]: await this.readEventMember(eventStreamSchema, body, hasBindings, out)
[unionMember]: out };
};
}
if (body.byteLength === 0) {
return {
[unionMember]: {}
};
}
} }
return { return {
[unionMember]: await this.deserializer.read(eventStreamSchema, body) [unionMember]: await this.deserializer.read(eventStreamSchema, body)
@@ -27353,6 +27352,29 @@ var init_EventStreamSerde = __esm({
} }
}; };
} }
async readEventMember(eventStreamSchema, body, hasBindings, out) {
let ErrCtor;
const staticStructuralSchema = eventStreamSchema.getSchema();
if (Array.isArray(staticStructuralSchema) && staticStructuralSchema[0] === -3) {
const namespace = staticStructuralSchema[1];
const nsRegistry = TypeRegistry.for(namespace);
this.compositeErrorRegistry?.copyFrom(nsRegistry);
ErrCtor = (this.compositeErrorRegistry ?? nsRegistry)?.getErrorCtor(staticStructuralSchema);
}
const dataObject = hasBindings ? out : body.byteLength === 0 ? {} : await this.deserializer.read(eventStreamSchema, body);
if (ErrCtor) {
const message = dataObject.message ?? dataObject.Message ?? "Unknown";
const metadata = {};
const $fault = eventStreamSchema.getMergedTraits().error;
if ($fault) {
metadata.$fault = $fault;
}
return Object.assign(new ErrCtor({}), metadata, {
message
}, dataObject);
}
return dataObject;
}
writeEventBody(unionMember, unionSchema, event) { writeEventBody(unionMember, unionSchema, event) {
const serializer = this.serializer; const serializer = this.serializer;
let eventType = unionMember; let eventType = unionMember;
@@ -27597,7 +27619,8 @@ var init_HttpProtocol = __esm({
serializer: this.serializer, serializer: this.serializer,
deserializer: this.deserializer, deserializer: this.deserializer,
serdeContext: this.serdeContext, serdeContext: this.serdeContext,
defaultContentType: this.getDefaultContentType() defaultContentType: this.getDefaultContentType(),
compositeErrorRegistry: this.compositeErrorRegistry
}); });
} }
resolveEventStreamMarshaller(importedProvider) { resolveEventStreamMarshaller(importedProvider) {
@@ -28610,6 +28633,7 @@ var CLOCK_SKEW_ERROR_CODES, THROTTLING_ERROR_CODES, TRANSIENT_ERROR_CODES, TRANS
var init_constants4 = __esm({ var init_constants4 = __esm({
"node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js"() { "node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js"() {
CLOCK_SKEW_ERROR_CODES = [ CLOCK_SKEW_ERROR_CODES = [
"AccessDeniedException",
"AuthFailure", "AuthFailure",
"InvalidSignatureException", "InvalidSignatureException",
"RequestExpired", "RequestExpired",
@@ -34975,7 +34999,7 @@ function bytesToFloat16(a5, b6) {
} }
function decodeMap(at, to) { function decodeMap(at, to) {
const mapDataLength = decodeCount(at, to); const mapDataLength = decodeCount(at, to);
if (mapDataLength < 15) { if (mapDataLength < 25) {
return decodeMapSmall(at, to, mapDataLength); return decodeMapSmall(at, to, mapDataLength);
} }
return decodeMapLarge(at, to, mapDataLength); return decodeMapLarge(at, to, mapDataLength);
@@ -35680,27 +35704,15 @@ var init_parseCborBody = __esm({
} }
}); });
// node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js // node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js
var CborCodec, CborShapeSerializer, CborShapeDeserializer; var CborShapeSerializer;
var init_CborCodec = __esm({ var init_CborShapeSerializer = __esm({
"node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js"() { "node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js"() {
init_protocols(); init_protocols();
init_schema(); init_schema();
init_serde(); init_serde();
init_cbor(); init_cbor();
init_parseCborBody(); init_parseCborBody();
CborCodec = class extends SerdeContext {
createSerializer() {
const serializer = new CborShapeSerializer();
serializer.setSerdeContext(this.serdeContext);
return serializer;
}
createDeserializer() {
const deserializer = new CborShapeDeserializer();
deserializer.setSerdeContext(this.serdeContext);
return deserializer;
}
};
CborShapeSerializer = class extends SerdeContext { CborShapeSerializer = class extends SerdeContext {
value; value;
write(schema, value) { write(schema, value) {
@@ -35787,6 +35799,17 @@ var init_CborCodec = __esm({
return buffer; return buffer;
} }
}; };
}
});
// node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js
var CborShapeDeserializer;
var init_CborShapeDeserializer = __esm({
"node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js"() {
init_protocols();
init_schema();
init_serde();
init_cbor();
CborShapeDeserializer = class extends SerdeContext { CborShapeDeserializer = class extends SerdeContext {
read(schema, bytes) { read(schema, bytes) {
const data3 = cbor.deserialize(bytes); const data3 = cbor.deserialize(bytes);
@@ -35889,6 +35912,28 @@ var init_CborCodec = __esm({
} }
}); });
// node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js
var CborCodec;
var init_CborCodec = __esm({
"node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js"() {
init_protocols();
init_CborShapeSerializer();
init_CborShapeDeserializer();
CborCodec = class extends SerdeContext {
createSerializer() {
const serializer = new CborShapeSerializer();
serializer.setSerdeContext(this.serdeContext);
return serializer;
}
createDeserializer() {
const deserializer = new CborShapeDeserializer();
deserializer.setSerdeContext(this.serdeContext);
return deserializer;
}
};
}
});
// node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js // node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js
var SmithyRpcV2CborProtocol; var SmithyRpcV2CborProtocol;
var init_SmithyRpcV2CborProtocol = __esm({ var init_SmithyRpcV2CborProtocol = __esm({