Socket
Socket
Sign inDemoInstall

@cloudant/couchbackup

Package Overview
Dependencies
Maintainers
3
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudant/couchbackup - npm Package Compare versions

Comparing version 2.1.1-SNAPSHOT.114 to 2.2.0-SNAPSHOT.116

3

CHANGES.md
# 2.2.0 (UNRELEASED)
- [FIXED] An issue where the `_changes` response stream doesn't get correctly
decompressed.
- [FIXED] Prevent duplicate execution of backup error callbacks.
- [NOTE] Update engines in preparation for Node.js 4 “Argon” end-of-life.

@@ -3,0 +6,0 @@

12

includes/backup.js

@@ -198,2 +198,3 @@ // Copyright © 2017, 2018 IBM Corp. All rights reserved.

function processBatchSet(db, parallelism, log, batches, ee, start, grandtotal, callback) {
var hasErrored = false;
var total = grandtotal;

@@ -224,6 +225,9 @@

if (err) {
err = error.convertResponseError(err);
// Kill the queue for fatal errors
q.kill();
ee.emit('error', err);
if (!hasErrored) {
hasErrored = true;
err = error.convertResponseError(err);
// Kill the queue for fatal errors
q.kill();
ee.emit('error', err);
}
done();

@@ -230,0 +234,0 @@ } else {

@@ -74,3 +74,3 @@ // Copyright © 2017, 2018 IBM Corp. All rights reserved.

} else {
resp.pipe(liner())
changesRequest.pipe(liner())
.on('error', function(err) {

@@ -77,0 +77,0 @@ callback(err);

{
"name": "@cloudant/couchbackup",
"version": "2.1.1-SNAPSHOT.114",
"version": "2.2.0-SNAPSHOT.116",
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",

@@ -26,3 +26,3 @@ "homepage": "https://github.com/cloudant/couchbackup",

"debug": "~3.1.0",
"@cloudant/cloudant": "^2.0.2",
"@cloudant/cloudant": "^2.1.0",
"tmp": "0.0.33"

@@ -29,0 +29,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