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.6.3 to 0.6.4

15

lib/entry.js

@@ -331,11 +331,16 @@ "use strict";

var reusableEmptyArray = [];
// Removes all children from this entry and returns an array of the
// removed children.
function forgetChildren(entry) {
var children = [];
var children = reusableEmptyArray;
entry.childValues.forEach(function (value, child) {
forgetChild(entry, child);
children.push(child);
});
if (entry.childValues.size > 0) {
children = [];
entry.childValues.forEach(function (value, child) {
forgetChild(entry, child);
children.push(child);
});
}

@@ -342,0 +347,0 @@ // After we forget all our children, this.dirtyChildren must be empty

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

@@ -5,0 +5,0 @@ "description": "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