compress-commons
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -55,2 +55,3 @@ /** | ||
// Unix file types | ||
S_IFMT: 0170000, // type of file mask | ||
S_IFIFO: 010000, // named pipe (fifo) | ||
@@ -57,0 +58,0 @@ S_IFCHR: 020000, // character special |
@@ -202,10 +202,6 @@ /** | ||
ZipArchiveEntry.prototype.setUnixMode = function(mode) { | ||
mode &= ~constants.S_IFDIR; | ||
mode &= ~constants.S_IFMT; | ||
mode |= this.isDirectory() ? constants.S_IFDIR : constants.S_IFREG; | ||
var extattr = 0; | ||
if (!this.isDirectory()) { | ||
mode |= constants.S_IFREG; | ||
} | ||
extattr &= ~this.getExternalAttributes(); | ||
extattr |= (mode << constants.SHORT_SHIFT) | (this.isDirectory() ? constants.S_DOS_D : constants.S_DOS_A); | ||
@@ -212,0 +208,0 @@ |
{ | ||
"name": "compress-commons", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "a library that defines a common interface for working with archive formats within node", | ||
@@ -41,4 +41,4 @@ "homepage": "https://github.com/ctalkington/node-compress-commons", | ||
"devDependencies": { | ||
"chai": "~1.9.1", | ||
"mocha": "~1.21.0", | ||
"chai": "~1.10.0", | ||
"mocha": "~2.0.1", | ||
"rimraf": "~2.2.8", | ||
@@ -45,0 +45,0 @@ "mkdirp": "~0.5.0" |
@@ -1,2 +0,2 @@ | ||
# Compress Commons v0.2.0 [![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.1 [![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
32355
835