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 1.0.1 to 1.1.0

5

CHANGELOG.md
## Changelog
**1.1.0** — <small> August 29, 2016_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/1.0.1...1.1.0)
- minor doc fixes.
- bump deps to ensure latest versions are used.
**1.0.1** — <small>_July 27, 2016_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/1.0.0...1.0.1)

@@ -4,0 +9,0 @@

12

lib/core.js

@@ -291,5 +291,13 @@ /**

if (typeof data.mode === 'number') {
data.mode &= 511;
if (win32) {
data.mode &= 511;
} else {
data.mode &= 4095
}
} else if (data.stats && data.mode === null) {
data.mode = data.stats.mode & 511;
if (win32) {
data.mode = data.stats.mode & 511;
} else {
data.mode = data.stats.mode & 4095;
}

@@ -296,0 +304,0 @@ // stat isn't reliable on windows; force 0755 for dir

@@ -160,2 +160,8 @@ /**

* for reduction of fs stat calls when stat data is already known.
*/
/**
* TarStream Module
* @external TarStream
* @see {@link https://github.com/mafintosh/tar-stream}
*/

@@ -13,3 +13,8 @@ /**

* @constructor
* @param {ZipOptions} options
* @param {ZipOptions} [options]
* @param {String} [options.comment] Sets the zip archive comment.
* @param {Boolean} [options.forceLocalTime=false] Forces the archive to contain local file times instead of UTC.
* @param {Boolean} [options.forceZip64=false] Forces the archive to contain ZIP64 headers.
* @param {Boolean} [options.store=false] Sets the compression method to STORE.
* @param {Object} [options.zlib] Passed to [zlib]{@link https://nodejs.org/api/zlib.html#zlib_class_options}
*/

@@ -37,2 +42,10 @@ var Zip = function(options) {

* @param {ZipEntryData} data
* @param {String} data.name Sets the entry name including internal path.
* @param {(String|Date)} [data.date=NOW()] Sets the entry date.
* @param {Number} [data.mode=D:0755/F:0644] Sets the entry permissions.
* @param {String} [data.prefix] Sets a path prefix for the entry name. Useful
* when working with methods like `directory` or `glob`.
* @param {fs.Stats} [data.stats] Sets the fs stat data for this entry allowing
* for reduction of fs stat calls when stat data is already known.
* @param {Boolean} [data.store=ZipOptions.store] Sets the compression method to STORE.
* @param {Function} callback

@@ -79,6 +92,8 @@ * @return void

* @property {String} [comment] Sets the zip archive comment.
* @property {Boolean} [forceLocalTime=false] Forces the archive to contain local file times instead of UTC.
* @property {Boolean} [forceZip64=false] Forces the archive to contain ZIP64 headers.
* @property {Boolean} [store=false] Sets the compression method to STORE.
* @property {Object} [zlib] Passed to [zlib]{@link https://nodejs.org/api/zlib.html#zlib_class_options}
* to control compression.
* @property {*} [*] See [zip-stream]{@link https://github.com/archiverjs/node-zip-stream} documentation for additional properties.
* @property {*} [*] See [zip-stream]{@link https://archiverjs.com/zip-stream/ZipStream.html} documentation for current list of properties.
*/

@@ -97,2 +112,8 @@

* @property {Boolean} [store=ZipOptions.store] Sets the compression method to STORE.
*/
/**
* ZipStream Module
* @external ZipStream
* @see {@link https://archiverjs.com/zip-stream/ZipStream.html}
*/

6

package.json
{
"name": "archiver",
"version": "1.0.1",
"version": "1.1.0",
"description": "a streaming interface for archive generation",

@@ -32,3 +32,3 @@ "homepage": "https://github.com/archiverjs/node-archiver",

"dependencies": {
"archiver-utils": "^1.0.0",
"archiver-utils": "^1.3.0",
"async": "^2.0.0",

@@ -40,3 +40,3 @@ "buffer-crc32": "^0.2.1",

"tar-stream": "^1.5.0",
"zip-stream": "^1.0.0"
"zip-stream": "^1.1.0"
},

@@ -43,0 +43,0 @@ "devDependencies": {

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

# Archiver v1.0.1
# Archiver v1.1.0

@@ -3,0 +3,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)

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