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

couchdbjs

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdbjs - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

11

lib/index.js

@@ -15,2 +15,3 @@ 'use strict'

}
let cb = ()=>{};
if (arguments.length == 2) { // To be removed in version 2.0.0

@@ -33,3 +34,11 @@ let options = arguments[1]

}
this.connect()
if (arguments.length == 3) {
let options = arguments[1]
this.db = arguments[0]
if (options.protocol) this.config.protocol = options.protocol
if (options.hostname) this.config.hostname = options.hostname
if (options.port) this.config.port = options.port
cb = arguments[2]
}
this.connect(cb)
}

@@ -36,0 +45,0 @@

2

package.json
{
"name": "couchdbjs",
"version": "1.1.0",
"version": "1.1.1",
"description": "A node client for couchdb.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -21,3 +21,3 @@ # couchdbjs

const Couchdbjs = require('couchdbjs');
const db = new Couchdbjs(dbname, options);
const db = new Couchdbjs(dbname, options, callback);
```

@@ -133,3 +133,3 @@ Note : Here DB is the object of the class couchdbjs.

```js
db.deleteDoc(id, cb);
db.getDoc(id, cb);
```

@@ -136,0 +136,0 @@ `id` is the id of the document.

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