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 2.1.0 to 2.1.1

5

CHANGELOG.md
## Changelog
**2.1.1** — <small>_January 10th, 2018_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/2.1.0...2.1.1)
- bugfix: fix relative symlink paths (#293)
- other: coding style fixes (#294)
**2.1.0** — <small>_October 12th, 2017_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/2.0.3...2.1.0)

@@ -4,0 +9,0 @@

3

lib/core.js

@@ -498,4 +498,5 @@ /**

var linkPath = fs.readlinkSync(task.filepath);
var dirName = path.dirname(task.filepath);
task.data.type = 'symlink';
task.data.linkname = path.relative(path.dirname(task.filepath), path.resolve(linkPath));
task.data.linkname = path.relative(dirName, path.resolve(dirName, linkPath));
task.data.sourceType = 'buffer';

@@ -502,0 +503,0 @@ task.source = new Buffer(0);

{
"name": "archiver",
"version": "2.1.0",
"version": "2.1.1",
"description": "a streaming interface for archive generation",

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

@@ -25,3 +25,3 @@ # Archiver

var archive = archiver('zip', {
zlib: { level: 9 } // Sets the compression level.
zlib: { level: 9 } // Sets the compression level.
});

@@ -46,6 +46,6 @@

if (err.code === 'ENOENT') {
// log warning
// log warning
} else {
// throw error
throw err;
// throw error
throw err;
}

@@ -52,0 +52,0 @@ });

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