minipass-flush
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -20,3 +20,3 @@ const Minipass = require('minipass') | ||
emit (ev, ...data) { | ||
if (ev !== 'end' || this[_flushed]) | ||
if ((ev !== 'end' && ev !== 'finish') || this[_flushed]) | ||
return super.emit(ev, ...data) | ||
@@ -23,0 +23,0 @@ |
{ | ||
"name": "minipass-flush", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Minipass stream that calls a flush function before emitting 'end'", | ||
@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)", |
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
3543