minimatch
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -729,3 +729,4 @@ "use strict"; | ||
// "after" the negated section. | ||
const openParensBefore = nlBefore.split('(').length - 1; | ||
const closeParensBefore = nlBefore.split(')').length; | ||
const openParensBefore = nlBefore.split('(').length - closeParensBefore; | ||
let cleanAfter = nlAfter; | ||
@@ -732,0 +733,0 @@ for (let i = 0; i < openParensBefore; i++) { |
@@ -717,3 +717,4 @@ export const minimatch = (p, pattern, options = {}) => { | ||
// "after" the negated section. | ||
const openParensBefore = nlBefore.split('(').length - 1; | ||
const closeParensBefore = nlBefore.split(')').length; | ||
const openParensBefore = nlBefore.split('(').length - closeParensBefore; | ||
let cleanAfter = nlAfter; | ||
@@ -720,0 +721,0 @@ for (let i = 0; i < openParensBefore; i++) { |
@@ -5,3 +5,3 @@ { | ||
"description": "a glob matcher in javascript", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
148692
1993