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

couchdb-bootstrap

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couchdb-bootstrap - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

4

lib/push.js

@@ -7,2 +7,4 @@ var push = require('couchdb-push')

module.exports = function(url, source, options, callback) {
options.concurrency = 'concurrency' in options ? options.concurrency : 100
utils.dbs(source, function(error, filenames) {

@@ -18,3 +20,3 @@ if (error) return callback(error)

async.map(filenames, function(filename, next) {
async.mapLimit(filenames, options.concurrency, function(filename, next) {
push(db, filename, options, next)

@@ -21,0 +23,0 @@ }, utils.groupByDatabase(dbname, done))

{
"name": "couchdb-bootstrap",
"version": "1.3.2",
"version": "1.4.0",
"description": "Bootstrap projects: configure CouchDB, setup security, deploy ddocs and create users.",

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

@@ -72,2 +72,3 @@ # CouchDB Bootstrap

* `source` - directory holding the bootstrap tree
* `options.concurrency` - Limit number of concurrent requests. Defaults to `100`.
* `options.multipart` - When set to `true`, attachments are saved via multipart api.

@@ -74,0 +75,0 @@ * `callback` - called when done with a `response` object describing the status of all operations.

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