From 9467c21536c7d2e2ad668bc15a4606afb58823bc Mon Sep 17 00:00:00 2001 From: Mohamed Hesham Date: Tue, 12 Sep 2017 14:36:42 +0200 Subject: [PATCH 1/2] fixing chalk missing require --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 63c020c..4b12d6a 100755 --- a/lib/index.js +++ b/lib/index.js @@ -11,6 +11,7 @@ var VantageServer = require("./server"); var VantageClient = require("./client"); var commons = require("./vantage-commons"); var repl = require("vorpal-repl"); +var chalk = require("chalk"); function Vantage() { @@ -168,4 +169,4 @@ _.extend(Vantage.prototype, { * Expose `Vantage`. */ -exports = module.exports = Vantage; \ No newline at end of file +exports = module.exports = Vantage; From 742eb5d717ad0880bd07efd1483d4857cd053495 Mon Sep 17 00:00:00 2001 From: Mohamed Hesham Date: Wed, 13 Sep 2017 13:44:05 +0200 Subject: [PATCH 2/2] modifying vantage-auth-basic dependency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ad05555..9c01240 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "socket.io": "1.4.5", "socket.io-client": "1.4.5", "strip-ansi": "^3.0.0", - "vantage-auth-basic": "^1.0.0", + "vantage-auth-basic": "github:mhesham90/vantage-auth-basic", "vorpal": "^1.11.1", "vorpal-repl": "^1.1.8" },