compress-commons
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -264,8 +264,10 @@ /** | ||
var extraBuf = new Buffer(28); | ||
extraBuf.write(zipUtil.getShortBytes(constants.ZIP64_EXTRA_ID)); | ||
extraBuf.write(zipUtil.getShortBytes(24)); | ||
extraBuf.write(zipUtil.getEightBytes(ae.getSize())); | ||
extraBuf.write(zipUtil.getEightBytes(ae.getCompressedSize())); | ||
extraBuf.write(zipUtil.getEightBytes(offsets.file)); | ||
var extraBuf = Buffer.concat([ | ||
zipUtil.getShortBytes(constants.ZIP64_EXTRA_ID), | ||
zipUtil.getShortBytes(24), | ||
zipUtil.getEightBytes(ae.getSize()), | ||
zipUtil.getEightBytes(ae.getCompressedSize()), | ||
zipUtil.getEightBytes(offsets.file) | ||
], 28); | ||
ae.setExtra(extraBuf); | ||
@@ -272,0 +274,0 @@ } |
{ | ||
"name": "compress-commons", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "a library that defines a common interface for working with archive formats within node", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/ctalkington/node-compress-commons", |
@@ -1,2 +0,2 @@ | ||
# Compress Commons v0.2.1 [![Build Status](https://travis-ci.org/ctalkington/node-compress-commons.svg?branch=master)](https://travis-ci.org/ctalkington/node-compress-commons) | ||
# Compress Commons v0.2.2 [![Build Status](https://travis-ci.org/ctalkington/node-compress-commons.svg?branch=master)](https://travis-ci.org/ctalkington/node-compress-commons) | ||
@@ -3,0 +3,0 @@ Compress Commons is a library that defines a common interface for working with archive formats within node. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
836
32299