Socket
Socket
Sign inDemoInstall

globby

Package Overview
Dependencies
Maintainers
1
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 13.1.4 to 13.2.0

9

ignore.js

@@ -62,8 +62,9 @@ import process from 'node:process';

suppressErrors: Boolean(options.suppressErrors),
deep: typeof options.deep === 'number' ? options.deep : Number.POSITIVE_INFINITY,
});
export const isIgnoredByIgnoreFiles = async (patterns, options) => {
const {cwd, suppressErrors} = normalizeOptions(options);
const {cwd, suppressErrors, deep} = normalizeOptions(options);
const paths = await fastGlob(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});
const paths = await fastGlob(patterns, {cwd, suppressErrors, deep, ...ignoreFilesGlobOptions});

@@ -81,5 +82,5 @@ const files = await Promise.all(

export const isIgnoredByIgnoreFilesSync = (patterns, options) => {
const {cwd, suppressErrors} = normalizeOptions(options);
const {cwd, suppressErrors, deep} = normalizeOptions(options);
const paths = fastGlob.sync(patterns, {cwd, suppressErrors, ...ignoreFilesGlobOptions});
const paths = fastGlob.sync(patterns, {cwd, suppressErrors, deep, ...ignoreFilesGlobOptions});

@@ -86,0 +87,0 @@ const files = paths.map(filePath => ({

{
"name": "globby",
"version": "13.1.4",
"version": "13.2.0",
"description": "User-friendly glob matching",

@@ -71,3 +71,3 @@ "license": "MIT",

"@types/node": "^17.0.18",
"ava": "^4.0.1",
"ava": "^5.3.1",
"benchmark": "2.1.4",

@@ -78,5 +78,5 @@ "get-stream": "^6.0.1",

"tempy": "^3.0.0",
"tsd": "^0.19.1",
"tsd": "^0.28.1",
"typescript": "^4.5.5",
"xo": "^0.47.0"
"xo": "^0.54.2"
},

@@ -86,3 +86,8 @@ "xo": {

"fixtures"
]
],
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"n/prefer-global/url": "off",
"@typescript-eslint/consistent-type-imports": "off"
}
},

@@ -89,0 +94,0 @@ "ava": {

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