File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ function diff() {
103103function parse ( data ) {
104104 var lines = data . lines ;
105105 var line = lines [ 0 ] ;
106- var re = / ^ @ @ - ( [ 0 - 9 ] + ) , ? ( [ 0 - 9 ] + ) ? \+ ( [ 0 - 9 ] + ) , ? ( [ 0 - 9 ] + ) ? @ @ / ;
106+ var re = / ^ @ @ - ( \d + ) , ? ( \d + ) ? \+ ( \d + ) , ? ( \d + ) ? @ @ / ;
107107 var match = line . match ( re ) ;
108108 var result = { path : data . bPath } ;
109109 var ranges = [ ] ;
Original file line number Diff line number Diff line change 2525 "vfile-find-up" : " ^2.0.0"
2626 },
2727 "devDependencies" : {
28- "execa" : " ^0.8 .0" ,
28+ "execa" : " ^0.10 .0" ,
2929 "nlcst-to-string" : " ^2.0.0" ,
3030 "nyc" : " ^11.1.0" ,
31- "remark-cli" : " ^4 .0.0" ,
32- "remark-preset-wooorm" : " ^3 .0.0" ,
31+ "remark-cli" : " ^5 .0.0" ,
32+ "remark-preset-wooorm" : " ^4 .0.0" ,
3333 "retext" : " ^5.0.0" ,
3434 "rimraf" : " ^2.5.4" ,
3535 "tape" : " ^4.0.0" ,
36- "to-vfile" : " ^2 .0.0" ,
36+ "to-vfile" : " ^4 .0.0" ,
3737 "trough" : " ^1.0.0" ,
3838 "unist-util-visit" : " ^1.1.0" ,
39- "xo" : " ^0.18 .0"
39+ "xo" : " ^0.21 .0"
4040 },
4141 "scripts" : {
4242 "build-md" : " remark . -qfo" ,
5454 },
5555 "xo" : {
5656 "space" : true ,
57- "esnext" : false
57+ "esnext" : false ,
58+ "rules" : {
59+ "no-var" : " off" ,
60+ "prefer-arrow-callback" : " off" ,
61+ "object-shorthand" : " off"
62+ }
5863 },
5964 "remarkConfig" : {
6065 "plugins" : [
You can’t perform that action at this time.
0 commit comments