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

cache-manager

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-manager - npm Package Compare versions

Comparing version 4.0.1 to 4.1.0

3

History.md

@@ -0,1 +1,4 @@

- 4.1.0
- Support for TTL as third arg in memory store set function (#196). - @ZirionNeft
- 4.0.1

@@ -2,0 +5,0 @@ - Fix TTL option bug for memory cache (#194). - @anchan828

@@ -67,2 +67,6 @@ /*eslint no-unused-vars:0*/

if (options && typeof options === 'number') {
options = {ttl: options};
}
var ttl = (options.ttl || options.ttl === 0) ? options.ttl * 1000 : lruOpts.ttl;

@@ -69,0 +73,0 @@

2

package.json
{
"name": "cache-manager",
"version": "4.0.1",
"version": "4.1.0",
"description": "Cache module for Node.js",

@@ -5,0 +5,0 @@ "main": "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