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.1 to 0.3.2

13

lib/entry.js

@@ -153,4 +153,6 @@ "use strict";

// (3) this.value is usally returned very quickly, without recomputation.
Ep.recomputeIfDirty = function recomputeIfDirty() {
this.rememberParent();
Ep.recomputeIfDirty = function recomputeIfDirty(skipRememberParent) {
if (! skipRememberParent) {
this.rememberParent();
}

@@ -170,3 +172,8 @@ if (this.dirty) {

var oldValue = this.childValues.get(child);
var newValue = child.recomputeIfDirty();
try {
var newValue = child.recomputeIfDirty(true);
} catch (e) {
this.setDirty();
return;
}

@@ -173,0 +180,0 @@ if (newValue !== oldValue) {

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

@@ -5,0 +5,0 @@ "description": "Composable reactive caching with efficient invalidation.",

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