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

consul

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

consul - npm Package Compare versions

Comparing version 0.24.0 to 0.25.0

4

lib/utils.js

@@ -213,5 +213,7 @@ /**

if ((src.http || src.script) && src.interval) {
if ((src.http || src.script || src.tcp) && src.interval) {
if (src.http) {
dst.HTTP = src.http;
} else if (src.tcp){
dst.TCP = src.tcp;
} else {

@@ -218,0 +220,0 @@ dst.Script = src.script;

{
"name": "consul",
"version": "0.24.0",
"version": "0.25.0",
"description": "Consul client",

@@ -5,0 +5,0 @@ "main": "./lib",

@@ -501,2 +501,3 @@ # Consul [![Build Status](https://travis-ci.org/silas/node-consul.png?branch=master)](https://travis-ci.org/silas/node-consul)

* http (String): url to test, 2xx passes, 429 warns, and all others fail
* tcp (String): host:port to test, passes if connection is established, fails otherwise
* script (String): path to check script, requires interval

@@ -503,0 +504,0 @@ * dockercontainerid (String, optional): Docker container ID to run script

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