Socket
Socket
Sign inDemoInstall

test-exclude

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-exclude - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [5.2.2](https://github.com/istanbuljs/istanbuljs/compare/test-exclude@5.2.1...test-exclude@5.2.2) (2019-04-09)
**Note:** Version bump only for package test-exclude
## [5.2.1](https://github.com/istanbuljs/istanbuljs/compare/test-exclude@5.2.0...test-exclude@5.2.1) (2019-04-03)

@@ -8,0 +16,0 @@

5

index.js
const path = require('path');
const arrify = require('arrify');
const glob = require('glob');

@@ -51,3 +50,3 @@ const minimatch = require('minimatch');

if (this.include && this.include.length > 0) {
this.include = prepGlobPatterns(arrify(this.include));
this.include = prepGlobPatterns([].concat(this.include));
} else {

@@ -64,3 +63,3 @@ this.include = false;

this.exclude = prepGlobPatterns([].concat(arrify(this.exclude)));
this.exclude = prepGlobPatterns([].concat(this.exclude));

@@ -67,0 +66,0 @@ this.handleNegation();

{
"name": "test-exclude",
"version": "5.2.1",
"version": "5.2.2",
"description": "test for inclusion or exclusion of paths using pkg-conf and globs",

@@ -30,3 +30,2 @@ "main": "index.js",

"dependencies": {
"arrify": "^1.0.1",
"glob": "^7.1.3",

@@ -40,3 +39,3 @@ "minimatch": "^3.0.4",

},
"gitHead": "e8063c799d0854341cb3daaf91c58acd06bd501c"
"gitHead": "9f8aebf1f08159df20358d77fe98c809d2027c5f"
}
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