Comparing version 1.3.4 to 1.3.5
@@ -48,2 +48,3 @@ /* minimal couch in node | ||
, auth | ||
, port | ||
; | ||
@@ -648,4 +649,6 @@ | ||
auth = path.auth ? path.auth + '@' : ''; | ||
port = path.port ? ':' + path.port : ''; | ||
db = path_array[0]; | ||
cfg.url = u.format({protocol:path.protocol,host: auth + path.host}); | ||
cfg.url = u.format( | ||
{protocol:path.protocol,host: auth + path.hostname + port}); | ||
return document_module(db); | ||
@@ -652,0 +655,0 @@ } |
@@ -5,3 +5,3 @@ { "name" : "nano" | ||
, "repository" : "git://github.com/dscape/nano" | ||
, "version" : "1.3.4" | ||
, "version" : "1.3.5" | ||
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -8,0 +8,0 @@ , "contributors" : |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119699
2699