New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

af-consul

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

af-consul - npm Package Compare versions

Comparing version 1.0.48 to 1.0.49

2

package.json
{
"name": "af-consul",
"version": "1.0.48",
"version": "1.0.49",
"description": "A highly specialized function library",

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

@@ -7,4 +7,4 @@ ## Not of interest to third party users

const registerOptions = {
name: 'serviceName', // (String): service name
id: 'serviceID', // (String, optional): service ID
name: 'service name', // (String): service name
id: 'service ID', // (String, optional): service ID
tags: ['tag1'], // (String[], optional): service tags

@@ -55,4 +55,4 @@ address: '0.0.0.0', // (String, optional): service IP address

const instance = 'msk'; // Суффикс в имени consul-сервиса
const serviceName = `${process.env.SERVICE_NAME || 'test-service'}-${instance}`;
export const thisServiceId = `${isProd ? 'prd' : 'dev'}-${isProd ? 'cepr01' : 'cep'}-${serviceName}`.toLowerCase();
const serviceNS = `${process.env.SERVICE_NAME || 'test-service'}-${instance}`;
export const thisServiceId = `${isProd ? 'prd' : 'dev'}-${isProd ? 'cepr01' : 'cep'}-${serviceNS}`.toLowerCase();

@@ -70,3 +70,3 @@ const registerConfig: IRegisterOptions = {

check: {
name: `Service '${serviceName}'`,
name: `Service '${serviceNS}'`,
interval: '10s',

@@ -73,0 +73,0 @@ timeout: '5s',

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