File tree 2 files changed +25
-27
lines changed
2 files changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,10 @@ var union = require('array-union');
3
3
var assign = require ( 'object-assign' ) ;
4
4
var async = require ( 'async' ) ;
5
5
var glob = require ( 'glob' ) ;
6
-
7
- function arrayify ( arr ) {
8
- return Array . isArray ( arr ) ? arr : [ arr ] ;
9
- }
6
+ var arrify = require ( 'arrify' ) ;
10
7
11
8
function sortPatterns ( patterns ) {
12
- patterns = arrayify ( patterns ) ;
9
+ patterns = arrify ( patterns ) ;
13
10
14
11
var positives = [ ] ;
15
12
var negatives = [ ] ;
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"repository" : " sindresorhus/globby" ,
7
7
"author" : {
8
- "name" : " Sindre Sorhus" ,
9
8
"email" : " sindresorhus@gmail.com" ,
9
+ "name" : " Sindre Sorhus" ,
10
10
"url" : " sindresorhus.com"
11
11
},
12
12
"engines" : {
20
20
" index.js"
21
21
],
22
22
"keywords" : [
23
+ " all" ,
24
+ " array" ,
25
+ " directories" ,
26
+ " dirs" ,
27
+ " expand" ,
28
+ " files" ,
29
+ " filesystem" ,
30
+ " filter" ,
31
+ " find" ,
32
+ " fnmatch" ,
33
+ " folders" ,
34
+ " fs" ,
23
35
" glob" ,
24
- " globs" ,
25
36
" globbing" ,
26
- " minimatch" ,
37
+ " globs" ,
38
+ " gulpfriendly" ,
27
39
" match" ,
28
40
" matcher" ,
29
- " pattern" ,
30
- " patterns" ,
31
- " find" ,
32
- " paths" ,
33
- " files" ,
34
- " folders" ,
35
- " dirs" ,
36
- " directories" ,
37
- " wildcard" ,
38
- " wildcards" ,
39
- " expand" ,
41
+ " minimatch" ,
40
42
" multi" ,
41
43
" multiple" ,
42
- " array" ,
43
- " all" ,
44
- " gulpfriendly" ,
45
- " fnmatch" ,
44
+ " paths" ,
45
+ " pattern" ,
46
+ " patterns" ,
46
47
" traverse" ,
47
- " filesystem" ,
48
- " fs" ,
49
- " filter" ,
50
48
" util" ,
51
- " utility"
49
+ " utility" ,
50
+ " wildcard" ,
51
+ " wildcards"
52
52
],
53
53
"dependencies" : {
54
54
"array-union" : " ^1.0.1" ,
55
+ "arrify" : " ^1.0.0" ,
55
56
"async" : " ^1.2.1" ,
56
57
"glob" : " ^5.0.3" ,
57
58
"object-assign" : " ^3.0.0"
You can’t perform that action at this time.
0 commit comments