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.2 to 1.3.3

1

logging.js

@@ -6,2 +6,3 @@ // Simple event+strategy-based logging for NanoCouch

// snippet by Marak Squires.
// MIT Licenced, Nodejitsu
function randomString(len, charSet) {

@@ -8,0 +9,0 @@ charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

2

nano.js

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

db = path_array[0];
cfg.url = path.protocol + '//' + auth + path.hostname; // reset url
cfg.url = u.format({protocol:path.protocol,host:path.host});
return document_module(db);

@@ -651,0 +651,0 @@ }

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

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

@@ -18,2 +18,3 @@ , "contributors" :

, "InTheFiveByFive"
, "Stéphane Alnet <stephane@shimaore.net> (http://blog.shimaore.net)"
]

@@ -20,0 +21,0 @@ , "keywords" :

@@ -49,2 +49,5 @@ var ensure = require('ensure')

tests.url3 = function (callback) { callback(null,nano('http://someurl.com:5984/a')); };
tests.url3_ok = function (_,n) { this.t.equal(n.config.url, "http://someurl.com:5984"); };
tests.url_db = function (callback) { nano(cfg.url + "/adb").info(callback); };

@@ -51,0 +54,0 @@ tests.url_db_ok = function (e,b) {

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