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 4.2.0 to 4.2.1

3

lib/sync_design_docs.js

@@ -91,4 +91,4 @@ const { readFile, writeFile } = require('fs').promises

const getJsonDesignDoc = async (designDocFolder, designDocName) => {
const designDocPath = `${designDocFolder}/${designDocName}.json`
try {
const designDocPath = `${designDocFolder}/${designDocName}.json`
return await readFile(designDocPath, { encoding: 'utf-8' })

@@ -118,2 +118,3 @@ } catch (err) {

const currentDesignDocStr = JSON.stringify(currentDesignDoc)
if (typeof designDocFile !== 'string') designDocFile = JSON.stringify(designDocFile)

@@ -120,0 +121,0 @@ // Comparison is made without spaces to avoid false negative

{
"name": "couch-init2",
"version": "4.2.0",
"version": "4.2.1",
"description": "Opiniated CouchDB databases initializer",

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

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