@cloudant/couchbackup 2.8.1-SNAPSHOT.65 → 2.8.2-SNAPSHOT.71

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/.secrets.baseline CHANGED
@@ -3,7 +3,7 @@
3
3
  "files": "package-lock.json|test/fixtures|^.secrets.baseline$",
4
4
  "lines": null
5
5
  },
6
- "generated_at": "2021-12-01T09:41:51Z",
6
+ "generated_at": "2021-12-01T16:14:03Z",
7
7
  "plugins_used": [
8
8
  {
9
9
  "name": "AWSKeyDetector"
@@ -211,6 +211,16 @@
211
211
  "type": "Basic Auth Credentials",
212
212
  "verified_result": null
213
213
  }
214
+ ],
215
+ "test/request.js": [
216
+ {
217
+ "hashed_secret": "41a269ae4f24dab3ddf96b401f1ada5dfdfc5f08",
218
+ "is_secret": false,
219
+ "is_verified": false,
220
+ "line_number": 226,
221
+ "type": "Secret Keyword",
222
+ "verified_result": null
223
+ }
214
224
  ]
215
225
  },
216
226
  "version": "0.13.1+ibm.46.dss",
package/CHANGES.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 2.8.1 (2021-12-02)
2
+ - [FIXED] Regression from version 2.7 resulting in incorrect handling of percent-encoded credentials in the URL user-info.
3
+
1
4
  # 2.8.0 (2021-11-25)
2
5
  - [FIXED] Corrected `user-agent` header on requests.
3
6
  - [FIXED] Restore of shallow backups created with versions <=2.4.2.
@@ -122,8 +122,8 @@ module.exports = {
122
122
  authenticator = new IamAuthenticator(iamAuthOpts);
123
123
  } else if (url.username) {
124
124
  authenticator = new CouchdbSessionAuthenticator({
125
- username: url.username,
126
- password: url.password
125
+ username: decodeURIComponent(url.username),
126
+ password: decodeURIComponent(url.password)
127
127
  });
128
128
  } else {
129
129
  authenticator = new NoAuthAuthenticator();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudant/couchbackup",
3
- "version": "2.8.1-SNAPSHOT.65",
3
+ "version": "2.8.2-SNAPSHOT.71",
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": ">=12"
21
21
  },
22
22
  "dependencies": {
23
- "@ibm-cloud/cloudant": "0.0.21",
23
+ "@ibm-cloud/cloudant": "0.0.22",
24
24
  "tough-cookie": "^4.0.0",
25
25
  "retry-axios": "^2.4.0",
26
26
  "async": "^3.1.0",