Comparing version 1.8.2 to 1.8.3
# History | ||
## 1.8.3 | ||
* in full packet parser don't error out in case of missing bytes | ||
## 1.8.2 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "protodef", | ||
"version": "1.8.2", | ||
"version": "1.8.3", | ||
"description": "A simple yet powerful way to define binary protocols", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -45,2 +45,4 @@ # ProtoDef | ||
* [pocket-minecraft-protocol](https://github.com/mhsjlw/pocket-minecraft-protocol) defines the minecraft pocket edition protocol | ||
* [diablo2-protocol](https://github.com/MephisTools/diablo2-protocol) Diablo 2 network protocol | ||
* [dofus-protocol](https://github.com/AstrubTools/dofus-protocol) Network protocol for dofus : create client and servers for dofus 1.30 | ||
@@ -80,3 +80,10 @@ const Transform = require('readable-stream').Transform | ||
} catch (e) { | ||
return cb(e) | ||
if (e.partialReadError) { | ||
if (!this.noErrorLogging) { | ||
console.log(e.stack) | ||
} | ||
return cb() | ||
} else { | ||
return cb(e) | ||
} | ||
} | ||
@@ -83,0 +90,0 @@ this.push(packet) |
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
150422
4155
48