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.0.6 to 1.0.7

61

BaseClass.js

@@ -55,2 +55,3 @@ const REDIS = require("redis");

selectDatabase( wNumber ) {
if ( !wNumber ) { return undefined; }
let that = this;

@@ -64,2 +65,3 @@ return new Promise( function( resolve , reject ) {

exists( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -80,2 +82,3 @@ return new Promise( function( resolve , reject ) {

keyGet( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -89,2 +92,3 @@ return new Promise( function( resolve , reject ) {

keysGetFromPattern( wPattern ) {
if ( !wPattern ) { return undefined; }
let that = this;

@@ -98,2 +102,3 @@ return new Promise( function( resolve , reject ) {

keyGetDeJSON( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -111,2 +116,3 @@ return new Promise( function( resolve , reject ) {

keyDel( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -120,2 +126,4 @@ return new Promise( function( resolve , reject ) {

keySet( wKey , wVal ) {
if ( !wKey ) { return undefined; }
if ( !wVal ) { return undefined; }
let that = this;

@@ -129,2 +137,4 @@ return new Promise( function( resolve , reject ) {

keySetIfNotExists( wKey , wVal ) {
if ( !wKey ) { return undefined; }
if ( !wVal ) { return undefined; }
let that = this;

@@ -141,2 +151,3 @@ return new Promise( async function( resolve , reject ) {

keySetMulti( wArgs ) {
if ( !wArgs ) { return undefined; }
let that = this;

@@ -150,2 +161,3 @@ return new Promise( function( resolve , reject ) {

keyGetMulti( ...args ) {
if ( !args ) { return undefined; }
let that = this;

@@ -159,2 +171,3 @@ return new Promise( function( resolve , reject ) {

increment( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -168,2 +181,3 @@ return new Promise( function( resolve , reject ) {

decrement( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -178,2 +192,3 @@ return new Promise( function( resolve , reject ) {

listGetFull( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -187,2 +202,3 @@ return new Promise( function( resolve , reject ) {

listGetLength( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -196,3 +212,6 @@ return new Promise( function( resolve , reject ) {

listTrim( wKey , wStart , wEnd ) {
let that = this;
if ( !wKey ) { return undefined; }
if ( !wStart ) { return undefined; }
if ( !wEnd ) { return undefined; }
let that = this;
return new Promise( function( resolve , reject ) {

@@ -205,2 +224,4 @@ try { that.redis.ltrim( wKey , wStart , wEnd , function( err , key ) { resolve( key ); }); }

listGetByIndex( wKey , wIndex ) {
if ( !wKey ) { return undefined; }
if ( !wIndex ) { return undefined; }
let that = this;

@@ -214,2 +235,4 @@ return new Promise( function( resolve , reject ) {

listSetFromArray( wKey , wArray ) {
if ( !wKey ) { return undefined; }
if ( !wArray ) { return undefined; }
let that = this;

@@ -223,2 +246,4 @@ return new Promise( function( resolve , reject ) {

listSetFromArrayBeginning( wKey , wArray ) {
if ( !wKey ) { return undefined; }
if ( !wArray ) { return undefined; }
let that = this;

@@ -232,2 +257,3 @@ return new Promise( function( resolve , reject ) {

listRPOP( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -241,2 +267,4 @@ return new Promise( function( resolve , reject ) {

listRPUSH( wKey , wValue ) {
if ( !wKey ) { return undefined; }
if ( !wValue ) { return undefined; }
let that = this;

@@ -251,2 +279,3 @@ return new Promise( function( resolve , reject ) {

setGetFull( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -260,2 +289,3 @@ return new Promise( function( resolve , reject ) {

setLength( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -269,2 +299,4 @@ return new Promise( function( resolve , reject ) {

setAdd( wKey , wValue ) {
if ( !wKey ) { return undefined; }
if ( !wValue ) { return undefined; }
let that = this;

@@ -280,2 +312,4 @@ return new Promise( function( resolve , reject ) {

setRemove( wKey , wValue ) {
if ( !wKey ) { return undefined; }
if ( !wValue ) { return undefined; }
let that = this;

@@ -289,2 +323,4 @@ return new Promise( function( resolve , reject ) {

setRemoveMatching( wSetKey , wMatchKey ) {
if ( !wSetKey ) { return undefined; }
if ( !wMatchKey ) { return undefined; }
let that = this;

@@ -298,2 +334,4 @@ return new Promise( function( resolve , reject ) {

setGetRandomMembers( wKey , wNumber ) {
if ( !wKey ) { return undefined; }
if ( !wNumber ) { return undefined; }
let that = this;

@@ -307,2 +345,4 @@ return new Promise( function( resolve , reject ) {

setPopRandomMembers( wKey , wNumber ) {
if ( !wKey ) { return undefined; }
if ( !wNumber ) { return undefined; }
let that = this;

@@ -317,2 +357,4 @@ wNumber = wNumber || 1;

setSetFromArray( wKey , wArray ) {
if ( !wKey ) { return undefined; }
if ( !wArray ) { return undefined; }
let that = this;

@@ -326,2 +368,5 @@ return new Promise( function( resolve , reject ) {

setSetDifferenceStore( wStoreKey , wSetKey , wCompareSetKey ) {
if ( !wStoreKey ) { return undefined; }
if ( !wSetKey ) { return undefined; }
if ( !wCompareSetKey ) { return undefined; }
let that = this;

@@ -335,2 +380,5 @@ return new Promise( function( resolve , reject ) {

setStoreUnion( wStoreKey , wSetKey1 , wSetKey2 ) {
if ( !wStoreKey ) { return undefined; }
if ( !wSetKey1 ) { return undefined; }
if ( !wSetKey2 ) { return undefined; }
let that = this;

@@ -345,2 +393,3 @@ return new Promise( function( resolve , reject ) {

hashSetMulti( ...args ) {
if ( !args ) { return undefined; }
let that = this;

@@ -354,2 +403,3 @@ return new Promise( function( resolve , reject ) {

hashGetAll( wKey ) {
if ( !wKey ) { return undefined; }
return new Promise( function( resolve , reject ) {

@@ -363,2 +413,3 @@ try { that.redis.hgetall( wKey , function( err , values ) { resolve( values ); }); }

deleteMultiplePatterns( wKeyPatterns ) {
if ( !wKeyPatterns ) { return undefined; }
let that = this;

@@ -370,3 +421,3 @@ return new Promise( async function( resolve , reject ) {

del_keys = del_keys.filter( Boolean );
console.log( "\ndeleteing these keys --> \n" );
console.log( "\nRedis-Manager-Utils --> deleteing these keys --> \n" );
console.log( del_keys );

@@ -381,3 +432,3 @@

console.log( "done CLEANSING all R_KEYS" );
console.log( "Redis-Manager-Utils --> done CLEANSING all R_KEYS" );
resolve();

@@ -390,2 +441,3 @@ }

nextInCircularList( wKey ) {
if ( !wKey ) { return undefined; }
let that = this;

@@ -425,2 +477,5 @@ return new Promise( async function( resolve , reject ) {

setAddArrayWithFilter( wDestinationKey , wFilterSetKey , wArray ) {
if ( !wDestinationKey ) { return undefined; }
if ( !wFilterSetKey ) { return undefined; }
if ( !wArray ) { return undefined; }
let that = this;

@@ -427,0 +482,0 @@ return new Promise( async function( resolve , reject ) {

2

package.json
{
"name": "redis-manager-utils",
"version": "1.0.6",
"version": "1.0.7",
"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