Comparing version 3.0.12 to 3.0.13
@@ -8,8 +8,6 @@ 'use strict'; | ||
module.exports = function () { | ||
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
return new IgnoreBase(options); | ||
return new IgnoreBase(); | ||
}; | ||
var array_slice = Array.prototype.slice; | ||
// A simple implementation of make-array | ||
function make_array(subject) { | ||
@@ -166,3 +164,4 @@ return Array.isArray(subject) ? subject : [subject]; | ||
value: function _test(path) { | ||
var matched; | ||
// Explicitly define variable type by setting matched to `0` | ||
var matched = 0; | ||
@@ -346,2 +345,3 @@ this._rules.forEach(function (rule) { | ||
// A simple cache, because an ignore rule only has only one certain meaning | ||
var cache = {}; | ||
@@ -348,0 +348,0 @@ |
{ | ||
"name": "ignore", | ||
"version": "3.0.12", | ||
"version": "3.0.13", | ||
"description": "Ignore is a manager and filter for .gitignore rules.", | ||
@@ -5,0 +5,0 @@ "main": "./ignore.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16766
312