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

consul-service-registrator

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consul-service-registrator - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

4

CHANGELOG.md
# Changelog
### 2.4.1
- Bugfix of the logic of 2.4.0
### 2.4.0

@@ -4,0 +8,0 @@

2

package.json
{
"name": "consul-service-registrator",
"version": "2.4.0",
"version": "2.4.1",
"description": "Set of classes for service registration in Consul",

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

@@ -249,4 +249,8 @@ 'use strict';

_isUnknownServiceError(err) {
return err.message &&
const unknownFormatBeforeConsul112 = err.message &&
_.isString(err.message) &&
err.message.includes('Unknown service "' + this._serviceId + '"');
const unknownFormatFromConsul112 = err.message &&
_.isString(err.message) &&
err.message === 'not found' &&

@@ -258,2 +262,4 @@ err.response &&

(err.response.body.includes('Unknown service') && err.response.body.includes(`"${this._serviceId}"`));
return unknownFormatBeforeConsul112 || unknownFormatFromConsul112;
}

@@ -260,0 +266,0 @@ }

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