Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hany-consul-backup-restore

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hany-consul-backup-restore - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

package.json
{
"name": "hany-consul-backup-restore",
"version": "1.2.1",
"version": "1.2.2",
"description": "Library to backup and restore consul key values",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -23,3 +23,4 @@ const parseUtil = require('./parseUtil')

if (err) {
return callback(err)
callback(err)
return
}

@@ -29,9 +30,12 @@ })

if (err) {
return callback(err)
callback(err)
return
}
s3FileUtil.backup(keyValues, options.prefix, options.s3BucketName, options.filePath, (err, result) => {
if (err) {
return callback(err)
callback(err)
return
}
return callback(null, result)
callback(null, result);
return;
})

@@ -53,7 +57,9 @@ })

if (err) {
return callback(err)
callback(err)
return;
}
if (result) {
var blanksRemoved = result.filter(function (e) { return e })
return callback(null, blanksRemoved)
callback(null, blanksRemoved)
return
}

@@ -69,7 +75,9 @@ })

if (err) {
return callback(err)
callback(err);
return;
}
if (result) {
var blanksRemoved = result.filter(function (e) { return e })
return callback(null, blanksRemoved)
callback(null, blanksRemoved)
return;
}

@@ -76,0 +84,0 @@ })

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc