Comparing version 4.1.0 to 5.0.0
@@ -19,3 +19,9 @@ 'use strict'; | ||
patterns = arrify(patterns); | ||
opts = objectAssign({ignore: []}, opts); | ||
opts = objectAssign({ | ||
cache: Object.create(null), | ||
statCache: Object.create(null), | ||
realpathCache: Object.create(null), | ||
symlinks: Object.create(null), | ||
ignore: [] | ||
}, opts); | ||
@@ -22,0 +28,0 @@ patterns.forEach(function (pattern, i) { |
{ | ||
"name": "globby", | ||
"version": "4.1.0", | ||
"version": "5.0.0", | ||
"description": "Extends `glob` with support for multiple patterns and exposes a Promise API", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"bench": "npm update globby glob-stream && matcha bench.js", | ||
"test": "xo && mocha" | ||
"test": "xo && ava" | ||
}, | ||
@@ -58,3 +58,3 @@ "files": [ | ||
"arrify": "^1.0.0", | ||
"glob": "^6.0.1", | ||
"glob": "^7.0.3", | ||
"object-assign": "^4.0.1", | ||
@@ -65,15 +65,9 @@ "pify": "^2.0.0", | ||
"devDependencies": { | ||
"ava": "*", | ||
"glob-stream": "wearefractal/glob-stream#master", | ||
"globby": "sindresorhus/globby#master", | ||
"matcha": "^0.7.0", | ||
"mocha": "*", | ||
"rimraf": "^2.2.8", | ||
"xo": "*" | ||
}, | ||
"xo": { | ||
"envs": [ | ||
"node", | ||
"mocha" | ||
] | ||
} | ||
} |
@@ -45,2 +45,4 @@ # globby [![Build Status](https://travis-ci.org/sindresorhus/globby.svg?branch=master)](https://travis-ci.org/sindresorhus/globby) | ||
Note that you should avoid running the same tasks multiple times as they contain a file system cache. Instead, create a new tasks list to ensure that file system changes are taken in consideration. | ||
#### patterns | ||
@@ -47,0 +49,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
6188
52
83
1
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
- Removedglob@6.0.4(transitive)
Updatedglob@^7.0.3