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 6.0.2 to 6.0.3

3

lib/wait_for_couchdb.js

@@ -15,3 +15,4 @@ import path from 'node:path'

const res = await fetch(dbBaseUrl, { timeout: 5000 })
if (res.status !== 200) throw new Error(`${res.status}: ${res.statusText}`)
if (res.status === 401) throw new Error('CouchDB name or password is incorrect')
if (res.status !== 200) throw new Error(`Connexion to CouchDB failed: ${res.status}: ${res.statusText}`)
} catch (err) {

@@ -18,0 +19,0 @@ if (err.name === 'TimeoutError' || err.code === 'ECONNREFUSED' || err.code === 'ECONNRESET') {

{
"name": "couch-init2",
"version": "6.0.2",
"version": "6.0.3",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Opiniated CouchDB databases initializer",

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