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

optimism

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimism - npm Package Compare versions

Comparing version 0.5.3 to 0.6.0

lib/cache.js

4

lib/index.js
"use strict";
var LRU = require("lru-cache");
var Cache = require("./cache.js").Cache;
var tuple = require("immutable-tuple").tuple;

@@ -32,3 +32,3 @@ var Entry = require("./entry.js").Entry;

var cache = new LRU({
var cache = new Cache({
max: options.max,

@@ -35,0 +35,0 @@ dispose: function (key, entry) {

{
"name": "optimism",
"version": "0.5.3",
"version": "0.6.0",
"author": "Ben Newman <ben@benjamn.com>",

@@ -31,4 +31,3 @@ "description": "Composable reactive caching with efficient invalidation.",

"dependencies": {
"immutable-tuple": "^0.4.4",
"lru-cache": "^4.1.1"
"immutable-tuple": "^0.4.4"
},

@@ -35,0 +34,0 @@ "devDependencies": {

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