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 3.3.8 to 3.4.0

20

nano.js

@@ -769,2 +769,20 @@ /* minimal couch in node

/*
* calls a spatial view
*
* @param {design_name:string} design document name
* @param {spatial_name:string} spatial view to call
*
* @see relax
*/
function view_spatial(design_name, view_name, params, callback) {
if(typeof params === "function") {
callback = params;
params = {};
}
var view_path = '_design/' + design_name + '/_spatial/' + view_name;
return relax({db: db_name, path: view_path
, method: "GET", params: params},callback);
}
/*
* calls a show function

@@ -935,2 +953,4 @@ *

public_functions.view = view_docs;
public_functions.spatial = view_spatial;
public_functions.view.compact = function(design_name,cb) {

@@ -937,0 +957,0 @@ return compact_db(db_name,design_name,cb);

7

package.json

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

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

@@ -11,3 +11,3 @@ , "contributors" :

, "Derek Perez <derek@derekperez.com> (http://blog.derekperez.com)"
, "Patrick Heneise (http://patrickheneise.me)"
, "Patrick Heneise (http://patrickheneise.com)"
, "Artur Konarski (http://tarantoga.com)"

@@ -35,2 +35,3 @@ , "Pedro Teixeira <pedro.teixeira@gmail.com> (http://metaduck.com)"

, "John Chesley (http://chesl.es)"
, "Damon Oehlman <damon@fluxant.com>"
]

@@ -41,3 +42,3 @@ , "keywords" :

{ "request" : "2.16.x"
, "follow" : "0.8.x"
, "follow" : "0.9.x"
, "errs" : "0.2.x"

@@ -44,0 +45,0 @@ , "underscore" : "1.4.x"

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