@cloudant/couchbackup 2.11.2 → 2.11.3-290
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/includes/request.js +2 -2
- package/package.json +2 -2
package/includes/request.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright © 2017,
|
|
1
|
+
// Copyright © 2017, 2025 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.
|
|
@@ -85,7 +85,7 @@ function newSimpleClient(rawUrl, opts) {
|
|
|
85
85
|
// Split the URL to separate service from database
|
|
86
86
|
// Use origin as the "base" to remove auth elements
|
|
87
87
|
const actUrl = new URL(url.pathname.substring(0, url.pathname.lastIndexOf('/')), url.origin);
|
|
88
|
-
const dbName = url.pathname.substring(url.pathname.lastIndexOf('/') + 1);
|
|
88
|
+
const dbName = decodeURIComponent(url.pathname.substring(url.pathname.lastIndexOf('/') + 1));
|
|
89
89
|
let authenticator;
|
|
90
90
|
// Default to cookieauth unless an IAM key is provided
|
|
91
91
|
if (opts.iamApiKey) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudant/couchbackup",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.3-290",
|
|
4
4
|
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB",
|
|
5
5
|
"homepage": "https://github.com/IBM/couchbackup",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ibm-cloud/cloudant": "0.12.0",
|
|
27
|
-
"commander": "13.
|
|
27
|
+
"commander": "13.1.0",
|
|
28
28
|
"debug": "4.4.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|