File tree 6 files changed +6
-38
lines changed
6 files changed +6
-38
lines changed Original file line number Diff line number Diff line change 1
1
steps :
2
- - script : npm i -g npm@$(npm_version)
3
- displayName : Use legacy npm version $(npm_version)
4
- condition : ne(variables['npm_version'], '')
5
-
6
2
- task : NodeTool@0
7
3
inputs :
8
4
versionSpec : ' $(node_version)'
Original file line number Diff line number Diff line change 15
15
node_version : 8
16
16
Node_v6 :
17
17
node_version : 6
18
- Node_v4 :
19
- node_version : 4
20
- Node_v0_12 :
21
- node_version : 0.12
22
- Node_v0_10 :
23
- node_version : 0.10
24
18
steps :
25
19
- template : .azure-pipelines-steps.yml
26
20
36
30
node_version : 8
37
31
Node_v6 :
38
32
node_version : 6
39
- Node_v4 :
40
- node_version : 4
41
- npm_version : 2
42
- Node_v0_12 :
43
- node_version : 0.12
44
- npm_version : 2
45
- Node_v0_10 :
46
- node_version : 0.10
47
- npm_version : 2
48
33
steps :
49
34
- template : .azure-pipelines-steps.yml
50
35
60
45
node_version : 8
61
46
Node_v6 :
62
47
node_version : 6
63
- Node_v4 :
64
- node_version : 4
65
- Node_v0_12 :
66
- node_version : 0.12
67
- Node_v0_10 :
68
- node_version : 0.10
69
48
steps :
70
49
- template : .azure-pipelines-steps.yml
71
50
Original file line number Diff line number Diff line change 4
4
- ' 10'
5
5
- ' 8'
6
6
- ' 6'
7
- - ' 4'
8
- - ' 0.12'
9
- - ' 0.10'
10
7
after_script :
11
8
- npm run coveralls
Original file line number Diff line number Diff line change 4
4
environment :
5
5
matrix :
6
6
# node.js
7
- - nodejs_version : " 0.10"
8
- - nodejs_version : " 0.12"
9
- - nodejs_version : " 4"
10
7
- nodejs_version : " 6"
11
8
- nodejs_version : " 8"
12
9
- nodejs_version : " 10"
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
3
var isGlob = require ( 'is-glob' ) ;
4
- var pathDirname = require ( 'path-dirname' ) ;
4
+ var pathPosixDirname = require ( 'path' ) . posix . dirname ;
5
5
var isWin32 = require ( 'os' ) . platform ( ) === 'win32' ;
6
6
7
7
var slash = '/' ;
@@ -26,7 +26,7 @@ module.exports = function globParent(str) {
26
26
27
27
// remove path parts that are globby
28
28
do {
29
- str = pathDirname . posix ( str ) ;
29
+ str = pathPosixDirname ( str ) ;
30
30
} while ( isGlob ( str ) || globby . test ( str ) ) ;
31
31
32
32
// remove escape chars and return result
Original file line number Diff line number Diff line change 10
10
"repository" : " gulpjs/glob-parent" ,
11
11
"license" : " ISC" ,
12
12
"engines" : {
13
- "node" : " >= 0.10 "
13
+ "node" : " >= 6 "
14
14
},
15
15
"main" : " index.js" ,
16
16
"files" : [
25
25
"coveralls" : " nyc report --reporter=text-lcov | coveralls"
26
26
},
27
27
"dependencies" : {
28
- "is-glob" : " ^4.0.1" ,
29
- "path-dirname" : " ^1.0.2"
28
+ "is-glob" : " ^4.0.1"
30
29
},
31
30
"devDependencies" : {
32
31
"coveralls" : " github:phated/node-coveralls#2.x" ,
33
32
"eslint" : " ^2.13.1" ,
34
33
"eslint-config-gulp" : " ^3.0.1" ,
35
34
"expect" : " ^1.20.2" ,
36
- "mocha" : " ^3.5.3 " ,
37
- "nyc" : " ^10 .3.2 "
35
+ "mocha" : " ^6.0.2 " ,
36
+ "nyc" : " ^13 .3.0 "
38
37
},
39
38
"keywords" : [
40
39
" glob" ,
You can’t perform that action at this time.
0 commit comments