@smithy/core 3.29.7 → 3.29.8
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.
|
@@ -169,7 +169,7 @@ function bytesToFloat16(a, b) {
|
|
|
169
169
|
}
|
|
170
170
|
function decodeMap(at, to) {
|
|
171
171
|
const mapDataLength = decodeCount(at, to);
|
|
172
|
-
if (mapDataLength <
|
|
172
|
+
if (mapDataLength < 25) {
|
|
173
173
|
return decodeMapSmall(at, to, mapDataLength);
|
|
174
174
|
}
|
|
175
175
|
return decodeMapLarge(at, to, mapDataLength);
|
|
@@ -141,7 +141,7 @@ export function bytesToFloat16(a, b) {
|
|
|
141
141
|
}
|
|
142
142
|
function decodeMap(at, to) {
|
|
143
143
|
const mapDataLength = decodeCount(at, to);
|
|
144
|
-
if (mapDataLength <
|
|
144
|
+
if (mapDataLength < 25) {
|
|
145
145
|
return decodeMapSmall(at, to, mapDataLength);
|
|
146
146
|
}
|
|
147
147
|
return decodeMapLarge(at, to, mapDataLength);
|