Skip to content

Commit e4a3e7f

Browse files
authored
Merge pull request #318 from mrmlnc/ISSUE-256_remove_picomatch_dependency
ISSUE-256: update micromatch package
2 parents 08951de + 707fd21 commit e4a3e7f

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
"@nodelib/fs.walk": "^1.2.3",
5555
"glob-parent": "^5.1.2",
5656
"merge2": "^1.3.0",
57-
"micromatch": "^4.0.2",
58-
"picomatch": "^2.2.1"
57+
"micromatch": "^4.0.4"
5958
},
6059
"scripts": {
6160
"clean": "rimraf out",

src/utils/pattern.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as path from 'path';
22

33
import * as globParent from 'glob-parent';
44
import * as micromatch from 'micromatch';
5-
import * as picomatch from 'picomatch';
65

76
import { MicromatchOptions, Pattern, PatternRe } from '../types';
87

@@ -114,7 +113,7 @@ export function expandBraceExpansion(pattern: Pattern): Pattern[] {
114113
}
115114

116115
export function getPatternParts(pattern: Pattern, options: MicromatchOptions): Pattern[] {
117-
let { parts } = picomatch.scan(pattern, {
116+
let { parts } = micromatch.scan(pattern, {
118117
...options,
119118
parts: true
120119
});

typings/picomatch.d.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)