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.0 to 0.5.1

5

lib/dns/output/bind.js

@@ -41,3 +41,4 @@ var fs = require('fs');

if (result.node) {
write_stream.write(util.format('%s\tIN\tA\t%s\n', result.node, result.address));
write_stream.write(util.format('%s.node\tIN\tA\t%s\n', result.node, result.address));
write_stream.write(util.format('%s.node.%s\tIN\tA\t%s\n', result.node, result.dc, result.address));

@@ -47,3 +48,3 @@ var ip_parts_reversed = result.address.split('.').reverse();

ip_parts_reversed = ip_parts_reversed.join('.');
reverse_write_stream.write(util.format('%s\tIN\tPTR\t%s.\n', ip_parts_reversed, result.node));
reverse_write_stream.write(util.format('%s\tIN\tPTR\t%s.node.%s.consul.\n', ip_parts_reversed, result.node, result.dc));
}

@@ -50,0 +51,0 @@ });

7

lib/index.js

@@ -24,2 +24,3 @@ var _ = require('underscore');

'address': node.Address,
'dc': config.consul.dc
});

@@ -45,3 +46,4 @@ });

'address': node.Node.Address,
'address_long': address_long
'address_long': address_long,
'dc': config.consul.dc
});

@@ -55,3 +57,4 @@ tags_for_node = node.Service.Tags;

'address': node.Node.Address,
'address_long': address_long
'address_long': address_long,
'dc': config.consul.dc
});

@@ -58,0 +61,0 @@ });

{
"name": "consul_export",
"version": "0.5.0",
"version": "0.5.1",
"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