Skip to content

Commit

Permalink
Merge pull request #318 from mrmlnc/ISSUE-256_remove_picomatch_depend…
Browse files Browse the repository at this point in the history
…ency

ISSUE-256: update micromatch package
  • Loading branch information
mrmlnc authored Jun 22, 2021
2 parents 08951de + 707fd21 commit e4a3e7f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
"@nodelib/fs.walk": "^1.2.3",
"glob-parent": "^5.1.2",
"merge2": "^1.3.0",
"micromatch": "^4.0.2",
"picomatch": "^2.2.1"
"micromatch": "^4.0.4"
},
"scripts": {
"clean": "rimraf out",
Expand Down
3 changes: 1 addition & 2 deletions src/utils/pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as path from 'path';

import * as globParent from 'glob-parent';
import * as micromatch from 'micromatch';
import * as picomatch from 'picomatch';

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

Expand Down Expand Up @@ -114,7 +113,7 @@ export function expandBraceExpansion(pattern: Pattern): Pattern[] {
}

export function getPatternParts(pattern: Pattern, options: MicromatchOptions): Pattern[] {
let { parts } = picomatch.scan(pattern, {
let { parts } = micromatch.scan(pattern, {
...options,
parts: true
});
Expand Down
12 changes: 0 additions & 12 deletions typings/picomatch.d.ts

This file was deleted.

0 comments on commit e4a3e7f

Please sign in to comment.