@cloudant/couchbackup 2.11.12-SNAPSHOT-377 → 2.11.12-SNAPSHOT-379

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.
@@ -1,4 +1,4 @@
1
- // Copyright © 2017, 2024 IBM Corp. All rights reserved.
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.
@@ -62,7 +62,6 @@ function parseBackupArgs() {
62
62
  Number)
63
63
  .option('-u, --url <url>',
64
64
  cliutils.getUsage('URL of the CouchDB/Cloudant server', defaults.url))
65
- .allowExcessArguments()
66
65
  .parse(process.argv);
67
66
 
68
67
  // Remove defaults that don't apply when using shallow mode
@@ -81,7 +80,6 @@ function parseBackupArgs() {
81
80
  // We have to do this check here for the CLI case because of the default.
82
81
  error.terminationCallback(new error.BackupError('NoLogFileName', 'To resume a backup, a log file must be specified'));
83
82
  }
84
-
85
83
  return opts;
86
84
  }
87
85
 
@@ -118,7 +116,6 @@ function parseRestoreArgs() {
118
116
  Number)
119
117
  .option('-u, --url <url>',
120
118
  cliutils.getUsage('URL of the CouchDB/Cloudant server', defaults.url))
121
- .allowExcessArguments()
122
119
  .parse(process.argv);
123
120
 
124
121
  // Apply the options in order so that the CLI overrides env vars and env variables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudant/couchbackup",
3
- "version": "2.11.12-SNAPSHOT-377",
3
+ "version": "2.11.12-SNAPSHOT-379",
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.10",
27
- "commander": "14.0.1",
27
+ "commander": "14.0.2",
28
28
  "debug": "4.4.3"
29
29
  },
30
30
  "peerDependencies": {