Comparing version 3.0.0 to 3.0.1
@@ -420,6 +420,8 @@ 'use strict' | ||
const buf = [] | ||
buf.dataLength = 0 | ||
if (!this[OBJECTMODE]) | ||
buf.dataLength = 0 | ||
this.on('data', c => { | ||
buf.push(c) | ||
buf.dataLength += c.length | ||
if (!this[OBJECTMODE]) | ||
buf.dataLength += c.length | ||
}) | ||
@@ -426,0 +428,0 @@ return this.promise().then(() => buf) |
{ | ||
"name": "minipass", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "minimal implementation of a PassThrough stream", | ||
@@ -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
36376
458