🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

tog-node

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tog-node - npm Package Compare versions

Comparing version

to
0.3.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.3.3](https://github.com/escaletech/tog-node/compare/v0.3.2...v0.3.3) (2020-03-03)
### Features
* adopt redis client that supports cluster ([09a5270](https://github.com/escaletech/tog-node/commit/09a5270eb521447099d396fcbff5cc4267fc5a4f))
### [0.3.2](https://github.com/escaletech/tog-node/compare/v0.3.1...v0.3.2) (2020-03-02)

@@ -7,0 +14,0 @@

4

lib/flagClient.d.ts
import { Flag } from "./types";
import RedisClient from './redis';
import { Redis } from 'ioredis';
/**

@@ -13,3 +13,3 @@ * A client for managing flags

export declare class FlagClient {
readonly redis: RedisClient;
readonly redis: Redis;
/**

@@ -16,0 +16,0 @@ * @param redisUrl The Redis connection string

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

var types_1 = require("./types");
var redis_1 = require("./redis");
var ioredis_1 = require("ioredis");
var keys_1 = require("./keys");

@@ -68,3 +68,3 @@ /**

function FlagClient(redisUrl) {
this.redis = new redis_1.default(redisUrl);
this.redis = new ioredis_1.default(redisUrl);
}

@@ -71,0 +71,0 @@ /**

import { Session, SessionOptions } from "./types";
import RedisClient from './redis';
import { Redis } from 'ioredis';
/**

@@ -14,3 +14,3 @@ * A client consuming sessions

private readonly flags;
readonly redis: RedisClient;
readonly redis: Redis;
/**

@@ -17,0 +17,0 @@ * @param redisUrl The Redis connection string

{
"name": "tog-node",
"version": "0.3.2",
"version": "0.3.3",
"description": "",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

"dependencies": {
"redis": "^2.8.0"
"ioredis": "^4.16.0"
},

@@ -27,2 +27,3 @@ "devDependencies": {

"@babel/preset-typescript": "^7.8.3",
"@types/ioredis": "^4.14.8",
"@types/jest": "^24.0.15",

@@ -29,0 +30,0 @@ "@types/redis": "^2.8.16",

Sorry, the diff of this file is not supported yet