Update dependency @keyv/redis to v2.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
committed by
Fredrik Adelöw
parent
4a6143a3be
commit
59bfef78a3
+4
-2
@@ -14,11 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Store } from 'keyv';
|
||||
|
||||
/**
|
||||
* Storage class compatible with Keyv which always results in a no-op. This is
|
||||
* used when no cache store is configured in a Backstage backend instance.
|
||||
*/
|
||||
export class NoStore extends Map<string, any> {
|
||||
export class NoStore implements Store<string | undefined> {
|
||||
clear(): void {
|
||||
return;
|
||||
}
|
||||
@@ -28,7 +30,7 @@ export class NoStore extends Map<string, any> {
|
||||
}
|
||||
|
||||
get(_key: string) {
|
||||
return;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
has(_key: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user