Comparing version 0.4.0 to 0.4.1
@@ -18,4 +18,4 @@ var fs = require('fs'); | ||
archive | ||
.addFile(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.addFile(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
.append(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.append(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
@@ -22,0 +22,0 @@ archive.finalize(function(err, written) { |
@@ -20,4 +20,4 @@ var fs = require('fs'); | ||
archive | ||
.addFile(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.addFile(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
.append(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.append(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
@@ -24,0 +24,0 @@ archive.finalize(function(err, written) { |
@@ -18,4 +18,4 @@ var fs = require('fs'); | ||
archive | ||
.addFile(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.addFile(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
.append(fs.createReadStream(file1), { name: 'file1.txt' }) | ||
.append(fs.createReadStream(file2), { name: 'file2.txt' }); | ||
@@ -22,0 +22,0 @@ archive.finalize(function(err, written) { |
{ | ||
"name": "archiver", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Creates Archives (ZIP) via Node Streams.", | ||
@@ -32,8 +32,8 @@ "homepage": "https://github.com/ctalkington/node-archiver", | ||
"dependencies": { | ||
"readable-stream": "~0.3.0" | ||
"readable-stream": "~0.3.1" | ||
}, | ||
"devDependencies": { | ||
"nodeunit": "~0.7.4", | ||
"rimraf": "~2.1.2", | ||
"mkdirp": "~0.3.4", | ||
"rimraf": "~2.1.4", | ||
"mkdirp": "~0.3.5", | ||
"stream-bench": "~0.1.2" | ||
@@ -47,2 +47,2 @@ }, | ||
] | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Archiver v0.4.0 [![Build Status](https://secure.travis-ci.org/ctalkington/node-archiver.png?branch=master)](http://travis-ci.org/ctalkington/node-archiver) | ||
# Archiver v0.4.1 [![Build Status](https://secure.travis-ci.org/ctalkington/node-archiver.png?branch=master)](http://travis-ci.org/ctalkington/node-archiver) | ||
@@ -17,2 +17,6 @@ Creates Archives (Zip, Tar) via Node Streams. Depends on Node's build-in zlib module for compression available since version 0.6.3. | ||
#### Archiver(type, options) | ||
Convenience alias for `create`. | ||
#### create(type, options) | ||
@@ -24,2 +28,6 @@ | ||
#### addFile(input, data, callback(err)) | ||
Alias of `append` for compatibility that will be removed down the road. | ||
#### append(input, data, callback(err)) | ||
@@ -26,0 +34,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52381
113
0
Updatedreadable-stream@~0.3.1