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

@logzio-node-toolbox/consul

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logzio-node-toolbox/consul - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

3

dist/index.d.ts

@@ -0,1 +1,3 @@

import ConsulInstance from 'consul';
interface AnyObject {

@@ -80,2 +82,3 @@ [key: string]: any;

public close(): void;
public consulInstance: ConsulInstance;
}

@@ -82,0 +85,0 @@ interface MultiConsulOptions extends ConsulOptions {

53

dist/index.es.js

@@ -26,3 +26,4 @@ import retry from 'async-retry';

Value = null,
Key = null
Key = null,
...rest
} = {}) {

@@ -38,3 +39,3 @@ if (!Key || !Value) return undefined;

return {
return { ...rest,
key: Key,

@@ -310,5 +311,5 @@ value

var global$1 =
/* global globalThis -- safe */
check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
var global$1 = // eslint-disable-next-line es/no-global-this -- safe
check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || // eslint-disable-next-line no-restricted-globals -- safe
check(typeof self == 'object' && self) || check(typeof commonjsGlobal == 'object' && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
function () {

@@ -330,2 +331,3 @@ return this;

var descriptors = !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
return Object.defineProperty({}, 1, {

@@ -338,6 +340,7 @@ get: function () {

var nativePropertyIsEnumerable = {}.propertyIsEnumerable;
var $propertyIsEnumerable = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !nativePropertyIsEnumerable.call({
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({
1: 2

@@ -350,3 +353,3 @@ }, 1); // `Object.prototype.propertyIsEnumerable` method implementation

return !!descriptor && descriptor.enumerable;
} : nativePropertyIsEnumerable;
} : $propertyIsEnumerable;

@@ -435,2 +438,3 @@ var objectPropertyIsEnumerable = {

var ie8DomDefine = !descriptors && !fails(function () {
// eslint-disable-next-line es/no-object-defineproperty -- requied for testing
return Object.defineProperty(documentCreateElement('div'), 'a', {

@@ -443,10 +447,13 @@ get: function () {

var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
var f$4 = descriptors ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
var f$4 = descriptors ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
P = toPrimitive(P, true);
if (ie8DomDefine) try {
return nativeGetOwnPropertyDescriptor(O, P);
return $getOwnPropertyDescriptor(O, P);
} catch (error) {

@@ -470,6 +477,9 @@ /* empty */

var nativeDefineProperty = Object.defineProperty; // `Object.defineProperty` method
// eslint-disable-next-line es/no-object-defineproperty -- safe
var $defineProperty = Object.defineProperty; // `Object.defineProperty` method
// https://tc39.es/ecma262/#sec-object.defineproperty
var f$3 = descriptors ? nativeDefineProperty : function defineProperty(O, P, Attributes) {
var f$3 = descriptors ? $defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);

@@ -479,3 +489,3 @@ P = toPrimitive(P, true);

if (ie8DomDefine) try {
return nativeDefineProperty(O, P, Attributes);
return $defineProperty(O, P, Attributes);
} catch (error) {

@@ -533,3 +543,3 @@ /* empty */

})('versions', []).push({
version: '3.9.1',
version: '3.10.0',
mode: 'global',

@@ -748,2 +758,3 @@ copyright: '© 2021 Denis Pushkarev (zloirock.ru)'

// https://tc39.es/ecma262/#sec-object.getownpropertynames
// eslint-disable-next-line es/no-object-getownpropertynames -- safe

@@ -758,2 +769,3 @@ var f$2 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {

// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
var f$1 = Object.getOwnPropertySymbols;

@@ -932,4 +944,7 @@

// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
/* global Symbol -- required for testing */
// eslint-disable-next-line es/no-symbol -- required for testing
return !Symbol.sham && ( // Chrome 38 Symbol has incorrect toString conversion

@@ -940,6 +955,6 @@ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances

var useSymbolAsUid = nativeSymbol
/* global Symbol -- safe */
&& !Symbol.sham && typeof Symbol.iterator == 'symbol';
/* eslint-disable es/no-symbol -- required for testing */
var useSymbolAsUid = nativeSymbol && !Symbol.sham && typeof Symbol.iterator == 'symbol';
var WellKnownSymbolsStore = shared('wks');

@@ -946,0 +961,0 @@ var Symbol$1 = global$1.Symbol;

{
"name": "@logzio-node-toolbox/consul",
"version": "0.0.19",
"version": "0.0.20",
"description": "Consul easy use for json configs and service discovery",

@@ -12,3 +12,5 @@ "main": "dist/index.cjs",

"type": "module",
"files": ["dist"],
"files": [
"dist"
],
"license": "MIT",

@@ -29,2 +31,5 @@ "author": "Nir winkler <madvinking@gmail.com>",

},
"devDependencies": {
"@types/consul": "0.23.34"
},
"dependencies": {

@@ -31,0 +36,0 @@ "async-retry": "1.3.1",

Sorry, the diff of this file is not supported yet

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