Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nestjs-redis-cluster

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-redis-cluster - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

.github/dependabot.yml

6

dist/cluster-core.module.d.ts

@@ -1,5 +0,5 @@

import { DynamicModule, OnModuleDestroy } from '@nestjs/common';
import { DynamicModule, OnApplicationShutdown } from '@nestjs/common';
import { RedisClusterModuleAsyncOptions, RedisClusterModuleOptions } from './cluster.interface';
import { RedisClusterProvider } from './cluster.provider';
export declare class ClusterCoreModule implements OnModuleDestroy {
export declare class ClusterCoreModule implements OnApplicationShutdown {
private readonly options;

@@ -10,3 +10,3 @@ private readonly provider;

static forRootAsync(options: RedisClusterModuleAsyncOptions): DynamicModule;
onModuleDestroy(): void;
onApplicationShutdown(): void;
}

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

}
onModuleDestroy() {
onApplicationShutdown() {
const closeConnection = ({ clusters, defaultKey, }) => options => {

@@ -47,0 +47,0 @@ const name = options.name || defaultKey;

@@ -1,5 +0,5 @@

import { DynamicModule, OnModuleDestroy } from '@nestjs/common';
import { DynamicModule, OnApplicationShutdown } from '@nestjs/common';
import { RedisModuleAsyncOptions, RedisModuleOptions } from './redis.interface';
import { RedisClient } from './redis.provider';
export declare class RedisCoreModule implements OnModuleDestroy {
export declare class RedisCoreModule implements OnApplicationShutdown {
private readonly options;

@@ -10,3 +10,3 @@ private readonly redisClient;

static forRootAsync(options: RedisModuleAsyncOptions): DynamicModule;
onModuleDestroy(): void;
onApplicationShutdown(): void;
}

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

}
onModuleDestroy() {
onApplicationShutdown() {
const closeConnection = ({ clients, defaultKey }) => options => {

@@ -47,0 +47,0 @@ const name = options.name || defaultKey;

{
"name": "nestjs-redis-cluster",
"version": "2.0.4",
"version": "2.0.5",
"description": "A nestjs redis module w/ cluster support",

@@ -5,0 +5,0 @@ "author": "Ishmael Samuel (useparagon.com)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc