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.3.3 to 0.4.0

13

lib/entry.js

@@ -182,3 +182,4 @@ "use strict";

if (this.dirtyChildren) {
if (this.dirtyChildren &&
this.dirtyChildren.size > 0) {
// Get fresh values for any dirty children, and if those values

@@ -194,8 +195,8 @@ // disagree with this.childValues, mark this Entry explicitly dirty.

}, this);
}
if (this.dirty) {
// If this Entry has become explicitly dirty after comparing the fresh
// values of its dirty children against this.childValues, recompute.
return this._reallyRecompute();
if (this.dirty) {
// If this Entry has become explicitly dirty after comparing the fresh
// values of its dirty children against this.childValues, recompute.
return this._reallyRecompute();
}
}

@@ -202,0 +203,0 @@

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

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

"dependencies": {
"lru-cache": "~4.0.1"
"lru-cache": "^4.1.1"
},
"devDependencies": {
"fibers": "1.0.14",
"mocha": "^3.1.0"
"fibers": "^2.0.0",
"mocha": "^5.0.0"
}
}
# optimism [![Build Status](https://travis-ci.org/benjamn/optimism.svg?branch=master)](https://travis-ci.org/benjamn/optimism)
[![Greenkeeper badge](https://badges.greenkeeper.io/benjamn/optimism.svg)](https://greenkeeper.io/)
Composable reactive caching with efficient invalidation.

Sorry, the diff of this file is not supported yet

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