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.9.1 to 0.10.0-alpha

16

package.json
{
"name": "archiver",
"version": "0.9.1",
"version": "0.10.0-alpha",
"description": "a streaming interface for archive generation",

@@ -29,3 +29,3 @@ "homepage": "https://github.com/ctalkington/node-archiver",

"engines": {
"node": ">= 0.8.0"
"node": ">= 0.10.0"
},

@@ -38,14 +38,14 @@ "scripts": {

"buffer-crc32": "~0.2.1",
"readable-stream": "~1.0.24",
"readable-stream": "~1.0.26",
"tar-stream": "~0.3.0",
"zip-stream": "~0.3.0",
"lazystream": "~0.1.0",
"file-utils": "~0.1.5",
"file-utils": "~0.2.0",
"lodash": "~2.4.1"
},
"devDependencies": {
"chai": "~1.8.1",
"mocha": "~1.16.0",
"rimraf": "~2.2.0",
"mkdirp": "~0.3.5",
"chai": "~1.9.1",
"mocha": "~1.18.2",
"rimraf": "~2.2.8",
"mkdirp": "~0.5.0",
"stream-bench": "~0.1.2"

@@ -52,0 +52,0 @@ },

@@ -1,2 +0,2 @@

# Archiver v0.9.1 [![Build Status](https://travis-ci.org/ctalkington/node-archiver.svg?branch=master)](https://travis-ci.org/ctalkington/node-archiver)
# Archiver v0.10.0-alpha [![Build Status](https://travis-ci.org/ctalkington/node-archiver.svg?branch=master)](https://travis-ci.org/ctalkington/node-archiver)

@@ -44,5 +44,5 @@ a streaming interface for archive generation

Appends multiple entries from passed array of src-dest mappings, based on [Grunt's "Files Array" format](http://gruntjs.com/configuring-tasks#files-array-format). A lazystream wrapper is used to prevent issues with open file limits.
Appends multiple entries from passed array of src-dest mappings. A lazystream wrapper is used to prevent issues with open file limits.
[Globbing patterns](http://gruntjs.com/configuring-tasks#globbing-patterns) and [multiple properties](http://gruntjs.com/configuring-tasks#building-the-files-object-dynamically) are supported through use of the [file-utils](https://github.com/SBoudrias/file-utils) package, based on Grunt's file utilities. Please note that multiple src files to single dest file (ie concat) is not supported.
Globbing patterns are supported through use of the [file-utils](https://github.com/SBoudrias/file-utils) package. Please note that multiple src files to single dest file (ie concat) is not supported.

@@ -58,5 +58,7 @@ The `data` property can be set (per src-dest mapping) to define data for matched entries.

For more detail on this feature, please see [BULK.md](https://github.com/ctalkington/node-archiver/blob/master/BULK.md).
#### file(filepath, data)
Appends a file given its filepath. Uses a lazystream wrapper to prevent issues with open file limits. When the instance has received, processed, and emitted the file, the `entry` event is fired.
Appends a file given its filepath using a lazystream wrapper to prevent issues with open file limits. When the instance has received, processed, and emitted the file, the `entry` event is fired.

@@ -63,0 +65,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc