From 456062931083a9b2059afed9c1417ac5767105de Mon Sep 17 00:00:00 2001 From: Lior Sion Date: Mon, 4 Aug 2014 11:08:07 +0300 Subject: [PATCH 1/3] add logging --- lib/requestify.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/requestify.js b/lib/requestify.js index 9293f1b..774fd80 100644 --- a/lib/requestify.js +++ b/lib/requestify.js @@ -93,6 +93,9 @@ var Requestify = (function() { /** * Handle request callback */ + if (logger) { + logger.info('Requestify sending request [' + options.method + ' ' + options.hostname + options.path + '] with data [' + request.getBody() + ']' ); + } httpRequest = http.request(options, function(res) { clearTimeout(timeout); var response = new Response(res.statusCode, res.headers); From 9a64b7d4e8b69643a64605d039ba2ddd6f741efe Mon Sep 17 00:00:00 2001 From: liorsion Date: Mon, 9 Feb 2015 06:30:47 +0200 Subject: [PATCH 2/3] update packages --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cb46374..18da0f4 100644 --- a/package.json +++ b/package.json @@ -22,9 +22,9 @@ ], "author": "Ran Mizrahi ", "dependencies": { - "q": "~0.9.3", - "underscore": "~1.4.4", - "jquery": "~1.8.3" + "q": "~1.1.2", + "underscore": "~1.7.0", + "jquery": "~2.1.3" }, "devDependencies": { "mocha": "~1.9.0", From 7e0f33057a06b6923cfdbf142821eb75863e480f Mon Sep 17 00:00:00 2001 From: Lior Sion Date: Wed, 24 Jun 2015 22:51:54 +0300 Subject: [PATCH 3/3] Update package.json --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 18da0f4..a10b16f 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ ], "author": "Ran Mizrahi ", "dependencies": { - "q": "~1.1.2", - "underscore": "~1.7.0", + "q": "~1.2.0", + "underscore": "~1.8.3", "jquery": "~2.1.3" }, "devDependencies": { @@ -35,6 +35,6 @@ }, "repository": "https://github.com/ranm8/requestify.git", "engines": { - "node": "~0.10.x" + "node": "~0.12.x" } }