msgpackr 1.11.1 → 1.11.2

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/node.cjs CHANGED
@@ -2166,7 +2166,7 @@ function writeBuffer(buffer, allocateForWrite) {
2166
2166
  target[position++] = length >> 8;
2167
2167
  target[position++] = length & 0xff;
2168
2168
  } else {
2169
- let { target, position, targetView } = allocateForWrite(length + 5);
2169
+ var { target, position, targetView } = allocateForWrite(length + 5);
2170
2170
  target[position++] = 0xc6;
2171
2171
  targetView.setUint32(position, length);
2172
2172
  position += 4;