chunky-dump-reader
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,2 +12,3 @@ const util = require('util') | ||
this.header = [] | ||
this.bodyCount = 0 | ||
} | ||
@@ -48,3 +49,4 @@ util.inherits(DumpCheckStream, Writable) | ||
}) | ||
dumpStream.on('end', () => { | ||
const gzipStream = dumpStream.pipe(zlib.createGunzip()) | ||
gzipStream.on('end', () => { | ||
if (!ws.valid) { | ||
@@ -54,3 +56,3 @@ reject(new Error('Invalid dump stream')) | ||
}) | ||
dumpStream.pipe(zlib.createGunzip()).pipe(ws) | ||
gzipStream.pipe(ws) | ||
}) | ||
@@ -57,0 +59,0 @@ |
{ | ||
"name": "chunky-dump-reader", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A tiny util module to read Chunky dumps.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
121003
76