We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 327c0fb commit 8331cb9Copy full SHA for 8331cb9
1 file changed
lib/archivers/zip/zip-archive-output-stream.js
@@ -211,10 +211,10 @@ ZipArchiveOutputStream.prototype._writeCentralDirectoryZip64 = function() {
211
this.write(zipUtil.getLongBytes(constants.SIG_ZIP64_EOCD));
212
213
// size of the ZIP64 EOCD record
214
- this.write(zipUtil.getEightBytes((constants.SHORT * 2) + (constants.LONG * 2) + (8 * 4)));
+ this.write(zipUtil.getEightBytes(56));
215
216
// version made by
217
- this.write(zipUtil.getShortBytes((constants.PLATFORM_UNIX << 8) | constants.VERSION_MADEBY));
+ this.write(zipUtil.getShortBytes(constants.MIN_VERSION_ZIP64));
218
219
// version to extract
220
this.write(zipUtil.getShortBytes(constants.MIN_VERSION_ZIP64));
0 commit comments