Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 8.0.0 to 8.0.1

15

index.js

@@ -26,4 +26,3 @@ 'use strict';

ignore: [],
expandDirectories: true,
nodir: true
expandDirectories: true
}, taskOpts);

@@ -52,11 +51,11 @@

const globDirs = (task, fn) => {
let opts = {cwd: task.opts.cwd};
if (Array.isArray(task.opts.expandDirectories)) {
return fn(task.pattern, {files: task.opts.expandDirectories});
opts = Object.assign(opts, {files: task.opts.expandDirectories});
} else if (typeof task.opts.expandDirectories === 'object') {
opts = Object.assign(opts, task.opts.expandDirectories);
}
if (typeof task.opts.expandDirectories === 'object') {
return fn(task.pattern, task.opts.expandDirectories);
}
return fn(task.pattern);
return fn(task.pattern, opts);
};

@@ -63,0 +62,0 @@

{
"name": "globby",
"version": "8.0.0",
"version": "8.0.1",
"description": "Extends `glob` with support for multiple patterns and exposes a Promise API",

@@ -5,0 +5,0 @@ "license": "MIT",

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