Skip to content

Commit 2f88a47

Browse files
authored
Merge pull request #52 from whyboris/version-bumps
version bumps - summer 2019
2 parents c6bea6b + c1a5b2f commit 2f88a47

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
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",
@@ -54,20 +54,20 @@
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": [

src/http-utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
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) {

0 commit comments

Comments
 (0)