minipass-flush
Advanced tools
Comparing version 1.0.0 to 1.0.1
const Minipass = require('minipass') | ||
const _flush = Symbol('_flush') | ||
class Flush extends Minipass { | ||
constructor (opt) { | ||
constructor (opt = {}) { | ||
if (typeof opt === 'function') | ||
@@ -6,0 +6,0 @@ opt = { flush: opt } |
{ | ||
"name": "minipass-flush", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"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)", |
3321