Socket
Socket
Sign inDemoInstall

record-cache

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

record-cache - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -82,3 +82,3 @@ var EMPTY = []

if (this.maxAge) {
if (this.maxAge && this.maxAge < Infinity) {
// 2/3 gives us a span of 0.66-1.33 maxAge or avg maxAge

@@ -85,0 +85,0 @@ var tick = Math.ceil(2 / 3 * this.maxAge)

{
"name": "record-cache",
"version": "1.0.0",
"version": "1.0.1",
"description": "Cache optimised for record like things",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc