From aba6eb940c0cd49a42d3e1a05d9fb40e8b0c2a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionic=C4=83=20Biz=C4=83u?= Date: Mon, 6 Jul 2015 21:15:14 +0300 Subject: [PATCH] :arrow_up: cli-box@5.0.0, git-stats-colors@2.1.0 --- lib/index.js | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index 03c2c04..af34cf8 100644 --- a/lib/index.js +++ b/lib/index.js @@ -361,7 +361,7 @@ GitStats.ansiCalendar = function (data, callback) { + " | " + "Max a day: " + cal.max ; - strYear = new CliBox({ + strYear = CliBox({ w: 10 , h: 10 , marks: { @@ -379,7 +379,7 @@ GitStats.ansiCalendar = function (data, callback) { text: strYear , stretch: true , hAlign: "left" - }).toString(); + }); strYear = strYear.replace(monthHack, new Array(monthHack.length + 1).join(" ")); diff --git a/package.json b/package.json index 660ffcb..c633977 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,9 @@ "homepage": "https://github.com/IonicaBizau/git-stats", "dependencies": { "ansi-parser": "^1.4.0", - "cli-box": "^2.1.1", + "cli-box": "^5.0.0", "bug-killer": "^1.0.0", - "git-stats-colors": "^1.0.0", + "git-stats-colors": "^2.1.0", "moment": "^2.9.0", "ul": "^1.1.0" }