Socket
Socket
Sign inDemoInstall

globby

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globby - npm Package Compare versions

Comparing version 4.1.0 to 5.0.0

8

index.js

@@ -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) {

14

package.json
{
"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 @@

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