node-stream-zip 1.13.5 → 1.13.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -678,7 +678,7 @@ StreamZip.async = class StreamZipAsync extends events.EventEmitter {
678
678
 
679
679
  this[propZip] = new Promise((resolve, reject) => {
680
680
  zip.on('ready', () => {
681
- zip.off('error', reject);
681
+ zip.removeListener('error', reject);
682
682
  resolve(zip);
683
683
  });
684
684
  zip.on('error', reject);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-stream-zip",
3
- "version": "1.13.5",
3
+ "version": "1.13.6",
4
4
  "description": "node.js library for reading and extraction of ZIP archives",
5
5
  "keywords": [
6
6
  "zip",