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.15.0-1 to 0.15.0

19

lib/core.js

@@ -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) {

23

package.json
{
"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 @@

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