Socket
Socket
Sign inDemoInstall

@isaacs/ttlcache

Package Overview
Dependencies
0
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

6

index.js

@@ -277,3 +277,7 @@ // A simple TTL cache with max capacity option, ms resolution,

}
const keys = [...this.expirations[exp]]
/* istanbul ignore next
* mysterious need for a guard here?
* https://github.com/isaacs/ttlcache/issues/26 */
const keys = [...(this.expirations[exp] || [])]
const entries = []

@@ -280,0 +284,0 @@ delete this.expirations[exp]

2

package.json
{
"name": "@isaacs/ttlcache",
"version": "1.4.0",
"version": "1.4.1",
"files": [

@@ -5,0 +5,0 @@ "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc