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

configcat-common

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

configcat-common - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

lib/index.d.ts

@@ -22,2 +22,7 @@ import { IConfigCatClient } from "./ConfigCatClient";

export declare function createClientWithLazyLoad(apiKey: string, configCatKernel: IConfigCatKernel, options?: ILazyLoadingOptions): IConfigCatClient;
/**
* Create an instance of ConfigCatConsoleLogger
* @param {LogLevel} logLevel - Specifies message's filtering to output for the CofigCatConsoleLogger.
*/
export declare function createConsoleLogger(logLevel: LogLevel): IConfigCatLogger;
export interface IAutoPollOptions extends IOptions {

@@ -24,0 +29,0 @@ pollIntervalSeconds?: number;

@@ -5,2 +5,3 @@ "use strict";

var ConfigCatClientOptions_1 = require("./ConfigCatClientOptions");
var ConfigCatLogger_1 = require("./ConfigCatLogger");
/**

@@ -33,2 +34,10 @@ * Create an instance of ConfigCatClient and setup AutoPoll mode

exports.createClientWithLazyLoad = createClientWithLazyLoad;
/**
* Create an instance of ConfigCatConsoleLogger
* @param {LogLevel} logLevel - Specifies message's filtering to output for the CofigCatConsoleLogger.
*/
function createConsoleLogger(logLevel) {
return new ConfigCatLogger_1.ConfigCatConsoleLogger(logLevel);
}
exports.createConsoleLogger = createConsoleLogger;
var LogLevel;

@@ -35,0 +44,0 @@ (function (LogLevel) {

2

lib/RolloutEvaluator.js

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

if (result.Value == null) {
result.EvaluateLog.ReturnValue = defaultValue;
result.EvaluateLog.ReturnValue = config.ConfigJSON[key][ProjectConfig_1.Setting.Value];
}

@@ -64,0 +64,0 @@ this.logger.info(result.EvaluateLog.GetLog());

{
"name": "configcat-common",
"version": "2.0.0",
"version": "2.0.1",
"description": "ConfigCat is a configuration as a service that lets you manage your features and configurations without actually deploying new code.",

@@ -28,4 +28,4 @@ "main": "lib/index.js",

"dependencies": {
"@types/semver": "^6.2.0",
"js-sha1": "^0.6.0"
"js-sha1": "^0.6.0",
"semver": "^7.1.1"
},

@@ -35,3 +35,3 @@ "devDependencies": {

"@types/mocha": "^5.2.5",
"@types/node": "^10.12.2",
"@types/node": "^10.17.11",
"chai": "^4.2.0",

@@ -38,0 +38,0 @@ "del": "^3.0.0",

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