Comparing version 2.1.1 to 2.1.2
@@ -125,4 +125,6 @@ var __defProp = Object.defineProperty; | ||
function collectUnobserved() { | ||
++batchDepth; | ||
for (let dispose of pendingDispose) | ||
dispose(); | ||
--batchDepth; | ||
pendingDispose.clear(); | ||
@@ -135,4 +137,4 @@ } | ||
run(); | ||
--batchDepth; | ||
collectUnobserved(); | ||
--batchDepth; | ||
} | ||
@@ -139,0 +141,0 @@ function batch(t) { |
@@ -7,3 +7,3 @@ { | ||
"name": "quarx", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Simple dependency graph engine, MobX inspired", | ||
@@ -10,0 +10,0 @@ "main": "dist/index.js", |
@@ -123,3 +123,6 @@ const stack = []; | ||
function collectUnobserved() { | ||
++batchDepth; | ||
for (let dispose of pendingDispose) dispose(); | ||
--batchDepth; | ||
pendingDispose.clear(); | ||
@@ -133,7 +136,7 @@ } | ||
++batchDepth; | ||
for (let run of invalidated) run(); | ||
--batchDepth; | ||
for (let run of invalidated) run(); | ||
collectUnobserved(); | ||
--batchDepth; | ||
// console.debug(`Hydration ${sequenceNumber} END`); | ||
@@ -140,0 +143,0 @@ } |
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
18836
414