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

consul_export

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

consul_export - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

17

lib/dns/output/bind.js

@@ -12,2 +12,7 @@ var fs = require('fs');

if (outputter_config.reload_command) {
var command_args = outputter_config.reload_command.split(' ');
var reload_command = command_args.shift();
}
return function(results, cb) {

@@ -52,4 +57,14 @@ var soa = "@\tIN\tSOA\tns.consul.\tpostmaster.consul.\t(1429312020\t3600\t600\t86400\t0)";

write_stream.end(cb);
write_stream.end(function(err) {
if (err) return cb(err);
// If configured, trigger a bash reload.
if (outputter_config.reload_command) {
logger.debug('Running reload command %s with args %s', reload_command, command_args);
require('child_process').spawn(reload_command, command_args, {'cwd': '/tmp'});
}
cb();
});
}
};

2

package.json
{
"name": "consul_export",
"version": "0.5.1",
"version": "0.6.0",
"description": "Export information from Consul to be used for disaster recovery.",

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

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