whalibmob 5.1.10 → 5.1.11
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/lib/BinaryNode.js +1 -1
- package/package.json +1 -1
package/lib/BinaryNode.js
CHANGED
|
@@ -117,7 +117,7 @@ class NodeDecoder {
|
|
|
117
117
|
this.compressed = (flags & 2) !== 0;
|
|
118
118
|
if (this.compressed) {
|
|
119
119
|
const zlib = require('zlib');
|
|
120
|
-
this.buf = zlib.
|
|
120
|
+
this.buf = zlib.inflateSync(this.buf.slice(this.offset));
|
|
121
121
|
this.offset = 0;
|
|
122
122
|
}
|
|
123
123
|
}
|