Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nano

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nano - npm Package Compare versions

Comparing version 0.5.6 to 0.5.7

6

nano.js

@@ -85,2 +85,5 @@ /* minimal couch in node

if(opts.content_type) { req.headers["content-type"] = opts.content_type; }
if(opts.encoding) { req.encoding = opts.encoding; }
req.uri = url + (_.isEmpty(params) ? "" : "?" + qs.stringify(params));
if(!callback) { return request(req); } // void callback, pipe
if(opts.body) {

@@ -92,5 +95,2 @@ if (Buffer.isBuffer(opts.body)) {

}
if(opts.encoding) { req.encoding = opts.encoding; }
req.uri = url + (_.isEmpty(params) ? "" : "?" + qs.stringify(params));
if(!callback) { return request(req); } // void callback
request(req, function(e,h,b){

@@ -97,0 +97,0 @@ if(e) { return callback(error.request_err(e,"socket",req,status_code),{},b); }

{ "name": "nano"
, "description": "minimalistic couchdb driver for node.js"
, "homepage": "http://github.com/dscape/nano"
, "version": "0.5.6"
, "version": "0.5.7"
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"

@@ -6,0 +6,0 @@ , "keywords": ["couchdb", "data", "request", "json", "nosql", "micro", "nano"]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc