File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 4141 "test" : " yarn run coverage" ,
4242 "coverage" : " nyc mocha" ,
4343 "coverage-html" : " nyc report --reporter=html && open ./coverage/index.html" ,
44- "check-coverage" : " nyc check-coverage --statements 40 --functions 40 --branches 0 --lines 40 " ,
44+ "check-coverage" : " nyc check-coverage --statements 35 --functions 35 --branches 0 --lines 35 " ,
4545 "report" : " nyc report" ,
4646 "coverage-lcov" : " nyc report --reporter=lcov" ,
4747 "codacy" : " cat ./coverage/lcov.info | codacy-coverage" ,
5454 "main" : " ./src/main.js" ,
5555 "dependencies" : {
5656 "clipboardy" : " ^2.1.0" ,
57- "diff2html" : " ^2.7.0 " ,
57+ "diff2html" : " ^2.11.2 " ,
5858 "extend" : " ^3.0.2" ,
59- "open" : " ^6.0 .0" ,
59+ "open" : " ^6.4 .0" ,
6060 "request" : " ^2.88.0" ,
61- "yargs" : " ^12 .0.5 "
61+ "yargs" : " ^14 .0.0 "
6262 },
6363 "devDependencies" : {
6464 "codacy-coverage" : " ^3.4.0" ,
65- "eslint" : " ^5.13.0 " ,
66- "eslint-plugin-promise" : " ^4.0 .1" ,
67- "eslint-plugin-standard" : " ^4.0.0 " ,
68- "mocha" : " ^5 .2.0" ,
69- "nyc" : " ^13.2.0 " ,
70- "sinon" : " ^7.2.3 "
65+ "eslint" : " ^6.2.1 " ,
66+ "eslint-plugin-promise" : " ^4.2 .1" ,
67+ "eslint-plugin-standard" : " ^4.0.1 " ,
68+ "mocha" : " ^6 .2.0" ,
69+ "nyc" : " ^14.1.1 " ,
70+ "sinon" : " ^7.4.1 "
7171 },
7272 "license" : " MIT" ,
7373 "files" : [
Original file line number Diff line number Diff line change 2323 response . on ( 'data' , function ( body ) {
2424 try {
2525 var object = JSON . parse ( body . toString ( 'utf8' ) ) ;
26- if ( object . id ) {
27- return callback ( null , " https://diffy.org/diff/" + object . id ) ;
26+ if ( object . id ) {
27+ return callback ( null , ' https://diffy.org/diff/' + object . id ) ;
2828 } else if ( object . error ) {
2929 return callback ( new Error ( object . error ) ) ;
30- } else {
30+ } else {
3131 return callback ( new Error ( body . toString ( 'utf8' ) ) ) ;
3232 }
3333 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments