Comparing version 0.18.0 to 0.19.0
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40873