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/pack.js CHANGED
@@ -986,7 +986,7 @@ function writeBuffer(buffer, allocateForWrite) {
986
986
  target[position++] = length >> 8
987
987
  target[position++] = length & 0xff
988
988
  } else {
989
- let { target, position, targetView } = allocateForWrite(length + 5)
989
+ var { target, position, targetView } = allocateForWrite(length + 5)
990
990
  target[position++] = 0xc6
991
991
  targetView.setUint32(position, length)
992
992
  position += 4
@@ -1101,4 +1101,4 @@ import { FLOAT32_OPTIONS } from './unpack.js'
1101
1101
  export const { NEVER, ALWAYS, DECIMAL_ROUND, DECIMAL_FIT } = FLOAT32_OPTIONS
1102
1102
  export const REUSE_BUFFER_MODE = 512
1103
1103
  export const RESET_BUFFER_MODE = 1024
1104
- export const RESERVE_START_SPACE = 2048
1104
+ export const RESERVE_START_SPACE = 2048
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "msgpackr",
3
3
  "author": "Kris Zyp",
4
- "version": "1.11.1",
4
+ "version": "1.11.2",
5
5
  "description": "Ultra-fast MessagePack implementation with extensions for records and structured cloning",
6
6
  "license": "MIT",
7
7
  "types": "./index.d.ts",