Socket
Socket
Sign inDemoInstall

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 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -6,3 +6,3 @@ # deglob change log

## Unreleased
* engage
## 1.0.1
* Minor updates to README.
{
"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": "1.0.0",
"version": "1.0.1",
"author": "Dan Flettre <fletd01@yahoo.com>",

@@ -21,3 +21,6 @@ "bugs": {

"glob",
"unglob"
"unglob",
"gitignore",
"ignore",
"file"
],

@@ -24,0 +27,0 @@ "license": "ISC",

@@ -26,3 +26,3 @@ # deglob

deglob([**/*.js], function(err, files) {
deglob(['**/*.js'], function(err, files) {
files.forEach(function(file) {

@@ -42,3 +42,3 @@ console.log('found file ' + file)

deglob([**/*.js], opts function(err, files) {
deglob(['**/*.js'], opts, function(err, files) {
files.forEach(function(file) {

@@ -67,4 +67,5 @@ console.log('found file ' + file)

usePackageJson | true | Turn on/off allowing ignore patterns via `package.json` config.
configKey | 'config' | This is the parent key in `package.json to look for the `ignore` attribute.
configKey | 'config' | This is the parent key in `package.json` to look for the `ignore` attribute.
gitIgnoreFile | '.gitignore' | Name of the `.gitignore` file look for (probably best to leave it default)
ignore | [] | List of additional ignore patterns to use
cwd | process.cwd() | This is the working directory to start the deglobbing

@@ -71,0 +72,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