Comparing version 0.5.7 to 0.5.8
@@ -37,3 +37,8 @@ /* minimal couch in node | ||
if(typeof cfg === "string") { | ||
cfg = require(cfg); // no cfg? maybe it's a file path? | ||
try { | ||
cfg = require(cfg); // no cfg? maybe it's a file path? | ||
} | ||
catch(e) { | ||
cfg = {url: cfg}; // not a file path? guess it's the url | ||
} | ||
} | ||
@@ -40,0 +45,0 @@ if(cfg.proxy) { |
{ "name": "nano" | ||
, "description": "minimalistic couchdb driver for node.js" | ||
, "homepage": "http://github.com/dscape/nano" | ||
, "version": "0.5.7" | ||
, "version": "0.5.8" | ||
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
@@ -6,0 +6,0 @@ , "keywords": ["couchdb", "data", "request", "json", "nosql", "micro", "nano"] |
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
51910
1290