Comparing version 0.11.4 to 0.11.5
@@ -51,11 +51,2 @@ var RequestOverrider = require('./request_overrider'), | ||
// if ( | ||
// options.port && options.host.indexOf(':') < 0 && | ||
// (options.port !== 80 || options.proto !== 'http') && | ||
// (options.port !== 443 || options.proto !== 'https') | ||
// ) { | ||
// options.host += ":" + options.port; | ||
// delete options.port; | ||
// } | ||
basePath = options.proto + '://' + options.host; | ||
@@ -70,4 +61,2 @@ if ( | ||
console.log('basePath:', basePath) | ||
return allInterceptors[basePath] || []; | ||
@@ -74,0 +63,0 @@ } |
{ "name" : "nock" | ||
, "description" : "HTTP Server mocking for Node.js" | ||
, "tags" : ["Mock", "HTTP", "testing", "isolation"] | ||
, "version" : "0.11.4" | ||
, "version" : "0.11.5" | ||
, "author" : "Pedro Teixeira <pedro.teixeira@gmail.com>" | ||
@@ -6,0 +6,0 @@ , "contributors" : |
62324
1794