Commit f325c04
authored
🎁 Allow RegEx patterns in options (#155)
Strings in `knownFramework` and `knownFirstparty` option
arrays can now include regular expression patterns.
💣 Options are now matched against only the first part of
the module path (i.e. up to the first `/`). This means
something like `myapp` in `knownFirstparty` will match
`'myapp/subdir/foo'` but not `'myapp-addon/lib'`, where
previously it would have.1 parent 29a62f9 commit f325c04
2 files changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
45 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
51 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments