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

consul-pilot

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consul-pilot - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

12

index.js

@@ -86,3 +86,3 @@ const debug = require('debug')('ConsulPilot');

return reject(service);
return reject(Object.assign(service, { error: 'SERVICE_NOT_FOUND', serviceName }));
});

@@ -92,3 +92,2 @@ });

_.update = (err, serviceName) => {

@@ -102,9 +101,9 @@ debug('CALLING:', serviceName, 'CALLBACK');

_.signal = () => {
debug('SIGHUP RECEIVED');
return _.refreshAllServices();
debug('SIGHUP RECEIVED');
return _.refreshAllServices().catch((err) => {
console.log('error consul-pilot:', err);
});
}
// process intercetor

@@ -114,3 +113,2 @@ process.on('SIGHUP', _.signal);

// expose everything for the tests

@@ -117,0 +115,0 @@ if (process.env.NODE_ENV === 'test') {

{
"name": "consul-pilot",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

@@ -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