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

@keyvhq/redis

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keyvhq/redis - npm Package Compare versions

Comparing version

to
1.6.26

14

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/microlinkhq/keyv",
"version": "1.6.21",
"version": "1.6.26",
"main": "src/index.js",

@@ -33,3 +33,3 @@ "author": {

"dependencies": {
"ioredis": "~5.2.0",
"ioredis": "~5.3.0",
"p-event": "~4.2.0"

@@ -41,2 +41,3 @@ },

"@types/ioredis": "latest",
"@types/node": "latest",
"ava": "latest",

@@ -47,3 +48,3 @@ "tsd": "latest",

"engines": {
"node": ">= 12"
"node": ">= 14"
},

@@ -54,4 +55,6 @@ "files": [

"scripts": {
"lint": "tsd",
"posttest:docker": "docker-compose down --rmi local",
"test": "ava && tsd",
"pretest": "npm run lint",
"test": "ava",
"test:docker": "docker-compose up --build --abort-on-container-exit --exit-code-from test"

@@ -66,4 +69,3 @@ },

},
"types": "./src/index.d.ts",
"gitHead": "1fdedcbab832114f06baefa5d9864710f3692501"
"types": "./src/index.d.ts"
}

@@ -15,11 +15,11 @@ // Type definitions for @keyv/redis 1.3

constructor (options?: KeyvRedis.Options);
constructor (redis: Redis);
constructor (uri: string, options?: KeyvRedis.Options);
constructor (options?: KeyvRedis.Options)
constructor (redis: Redis)
constructor (uri: string, options?: KeyvRedis.Options)
get (key: string): Promise<string | undefined>;
has (key: string): Promise<boolean>;
set (key: string, value: string | undefined, ttl?: number): Promise<number>;
delete (key: string): Promise<boolean>;
clear (): Promise<void>;
get (key: string): Promise<string | undefined>
has (key: string): Promise<boolean>
set (key: string, value: string | undefined, ttl?: number): Promise<number>
delete (key: string): Promise<boolean>
clear (): Promise<void>
iterator (): AsyncGenerator

@@ -26,0 +26,0 @@ }