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); diff --git a/package.json b/package.json index cb46374..a10b16f 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.2.0", + "underscore": "~1.8.3", + "jquery": "~2.1.3" }, "devDependencies": { "mocha": "~1.9.0", @@ -35,6 +35,6 @@ }, "repository": "https://github.com/ranm8/requestify.git", "engines": { - "node": "~0.10.x" + "node": "~0.12.x" } }