Comparing version 0.5.4 to 0.5.5
@@ -96,4 +96,4 @@ /* minimal couch in node | ||
if(e) { return callback(error.request_err(e,"socket",req,status_code),{},b); } | ||
rh = h.headers; | ||
status_code = h.statusCode; | ||
rh = (h.headers || {}); | ||
rh.status_code = status_code = h.statusCode; | ||
try { parsed = JSON.parse(b); } catch (err) { parsed = b; } // did we get json or binary? | ||
@@ -100,0 +100,0 @@ if (status_code >= 200 && status_code < 300) { |
{ "name": "nano" | ||
, "description": "minimalistic couchdb driver for node.js" | ||
, "homepage": "http://github.com/dscape/nano" | ||
, "version": "0.5.4" | ||
, "version": "0.5.5" | ||
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)" | ||
, "keywords": ["couchdb", "data", "request", "json", "nosql", "micro", "nano"] | ||
, "dependencies": {"request": "~2.0.4", "underscore": "~1.1.7"} | ||
, "dependencies": {"request": "~2.0.5", "underscore": "~1.1.7"} | ||
, "devDependencies": { "async": "~0.1.9", "vows": "~0.5.10" } | ||
@@ -9,0 +9,0 @@ , "main": "./nano.js" |
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
51799
Updatedrequest@~2.0.5