Comparing version 3.2.0 to 3.2.1
@@ -331,11 +331,11 @@ 'use strict'; | ||
// trailing wildcard | ||
[/(\\\/)?\\\*$/, function (match, p1) { | ||
return p1 === '\\/' | ||
// 'a/*' does not match 'a/' | ||
// 'a/*' matches 'a/a' | ||
// 'a/' | ||
? '\\/[^/]+(?=$|\\/$)' | ||
// or it will match everything after | ||
: ''; | ||
[/(\^|\\\/)?\\\*$/, function (match, p1) { | ||
return (p1 | ||
// '/*' does not match '' | ||
// '/*' does not match everything | ||
// 'abc/*' does not match 'abc/' | ||
? p1 + '[^/]+' | ||
// 'a*' matches 'a' | ||
// 'a*' matches 'aa' | ||
: '[^/]*') + '(?=$|\\/$)'; | ||
}], [ | ||
@@ -342,0 +342,0 @@ // unescape |
{ | ||
"name": "ignore", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"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
19541
347