@cloudant/couchbackup 2.6.1-SNAPSHOT.9 → 2.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGES.md +5 -1
  2. package/app.js +1 -1
  3. package/package.json +3 -3
package/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.6.1 (2021-06-23)
2
+ - [FIXED] Async queue pause/resume behaviour to avoid exhausting listener handles.
3
+ - [UPGRADED] Upgraded `@cloudant/cloudant` dependency to version `4.4.0`.
4
+
1
5
  # 2.6.0 (2020-09-22)
2
6
  - [FIXED] Invalid parameters error when using shallow mode.
3
7
  - [UPGRADED] Upgraded `@cloudant/cloudant` dependency to version `4.3.0`.
@@ -69,7 +73,7 @@
69
73
  - [IMPROVED] Enhanced resilience of backup and restore processes by enabling the
70
74
  nodejs-cloudant retry plugin.
71
75
  - [IMPROVED] Added URL validation for presence of host and database elements.
72
- - [UPGRADED] Increased nodejs-cloudant dependency to 2.x.
76
+ - [UPGRADED] Increased nodejs-cloudant dependency to 2.x.
73
77
 
74
78
  # 2.0.1 (2018-01-11)
75
79
 
package/app.js CHANGED
@@ -270,7 +270,7 @@ module.exports = {
270
270
  if (!continueWriting) {
271
271
  // The buffer was full, pause the queue to stop the writes until we
272
272
  // get a drain event
273
- if (q && !q.isPaused) {
273
+ if (q && !q.paused) {
274
274
  q.pause();
275
275
  targetStream.once('drain', function() {
276
276
  q.resume();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudant/couchbackup",
3
- "version": "2.6.1-SNAPSHOT.9",
3
+ "version": "2.6.1",
4
4
  "description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",
5
5
  "homepage": "https://github.com/cloudant/couchbackup",
6
6
  "repository": "https://github.com/cloudant/couchbackup.git",
@@ -20,7 +20,7 @@
20
20
  "node": ">=10"
21
21
  },
22
22
  "dependencies": {
23
- "@cloudant/cloudant": "^4.3.0",
23
+ "@cloudant/cloudant": "^4.4.0",
24
24
  "async": "^3.1.0",
25
25
  "commander": "^5.0.0",
26
26
  "debug": "~4.1.0",
@@ -42,7 +42,7 @@
42
42
  "eslint-plugin-react": "^7.14.2",
43
43
  "eslint-plugin-standard": "^4.0.0",
44
44
  "http-proxy": "^1.16.2",
45
- "jsdoc": "^3.6.3",
45
+ "jsdoc": "^3.6.7",
46
46
  "mocha": "^8.1.3",
47
47
  "nock": "^12.0.0",
48
48
  "rewire": "^5.0.0",