@cloudant/couchbackup
Advanced tools
Comparing version 2.11.2-SNAPSHOT-267 to 2.11.2-SNAPSHOT-269
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ /** |
@@ -15,3 +15,2 @@ #!/usr/bin/env node | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -67,3 +66,3 @@ const error = require('../includes/error.js'); | ||
return couchbackup.backup( | ||
couchbackup.backup( | ||
databaseUrl, | ||
@@ -70,0 +69,0 @@ ws, |
@@ -15,3 +15,2 @@ #!/usr/bin/env node | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -48,3 +47,3 @@ const error = require('../includes/error.js'); | ||
return couchbackup.restore( | ||
couchbackup.restore( | ||
process.stdin, // restore from stdin | ||
@@ -51,0 +50,0 @@ databaseUrl, |
@@ -14,3 +14,2 @@ // Copyright © 2023, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const debug = require('debug')('couchbackup:alldocsgenerator'); |
@@ -14,3 +14,2 @@ // Copyright © 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const debug = require('debug'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -62,3 +61,3 @@ const { createWriteStream } = require('node:fs'); | ||
// Check if the backup is new or resuming and configure the source | ||
.then(async() => { | ||
.then(async () => { | ||
if (options.mode === 'shallow') { | ||
@@ -65,0 +64,0 @@ // shallow backup, start from async _all_docs generator |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -209,3 +208,3 @@ const debug = require('debug'); | ||
*/ | ||
pendingToFetched = async(backupBatch) => { | ||
pendingToFetched = async (backupBatch) => { | ||
mappingDebug(`Fetching batch ${backupBatch.batch}.`); | ||
@@ -212,0 +211,0 @@ try { |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2018 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ /** |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const { mkdtempSync } = require('node:fs'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ // fatal errors |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const { createInterface } = require('node:readline'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2023 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const fs = require('node:fs'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2023 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const { createReadStream } = require('node:fs'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const cliutils = require('./cliutils.js'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const pkg = require('../package.json'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const debug = require('debug')('couchbackup:restore'); |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -115,3 +114,3 @@ const { BackupError } = require('./error.js'); | ||
*/ | ||
pendingToRestored = async(restoreBatch) => { | ||
pendingToRestored = async (restoreBatch) => { | ||
// Save the batch number | ||
@@ -118,0 +117,0 @@ const batch = restoreBatch.batch; |
@@ -14,3 +14,2 @@ // Copyright © 2017, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const { createWriteStream } = require('node:fs'); |
@@ -14,3 +14,2 @@ // Copyright © 2023, 2024 IBM Corp. All rights reserved. | ||
// limitations under the License. | ||
'use strict'; | ||
@@ -17,0 +16,0 @@ const { Duplex, PassThrough, Writable, getDefaultHighWaterMark, setDefaultHighWaterMark } = require('node:stream'); |
{ | ||
"name": "@cloudant/couchbackup", | ||
"version": "2.11.2-SNAPSHOT-267", | ||
"version": "2.11.2-SNAPSHOT-269", | ||
"description": "CouchBackup - command-line backup utility for Cloudant/CouchDB", | ||
@@ -40,12 +40,8 @@ "homepage": "https://github.com/IBM/couchbackup", | ||
"devDependencies": { | ||
"eslint": "8.57.1", | ||
"eslint-config-semistandard": "17.0.0", | ||
"eslint-config-standard": "17.1.0", | ||
"eslint": "9.15.0", | ||
"eslint-plugin-header": "3.1.1", | ||
"eslint-plugin-import": "2.31.0", | ||
"eslint-plugin-n": "15.7.0", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-promise": "6.6.0", | ||
"http-proxy": "1.18.1", | ||
"mocha": "10.8.2", | ||
"neostandard": "0.11.9", | ||
"nock": "13.5.6", | ||
@@ -56,3 +52,3 @@ "tail": "2.2.6", | ||
"scripts": { | ||
"lint": "eslint --ignore-path .gitignore .", | ||
"lint": "eslint .", | ||
"unit": "mocha --grep \"#unit\"", | ||
@@ -59,0 +55,0 @@ "test": "npm run lint && npm run unit" |
9
127520
2414