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.1 to 6.0.2

7

lib/init_dbs.js

@@ -36,7 +36,4 @@ import { InitDb } from './init_db.js'

/**
* @param {any} operations
*/
function minimzeOperationsReport (operations) {
const minimized = /** @type {OperationsSummary} */ ({})
const minimized = {}
for (const [ dbName, { created, designDocs, securityDoc } ] of Object.entries(operations)) {

@@ -60,3 +57,3 @@ let dbHasOp = created

}
return minimized
return /** @type {OperationsSummary} */ (minimized)
}

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

import { readFile } from 'fs/promises'
import { readFile } from 'node:fs/promises'
import fetch from 'node-fetch'

@@ -3,0 +3,0 @@ import { couchdbError } from './couchdb_error.js'

import { readFileSync } from 'node:fs'
import { readFile } from 'node:fs/promises'
import path from 'node:path'
import { fileURLToPath } from 'url'
import { fileURLToPath } from 'node:url'

@@ -6,0 +6,0 @@ export const getJsonSync = absoluteFilePath => {

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

@@ -8,2 +8,3 @@ "description": "Opiniated CouchDB databases initializer",

"scripts": {
"check-types": "tsc -p ./jsconfig.json",
"lint": "eslint -c ./.eslintrc lib test",

@@ -25,2 +26,4 @@ "lint-fix": "eslint --fix -c ./.eslintrc lib test",

"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.13",
"config": "^3.3.8",

@@ -27,0 +30,0 @@ "eslint": "^8.31.0",

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