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

lru-cache-ext

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lru-cache-ext - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

4

lib/index.js

@@ -15,3 +15,3 @@ import assert from 'assert';

if (!this.has(key)) {
this.set(key, valueFn(args));
this.set(key, valueFn(...args));
}

@@ -33,3 +33,3 @@ try {

if (!this.has(key)) {
const r = valueFn(args);
const r = valueFn(...args);
assert(!(r instanceof Promise), 'Use memoize() instead');

@@ -36,0 +36,0 @@ this.set(key, r);

{
"name": "lru-cache-ext",
"type": "module",
"version": "4.1.0",
"version": "4.1.1",
"description": "Thin wrapper around lru-cache with extended functionality.",

@@ -6,0 +6,0 @@ "main": "lib/index.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