File tree Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Expand file tree Collapse file tree 3 files changed +22
-19
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 0.10"
4
- - " 0.12"
3
+ - " 4"
4
+ - " 5"
5
+ - " 6"
5
6
before_script :
6
7
- npm install -g grunt-cli
7
8
- mkdir ~/bin
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var escomplex = require ( 'escomplex-js ' ) ,
3
+ var escomplex = require ( 'escomplex' ) ,
4
4
_ = require ( 'lodash' ) ;
5
5
6
6
exports . process = function ( source , options , reportInfo ) {
7
7
var report = escomplex . analyse ( source , options ) ;
8
8
// Make the short filename easily accessible
9
9
report . module = reportInfo . fileShort ;
10
10
11
- // Munge the new `escomplex-js ` format to match the older format of
11
+ // Munge the new `escomplex` format to match the older format of
12
12
// `complexity-report`
13
13
report . aggregate . complexity = {
14
14
cyclomatic : report . aggregate . cyclomatic ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " plato" ,
3
3
"description" : " JavaScript source analysis and visualizer" ,
4
- "version" : " 1.4 .0" ,
4
+ "version" : " 1.5 .0" ,
5
5
"homepage" : " https://github.com/es-analysis/plato" ,
6
+ "license" : " MIT" ,
6
7
"author" : {
7
8
"name" : " Jarrod Overson" ,
8
9
24
25
],
25
26
"main" : " lib/plato" ,
26
27
"engines" : {
27
- "node" : " >= 0.10.0 "
28
+ "node" : " >= 4.4.5 "
28
29
},
29
30
"scripts" : {
30
31
"test" : " grunt test"
31
32
},
32
33
"devDependencies" : {
33
- "grunt" : " ~0.4 .1" ,
34
+ "grunt" : " ~1.0 .1" ,
34
35
"grunt-casper" : " ~0.4.0" ,
35
- "grunt-contrib-jshint" : " ~0.10 " ,
36
- "grunt-contrib-nodeunit" : " ^0.4.1 " ,
37
- "grunt-contrib-uglify" : " ~0.2.0 " ,
38
- "grunt-contrib-watch" : " ~0.6.1 "
36
+ "grunt-contrib-jshint" : " ~1.0.0 " ,
37
+ "grunt-contrib-nodeunit" : " ~1.0.0 " ,
38
+ "grunt-contrib-uglify" : " ~1.0.1 " ,
39
+ "grunt-contrib-watch" : " ~1.0.0 "
39
40
},
40
41
"keywords" : [
41
42
" halstead" ,
47
48
" analyze"
48
49
],
49
50
"dependencies" : {
50
- "escomplex-js" : " ~1.2.0" ,
51
- "fs-extra" : " ^0.3.2" ,
52
- "glob" : " ~4.4.1" ,
53
- "jshint" : " ~2.6.3" ,
54
- "lodash" : " ^3.3.1" ,
55
- "posix-getopt" : " ~1.1.0" ,
56
- "complexity-report" : " ~0.10.3" ,
57
- "eslint" : " ^1.5.1"
51
+ "escomplex" : " 2.0.0-alpha" ,
52
+ "fs-extra" : " ~0.30.0" ,
53
+ "glob" : " ~7.0.5" ,
54
+ "jshint" : " ~2.9.2" ,
55
+ "lodash" : " ~4.13.1" ,
56
+ "posix-getopt" : " ~1.2.0" ,
57
+ "complexity-report" : " 2.0.0-alpha" ,
58
+ "eslint" : " ~3.0.1" ,
59
+ "esprima" : " ~2.7.2"
58
60
}
59
61
}
You can’t perform that action at this time.
0 commit comments