overlookmotel/yauzl-promise

Remove Event Emitter interface

Closed this issue · 0 comments

The promisified methods cover all use cases for the Event Emitter API, so I think ZipFile no longer needs to inherit from EventEmitter or emit events.

NB Implementation would require adding a fake .emit() method to ZipFile prototype to capture events emitted within yauzl's native ._readEntry() method.