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.18.0 to 0.19.0

2

lib/core.js

@@ -490,3 +490,3 @@ /**

Archiver.prototype.src = function(pattern, options, data) {
Archiver.prototype.glob = function(pattern, options, data) {
this._pending++;

@@ -493,0 +493,0 @@

{
"name": "archiver",
"version": "0.18.0",
"version": "0.19.0",
"description": "a streaming interface for archive generation",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/archiverjs/node-archiver",

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

# Archiver v0.18.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)
# Archiver v0.19.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)

@@ -106,3 +106,3 @@ a streaming interface for archive generation

#### src(pattern, options, data)
#### glob(pattern, options, data)

@@ -112,3 +112,3 @@ Appends multiple files that match a [glob pattern](https://github.com/isaacs/node-glob#glob-primer). Supports passing [glob options](https://github.com/isaacs/node-glob#options) as a second parameter and entry data as a third parameter.

```js
archive.src('directory/**/*', { nodir: true }, { date: new Date() });
archive.glob('directory/**/*', { nodir: true }, { date: new Date() });
```

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