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

couch-init2

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couch-init2 - npm Package Compare versions

Comparing version 2.1.7 to 2.1.8

9

index.js

@@ -1,2 +0,1 @@

const _ = require('inv-loggers')
const bluebird = require('bluebird')

@@ -37,3 +36,9 @@

.then(res => ({ ok: true }))
.catch(_.ErrorRethrow('db init err'))
.catch(err => {
if (err.message === 'Name or password is incorrect.') {
throw new Error('CouchDB name or password is incorrect')
} else {
throw err
}
})
}

@@ -28,3 +28,2 @@ const _ = require('inv-loggers')

.catch(create(nano, dbName))
.catch(_.ErrorRethrow('ensureDbExistance'))
}

@@ -31,0 +30,0 @@

{
"name": "couch-init2",
"version": "2.1.7",
"version": "2.1.8",
"description": "Opiniated CouchDB databases initializer",

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

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