File tree Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Expand file tree Collapse file tree 2 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
3
+ Copyright (C) 2019-2020 Apple Inc. All rights reserved.
3
4
4
5
Redistribution and use in source and binary forms, with or without
5
6
modification, are permitted provided that the following conditions are met:
@@ -64,20 +65,20 @@ var ESLINT_OPTION = {
64
65
}
65
66
} ;
66
67
67
- gulp . task ( 'test' , function ( ) {
68
+ gulp . task ( 'test' , gulp . series ( function ( ) {
68
69
return gulp . src ( TEST )
69
70
. pipe ( mocha ( {
70
71
reporter : 'spec' ,
71
72
timeout : 100000 // 100s
72
73
} ) ) ;
73
- } ) ;
74
+ } ) ) ;
74
75
75
- gulp . task ( 'lint' , function ( ) {
76
+ gulp . task ( 'lint' , gulp . series ( function ( ) {
76
77
return gulp . src ( LINT )
77
78
. pipe ( eslint ( ESLINT_OPTION ) )
78
79
. pipe ( eslint . formatEach ( 'stylish' , process . stderr ) )
79
80
. pipe ( eslint . failOnError ( ) ) ;
80
- } ) ;
81
+ } ) ) ;
81
82
82
- gulp . task ( 'travis' , [ 'lint' , 'test' ] ) ;
83
- gulp . task ( 'default' , [ 'travis' ] ) ;
83
+ gulp . task ( 'travis' , gulp . series ( [ 'lint' , 'test' ] ) ) ;
84
+ gulp . task ( 'default' , gulp . series ( [ 'travis' ] ) ) ;
Original file line number Diff line number Diff line change 32
32
"dependencies" : {
33
33
"estraverse" : " ^5.2.0" ,
34
34
"esutils" : " ^2.0.2" ,
35
- "esprima" : " ^4.0.1" ,
36
- "optionator" : " ^0.8.1"
35
+ "esprima" : " ^4.0.1"
37
36
},
38
37
"optionalDependencies" : {
39
38
"source-map" : " ~0.6.1"
40
39
},
41
40
"devDependencies" : {
42
- "acorn" : " ^7.3.1 " ,
41
+ "acorn" : " ^8.0.4 " ,
43
42
"bluebird" : " ^3.4.7" ,
44
43
"bower-registry-client" : " ^1.0.0" ,
45
44
"chai" : " ^4.2.0" ,
46
45
"chai-exclude" : " ^2.0.2" ,
47
46
"commonjs-everywhere" : " ^0.9.7" ,
48
- "gulp" : " ^3.8.10" ,
49
- "gulp-eslint" : " ^3.0.1" ,
50
- "gulp-mocha" : " ^3.0.1" ,
51
- "semver" : " ^5.1.0"
47
+ "gulp" : " ^4.0.2" ,
48
+ "gulp-eslint" : " ^6.0.0" ,
49
+ "gulp-mocha" : " ^7.0.2" ,
50
+ "minimist" : " ^1.2.5" ,
51
+ "optionator" : " ^0.9.1" ,
52
+ "semver" : " ^7.3.4"
52
53
},
53
54
"license" : " BSD-2-Clause" ,
54
55
"scripts" : {
You can’t perform that action at this time.
0 commit comments