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.1.9 to 1.1.11

2

dist/cjs/src/cyclic-register.js

@@ -22,3 +22,3 @@ "use strict";

var _a, _b;
const { cLOptions, registerInterval, registerType = 'if-not-registered', deleteOtherInstance = false, noAlreadyRegisteredMessage = false, } = cyclicStartArgs;
const { cLOptions, registerInterval, registerType = 'if-not-registered', deleteOtherInstance = false, noAlreadyRegisteredMessage = false, } = cyclicStartArgs || {};
if (!cLOptions && !this.options) {

@@ -25,0 +25,0 @@ return -1;

@@ -19,3 +19,3 @@ // noinspection JSUnusedGlobalSymbols

var _a, _b;
const { cLOptions, registerInterval, registerType = 'if-not-registered', deleteOtherInstance = false, noAlreadyRegisteredMessage = false, } = cyclicStartArgs;
const { cLOptions, registerInterval, registerType = 'if-not-registered', deleteOtherInstance = false, noAlreadyRegisteredMessage = false, } = cyclicStartArgs || {};
if (!cLOptions && !this.options) {

@@ -22,0 +22,0 @@ return -1;

{
"name": "af-consul",
"version": "1.1.9",
"version": "1.1.11",
"description": "A highly specialized function library",

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

@@ -27,3 +27,3 @@ // noinspection JSUnusedGlobalSymbols

async start(cyclicStartArgs: ICyclicStartArgs): Promise<-1 | 0 | 1> {
async start(cyclicStartArgs?: ICyclicStartArgs): Promise<-1 | 0 | 1> {
const {

@@ -35,3 +35,3 @@ cLOptions,

noAlreadyRegisteredMessage = false,
} = cyclicStartArgs;
} = cyclicStartArgs || {};

@@ -38,0 +38,0 @@ if (!cLOptions && !this.options) {

@@ -154,3 +154,3 @@ import Consul from "consul";

start: (cyclicStartArgs: ICyclicStartArgs) => Promise<-1 | 0 | 1>
start: (cyclicStartArgs?: ICyclicStartArgs) => Promise<-1 | 0 | 1>
stop: () => void

@@ -157,0 +157,0 @@ }

Sorry, the diff of this file is not supported yet

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