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

deglob

Package Overview
Dependencies
Maintainers
7
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deglob - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

11

index.js

@@ -100,7 +100,10 @@ module.exports = deglob

var gitignores = []
try {
gitignores = opts.gitIgnoreFile.map(function (f) {
return fs.readFileSync(path.join(root, f), 'utf8')
gitignores = opts.gitIgnoreFile
.map(function (f) {
try {
return fs.readFileSync(path.join(root, f), 'utf8')
} catch (err) {}
})
} catch (e) {}
.filter(Boolean)
gitignores.forEach(function (gitignore) {

@@ -107,0 +110,0 @@ opts._gitignore.addPattern(gitignore.split(/\r?\n/))

{
"name": "deglob",
"description": "Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `package.json`.",
"version": "4.0.0",
"version": "4.0.1",
"author": "Dan Flettre <fletd01@yahoo.com>",

@@ -6,0 +6,0 @@ "bugs": {

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