From 9da7391c8efecf7b2e62bf8ca549ae89cdeaaf7b Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 1 Apr 2017 18:23:18 +0700 Subject: [PATCH] Bump dependencies --- lib/actions/user.js | 6 ++---- package.json | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/actions/user.js b/lib/actions/user.js index bfcf6ea5..102b0b6d 100644 --- a/lib/actions/user.js +++ b/lib/actions/user.js @@ -56,9 +56,7 @@ user.git.email = () => { /** * Retrieves GitHub's username from the GitHub API - * @return {Promise} Resolved with the github username or rejected if unable to + * @return {Promise} Resolved with the GitHub username or rejected if unable to * get the information */ -user.github.username = () => { - return githubUsername(user.git.email()); -}; +user.github.username = () => githubUsername(user.git.email()); diff --git a/package.json b/package.json index 19a40979..6ae6b404 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "detect-conflict": "^1.0.0", "error": "^7.0.2", "find-up": "^2.1.0", - "github-username": "^3.0.0", + "github-username": "^4.0.0", "istextorbinary": "^2.1.0", "lodash": "^4.11.1", "mem-fs-editor": "^3.0.0", @@ -70,7 +70,7 @@ "mockery": "^2.0.0", "nock": "^9.0.5", "proxyquire": "^1.0.0", - "sinon": "^1.9.1", + "sinon": "^2.1.0", "tui-jsdoc-template": "^1.0.4", "xo": "^0.17.0", "yeoman-assert": "^3.0.0",