@cloudant/couchbackup 2.8.3-SNAPSHOT.97 → 2.8.3

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.
package/CHANGES.md CHANGED
@@ -1,5 +1,6 @@
1
- # Unreleased
2
- - [UPGRADED] `@ibm-cloud/cloudant` dependency to version `0.0.25`.
1
+ # 2.8.3 (2022-04-05)
2
+ - [UPGRADED] `@ibm-cloud/cloudant` dependency to version `0.1.1`.
3
+ - [NOTE] Move `retry-axios` and `ibm-cloud-sdk-core` to peerDependencies.
3
4
 
4
5
  # 2.8.2 (2022-02-10)
5
6
  - [UPGRADED] `@ibm-cloud/cloudant` dependency to version `0.0.24`.
@@ -1,4 +1,4 @@
1
- // Copyright © 2017, 2021 IBM Corp. All rights reserved.
1
+ // Copyright © 2017, 2022 IBM Corp. All rights reserved.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -32,10 +32,10 @@ module.exports = function(db, options) {
32
32
  const opts = { db: db.db, limit: options.bufferSize, includeDocs: true };
33
33
 
34
34
  // To avoid double fetching a document solely for the purposes of getting
35
- // the next ID to use as a startkey for the next page we instead use the
35
+ // the next ID to use as a startKey for the next page we instead use the
36
36
  // last ID of the current page and append the lowest unicode sort
37
37
  // character.
38
- if (startKey) opts.startkey = `${startKey}\0`;
38
+ if (startKey) opts.startKey = `${startKey}\0`;
39
39
  db.service.postAllDocs(opts).then(response => {
40
40
  const body = response.result;
41
41
  if (!body.rows) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudant/couchbackup",
3
- "version": "2.8.3-SNAPSHOT.97",
3
+ "version": "2.8.3",
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,14 +20,16 @@
20
20
  "node": ">=12"
21
21
  },
22
22
  "dependencies": {
23
- "ibm-cloud-sdk-core": "^2.14",
24
- "@ibm-cloud/cloudant": "0.0.25",
25
- "retry-axios": "2.x",
23
+ "@ibm-cloud/cloudant": "0.1.1",
26
24
  "async": "^3.1.0",
27
25
  "commander": "^9.0.0",
28
26
  "debug": "~4.3.2",
29
27
  "tmp": "0.2.1"
30
28
  },
29
+ "peerDependencies": {
30
+ "ibm-cloud-sdk-core": "^2.17.10",
31
+ "retry-axios": "^2.6.0"
32
+ },
31
33
  "main": "app.js",
32
34
  "bin": {
33
35
  "couchbackup": "bin/couchbackup.bin.js",
@@ -40,7 +42,7 @@
40
42
  "eslint-plugin-header": "^3.0.0",
41
43
  "eslint-plugin-import": "^2.8.0",
42
44
  "eslint-plugin-node": "^11.0.0",
43
- "eslint-plugin-promise": "^4.0.0",
45
+ "eslint-plugin-promise": "^6.0.0",
44
46
  "http-proxy": "^1.16.2",
45
47
  "mocha": "^9.2.0",
46
48
  "nock": "^13.2.1",