Socket
Socket
Sign inDemoInstall

archiver

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archiver - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

5

lib/modules/core/index.js

@@ -186,2 +186,7 @@ /**

var name = isExpandedPair ? file.dest : util.unixifyPath(file.dest || '', filepath);
if (name === '.') {
return;
}
var stat = util.stat(filepath);

@@ -188,0 +193,0 @@ var source;

2

package.json
{
"name": "archiver",
"version": "0.8.0",
"version": "0.8.1",
"description": "Creates Archives (ZIP) via Node Streams.",

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

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

# Archiver v0.8.0 [![Build Status](https://travis-ci.org/ctalkington/node-archiver.svg?branch=master)](https://travis-ci.org/ctalkington/node-archiver)
# Archiver v0.8.1 [![Build Status](https://travis-ci.org/ctalkington/node-archiver.svg?branch=master)](https://travis-ci.org/ctalkington/node-archiver)

@@ -3,0 +3,0 @@ Creates Archives (Zip, Tar) via Node Streams.

@@ -102,3 +102,3 @@ /*global before,describe,it */

.bulk([
{ expand: true, cwd: 'test/fixtures', src: 'directory/**', data: { prop: 'value' } }
{ expand: true, cwd: 'test/fixtures/directory/', src: '**', data: { prop: 'value' } }
])

@@ -110,9 +110,8 @@ .finalize();

assert.isArray(actual);
assert.lengthOf(actual, 6);
assert.propertyVal(actual[0], 'name', 'directory/');
assert.propertyVal(actual[1], 'name', 'directory/level0.txt');
assert.propertyVal(actual[2], 'name', 'directory/subdir/');
assert.propertyVal(actual[3], 'name', 'directory/subdir/level1.txt');
assert.propertyVal(actual[4], 'name', 'directory/subdir/subsub/');
assert.propertyVal(actual[5], 'name', 'directory/subdir/subsub/level2.txt');
assert.lengthOf(actual, 5);
assert.propertyVal(actual[0], 'name', 'level0.txt');
assert.propertyVal(actual[1], 'name', 'subdir/');
assert.propertyVal(actual[2], 'name', 'subdir/level1.txt');
assert.propertyVal(actual[3], 'name', 'subdir/subsub/');
assert.propertyVal(actual[4], 'name', 'subdir/subsub/level2.txt');
});

@@ -119,0 +118,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc