@the-libs/redis-backend
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "@the-libs/redis-backend", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"dependencies": {}, | ||
@@ -5,0 +5,0 @@ "type": "module", |
import { RedisType } from '../redis-client'; | ||
export declare const set: (redis: RedisType, key: string, value: string, ttlInSecs: number) => Promise<"OK">; | ||
export declare const get: (redis: RedisType, key: string) => Promise<string | null>; | ||
export declare const set: (redis: RedisType, key: string, value: string, ttlInSecs: number) => Promise<any>; | ||
export declare const get: (redis: RedisType, key: string) => Promise<any>; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,3 @@ | ||
export declare const subscriber: import("ioredis").default | PubSubJS.Base<any, PubSubJS.Message>; | ||
export declare const publisher: import("ioredis").default | PubSubJS.Base<any, PubSubJS.Message>; | ||
export declare const subscriber: any; | ||
export declare const publisher: any; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,6 @@ | ||
import RedisClientClass from 'ioredis'; | ||
export type RedisType = RedisClientClass; | ||
export declare const createRedisInstance: () => RedisClientClass | null; | ||
export declare const redisClient: RedisClientClass | null; | ||
declare const RedisClientClass: any; | ||
export type RedisType = typeof RedisClientClass; | ||
export declare const createRedisInstance: () => any; | ||
export declare const redisClient: any; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
6
14573
330
1