Socket
Socket
Sign inDemoInstall

nano

Package Overview
Dependencies
Maintainers
2
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 1.3.5 to 1.3.8

tests/doc/fetch.js

4

nano.js

@@ -114,3 +114,3 @@ /* minimal couch in node

}
if(opts.encoding && callback) {
if(opts.encoding !== undefined && callback) {
req.encoding = opts.encoding;

@@ -541,3 +541,3 @@ delete req.headers["content-type"];

return relax({ db: db_name, att: att_name, method: "GET", doc: doc_name
, params: params, encoding: "binary"},callback);
, params: params, encoding: null},callback);
}

@@ -544,0 +544,0 @@

@@ -5,3 +5,3 @@ { "name" : "nano"

, "repository" : "git://github.com/dscape/nano"
, "version" : "1.3.5"
, "version" : "1.3.8"
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"

@@ -8,0 +8,0 @@ , "contributors" :

@@ -108,2 +108,3 @@ # nano

`db.list(params*,callback*)`
`db.fetch(doc_names,params*,callback*)`
`db.view(design_name,view_name,params*,callback*)`

@@ -110,0 +111,0 @@ `db.attachment.insert(doc_name,att_name,att,content_type,params*,callback*)`

@@ -78,3 +78,3 @@ module.exports = function() {

tried.tried += 1;
if(e) { return tests.recursive_create_view(tried,callback); }
if(e) { return user_find(view,id,opts,tried,callback); }
b.views[view] = current_view;

@@ -81,0 +81,0 @@ users.insert(b, '_design/users', function (e,b,h) {

@@ -67,5 +67,6 @@ var ensure = require('ensure')

this.t.equal(from_buffer, pixel, 'Buffer is pixel');
this.t.equal(b.toString("base64"), pixel, 'Result buffer is pixel');
this.t.ok(couch.isDone(), 'Nock is done');
};
ensure(__filename,tests,module,process.argv[2]);
ensure(__filename,tests,module,process.argv[2]);

Sorry, the diff of this file is not supported yet

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