Skip to content

Commit

Permalink
Remove util-extend dependecy.
Browse files Browse the repository at this point in the history
  • Loading branch information
lekkas committed Feb 22, 2016
1 parent 02ffad9 commit beff063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions lib/persistent-tunnel.js
@@ -1,12 +1,10 @@
var net = require('net');
var http = require('http');
var extend = require('util-extend');
var assert = require('assert');
var NodeAgent = require('./_http_agent');

function createTunnelConnection(options, cb) {
var proxyOptions = extend({}, options.proxy);

var proxyOptions = options.proxy || {};
var connectOptions = {
method: 'CONNECT',
host: proxyOptions.host || 'localhost',
Expand Down
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -26,7 +26,5 @@
"mocha": "^2.4.5",
"node-tunnel": "^0.1.2"
},
"dependencies": {
"util-extend": "^1.0.3"
}
"dependencies": {}
}

0 comments on commit beff063

Please sign in to comment.