| 1 | diff --git a/node_modules/unzipper/lib/parse.js b/node_modules/unzipper/lib/parse.js |
| 2 | index 0921f4a..e6e0131 100644 |
| 3 | --- a/node_modules/unzipper/lib/parse.js |
| 4 | +++ b/node_modules/unzipper/lib/parse.js |
| 5 | @@ -250,6 +250,14 @@ Parse.prototype._readCentralDirectoryFileHeader = function () { |
| 6 | return self.pull(vars.fileCommentLength); |
| 7 | }) |
| 8 | .then(function() { |
| 9 | + self.emit('entryInCentral', { |
| 10 | + path: vars.fileName, |
| 11 | + type: (vars.uncompressedSize === 0 && /[/\\]$/.test(vars.fileName)) ? 'Directory' : 'File', |
| 12 | + versionMadeBy: vars.versionMadeBy, |
| 13 | + versionsNeededToExtract: vars.versionsNeededToExtract, |
| 14 | + externalFileAttributes: vars.externalFileAttributes, |
| 15 | + unixAttrs: vars.externalFileAttributes >>> 16, |
| 16 | + }); |
| 17 | return true; |
| 18 | }); |
| 19 | }); |