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.2 to 1.1.3

11

BaseClass.js

@@ -488,9 +488,10 @@ const REDIS = require("redis");

try {
let list = await that.setPopRandomMembers( wKey , 25 );
await Redis.setSetFromArray( RC.GENRES[ genre ].TRACKS + ".RECYCLED" , list );
let set = await that.setPopRandomMembers( wKey , wAmount );
await that.setSetFromArray( wKey + ".RECYCLED" , set );
if ( list.length < 1 ) {
await Redis.setStoreUnion( RC.GENRES[ genre ].TRACKS , RC.GENRES[ genre ].TRACKS + ".RECYCLED" );
await Redis.keyDel( RC.GENRES[ genre ].TRACKS + ".RECYCLED" );
list = await Redis.setPopRandomMembers( RC.GENRES[ genre ].TRACKS , 25 );
await that.setStoreUnion( wKey , wKey + ".RECYCLED" );
await that.keyDel( wKey + ".RECYCLED" );
set = await that.setPopRandomMembers( wKey , wAmount );
}
resolve( set );
}

@@ -497,0 +498,0 @@ catch( error ) { console.log( error ); reject( error ); }

{
"name": "redis-manager-utils",
"version": "1.1.2",
"version": "1.1.3",
"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