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/index-no-eval.cjs +1 -1
- package/dist/index-no-eval.cjs.map +1 -1
- package/dist/index-no-eval.min.js +1 -1
- package/dist/index-no-eval.min.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/test.js +1 -1
- package/dist/test.js.map +1 -1
- package/pack.js +2 -2
- package/package.json +1 -1
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
|
-
|
|
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