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

redis-manager-utils

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis-manager-utils - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

16

BaseClass.js

@@ -339,9 +339,7 @@ const REDIS = require("redis");

setSetDifferenceStore( wStoreKey , wSetKey , wCompareSetKey ) {
if ( !wStoreKey ) { return undefined; }
if ( !wSetKey ) { return undefined; }
if ( !wCompareSetKey ) { return undefined; }
setSetDifferenceStore( ...args ) {
if ( !args ) { return undefined; }
let that = this;
return new Promise( function( resolve , reject ) {
try { that.redis.sdiffstore( wStoreKey , wSetKey , wCompareSetKey , function( err , values ) { resolve( values ); }); }
try { that.redis.sdiffstore( ...args , function( err , values ) { resolve( values ); }); }
catch( error ) { console.log( error ); reject( error ); }

@@ -351,9 +349,7 @@ });

setStoreUnion( wStoreKey , wSetKey1 , wSetKey2 ) {
if ( !wStoreKey ) { return undefined; }
//if ( !wSetKey1 ) { return undefined; }
//if ( !wSetKey2 ) { return undefined; }
setStoreUnion( ...args ) {
if ( !args ) { return undefined; }
let that = this;
return new Promise( function( resolve , reject ) {
try { that.redis.sdiffstore( wStoreKey , wSetKey1 , wSetKey2 , function( err , values ) { resolve( values ); }); }
try { that.redis.sdiffstore( ...args , function( err , values ) { resolve( values ); }); }
catch( error ) { console.log( error ); reject( error ); }

@@ -360,0 +356,0 @@ });

{
"name": "redis-manager-utils",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "main.js",

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