Comparing version 0.3.3 to 0.4.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
306
6
7
+ Addedlru-cache@4.1.5(transitive)
- Removedlru-cache@4.0.2(transitive)
Updatedlru-cache@^4.1.1