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.31.0 to 0.32.0

9

lib/utils.js

@@ -226,4 +226,7 @@ /**

if ((src.http || src.args || src.script || src.tcp) && src.interval) {
if (src.http) {
if ((src.grpc || src.http || src.tcp || src.args || src.script) && src.interval) {
if (src.grpc) {
dst.GRPC = src.grpc;
if (src.hasOwnProperty('grpcusetls')) dst.GRPCUseTLS = src.grpcusetls;
} else if (src.http) {
dst.HTTP = src.http;

@@ -247,3 +250,3 @@ if (src.hasOwnProperty('tlsskipverify')) dst.TLSSkipVerify = src.tlsskipverify;

} else {
throw new Error('http/tcp/script and interval, or ttl required');
throw new Error('args/grpc/http/tcp and interval, or ttl');
}

@@ -250,0 +253,0 @@ if (src.hasOwnProperty('notes')) dst.Notes = src.notes;

{
"name": "consul",
"version": "0.31.0",
"version": "0.32.0",
"description": "Consul client",

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

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

* dockercontainerid (String, optional): Docker container ID to run script
* grpc (String, optional): gRPC endpoint (ex: `127.0.0.1:12345`)
* grpcusetls (Boolean, optional): enable TLS for gRPC check
* shell (String, optional): shell in which to run script (currently only supported with Docker)

@@ -574,0 +576,0 @@ * interval (String): interval to run check, requires script (ex: `15s`)

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