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 5.2.0 to 5.3.0

14

CHANGELOG.md
## Changelog
**5.3.0** - <small>_March 7, 2021_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/5.2.0...5.3.0)
## Maintenance
- Bump chai from 4.3.0 to 4.3.3 (#505)
- Bump zip-stream from 4.0.4 to 4.1.0 (#504)
- Bump mocha from 8.2.1 to 8.3.0 (#499)
- Bump actions/setup-node from v2.1.4 to v2.1.5 (#500)
- Bump tar from 6.0.5 to 6.1.0 (#487)
- Bump chai from 4.2.0 to 4.3.0 (#496)
- Bump tar-stream from 2.1.4 to 2.2.0 (#485)
- Bump actions/setup-node from v2.1.3 to v2.1.4 (#483)
- Update progress example (#384)
**5.2.0** - <small>_January 6, 2021_</small> — [Diff](https://github.com/archiverjs/node-archiver/compare/5.1.0...5.2.0)

@@ -4,0 +18,0 @@

4

lib/plugins/zip.js

@@ -17,2 +17,3 @@ /**

* @param {Boolean} [options.forceZip64=false] Forces the archive to contain ZIP64 headers.
* @param {Boolean} [options.namePrependSlash=false] Prepends a forward slash to archive file paths.
* @param {Boolean} [options.store=false] Sets the compression method to STORE.

@@ -29,2 +30,3 @@ * @param {Object} [options.zlib] Passed to [zlib]{@link https://nodejs.org/api/zlib.html#zlib_class_options}

forceUTC: false,
namePrependSlash: false,
store: false

@@ -95,2 +97,3 @@ });

* @property {Boolean} [forceZip64=false] Forces the archive to contain ZIP64 headers.
* @prpperty {Boolean} [namePrependSlash=false] Prepends a forward slash to archive file paths.
* @property {Boolean} [store=false] Sets the compression method to STORE.

@@ -108,2 +111,3 @@ * @property {Object} [zlib] Passed to [zlib]{@link https://nodejs.org/api/zlib.html#zlib_class_options}

* @property {Number} [mode=D:0755/F:0644] Sets the entry permissions.
* @property {Boolean} [namePrependSlash=ZipOptions.namePrependSlash] Prepends a forward slash to archive file paths.
* @property {String} [prefix] Sets a path prefix for the entry name. Useful

@@ -110,0 +114,0 @@ * when working with methods like `directory` or `glob`.

9

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

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

"test": "mocha --reporter dot",
"jsdoc": "jsdoc -c jsdoc.json README.md",
"bench": "node benchmark/simple/pack-zip.js"

@@ -38,4 +37,4 @@ },

"readdir-glob": "^1.0.0",
"tar-stream": "^2.1.4",
"zip-stream": "^4.0.4"
"tar-stream": "^2.2.0",
"zip-stream": "^4.1.0"
},

@@ -50,3 +49,3 @@ "devDependencies": {

"stream-bench": "^0.1.2",
"tar": "^6.0.2",
"tar": "^6.1.0",
"yauzl": "^2.9.0"

@@ -53,0 +52,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