Comparing version 1.0.2 to 1.0.3
@@ -175,3 +175,3 @@ 'use strict'; | ||
}, | ||
buffer: buffer.slice(size) | ||
buffer: buffer.slice(0, size) | ||
}; | ||
@@ -178,0 +178,0 @@ } |
# History | ||
## 1.0.3 | ||
* fix slice the buffer in parsePacketBuffer | ||
## 1.0.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "protodef", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A simple yet powerful way to define binary protocols", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -133,3 +133,3 @@ var { getFieldInfo, tryCatch } = require('./utils'); | ||
}, | ||
buffer:buffer.slice(size) | ||
buffer:buffer.slice(0,size) | ||
}; | ||
@@ -136,0 +136,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145327