File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 96
96
"browserify" : " ^13.0.0" ,
97
97
"browserify-transform-tools" : " ^1.5.1" ,
98
98
"deep-equal" : " ^1.0.1" ,
99
- "ecstatic" : " ^1.4 .0" ,
99
+ "ecstatic" : " ^2.1 .0" ,
100
100
"eslint" : " ^3.5.0" ,
101
- "falafel" : " ^1.2 .0" ,
101
+ "falafel" : " ^2.0 .0" ,
102
102
"fs-extra" : " ^0.30.0" ,
103
103
"fuse.js" : " ^2.2.0" ,
104
104
"glob" : " ^7.0.0" ,
107
107
"jasmine-core" : " ^2.4.1" ,
108
108
"karma" : " ^1.1.0" ,
109
109
"karma-browserify" : " ^5.0.1" ,
110
- "karma-chrome-launcher" : " ^1 .0.1 " ,
110
+ "karma-chrome-launcher" : " ^2 .0.0 " ,
111
111
"karma-coverage" : " ^1.0.0" ,
112
112
"karma-firefox-launcher" : " ^1.0.0" ,
113
113
"karma-jasmine" : " ^1.0.2" ,
114
- "madge" : " ^0.6.0 " ,
114
+ "madge" : " ^1.4.3 " ,
115
115
"node-sass" : " ^3.4.1" ,
116
116
"npm-link-check" : " ^1.1.0" ,
117
117
"open" : " 0.0.5" ,
Original file line number Diff line number Diff line change @@ -98,20 +98,21 @@ function assertFileNames() {
98
98
99
99
// check circular dependencies
100
100
function assertCircularDeps ( ) {
101
- var dependencyObject = madge ( constants . pathToSrc ) ;
102
- var circularDeps = dependencyObject . circular ( ) . getArray ( ) ;
103
- var logs = [ ] ;
101
+ madge ( constants . pathToSrc ) . then ( function ( res ) {
102
+ var circularDeps = res . circular ( ) ;
103
+ var logs = [ ] ;
104
104
105
- // as of v1.17.0 - 2016/09/08
106
- // see https://github.com/plotly/plotly.js/milestone/9
107
- // for more details
108
- var MAX_ALLOWED_CIRCULAR_DEPS = 34 ;
105
+ // as of v1.17.0 - 2016/09/08
106
+ // see https://github.com/plotly/plotly.js/milestone/9
107
+ // for more details
108
+ var MAX_ALLOWED_CIRCULAR_DEPS = 34 ;
109
109
110
- if ( circularDeps . length > MAX_ALLOWED_CIRCULAR_DEPS ) {
111
- logs . push ( 'some new circular dependencies were added to src/' ) ;
112
- }
110
+ if ( circularDeps . length > MAX_ALLOWED_CIRCULAR_DEPS ) {
111
+ logs . push ( 'some new circular dependencies were added to src/' ) ;
112
+ }
113
113
114
- log ( 'circular dependencies' , logs ) ;
114
+ log ( 'circular dependencies' , logs ) ;
115
+ } ) ;
115
116
}
116
117
117
118
function combineGlobs ( arr ) {
You can’t perform that action at this time.
0 commit comments