glob-to-regex.js 1.3.0 → 1.3.1
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/lib/index.js +3 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -7,6 +7,9 @@ const GLOBSTAR_NODOT = '[^/]*(?:/(?!\\.)[^/]*)*';
|
|
|
7
7
|
const literal = (pattern, i, code) => {
|
|
8
8
|
switch (code) {
|
|
9
9
|
case 36 /* Code.Dollar */:
|
|
10
|
+
case 42 /* Code.Star */:
|
|
11
|
+
case 63 /* Code.Qmark */:
|
|
12
|
+
case 91 /* Code.LBracket */:
|
|
10
13
|
case 40 /* Code.LParen */:
|
|
11
14
|
case 41 /* Code.RParen */:
|
|
12
15
|
case 43 /* Code.Plus */:
|