Socket
Socket
Sign inDemoInstall

compress-commons

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compress-commons - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

1

lib/archivers/zip/constants.js

@@ -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

10

lib/archivers/zip/zip-archive-entry.js

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc