minimatch 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/minimatch.js +3 -0
- package/package.json +2 -2
package/minimatch.js
CHANGED
|
@@ -390,6 +390,9 @@ function parse (pattern, isSub) {
|
|
|
390
390
|
continue
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
+
// coalesce consecutive non-globstar * characters
|
|
394
|
+
if (c === '*' && stateChar === '*') continue
|
|
395
|
+
|
|
393
396
|
// if we already have a stateChar, then it means
|
|
394
397
|
// that there was something like ** or +? in there.
|
|
395
398
|
// Handle the stateChar, then proceed with this one.
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
|
|
3
3
|
"name": "minimatch",
|
|
4
4
|
"description": "a glob matcher in javascript",
|
|
5
|
-
"version": "3.1.
|
|
5
|
+
"version": "3.1.3",
|
|
6
6
|
"publishConfig": {
|
|
7
|
-
"tag": "v3
|
|
7
|
+
"tag": "legacy-v3"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|