Socket
Socket
Sign inDemoInstall

consul

Package Overview
Dependencies
Maintainers
1
Versions
55
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.27.0 to 0.28.0

1

lib/utils.js

@@ -219,2 +219,3 @@ /**

dst.HTTP = src.http;
if (src.hasOwnProperty('tlsskipverify')) dst.TLSSkipVerify = src.tlsskipverify;
} else if (src.tcp){

@@ -221,0 +222,0 @@ dst.TCP = src.tcp;

2

package.json
{
"name": "consul",
"version": "0.27.0",
"version": "0.28.0",
"description": "Consul client",

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

@@ -502,2 +502,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
* tlsskipverify (Boolean, default: false): skip HTTPS verification
* tcp (String): host:port to test, passes if connection is established, fails otherwise

@@ -1918,3 +1919,3 @@ * script (String): path to check script, requires interval

``` javascript
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' });
var watch = consul.watch({ method: consul.kv.get, options: { key: 'test' }});

@@ -1921,0 +1922,0 @@ watch.on('change', function(data, res) {

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