@keyv/redis
Advanced tools
Comparing version 2.5.1 to 2.5.2
{ | ||
"name": "@keyv/redis", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "Redis storage adapter for Keyv", | ||
@@ -69,5 +69,4 @@ "main": "src/index.js", | ||
"requirable": "^1.0.5", | ||
"this": "^1.1.0", | ||
"tsd": "^0.23.0", | ||
"typescript": "^4.8.2", | ||
"tsd": "^0.24.1", | ||
"typescript": "^4.8.4", | ||
"xo": "^0.52.3" | ||
@@ -74,0 +73,0 @@ }, |
@@ -6,3 +6,3 @@ /* eslint-disable @typescript-eslint/consistent-type-definitions */ | ||
declare class KeyvRedis extends EventEmitter implements Store<Value> { | ||
declare class KeyvRedis<Value=any> extends EventEmitter implements Store<Value> { | ||
readonly ttlSupport: false; | ||
@@ -9,0 +9,0 @@ namespace?: string | undefined; |
@@ -71,3 +71,3 @@ const EventEmitter = require('events'); | ||
return this.redis.smembers(this._getNamespace()) | ||
.then(keys => this.redis.del([...keys, ...this._getNamespace()])) | ||
.then(keys => this.redis.del([...keys, this._getNamespace()])) | ||
.then(() => undefined); | ||
@@ -74,0 +74,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
7019