Skip to content

Commit c08f103

Browse files
authored
Update dependencies (#97)
1 parent 59f3f5c commit c08f103

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

glob-pattern.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'node:path';
22
import fs from 'node:fs';
33
import {globbySync, isDynamicPattern} from 'globby';
4-
import junk from 'junk';
4+
import {isNotJunk} from 'junk';
55

66
export default class GlobPattern {
77
/**
@@ -17,8 +17,8 @@ export default class GlobPattern {
1717

1818
if (
1919
!isDynamicPattern(pattern)
20-
&& fs.existsSync(pattern)
21-
&& fs.lstatSync(pattern).isDirectory()
20+
&& fs.existsSync(pattern)
21+
&& fs.lstatSync(pattern).isDirectory()
2222
) {
2323
this.path = [pattern, '**'].join('/');
2424
}
@@ -53,7 +53,7 @@ export default class GlobPattern {
5353
});
5454

5555
if (this.options.ignoreJunk) {
56-
matches = matches.filter(file => junk.not(path.basename(file)));
56+
matches = matches.filter(file => isNotJunk(path.basename(file)));
5757
}
5858

5959
return matches;

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@
4848
"dependencies": {
4949
"arrify": "^3.0.0",
5050
"cp-file": "^9.1.0",
51-
"globby": "^12.0.0",
52-
"junk": "^3.1.0",
51+
"globby": "^12.0.2",
52+
"junk": "^4.0.0",
5353
"nested-error-stacks": "^2.1.0",
54-
"p-filter": "^2.1.0",
55-
"p-map": "^5.0.0"
54+
"p-filter": "^3.0.0",
55+
"p-map": "^5.3.0"
5656
},
5757
"devDependencies": {
5858
"ava": "^3.15.0",
5959
"proxyquire": "^2.1.3",
6060
"rimraf": "^3.0.2",
61-
"tempy": "^1.0.1",
62-
"tsd": "^0.17.0",
63-
"typescript": "^4.3.5",
61+
"tempy": "^2.0.0",
62+
"tsd": "^0.18.0",
63+
"typescript": "^4.4.4",
6464
"xo": "^0.42.0"
6565
}
6666
}

0 commit comments

Comments
 (0)