Socket
Socket
Sign inDemoInstall

archiver

Package Overview
Dependencies
8
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.15.0 to 0.15.1

9

lib/core.js

@@ -15,2 +15,4 @@ /**

var win32 = process.platform === 'win32';
var Archiver = module.exports = function(format, options) {

@@ -200,3 +202,3 @@ if (!(this instanceof Archiver)) {

// 511 === 0777; 493 === 0755; 420 === 0644
// 511 === 0777; 493 === 0755; 438 === 0666; 420 === 0644
if (typeof data.mode === 'number') {

@@ -206,2 +208,7 @@ data.mode &= 511;

data.mode = data.stats.mode & 511;
// stat isn't reliable on windows; force 0755 for dir
if (win32 && isDir) {
data.mode = 493;
}
} else if (data.mode === null) {

@@ -208,0 +215,0 @@ data.mode = isDir ? 493 : 420;

2

package.json
{
"name": "archiver",
"version": "0.15.0",
"version": "0.15.1",
"description": "a streaming interface for archive generation",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/archiverjs/node-archiver",

@@ -1,2 +0,2 @@

# Archiver v0.15.0 [![Build Status](https://travis-ci.org/archiverjs/node-archiver.svg?branch=master)](https://travis-ci.org/archiverjs/node-archiver) [![Build status](https://ci.appveyor.com/api/projects/status/38kqu3yp159nodxe/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-archiver/branch/master)
# Archiver v0.15.1 [![Build Status](https://travis-ci.org/archiverjs/node-archiver.svg?branch=master)](https://travis-ci.org/archiverjs/node-archiver) [![Build status](https://ci.appveyor.com/api/projects/status/38kqu3yp159nodxe/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-archiver/branch/master)

@@ -3,0 +3,0 @@ a streaming interface for archive generation

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc