Comparing version 2.1.0 to 2.1.1
## 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 @@ |
@@ -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 @@ }); |
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
47763
1250