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

@soundxyz/fine-grained-cache

Package Overview
Dependencies
Maintainers
9
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soundxyz/fine-grained-cache - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

9

dist/fineGrained.js

@@ -172,3 +172,4 @@ 'use strict';

promise,
ttl
ttl,
value
});

@@ -180,3 +181,3 @@ pendingRedisSetTimeout = setTimeout(executePipeline);

const size = pendingRedisSets.length;
const { promises, commands } = pendingRedisSets.reduce((acc, { key: key2, promise: promise2, ttl: ttl2 }, index) => {
const { promises, commands } = pendingRedisSets.reduce((acc, { key: key2, promise: promise2, ttl: ttl2, value: value2 }, index) => {
acc.promises[index] = {

@@ -189,5 +190,5 @@ promise: promise2,

if (ttl2 != null) {
acc.commands[index] = ["setex", key2, ttl2, value];
acc.commands[index] = ["setex", key2, ttl2, value2];
} else {
acc.commands[index] = ["set", key2, value];
acc.commands[index] = ["set", key2, value2];
}

@@ -194,0 +195,0 @@ return acc;

{
"name": "@soundxyz/fine-grained-cache",
"version": "2.1.0",
"version": "2.1.1",
"description": "Fine-grained cache helper using redis",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

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