Skip to content

Commit

Permalink
Update dependencies (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke authored Nov 7, 2021
1 parent 59f3f5c commit c08f103
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions glob-pattern.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import path from 'node:path';
import fs from 'node:fs';
import {globbySync, isDynamicPattern} from 'globby';
import junk from 'junk';
import {isNotJunk} from 'junk';

export default class GlobPattern {
/**
Expand All @@ -17,8 +17,8 @@ export default class GlobPattern {

if (
!isDynamicPattern(pattern)
&& fs.existsSync(pattern)
&& fs.lstatSync(pattern).isDirectory()
&& fs.existsSync(pattern)
&& fs.lstatSync(pattern).isDirectory()
) {
this.path = [pattern, '**'].join('/');
}
Expand Down Expand Up @@ -53,7 +53,7 @@ export default class GlobPattern {
});

if (this.options.ignoreJunk) {
matches = matches.filter(file => junk.not(path.basename(file)));
matches = matches.filter(file => isNotJunk(path.basename(file)));
}

return matches;
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
"dependencies": {
"arrify": "^3.0.0",
"cp-file": "^9.1.0",
"globby": "^12.0.0",
"junk": "^3.1.0",
"globby": "^12.0.2",
"junk": "^4.0.0",
"nested-error-stacks": "^2.1.0",
"p-filter": "^2.1.0",
"p-map": "^5.0.0"
"p-filter": "^3.0.0",
"p-map": "^5.3.0"
},
"devDependencies": {
"ava": "^3.15.0",
"proxyquire": "^2.1.3",
"rimraf": "^3.0.2",
"tempy": "^1.0.1",
"tsd": "^0.17.0",
"typescript": "^4.3.5",
"tempy": "^2.0.0",
"tsd": "^0.18.0",
"typescript": "^4.4.4",
"xo": "^0.42.0"
}
}

0 comments on commit c08f103

Please sign in to comment.