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 2.0.10 to 2.0.11

dist/cjs/src/interfaces.js

2

dist/types/access-points-updater.d.ts
/// <reference types="node" />
import { IAccessPoint, ICLOptions } from './types';
import { IAccessPoint, ICLOptions } from './interfaces';
export declare function updateAccessPoint(clOptions: ICLOptions, accessPoint: IAccessPoint): Promise<-2 | -1 | 0 | 1>;

@@ -4,0 +4,0 @@ export declare function updateAccessPoints(clOptions: ICLOptions): Promise<boolean>;

@@ -1,2 +0,2 @@

import { IAccessPoint, IAccessPoints, ILogger, Maybe } from './types';
import { IAccessPoint, IAccessPoints, ILogger, Maybe } from './interfaces';
declare const _logger_: unique symbol;

@@ -3,0 +3,0 @@ export declare class AccessPoints {

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

import { ICLOptions, IConsulAPI, IRegisterConfig, IRegisterCyclic } from './types';
import { ICLOptions, IConsulAPI, IRegisterConfig, IRegisterCyclic } from './interfaces';
export declare const getRegisterCyclic: (opts: ICLOptions, consulApi: IConsulAPI, registerConfig: IRegisterConfig) => IRegisterCyclic;
//# sourceMappingURL=cyclic-register.d.ts.map

@@ -1,2 +0,2 @@

import { IApi, ICache, ICLOptions } from './types';
import { IApi, ICache, ICLOptions } from './interfaces';
export { accessPointsUpdater } from './access-points-updater';

@@ -3,0 +3,0 @@ export declare const apiCache: ICache<IApi>;

@@ -1,4 +0,4 @@

import { ICLOptions, IRegisterConfig } from './types';
import { ICLOptions, IRegisterConfig } from './interfaces';
export declare const getServiceID: (name: string, instance: string, projectId?: string) => string;
export declare const getRegisterConfig: (options: ICLOptions) => Promise<IRegisterConfig>;
//# sourceMappingURL=get-register-config.d.ts.map

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

import { ICLOptions } from './types';
import { ICLOptions } from './interfaces';
export declare const getConfigHash: (options: ICLOptions) => string;
//# sourceMappingURL=hash.d.ts.map

@@ -1,4 +0,4 @@

import { ICLOptions, IConsulAPI } from './types';
import { ICLOptions, IConsulAPI } from './interfaces';
export declare const prepareConsulAPI: (clOptions: ICLOptions) => Promise<IConsulAPI>;
export declare const getConsulApiCached: (clOptions: ICLOptions) => Promise<IConsulAPI>;
//# sourceMappingURL=prepare-consul-api.d.ts.map

@@ -1,2 +0,2 @@

import { ICache, IConsulServiceInfo, IRegisterConfig, Maybe } from './types';
import { ICache, IConsulServiceInfo, IRegisterConfig, Maybe } from './interfaces';
export declare const removeAroundQuotas: (str: string) => string;

@@ -3,0 +3,0 @@ export declare const parseBoolean: (bv: any) => boolean;

{
"name": "af-consul",
"version": "2.0.10",
"version": "2.0.11",
"description": "A highly specialized function library",

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

@@ -7,3 +7,3 @@ /* eslint-disable no-console */

import { getConsulApiCached } from './index';
import { IAccessPoint, IAccessPoints, ICLOptions, IConsulAPI } from './types';
import { IAccessPoint, IAccessPoints, ICLOptions, IConsulAPI } from './interfaces';
import { sleep } from './utils';

@@ -10,0 +10,0 @@ import { DEBUG } from './constants';

/* eslint-disable no-await-in-loop */
import loggerStub from './logger-stub';
import { blue, cyan, green, magenta, reset } from './color';
import { IAccessPoint, IAccessPoints, ILogger, Maybe } from './types';
import { IAccessPoint, IAccessPoints, ILogger, Maybe } from './interfaces';
import { isObject, sleep } from './utils';

@@ -6,0 +6,0 @@

// noinspection JSUnusedGlobalSymbols
import loggerStub from './logger-stub';
import { ICLOptions, IConsulAPI, ICyclicStartArgs, IRegisterConfig, IRegisterCyclic } from './types';
import { ICLOptions, IConsulAPI, ICyclicStartArgs, IRegisterConfig, IRegisterCyclic } from './interfaces';
import { cyan, green, reset } from './color';

@@ -6,0 +6,0 @@ import { toMills } from './utils';

import * as os from 'os';
import * as dns from 'dns';
import { ICache } from './types';
import { ICache } from './interfaces';
import { minimizeCache } from './utils';

@@ -5,0 +5,0 @@

/* eslint-disable no-console */
// noinspection JSUnusedGlobalSymbols
import { IApi, ICache, ICLOptions, IConsulAPI, TRegisterType } from './types';
import { IApi, ICache, ICLOptions, IConsulAPI, TRegisterType } from './interfaces';
import { getConsulApiCached } from './prepare-consul-api';

@@ -6,0 +6,0 @@ import { CONSUL_DEBUG_ON, MAX_API_CACHED, PREFIX } from './constants';

import { getPackageJson, parseMeta, parseTags, removeAroundQuotas } from './utils';
import { ICLOptions, IRegisterConfig } from './types';
import { ICLOptions, IRegisterConfig } from './interfaces';
import { getFQDNCached } from './fqdn';

@@ -4,0 +4,0 @@ import { PREFIX } from './constants';

import * as _ from 'lodash';
import * as XXH from 'xxhashjs';
import { ICLOptions, IConfig } from './types';
import { ICLOptions, IConfig } from './interfaces';
import { isObject } from './utils';

@@ -5,0 +5,0 @@

@@ -25,3 +25,3 @@ /* eslint-disable no-console */

TRegisterResult,
} from './types';
} from './interfaces';
import loggerStub from './logger-stub';

@@ -28,0 +28,0 @@ import { getFQDNCached } from './fqdn';

import * as fs from 'fs';
import { ICache, IConsulServiceInfo, IRegisterConfig, Maybe } from './types';
import { ICache, IConsulServiceInfo, IRegisterConfig, Maybe } from './interfaces';

@@ -4,0 +4,0 @@ export const removeAroundQuotas = (str: string): string => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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