Comparing version 0.15.0-1 to 0.15.0
@@ -12,7 +12,2 @@ /** | ||
// built-in plugins | ||
var pjson = require('archiver-json'); | ||
var ptar = require('archiver-tar'); | ||
var pzip = require('archiver-zip'); | ||
var inherits = require('util').inherits; | ||
@@ -58,12 +53,2 @@ var Transform = require('readable-stream').Transform; | ||
this._streams = []; | ||
if (format === 'zip') { | ||
// this.use(pzip()); | ||
} else if (format === 'tar') { | ||
// this.use(ptar()); | ||
} else if (format === 'json') { | ||
this.use(pjson()); | ||
} else { | ||
this.emit(error, new Error('no format plugin')); | ||
} | ||
}; | ||
@@ -519,3 +504,3 @@ | ||
// needs to be deprecated | ||
// needs to be deprecated in 0.16/removed in 0.17 | ||
Archiver.prototype.setFormat = function(format) { | ||
@@ -532,3 +517,3 @@ if (this._format) { | ||
// needs to be deprecated | ||
// needs to be deprecated in 0.16/removed in 0.17 | ||
Archiver.prototype.setModule = function(module) { | ||
@@ -535,0 +520,0 @@ if (this._state.aborted) { |
{ | ||
"name": "archiver", | ||
"version": "0.15.0-1", | ||
"version": "0.15.0", | ||
"description": "a streaming interface for archive generation", | ||
@@ -31,22 +31,19 @@ "homepage": "https://github.com/archiverjs/node-archiver", | ||
"dependencies": { | ||
"archiver-json": "~0.1.0", | ||
"archiver-tar": "~0.1.0", | ||
"archiver-zip": "~0.1.0", | ||
"async": "~0.9.0", | ||
"async": "~1.4.2", | ||
"buffer-crc32": "~0.2.1", | ||
"glob": "~4.3.0", | ||
"glob": "~5.0.0", | ||
"lazystream": "~0.1.0", | ||
"lodash": "~3.2.0", | ||
"lodash": "~3.10.0", | ||
"readable-stream": "~1.0.26", | ||
"tar-stream": "~1.1.0", | ||
"tar-stream": "~1.2.1", | ||
"zip-stream": "~0.5.0" | ||
}, | ||
"devDependencies": { | ||
"chai": "~2.0.0", | ||
"mocha": "~2.1.0", | ||
"rimraf": "~2.2.8", | ||
"chai": "~3.2.0", | ||
"mocha": "~2.2.5", | ||
"rimraf": "~2.4.2", | ||
"mkdirp": "~0.5.0", | ||
"stream-bench": "~0.1.2", | ||
"tar": "~1.0.3", | ||
"yauzl": "~2.2.1" | ||
"tar": "~2.1.1", | ||
"yauzl": "~2.3.1" | ||
}, | ||
@@ -53,0 +50,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# Archiver v0.15.0-1 [![Build Status](https://travis-ci.org/archiverjs/node-archiver.svg?branch=master)](https://travis-ci.org/archiverjs/node-archiver) | ||
# 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) | ||
@@ -218,4 +218,8 @@ a streaming interface for archive generation | ||
Archiver ships with out of the box support for TAR and ZIP archives. You can register additional formats with `registerFormat`. | ||
Archiver ships with out of the box support for TAR and ZIP archives. | ||
You can register additional formats with `registerFormat`. | ||
_Formats will be changing in the next few releases to implement a middleware approach._ | ||
## Libraries | ||
@@ -222,0 +226,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
8
236
39852
933
+ Addedasync@1.4.2(transitive)
+ Addedbl@1.2.3(transitive)
+ Addedglob@5.0.15(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlodash@3.10.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedtar-stream@1.2.2(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removedarchiver-json@~0.1.0
- Removedarchiver-tar@~0.1.0
- Removedarchiver-zip@~0.1.0
- Removedasync@0.9.2(transitive)
- Removedbl@0.9.5(transitive)
- Removedglob@4.3.5(transitive)
- Removedminimatch@2.0.10(transitive)
- Removedtar-stream@1.1.5(transitive)
Updatedasync@~1.4.2
Updatedglob@~5.0.0
Updatedlodash@~3.10.0
Updatedtar-stream@~1.2.1