Socket
Socket
Sign inDemoInstall

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.0.2 to 0.0.3

2

package.json
{ "name": "nano"
, "description": "NanoCouch is a minimalistic driver for CouchDB built on mikeals/request"
, "homepage": "http://github.com/dscape/nanocouch"
, "version": "0.0.2"
, "version": "0.0.3"
, "author": "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"

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

@@ -6,3 +6,3 @@ var vows = require('/usr/lib/node_modules/vows/lib/vows')

function destroyDb (callback) {
function destroy_db (callback) {
nano.db.create("de1", function () {

@@ -16,3 +16,3 @@ nano.db.destroy("de1", function (e,b) {

function destroyDbWorked (e,b) {
function destroy_db_ok (e,b) {
assert.isNull(e);

@@ -23,6 +23,6 @@ assert.equal(b.ok, true);

vows.describe('nano.db.destroy').addBatch({
"nano.db.destroy(foo)": {
topic: function () { destroyDb(this.callback); }
, "=": destroyDbWorked
"destroy_db": {
topic: function () { destroy_db(this.callback); }
, "=": destroy_db_ok
}
}).exportTo(module);
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